Specifying DHCPv6 servers for a DHCPv6 address pool on the DHCPv6 relay agent

About specifying DHCPv6 servers for a DHCPv6 address pool on the DHCPv6 relay agent

This feature allows DHCPv6 clients of the same type to obtain IPv6 addresses, IPv6 prefixes, and other configuration parameters from the DHCPv6 servers in the matching DHCPv6 address pool.

It applies to scenarios where the DHCPv6 relay agent connects to clients of the same access type but classified into different types by their locations. In this case, the relay interface typically has no IPv6 address configured. You can use the gateway-list command to specify the gateway addresses for clients matching the same DHCPv6 address pool.

Upon receiving a DHCPv6 Solicit or Request from a client that matches a DHCPv6 address pool, the relay agent processes the packet as follows:

The DHCPv6 servers select a DHCPv6 address pool according to the gateway address.

Restrictions and guidelines

Procedure

  1. Enter system view.

    system-view

  2. Create a DHCPv6 address pool and enter its view.

    ipv6 dhcp pool pool-name

  3. Specify gateway addresses for the clients matching the DHCPv6 address pool.

    gateway-list ipv6-address&<1-8>

    By default, no gateway address is specified.

  4. Specify DHCPv6 servers for the DHCPv6 address pool.

    remote-server ipv6-address [ interface interface-type interface-number ]

    By default, no DHCPv6 server is specified for the DHCPv6 address pool.