Re: Timeout behaviour in DHCPCD v7.0.1
Roy Marples
Fri Mar 02 13:58:30 2018
Hi Stephan
On 27/02/2018 12:11, Stephan Höme wrote:
Hi,
I use DHCPCD v6.7.1 in similar setup as described here:
https://roy.marples.name/archives/dhcpcd-discuss/0001535.html
I have a router running dhcpcd and getting a IPv6 prefix via PD from a
DHCPv6 server. The router has 2 interfaces, eth0 is upstream and faced
to the dhcp server. Eth1 is downstream and the prefix should be
delegated to this.
It happens that the machine with dhcpcd starts before the server is
running. This works with v6.7.1, but no longer after updating to v7.0.1.
How to reproduce:
- The machine with DHCPv6 server and radvd is not running yet
- The machine with dhcpcd starts. DHCPCD sends both Router Solicitations
and DHCPv6 Solicitations. Both are unanswered
- After about 12 seconds, dhcpcd states in its logfile "eth0: no IPv6
Routers available
- The machine with the DHCPv6 server starts later, but dhcpcd never asks
for PD again.
What can I do? I experimented with config parameters like timeout and
--waitforip, without success. It would be ok if dhcpcd terminates, then
I could restart it.
Any suggestions?
Fixed here:
https://roy.marples.name/git/dhcpcd.git/commit/?id=48da652a89b3eb9c1d5e11ff8ad8af2f8d1c40c0
Please test and let me know if that fixes it for you!
Roy
Archive administrator: postmaster@marples.name