Ich hab das ganze mal nachgebaut und zwar auf diese Weise:
modprobe bonding mode=1 miimon=0 arp_interval=2000 arp_ip_target=192.168.0,2,192.168.0.11
Nach dem Absetzen des Befehls erscheint folgendes im syslog:
May 21 10:35:59 ws1vmdeb kernel: Ethernet Channel Bonding Driver: v3.0.3 (March 23, 2006)
May 21 10:35:59 ws1vmdeb kernel: bonding: ARP monitoring set to 2000 ms with 2 target(s): 192.168.0.2 192.168.0.11
Bonding-Device einrichten:
ws1vmdeb:~# ifconfig bond0 192.168.0.100 netmask 255.255.255.0 up
ws1vmdeb:~# ifenslave bond0 eth0 eth1
Um das Device dauerhaft zu aktivieren:
/etc/modules:
bonding mode=1 miimon=0 arp_interval=2000 arp_ip_target=192.168.0,2,192.168.0.11
Anschließend die Konfiguration des bond0-Devices erstellt:
ws1vmdeb:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
allow-hotplug eth0
auto eth1
allow-hotplug eth1
iface bond0 inet static
up ifenslave bond0 eth0
up ifenslave bond0 eth1
post-down modprobe -r bond0 eth0 eth1
#
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.2
broadcast 192.168.0.255
dns-nameserver 192.168.0.2
Wenn ich jetzt jeweils den 1. physikalischen Adapter bzw. den 2. dann erscheint folgendes in /var/log/syslog:
May 21 11:09:12 ws1vmdeb kernel: [ 265.430397] eth0: link up
May 21 11:09:45 ws1vmdeb kernel: [ 304.740127] eth1: link down
May 21 11:10:42 ws1vmdeb kernel: [ 372.735005] bonding: bond0: making interface eth0 the new active one.
May 21 11:10:43 ws1vmdeb kernel: [ 373.385840] bonding: bond0: eth0 is up and now the active interface
May 21 11:10:46 ws1vmdeb ntpd[1985]: Listening on interface #4 bond0, fe80::20c:29ff:fe5a:79f6#123 Enabled
May 21 11:10:46 ws1vmdeb ntpd[1985]: Listening on interface #5 bond0, 192.168.0.100#123 Enabled
May 21 11:12:03 ws1vmdeb kernel: [ 469.636846] eth1: link up
May 21 11:12:05 ws1vmdeb kernel: [ 471.762685] bonding: bond0: backup interface eth1 is now up
Lade dein Bonding-Device mal manuell über die Konsole mittels "modprobe"-Befehl. Das muss zwangsweise irgendwelche Ausgaben erzeugen.
Dokumentation dazu:
http://www.kernel.org/pub/linux/kernel/people/marcelo/linux-2.4/Documentation/networking/bonding.txt