Enabling the DHCPv6 server to advertise IPv6 prefixes

About IPv6 prefixes advertisement

A DHCPv6 client can obtain an IPv6 prefix through DHCPv6 and use this IPv6 prefix to assign IPv6 addresses for 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. If the DHCPv6 server is on the same link as the DHCPv6 client, enable the DHCPv6 server to advertise the IPv6 prefix.

Procedure

  1. Enter system view.

    system-view

  2. Enable the DHCPv6 server to advertise IPv6 prefixes.

    ipv6 dhcp advertise pd-route

    By default, the DHCPv6 server does not advertise IPv6 prefixes.