dhcpcd-discuss

Re: Stateful DHCP for IPv6

Roy Marples

Sat Feb 17 20:55:28 2018

On 16/02/2018 01:08, jobhunts02@xxxxxxx wrote:
I want to do stateful DHCP for IPv6.  It is doing SLAAC or stateless by default.  I tried adding "ipv6ra_noautoconf" to dhcpcd.conf, but that did not work.  It resulted in getting no global address at all.  I see the message "No DHCPv6 instruction in RA" in dhcpcd.log. (below)  Is that a concern?  Also, should "kernel IPv6 RA support" be enabled or disabled?

How do I configure dhcpcd to do stateful DHCP for IPv6?

Your RA stated that there is no DHCPv6 server on the network for normal addresses. So this network is stateless. If you have configured a DHCPv6 server, then you need to instruct your RA server to toggle the M bit for managed addresses or the O bit to get Other information (such as DNS) from the DHCPv6 server.

If you're after something else, or want to force DHCPv6 in the case of a faulty RA server then request it explicitly in dhcpcd.conf using the ia_na or ia_pd options under an interface block.

Roy

References:
Stateful DHCP for IPv6jobhunts02
Archive administrator: postmaster@marples.name