[Bug 1015199] Re: ifup does not work as documented with bonding interfaces
Ewen McNeill
1015199 at bugs.launchpad.net
Wed Feb 17 02:18:50 UTC 2016
FTR, system did boot to working network interfaces with the above
configuration (including pre-up/sleep lines). I'm not sure if there
were warnings issued as the default Ubuntu last action on boot is to
clear all boot messages in favour of displaying the login prompt at the
top of the screen :-( (/var/log/boot.log contains no messages other
than "starting ..." lines.)
FWIW, it seems to me that "ifup bond0" should do the enslaving
immediately of any bond-slave interfaces that actually already exist;
leaving (and maybe waiting for at least one of ) any others that don't
currently exist to appear and auto-config later on. That should work
both with races on discover on first boot, and through ifdown/ifup bond0
cycle later on (when the slave interfaces most likely still exist, even
though they've been disabled by the ifdown bond0).
Ewen
--
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/1015199
Title:
ifup does not work as documented with bonding interfaces
Status in ifenslave-2.6 package in Ubuntu:
Fix Released
Bug description:
The file /usr/share/doc/ifenslave-2.6/README.Debian.gz states:
"Using ifup on a master interface will call ifup for all slaves that are
flagged with allow-bondX. (bondX being replaced by the master interface
name). This will allow for extra setup for special slave interfaces."
However I'm using this /etc/network/interfaces file:
# The bound interface
auto eth3
allow-bond0 eth3
iface eth3 inet manual
bond-master bond0
bond-primary eth3 eth4 eth5
auto eth4
allow-bond0 eth4
iface eth4 inet manual
bond-master bond0
bond-primary eth3 eth4 eth5
auto eth5
allow-bond0 eth5
iface eth5 inet manual
bond-master bond0
bond-primary eth3 eth4 eth5
auto bond0
iface bond0 inet static
address 10.1.1.125
network 10.1.0.0
netmask 255.255.0.0
broadcast 10.1.255.255
bond-mode balance-rr
bond-slaves eth3 eth4 eth5
bond-miimon 100
bond-downdelay 200
bond-updelay 200
and issuing the 'ifup bond0' command I get:
root@:~# ifup bond0
Waiting for a slave to join bond0 (will timeout after 60s)
No slave joined bond0, continuing anyway
ssh stop/waiting
ssh start/running, process 9610
As you can see no slave interface has been started.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/1015199/+subscriptions
More information about the foundations-bugs
mailing list