[arch-general] dhcpcd-7.0.1-1 seems to break SLAAC

ProgAndy admin at progandy.de
Fri Feb 23 22:09:07 UTC 2018

Am 23.02.2018 um 01:45 schrieb Jukka Salmi:
> With dhcpcd-6.11.5-1 starting this netctl profile results in an IPv4
> address being configured via DHCP and an IPv6 address being configured
> via SLAAC as expected.
> With dhcpcd-7.0.1-1 starting this netctl profile results in an IPv4
> address being configured via DHCP, but no IPv6 address is configured.
> ...
> Is anybody seeing the same issue?  Is really dhcpcd to blame?
> TIA & cheers,
> Jukka
that was a deliberate design decision, it is assumed that you will either want dhcpcd to handle ipv4 as well as ipv6 or you want to disable ipv6.


>   *  ipv6: disable kernel RA if interface is active

dhcpcd supports DHCPCv6 as well as SLAAC, but the "private" IPv6 is generated according to RFC 7217 instead of RFC 4941. That means you get a unique ipv6 for each network prefix that never changes.
This article may explain it a bit better

More information about the reasons for the change here:

It seems that there were too many complaints, so in git the behaviour has been changed again. (After the 7.0.1 release)
> /*
> * If dhcpcd is doing RS, disable RA support
> * in the kernel. Otherwise, leave it alone.
> * Logically it should be disabled regardless as dhcpcd can
> * do it better and the user saying no RS means no RS even the kernel,
> * but some crazy people want the kernel to do it still.
> */

Maybe in the future dhcpcd will have options for both ignoring ipv6 (letting the kernel handle it) and disabling ipv6.


More information about the arch-general mailing list