Dhcpv6 address pool – H3C Technologies H3C S12500 Series Switches User Manual
Page 147
![background image](https://www.manualsdir.com/files/812677/content/doc147.png)
134
398B
PD
The DHCPv6 server creates a prefix delegation (PD) for each assigned prefix to record the IPv6 prefix,
client DUID, IAID, valid lifetime, preferred lifetime, lease expiration time, and IPv6 address of the
requesting client.
286B
DHCPv6 address pool
The DHCP server selects IPv6 addresses, IPv6 prefixes, and other parameters from an address pool, and
assigns them to the DHCP clients.
399B
Address allocation mechanisms
DHCPv6 supports the following address allocation mechanisms:
•
Static address allocation—To implement static address allocation for a client, create a DHCPv6
address pool, and manually bind the DUID and IAID of the client to an IPv6 address in the DHCPv6
address pool. When the client requests an IPv6 address, the DHCPv6 server assigns the IPv6
address in the static binding to the client.
•
Dynamic address allocation—To implement dynamic address allocation for clients, create a
DHCPv6 address pool, specify a subnet for the pool, and divide the subnet into temporary and
non-temporary IPv6 address ranges. Upon receiving a DHCP request, the DHCPv6 server selects an
IPv6 address from the temporary or non-temporary IPv6 address range based on the address type
in the client request.
400B
Prefix allocation mechanisms
DHCPv6 supports the following prefix allocation mechanisms:
•
Static prefix allocation—To implement static prefix allocation for a client, create a DHCPv6 address
pool, and manually bind the DUID and IAID of the client to an IPv6 prefix in the DHCPv6 address
pool. When the client requests an IPv6 prefix, the DHCPv6 server assigns the IPv6 prefix in the static
binding to the client.
•
Dynamic prefix allocation—To implement dynamic prefix allocation for clients, create a DHCPv6
address pool and a prefix pool, specify a subnet for the address pool, and apply the prefix pool to
the address pool. Upon receiving a DHCP request, the DHCPv6 server dynamically selects an IPv6
prefix from the prefix pool in the address pool.
401B
Address pool selection
The DHCPv6 server observes the following principles to select an IPv6 address or prefix for a client:
1.
If there is an address pool where an IPv6 address is statically bound to the DUID or IAID of the
client, the DHCPv6 server selects this address pool and assigns the statically bound IPv6 address
or prefix and other configuration parameters to the client.
2.
If the receiving interface has an address pool, the DHCP server selects an IPv6 address or prefix
and other configuration parameters from this address pool.
3.
If there is no static address pool and the receiving interface has no address pool, the DHCPv6
server selects an address pool in the following way:
{
If the client and the server reside on the same subnet, the DHCP server matches the IPv6
address of the receiving interface against the subnets of all address pools, and selects the
address pool with the longest-matching subnet.
{
If the client and the server reside on different subnets (a DHCPv6 relay agent is in-between), the
DHCPv6 server matches the IPv6 address of the DHCPv6 relay agent interface closest to the
- H3C SR8800 H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S9800 Series Switches