Package: ifenslave-2.6 Version: 1.1.0-6 Severity: Normal Hi,
I have a little problem with a configuration like this one:
/etc/network/interfaces
auto bond0
iface eth0 inet manual
iface eth1 inet manual
iface bond0 inet dhcp
pre-up ifconfig bond0 up
slaves eth0 eth1
use_carrier 1
up ifconfig bond0 mtu 9000
The dhcp client is launched before the slave interfaces are added. This
means that the client times out and I do not get the ip at boot. Also,
at shutdown, the interfaces are removed before the dhcp client send the
DHCPRELEASE message, so it never gest anywhere.
This is rather annoying but there are 2 fixes. The long term one would
be to use /etc/network/{if-pre-up.d,if-post-down.d} instead of
/etc/network/{if-up.d,if-down.d} for the ifenslave hook. And for the
short term, I use explicitely ifenslave in the interfaces file.
thanks
jacques
PS: I wonder if this bug shouldn't be classified as inportant since it
breaks quite a few other network services which are dependent upon
getting connectivity at startup and not 3 or 4 minutes after startup,
when the dhcp client tries for a second time.
signature.asc
Description: Digital signature

