Enabling the DHCPv6 relay agent to advertise IPv6 prefixes
About enabling the DHCPv6 relay agent to advertise IPv6 prefixes
A DHCPv6 client can obtain an IPv6 prefix through DHCPv6 and use this IPv6 prefix to assign IPv6 address to clients 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 clients in the downstream network cannot access the external network. You can enable the DHCPv6 relay agent that is on the same link as the DHCPv6 client to advertise the IPv6 prefix.
Procedure
Enter system view.
system-view
Enable the DHCPv6 relay agent to advertise IPv6 prefixes.
ipv6 dhcp advertise pd-route
By default, the DHCPv6 relay agent does not advertise IPv6 prefixes.
Before using this command, make sure the DHCPv6 relay agent is enabled to record DHCPv6 relay entries.