Comment 17 for bug 889423

Revision history for this message
Stéphane Graber (stgraber) wrote :

I'm also going to copy/paste an answer I posted somewhere else:

Also, as noted on IRC, bond-primary seems to be limited to active-backup only.
For reference: http://www.kernel.org/doc/Documentation/networking/bonding.txt
Here's a minimal 802.3ad config:

----
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# Link Aggregation bonding
auto bond0
iface bond0 inet static
        bond-slaves none
        bond-mode 802.3ad
        bond-miimon 100
        address 172.22.15.11
        netmask 255.255.255.0
        gateway 172.22.15.1

auto eth0
iface eth0 inet manual
        bond-master bond0

auto eth1
iface eth1 inet manual
        bond-master bond0

----

Please try with a config similar to that one as I'd expect kernel errors when trying to change options that don't exist in 802.3ad mode.
Looking at "dmesg | grep bond" may also give some clues as to what's wrong.

That's with my proposed ifenslave package, the one in Oneiric and in former Ubuntu releases is known to have a race condition so at this point I'm only interested in feedback on the one that's in my PPA as that's the one I'll push to Precise and use for SRUs.