Re: [PATCH] bonding: allow bond in mode balance-alb to work properly in bridge

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Patrick McHardy
Date: Thursday, March 19, 2009 - 1:50 am

David Miller wrote:

 From reading the balance-alb description, I get the impression that this
mode is simply not meant to be used with bridging:

		Adaptive load balancing: includes balance-tlb plus
		receive load balancing (rlb) for IPV4 traffic, and
		does not require any special switch support.  The
		receive load balancing is achieved by ARP negotiation.
		The bonding driver intercepts the ARP Replies sent by
		the local system on their way out and overwrites the
		source hardware address with the unique hardware
		address of one of the slaves in the bond such that
		different peers use different hardware addresses for
		the server.

In any case I'd tend to say that if bond-alb mode mangles outgoing MAC
addresses, it should restore the original one for received packets
and keep the hacks local to bonding.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] bonding: allow bond in mode balance-alb to wor ..., Stephen Hemminger, (Fri Mar 13, 10:39 pm)
Re: [PATCH] bonding: allow bond in mode balance-alb to wor ..., Stephen Hemminger, (Sun Mar 15, 4:12 pm)
Re: [PATCH] bonding: allow bond in mode balance-alb to wor ..., Patrick McHardy, (Thu Mar 19, 1:50 am)
[PATCH 1/4] net: introduce dev_mac_address_changed, Jiri Pirko, (Mon Apr 13, 1:38 am)
Re: [PATCH 2/4] net: introduce a list of device addresses ..., Stephen Hemminger, (Mon Apr 13, 7:49 am)
Re: [PATCH 3/4] net: bridge: use device address list inste ..., Stephen Hemminger, (Mon Apr 13, 7:54 am)
Re: [PATCH 4/4] net: bonding: add slave device addresses i ..., Stephen Hemminger, (Mon Apr 13, 7:56 am)
Re: [PATCH 1/4] net: introduce dev_mac_address_changed, Stephen Hemminger, (Mon Apr 13, 7:58 am)
Re: [PATCH 1/3] net: introduce a list of device addresses ..., Stephen Hemminger, (Fri Apr 17, 8:33 am)
Re: [Bonding-devel] [PATCH 1/3] net: introduce a list of d ..., Stephen Hemminger, (Thu Apr 23, 8:58 am)
Re: [PATCH net-next] net: bridge: use device address list ..., Stephen Hemminger, (Wed May 6, 12:26 pm)