From: Max Bowsher <_@maxb.eu>
To: bridge@lists.linux-foundation.org
Subject: [Bridge] Problems with bridging and bonding - bridge learns MAC on incorrect port
Date: Tue, 09 Aug 2011 13:54:07 +0100 [thread overview]
Message-ID: <4E412DEF.8080805@maxb.eu> (raw)
[-- Attachment #1: Type: text/plain, Size: 1203 bytes --]
I've recently been setting up what I would hope would be a not too
uncommon configuration, and seem to be encountering an unfortunate
interaction between bridging and bonding.
My configuration is:
* eth0 and eth1: Physical network adapters connected to the same
switched network.
* bond0: active-backup bonding device slaving together eth0 and eth1
* bond0.11: VLAN interface on top of the above
* br0: Bridge to which bond0.11 is added.
And then I am starting KVM virtual machines, which obtain their network
connectivity via tap interfaces, which are added to br0.
I see intermittent connectivity problems from the VMs, which manifest
when the bridge becomes confused, and erroneously learns that the VM MAC
address is present on the bond0.11 port of the bridge.
I have discovered that this occurs when the VM sends an ethernet
broadcast - e.g. ARP query.
It seems that the ethernet broadcast re-enters the machine on the backup
bonding interface, and on reaching the bridge, causes it to
inappropriately learn that the virtual machine is on the physical
network side of the bridge.
Can anyone suggest any way to address this problem?
Thanks,
Max.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
reply other threads:[~2011-08-09 12:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E412DEF.8080805@maxb.eu \
--to=_@maxb.eu \
--cc=bridge@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).