-----BEGIN PGP SIGNED MESSAGE-----
On 5/9/2011 8:25 PM, adstar@... wrote:
> I tried adding the options to /etc/modprobe.conf
> alias bond0 bonding
> options bonding mode=0 miimon=100 downdelay=200 updelay=200
> Saving and rebooting, and so far so good, bonding module is up but no
> interfaces assigned to it.
> My /etc/network/interfaces doesn't seem to work.
> This is what I have.
> auto bond0
> iface bond0 inet static
> address 10.0.10.228
> netmask 255.255.255.0
> broadcast 10.0.10.255
> bond-slaves eth1 eth2
> bond-mode active-backup
> This doesn't work at all.
> Can anyone advise?
I seriously doubt the LEAF version of ifup/ifdown (which I believe comes
from busybox) will directly support bonding, so you'll likely have to do
this the old-fashioned way.
Following is an example from one of my older Debian systems, before
bonding was handled more gracefully...it should work on LEAF. Modify as
required to fit your NICs, IP address, etc:
iface bond0 inet static
# Uncomment if you need a specific MAC address for the bond
#hwaddress ether 00:02:B3:48:50:2C
pre-up ifconfig bond0 up
pre-up ifconfig eth0 up
pre-up ifconfig eth1 up
pre-up ifenslave bond0 eth0 eth1
down ifenslave -d bond0 eth0 eth1
down ifconfig eth0 down
down ifconfig eth1 down
As an alternative, you can put the pre-up and down commands in the
I notice you're using a custom bond-mode (the default is round-robin,
not active-backup). The easiest way to handle this (and other low-level
bonding functionality) is likely by passing the appropriate parameter
when loading the module, rather than in /etc/network/interfaces.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----