One kind of "problem" I found was that the man page was not particularly helpful. Though, at least with Natty, the files in /usr/share/doc/ifenslave-2.6/... (README.Debian and examples/) are consistent as far as I can see.
My configuration in Natty (which does not require a modprobe) looks like:
/etc/network/interfaces:
auto bond0
iface bond0 inet static (though dhcp should work as well)
address x
netmask 255.255.255.0
gateway y
bond-slaves none
bond-mode active-backup
bond-miimon 100
auto eth0
iface eth0 inet manual
bond-master bond0
bond-primary eth0
auto eth1
iface eth1 inet manual
bond-master bond0
bond-primary eth0
One kind of "problem" I found was that the man page was not particularly helpful. Though, at least with Natty, the files in /usr/share/ doc/ifenslave- 2.6/... (README.Debian and examples/) are consistent as far as I can see.
My configuration in Natty (which does not require a modprobe) looks like:
/etc/network/ interfaces:
auto bond0
iface bond0 inet static (though dhcp should work as well)
address x
netmask 255.255.255.0
gateway y
bond-slaves none
bond-mode active-backup
bond-miimon 100
auto eth0
iface eth0 inet manual
bond-master bond0
bond-primary eth0
auto eth1
iface eth1 inet manual
bond-master bond0
bond-primary eth0