From: Shmulik Hen <shmulik.hen@in...> - 2003-11-19 16:40:50
On Wednesday 19 November 2003 06:11 pm, reeja.john@... wrote:
> I have a question regarding the bond_check_params() function in the
> bond_main.c file. I am using Linux-2.4.23-pre7. When the bond_mode is
> BOND_MODE_TLB/ALB it always forces miimon into 100. So there is no way to
> use arp monitoring option for these modes.
> eg., These are the messages I get when I set the arp monitoring option in
> the bonding driver for balance_tlb.
> # insmod bonding mode=5 arp_interval=60 arp_ip_target= 192.168.0.1
> # dmesg
> Ethernet Channel Bonding Driver: v2.5.0 (September 24, 2003)
> bonding: Warning: miimon must be specified, otherwise bonding will not
> detect link failure and link speed which are essential for TLB/ALB load
> Forcing miimon to 100msec
> bonding: Warning: miimon (100) and arp_interval (60) can't be used
> simultaneously, disabling ARP monitoring bonding: bond0 registered with MII
> link monitoring set to 100 ms, in transmit load balancing mode. bonding:
> bond0 registered without ARP monitoring
> Is this a bug in the bonding driver?. I don't know whether this is solved
> in later versions. Or did I misunderstand something?
No, it is not a bug, this is intentional. Both TLB and ALB do their load
balancing according to the slave's speed and capacity. If miimon wasn't on it
would have been impossible to know the current speed and duplex readings for
Also, since the ALB mode depends on being able to manipulate ARP queries and
replies, it will not function correctly if something else was also sending
ARP packets that would change the ARP tables in the clients. Any time an ARP
request goes out from the server with a broadcast destination address, all
the connected clients update their ARP tables and start sending their packets
only to one of the slaves in the bond (the current active one), and all the
load balancing collapses. The ALB mechanism can handle that and redistribute
the load to all slaves, but only if that ARP packet went through it. Having
ARP monitoring breaks that.
| Shmulik Hen Advanced Network Services |
| Israel Design Center, Jerusalem |
| LAN Access Division, Platform Networking |
| Intel Communications Group, Intel corp. |
Get latest updates about Open Source Projects, Conferences and News.