[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian jessie: DHCP v6 in interfaces does not start dhclient



* Stefan Pietsch <stefan.pietsch@lsexperts.de> [2015-04-29 10:50]:
> Dear list,
> 
> a fresh installation of Debian jessie does not start dhclient for IPv6
> at boot.
> 
> This is the interfaces file:
> 
> ~~~~~
> 
> source /etc/network/interfaces.d/*
> 
> auto lo
> iface lo inet loopback
> 
> auto eth0
> iface eth0 inet dhcp
> iface eth0 inet6 dhcp
> 
> ~~~~~
> 
> 
> Doing a manual "ifup eth0" after boot starts "dhclient -6".
> 
> Can anyone confirm this behaviour?


This is a timing issue.

~~~~

auto eth0
iface eth0 inet dhcp
        post-up sleep 2
iface eth0 inet6 dhcp

~~~~

The sleep in post-up is a workaround and dhclient for v6 starts correctly.

Ubuntu 15.04 is also affected:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1447715



Regards,
Stefan


Reply to: