Does the dhcpv6 server provide the subnet information to the client like dhcpv4?

sthaug at nethelp.no sthaug at nethelp.no
Tue May 31 08:13:12 UTC 2011


> In ipv4 configuration, we can specify the netmask key word like below,
> 
> subnet 192.168.9.0 netmask 255.255.255.128 {
> 
> }
> 
> and the client can acquire the subnet information from the dhcpv4 server.
> 
> in ipv6 configuration, we can also specify the subnet network:
> 
> subnet6 2001:0:0:9::/64 {
> 
> }
> 
> but the client can not acquire the subnet information from the dhcpv6
> server, is that expected?

It depends on what you mean by "subnet information". The client is not
expected to get netmask or default gateway from DHCPv6 - this should
come from a router advertisement (RA).

[And if you're wondering: It's possible to send RAs without prefix
information, *or* to send prefix information but specify that this
prefix cannot be used for autoconfiguration.]

Steinar Haug, Nethelp consulting, sthaug at nethelp.no



More information about the dhcp-users mailing list