Enabling the DHCPv6 server to advertise IPv6 prefixes
A DHCPv6 client can obtain an IPv6 prefix through DHCPv6 and use the IPv6 prefix for IPv6 address assignment in a downstream network. If the IPv6 prefix is in a different subnet than the IPv6 address of the DHCPv6 client's upstream interface, the downstream network cannot access the external network. If the DHCPv6 server is on the same link as the DHCPv6 client, enable the DHCPv6 server to advertise the IPv6 prefix.
To enable the DHCPv6 server to advertise IPv6 prefixes:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enable the DHCPv6 server to advertise IPv6 prefixes. | ipv6 dhcp advertise pd-route | By default, the DHCPv6 server does not advertise IPv6 prefixes. |