[Bug 823366] Re: bond_primary is ignored in /etc/network/interfaces

Stéphane Graber stgraber at stgraber.org
Mon Nov 7 16:53:02 UTC 2011


Also worth mentioning from that same README:
"""
Previous versions of the package supported specifying the slaves all in the
stanza for the bonding interface, using the "bond_slaves" option.  However,
in such a configuration there is a race condition between bringing up the
hardware driver for the ethernet devices and attempting to bring up the
bonded interface; the bonding interface needs to be initiated from the slave
interfaces instead.
"""

As the README indicates a race condition, it could be that the bug was
already there and not caused by the SRU.

Could you try updating your configuration to reflect that mentioned in
the README and by Steve above and see if that fixes the issue for you?

-- 
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/823366

Title:
  bond_primary is ignored in /etc/network/interfaces

Status in “ifenslave-2.6” package in Ubuntu:
  Incomplete

Bug description:
  The bond_primary declaration in /etc/network/interfaces is not working anymore in 10.04.3.
  Setting this value has no influence, it's always set to the lower interface number or none

  Workaround:

  iface bond0 inet static
    bond_slaves eth2 eth0
    bond_primary eth2
    bond_mode 1
    bond_arp_interval 2000
    bond_arp_ip_target 192.168.100.1
    #bond_num_grat_arp 10
    up echo eth2 > /sys/class/net/bond0/bonding/primary
    up echo 10 > /sys/class/net/bond0/bonding/num_grat_arp
    address  192.168.100.50
    netmask 255.255.255.192
    gateway 192.168.100.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/823366/+subscriptions




More information about the foundations-bugs mailing list