William Tu
2011-Apr-25 16:42 UTC
[Xen-users] Source learning problem when using virtual bridge + NIC bonding
Hi, I have a question about source port learning when using bonding. I have bond two interfaces (eth0, eth1) into a single bonding device. Follow by the http://wiki.xensource.com/xenwiki/XenNetworking. The topology looks like this: A B \ / switch 1 / \ sw2 sw3 \ / bond0 (eth0, eth1) vbridge | VM (mac1) I setup bonding as balance tlb and alb (without any switch support). When a VM with src mac (mac1) sends packet to A and B, the bond0 load balances the packets by sending it to sw2 at some time and sw3 also. Then when packets are going back from B->VM, and A->VM, only one port on switch1 works, because by default the switch do source port learning. When there are lots of traffic between VM->A, and VM->B, the switch1''s forwarding table to VM will keep ping-ponging between ports directed to sw2 and sw3 because of seeing packet coming from both sw2 and sw3. My question is does this case really happen? and how do we solve it? Thanks, William _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users