Guys, what works, with either kernel, is to get rid of the /etc/
modprobe.d/bonding file defined above, go back to the /etc/modprobe.d/
aliases modification, but add max_bonds=2 (or whatever) to the first
entry.
This from my setup:
# grep -v '^#' /etc/network/interfaces
auto lo
iface lo inet loopback
auto bond0
iface bond0 inet static
address 10.100.2.101
network 10.100.0.0
netmask 255.255.0.0
broadcast 10.100.255.255
gateway 10.100.0.1
up ifenslave bond0 eth0 eth1
down ifenslave -d bond0 eth0 eth1
auto bond1
iface bond1 inet static
address 172.16.0.1
network 172.16.0.0
netmask 255.240.0.0
broadcast 172.31.255.255
up ifenslave bond1 eth2 eth3
down ifenslave -d bond1 eth2 eth3
# grep bond /etc/modprobe.d/aliases
alias bond0 bonding
options bond0 miimon=100 mode=active-backup max_bonds=2
alias bond1 bonding
options bond1 miimon=100 mode=802.3ad
# ip addr show bond0 && ip addr show bond1
6: bond0: <BROADCAST,MULTICAST,MASTER,UP,10000> mtu 1500 qdisc noqueue
link/ether 00:14:4f:ed:fe:f0 brd ff:ff:ff:ff:ff:ff
inet 10.100.2.101/16 brd 10.100.255.255 scope global bond0
inet6 fe80::214:4fff:feed:fef0/64 scope link
valid_lft forever preferred_lft forever
7: bond1: <BROADCAST,MULTICAST,MASTER,UP,10000> mtu 1500 qdisc noqueue
link/ether 00:14:4f:ed:fe:f2 brd ff:ff:ff:ff:ff:ff
inet 172.16.0.1/12 brd 172.31.255.255 scope global bond1
inet6 fe80::214:4fff:feed:fef2/64 scope link
valid_lft forever preferred_lft forever
I have checked that this works without any boot error with both the
current etch stable kernel (2.6.18) and current etchnhalf kernel
version (2.6.24).
Cheers,
--
Casey Allen Shobe
Database Architect, The Berkeley Electronic Press
[EMAIL PROTECTED] (email/jabber/aim/msn)
http://www.bepress.com | +1 (510) 665-1200 x163
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]