dhcpcd-discuss

Re: dhcpcd 7.0.0 IPv6 bugs

Roy Marples

Sun Jan 07 13:22:43 2018

Hi Jan

On 06/01/2018 11:18, Jan Herrygers wrote:
I get the argument provided in the archive for disabling IPv6 in the kernel.

When does dhcpcd disable the kernel IPv6 autoconf and address generation? If it is only when dhcpcd is started, then I guess it is just as easy for me to re-enable the kernel IPv6 after starting dhcpcd if I want it.

Each time dhcpcd configures the interface.
This generally happens when dhcpcd is started an when the carrier comes up for the interface.

For the other thing I mentioned:

    - if dhcpcd is started with the -6 flag, it keeps running in the
    foreground after configuring the IPv6 address till it times out
    and exits. It doesn't fork to the background. I have a tcpdump of
    the router advertisement that I receive.
    --> I'd expect dhcpcd to fork to the background after configuring
    the IPv6 addresses, so it can handle additional router advertisements
I don't see how the archive post supports dhcpcd exiting rather than forking to the background when it is started with the -6 flag. Can you enlighten me on that one?

Ah sorry, I missed that part.
If the RA doesn't contain a DNS entry then it won't fork at this point.
See the ipv6ra_fork option in dhcpcd.conf(5).

Roy

References:
dhcpcd 7.0.0 IPv6 bugsJan Herrygers
Re: dhcpcd 7.0.0 IPv6 bugsRoy Marples
Re: dhcpcd 7.0.0 IPv6 bugsJan Herrygers
Archive administrator: postmaster@marples.name