5. • Adaptive transmit load balancing: channel bonding that does not
require any special switch support. The outgoing traffic is
distributed according to the current load (computed relative to the
speed) on each slave. Incoming traffic is received by the current
slave. If the receiving slave fails, another slave takes over the MAC
address of the failed receiving slave.
mode=5 (balance-tlb)
• Bonding响应对方ARP寻址广播时始终返回MAC A地址,使得输入流量一直在MAC A
• 輸出流量分配到2块网卡,可能有的交換機(EMC)不支持同一源IP地址,不同源MAC地址 5
7. • 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.
mode=6 (balance-alb)
1. Linux kernel module used for bonding replies with the first MAC address for
some ARP requests, and the second MAC address for other ARP requests.
2. One additional item to note – if most or all of the inbound traffic to a server is
coming from a single device on the subnet (the default gateway for
instance).the receive load balancing won’t be overly effective. All traffic from
that device will be sent over the same link to the server.
3. "3层交换机或路由器的ARP缓存可能会直接发包,从而Bonding没有"欺骗ARP回复"的机会
,导致ARP缓存过期时间内,输入流量始终在一张网卡上" 7