[Bug 974218] Re: Ifenslave-2.6 problem in ubuntu 12;04 precise
Tyler Wagner
tyler at tolaris.com
Fri May 18 10:02:40 UTC 2012
>From my reading of it, the correct configuration should be:
iface bond0 inet static
address 192.168.0.1
netmask 255.255.255.0
bond_slaves none
bond_mode broadcast
bond_miimon 100
bond_updelay 200
bond_downdelay 500
bond_usecarrier 1
auto eth2
iface eth2 inet manual
bond-master bond0
bond-primary eth2 eth3
bond_mode broadcast
bond_miimon 100
bond_updelay 200
bond_downdelay 500
bond_usecarrier 1
auto eth3
iface eth3 inet manual
bond-master bond0
bond-primary eth2 eth3
bond_mode broadcast
bond_miimon 100
bond_updelay 200
bond_downdelay 500
bond_usecarrier 1
Note that the bond doesn't come up automatically (no auto statement),
and it doesn't list the slaves directly. Instead the physical interfaces
come up, and they in turn bring bond0 up. Because of that, the bonding
options must be specified on all interfaces.
Have you tested? If so, please report here.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifenslave-2.6 in Ubuntu.
https://bugs.launchpad.net/bugs/974218
Title:
Ifenslave-2.6 problem in ubuntu 12;04 precise
Status in “ifenslave-2.6” package in Ubuntu:
Confirmed
Bug description:
Hi,
I use ubuntu in my server, i have two interfaces bonds connected,
bond0 -> eth2 and eth3
bond1 -> eth3 and eth4
In old versions the package ifenslave, my interface bound, works
without problems
But in latest version the package ( 1.1.0-19ubuntu5 ) , the interface
up but not ping.
Now i use version ifenslave-2.6 (1.1.0-19ubuntu1) and my interfaces
works without problems.
My archive :
/etc/init.d/network/interfaces :
auto bond0
iface bond0 inet static
pre-up ip link set eth2 up
pre-up ip link set eth3 up
address 192.168.0.2
broadcast 192.168.0.255
post-up ifconfig bond0 mtu 9000
netmask 255.255.255.0
slaves eth2 eth3
bond_mode broadcast
bond_miimon 100
bond_updelay 200
bond_downdelay 500
bond_usecarrier 1
auto bond1
iface bond1 inet static
broadcast 192.168.1.255
address 192.168.2.2
pre-up ip link set eth4 up
pre-up ip link set eth5 up
netmask 255.255.255.0
post-up ifconfig bond1 mtu 9000
slaves eth4 eth5
bond_mode broadcast
bond_miimon 100
bond_updelay 200
bond_downdelay 500
bond_usecarrier 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/974218/+subscriptions
More information about the foundations-bugs
mailing list