Re: DHCPv6 addresses being assigned with /128 prefixes
Graham Breed
Thu Sep 28 13:17:05 2017
On 28/09/17 13:43, Roy Marples wrote:
> ISC dhclient **only** does DHCPv6. It doesn't handle any RA recieved
> inforamtion such as prefixes, not will it generate any routes.
> AFAIK, no patches for it do either - instead a 3rd party will do this.
> NetworkManager, systemd, Linux kernel (if dhcpcd hasn't turned that off).
>
> So what you say about dhclient not receiving SLAAC addressess makes
> perfect sense.
The interface is configured to receive the addresses, however Ubuntu
does that. This is a separate test VM without dhcpcd. And SLAAC works
with a "route" section in radvd.conf along with the "prefix" (or maybe
it just takes a while to apply). But DHCPv6 is still giving /128
addresses in both cases.
So I'm still mystified in that both implementations think there's
something wrong, but I don't know what it is.
> dhcpcd is the only all-in-one solution :)
Indeed, and we find it useful to use it like that to control all dynamic
address and route assignment. And it makes this all the more
perplexing, because if dhcpcd can use the prefix length to assign a
stateless address, why not use the same prefix length for the DHCPv6
address? It wouldn't attempt to get the address at all if it hadn't
received the correct advertisement.
> dhcpcd is saying that a 3rd party deleted the address.
In that case, I know what the 3rd party is, so never mind this detail.
Graham
--
------------------------------
*Graham Breed*
Systems Developer, ApplianSys
ApplianSys House
Harry Weston Road
Coventry CV3 2UB
www.appliansys.com
*Our sales team sells by referral:*
Less time looking for customers, more time looking after them
ApplianSys Limited registered in England & Wales #: 07608382 at ApplianSys
House, Harry Weston Road, Coventry CV3 2UB
Archive administrator: postmaster@marples.name