DHCPv6 server configuration example
Network requirements
As shown in
address, domain name, SIP server address, and SIP server domain name to the DHCPv6 clients. The IPv6
address of the switch is 1::1/64.
The
switch
00030001CA0006A40000,
2001:0410:FFFF::/48 (excluding 2001:0410:0201::/48) to other clients. The DNS server address is
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.
1.
Create a prefix pool containing prefix 2001:0410::/32 with the length of the assigned prefix
2.
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
3.
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.
4.
Figure 66 Network diagram
Configuration procedure
# Enable IPv6 and DHCPv6 server.
<Switch> system-view
[Switch] ipv6
[Switch] ipv6 dhcp server enable
# Configure the IPv6 address of VLAN-interface 2.
[Switch] interface vlan-interface 2
[Switch-Vlan-interface2] ipv6 address 1::1/64
Figure
66, the switch serves as a DHCPv6 server, and assigns the IPv6 prefix, DNS server
assigns
prefix
and
2001:0410:0201::/48
assigns
prefixes
155
to
the
client
whose
ranging
from
2001:0410::/48
DUID
is
to