F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100

721
i. Specify the dynamic prefix to create a prefix pool.
j. Create an address pool.
Apply the prefix pool to the address pool so that the DHCPv6 server can dynamically select a
prefix from the prefix pool and assign it to a client. Apply the dynamic prefix to the network
subnet so that the server can assign an IP address to the client. To achieve network parameters
assignment, specify the dynamically crated DHCPv6 option group for the address pool.
k. Enable the DHCPv6 server on the interface that connects to the clients.
Figure 375 Network diagram
1714BConfiguration procedure
1. Configure Firewall A:
# Enable IPv6.
<FirewallA> system-view
[FirewallA] ipv6
# Enable the DHCPv6 server.
[FirewallA] ipv6 dhcp server enable
# Configure the IPv6 address of interface GigabitEthernet 0/1.
[FirewallA] interface gigabitethernet 0/1
[FirewallA-GigabitEthernet0/1] ipv6 address 1::1/64
[FirewallA-GigabitEthernet0/1] quit
# Create prefix pool 1.
[FirewallA] ipv6 dhcp prefix-pool 1 prefix 12:34::/32 assign-len 32
# Apply prefix pool 1 to address pool 1, and set the preferred lifetime to one day and the valid
lifetime to three days.
[FirewallA] ipv6 dhcp pool 1
[FirewallA-dhcp6-pool-1] prefix-pool 1 preferred-lifetime 86400 valid-lifetime
259200
# Specify the DNS server address as 2:2::3.
[FirewallA-dhcp6-pool-1] dns-server 2:2::3
# Specify the domain name suffix as aaa.com.
[FirewallA-dhcp6-pool-1] domain-name aaa.com
# Specify the SIP server address as 2:2::4, and the domain name of the SIP server as bbb.com.
[FirewallA-dhcp6-pool-1] sip-server address 2:2::4
[FirewallA-dhcp6-pool-1] sip-server domain-name bbb.com
[FirewallA-dhcp6-pool-1] quit