Skip to content

Automatically configured prefix length? #126

Closed Answered by rsmarples
oskarwaglund asked this question in Q&A
Discussion options

You must be logged in to vote

RA gives you routes based on a prefix. You could optionally derive an automated address from the prefix.
DHCPv6 gives you an address - there is no prefix.

When we add an address, the kernel will automatically add a route if the prefix length is not at the maximal value.
This may conflict with routes the RA wants to add.
Likewise if a route associated with the address expires, the address would be removed when a different route could be used.
As such all DHCPv6 addresses will always have a /128 prefix length.

You've only said what your problem is, not your use case. If you really want a /64 prefix from DHCPv6 then you want to configure for DHCPv6 Prefix Delegation which requires some setup…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by oskarwaglund
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants