F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100
705
853BAddress/prefix 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 or prefix 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
client against the subnets of all address pools, and selects the address pool with the
longest-matching subnet.
236B
Configuration prerequisites
Before you configure the DHCPv6 server, enable IPv6 by using the ipv6 command. For more information
about the ipv6 command, see Network Management Command Reference.
237B
DHCPv6 server configuration task list
Task Remarks
2893H
Enabling the DHCPv6 server Required.
2894H
Configuring IPv6 prefix assignment
Use either configuration.
2895H
Configuring IPv6 address assignment
2896H
Configuring network parameter assignment
2897H
Configuring a DHCPv6 option group for parameter assignment Required.
238B
Enabling the DHCPv6 server
Ste
p
Command
Remarks
989. Enter system view.
system-view N/A
990. Enable the DHCPv6 server function.
ipv6 dhcp server enable Disabled by default.
239B
Configuring IPv6 prefix assignment
Use one of the following methods to configure IPv6 prefix assignment: