dhcpcd-discuss

Re: ipv6 only mode

Roy Marples

Tue Dec 01 14:27:29 2020

Hi Boris

On 01/12/2020 14:21, Boris Krasnovskiy wrote:
Hi Roy,

ok assuming something else started it, then the issue slightly different.

Then why the ipv6 dhcpcd did not daemonize?
It should of daemonized to handle router advertisement expirations, and new advertisements.

>      > # dhcpcd -t 5 -6 eth0
>      > dhcpcd-9.3.4 starting
>      > DUID 00:01:00:01:0d:2b:80:16:c0:ee:40:c0:17:3d
>      > eth0: IAID 40:51:4e:0e
>      > eth0: soliciting an IPv6 router
>      > eth0: Router Advertisement from fe80::a273:876b:598:9dcf
>      > eth0: no global addresses for default route
>      > timed out
>      > dhcpcd exited

You asked for a timeout of 5 seconds.
While you received a RA within 5 seconds, there was no address OR instruction to get an address via DHCP6 so dhcpcd discards this RA.

If you want it to daemonise right away then replace `-t 5` with `-b` and dhcpcd will work in the background for you until told to stop.

Roy

Follow-Ups:
dhcpcpd kills all connections on Wi-Fi roaming between access pointsBoris Krasnovskiy
References:
ipv6 only modeBoris Krasnovskiy
Re: ipv6 only modeRoy Marples
Re: ipv6 only modeBoris Krasnovskiy
Re: ipv6 only modeRoy Marples
Re: ipv6 only modeBoris Krasnovskiy
Archive administrator: postmaster@marples.name