bonding problem with arp-monitoring
Hello
I have two linux machines connected via 2 dsl lines (bonded)
192.168.0.1-eth0-dsl---2Mbit---dsl-eth0-192.168.0.2
^-eth1-dsl---2Mbit---dsl-eth1-^
so the final figure is something like this:
192.168.0.1-bond0---4Mbit---bond0-192.168.0.2
I can only use arp monitoring for fail checking - if one dsl line fails - automatically use only the other one. I set up everything correctly (i think), but it doesn't seem to work.
When one of the links fails it doesn't detect it at all:
# cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver: v2.6.0 (January 14, 2004)
Bonding Mode: load balancing (round-robin)
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:80:1e:13:41:03
Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:80:1e:13:39:05
both machines are running 2.4.26 kernel
the configuration for both is the same (only the IPs are different):
modules.conf:
alias bond0 bonding
options bond0 mode=0 arp_interval00 arp_ip_target2.168.0.2 miimon=0
startup script:/sbin/modprobe bond0/sbin/ip link set eth0 up multicast off/sbin/ip link set eth1 up multicast off/sbin/ip link set bond0 up multicast off/sbin/ip addr add 192.168.0.1/30 brd + dev bond0/sbin/ifenslave bond0 eth0 eth1
Is this a bug, or I am doing something wrong?
--
Anton Glinkov
network administrator
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/