Configuring an IPv6 PD Address Pool
Context
IPv6 PD address pool refers to an IPv6 address pool used by a DHCPv6 PD server to assign IPv6 address prefixes to DHCPv6 PD clients.
Procedure
- Run system-view
The system view is displayed.
- Run dhcpv6 pool pool-name
An IPv6 PD address pool is created and the address pool view is displayed.
By default, no IPv6 PD address pool is created on the device.
- Run prefix-delegation ipv6-prefix/ipv6-prefix-length assign-prefix-length [ life-time { valid-lifetime | infinite } { preferred-lifetime | infinite } ]
An IPv6 address prefix agent is bound to the IPv6 address pool.
By default, no IPv6 address prefix agent is bound to the IPv6 address pool.
- (Optional) Run lock
The IPv6 PD address pool is locked
By default, the IPv6 PD address pool is unlocked.
- (Optional) Run link-address ipv6-prefix/ipv6-prefix-length
The network prefix is configured in the IPv6 address pool.
By default, no network prefix is configured in the IPv6 address pool view.
To enable the DHCPv6 PD server function in the system view, you must perform this step to determine the network segment where the clients need to be assigned IPv6 addresses prefixes by the PD address pool.
- (Optional) Run static-bind prefix ipv6-prefix/ipv6-prefix-length duid client-duid [ iaid iaid-value ] [ life-time { valid-lifetime | infinite } { preferred-lifetime | infinite } ]
An IPv6 address prefix agent is statically bound to the DHCPv6 PD client in the address pool view.
By default, no IPv6 address prefix agent is bound to the DHCPv6 PD client.
To statically assign specified IPv6 address prefixes to some specific clients, specify the mapping between IPv6 address prefixes and client DUIDs. When such a client requests an IPv6 address from the DHCPv6 PD server, the device functioning as the DHCPv6 PD server assigns the specified IPv6 address to the client.
Configure the specified IPv6 address prefixes to be assigned only to the clients with specified DUIDs.