dhcpcd-discuss

Re: IPv6 Prefix Length

Roy Marples

Thu Mar 01 14:26:54 2018

On 01/03/2018 02:44, jobhunts02@xxxxxxx wrote:
On my server in dhcpd6.conf  the prefix length is 64:
subnet6 2001:ed8:77b5::/64 {
        range6                          2001:ed8:77b5:0:10:123:105:150 2001:ed8:77b5:0:10:123:105:155;
}

On my client, I am getting an address with a prefix length of 128:
inet6 addr: 2001:ed8:77b5:0:10:123:105:155/128 Scope:Global

Is this the expected behavior?

Yes this is expected.
A DHCPv6 lease is not tied to any specific prefix.
The kernel will use the longest matching prefix as the out-going route.

Roy

Follow-Ups:
Re: IPv6 Prefix Lengthjobhunts02
References:
IPv6 Prefix Lengthjobhunts02
Archive administrator: postmaster@marples.name