Linux Channel Bonding not working in ARP IP target scenario
Hi,
I am trying to configure Channel bonding on RHEL 5.6 by using arp_ip_target and arp_interval method as suggest by below link https://blogs.oracle.com/networking/...x_bonding_tips Below is my configuration files (using eth2 and eth3 ) [root@Tbox network-scripts]# cat ifcfg-bond0 DEVICE=bond0 #BOOTPROTO=static TYPE=Bonding ONBOOT=yes [root@Tbox network-scripts]# cat ifcfg-bond0.117 DEVICE=bond0.117 BOOTPROTO=static ONBOOT=yes IPADDR=10.1.17.238 USERCTL=no NETMASK=255.255.255.0 VLAN=yes TYPE=Bonding NETWORK=10.1.17.0 GATEWAY=10.1.17.1 [root@Tbox network-scripts]# cat ifcfg-eth2 DEVICE=eth2 BOOTPROTO=none TYPE=Ethernet SLAVE=yes MASTER=bond0 USERCTL=no ONBOOT=yes [root@Tbox network-scripts]# cat ifcfg-eth3 DEVICE=eth3 BOOTPROTO=none TYPE=Ethernet SLAVE=yes MASTER=bond0 USERCTL=no ONBOOT=yes # cat /etc/modprobe.conf ……. ………. alias bond0 bonding options bonding mode=1 arp_interval=1000 arp_ip_target=10.1.17.1 Below is status of Channel bonding [root@Tbox network-scripts]# cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008) Bonding Mode: fault-tolerance (active-backup) Primary Slave: None Currently Active Slave: eth3 MII Status: up MII Polling Interval (ms): 0 Up Delay (ms): 0 Down Delay (ms): 0 ARP Polling Interval (ms): 1000 ARP IP target/s (n.n.n.n form): 10.1.17.1 Slave Interface: eth2 MII Status: down Link Failure Count: 0 Permanent HW addr: 00:10:18:83:4a:74 Slave Interface: eth3 MII Status: up Link Failure Count: 0 Permanent HW addr: 00:10:18:83:4a:76 NOW problem is that system does not detect link failure if uplink of eth2 and eth3 switch goes down. However it shift the traffic to other if I manually down one interface like # ifconfig eth3 down Why is it not able to detect link failure by using ARP IP target ? |
All times are GMT -5. The time now is 04:00 PM. |