[Bug 823366] Re: bond_primary is ignored in /etc/network/interfaces
Steve Langasek
steve.langasek at canonical.com
Thu Nov 10 01:44:22 UTC 2011
> but your example does not do this (I don't think this has anything to do with
> the problem but I mention it just in case).
Actually, that does prevent your bond_mode, bond_arp_* settings from
being applied; unfortunately you do have to reproduce all the options
between all the interfaces.
> Since bond0 no longer has an "auto bond0" stanza, I
> see nothing in if-pre-up.d/ifenslave which would bring up bond0.
You didn't show the 'auto bond0' in the original post, so I didn't
include it in my counterexample. :) I think adding this back should be
enough to fix the problem.
--
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