Chapter 24 DHCPv6 Configuration
Figure 24-3 DHCPv6 Server Configuration Example
The configuration requirements of ZXR10 are described below.
l
In global configuration mode, configure an IPv6 address, an IPv6 pool, a DHCPv6
pool, and a DHCPv6 policy. Enable DHCPv6 function.
l
In interface configuration mode, configure an IP address and DHCP server mode.
Bind the DHCPv6 policy.
Configuration Flow
1.
Enable IPv6 on the interface, and configure an IPv6 address.
2.
Configure an IPv6 address pool, and configure related parameters such as the range
of the address pool. The range of the addresses in the pool should be on the same
network segment.
3.
Enable DHCPv6 globally.
4.
Configure DHCPv6 pool. The DHCPv6 pool needs to be bounded to an IP pool.
Configure DNS, lease time and other parameters.
5.
Configure a DHCPv6 policy. The DHCPv6 policy is a policy option. Many priorities are
supported by a name for policy management.
6.
Configure a DHCPv6 server.
Configure the server mode in DHCPv6 interface
configuration mode. Bind the policy.
Configuration Commands
Configuration on ZXR10:
ZXR10(config)#interface gei-0/1
ZXR10(config-if-gei-0/1)#ipv6 enable
ZXR10(config-if-gei-0/1)#ipv6 address 86::1:1/96
ZXR10(config-if-gei-0/1)#no shutdown
ZXR10(config-if-gei-0/1)#exit
/*Configure an IPv6 address pool*/
ZXR10(config)#ipv6 addr-pool zte
ZXR10(config-ipv6-addr-pool)#addr-range 86::1:2 86::1:10
ZXR10(config-ipv6-addr-pool)#exit
/*Enable DHCPv6*/
ZXR10(config)#dhcp ipv6
ZXR10(config-dhcpv6)#enable
/*Bind the IPv6 address pool to the DHCPv6 pool*/
ZXR10(config-dhcpv6)#pool zte
24-11
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential