I was unable to make it work as it should.
My setup is as follow :
I have to NIC to bond using the 802.3ad mode. That bond is to be used
with VLAN. When started the bond0 interface and my two NICs should have
the same MAC address but they do not.
>From my reading I should have :
===
auto eth0
iface eth0 inet manual
bond-master bond0
auto eth1
iface eth1 inet manual
bond-master bond0
auto bond0
iface bond0 inet manual
bond-slaves none
bond-mode 802.3ad
bond-miimon 100
bond-updelay 200
bond-downdelay 500
auto xenbr0
iface xenbr0 inet static
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
bridge_maxwait 10
bridge_stp on
bridge_ports bond0.10
===
When doing that setup the bond0 interface comes up but the MAC address
does not match.
The only way I had it to work as expected is not to "auto" eth0 and eth1
and use the "up" stanzas to bring those interface inside the bond :
===
iface eth0 inet manual
bond-master bond0
iface eth1 inet manual
bond-master bond0
auto bond0
iface bond0 inet manual
up ifup eth0
up ifup eth1
bond-slaves none
bond-mode 802.3ad
bond-miimon 100
bond-updelay 200
bond-downdelay 500
auto xenbr0
iface xenbr0 inet static
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
bridge_maxwait 10
bridge_stp on
bridge_ports bond0.10
===
I tried the "allow-bond0 ethX" stanzas instead of "auto ethX" but it
does not seem to work at all.
I tried to reproduce the bond0 configuration parameters inside each NIC
but it does not work either.
Now the interface bond0 start with a 60 seconds waiting time at boot
(which I reduced in the scripts to 10 seconds).
===
So the event based startup of the bond is broken. Could we have it
working once and for all?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/974218
Title:
Ifenslave-2.6 problem in ubuntu 12;04 precise
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/974218/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs