R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
696
2::2:3. The DHCPv6 clients reside in domain aaa.com. The SIP server address is 2:2::4, and the domain
name of the SIP server is bbb.com.
Configuration considerations
To configure the DHCPv6 server:
Enable IPv6 and DHCPv6 server.
Create a prefix pool containing prefix 2001:0410::/32 with the length of the assigned prefix being
48, so that the server assigns clients the prefixes ranging 2001:0410::/48 to
2001:0410:FFFF::/48.
Create an address pool. Configure a static prefix in the address pool and have the prefix pool
referenced by the address pool. Configure other configuration parameters.
Apply the address pool to the interface through which the server is connected to the clients.
Figure 364 Network diagram
Configuration procedure
# Enable IPv6 and DHCPv6 server.
<Firewall> system-view
[Firewall] ipv6
[Firewall] ipv6 dhcp server enable
# Configure the IPv6 address of GigabitEthernet 0/1.
[Firewall] interface gigabitethernet 0/1
[Firewall-GigabitEthernet0/1] ipv6 address 1::1/64
[Firewall-GigabitEthernet0/1] quit
# Create and configure prefix pool 1.
[Firewall] ipv6 dhcp prefix-pool 1 prefix 2001:0410::/32 assign-len 48
# Create address pool 1.
[Firewall] ipv6 dhcp pool 1
# Apply prefix pool 1 to address pool 1, and set the preferred lifetime to one day, the valid lifetime to
three days.
[Firewall-ipv6-dhcp-pool-1] prefix-pool 1 preferred-lifetime 86400 valid-lifetime 259200
# Configure static prefix 2001:0410:0201::/48 in address pool 1, and set the client DUID as
00030001CA0006A40000, the preferred lifetime to one day, and the valid lifetime to three days.