Dhcpv6 Server Configuration Examples; Dynamic Ipv6 Prefix Assignment Configuration Example - HP 6125XLG Configuration Manual

Blade switch layer 3 - ip services
Table of Contents

Advertisement

DHCPv6 server configuration examples

Dynamic IPv6 prefix assignment configuration example

Network requirements
As shown in
domain name, SIP server address, and SIP server name to each DHCPv6 client.
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 SIP
server name is bbb.com.
Figure 65 Network diagram
Configuration procedure
# Configure the IPv6 address of VLAN-interface 2.
<Switch> system-view
[Switch] interface vlan-interface 2
[Switch-Vlan-interface2] ipv6 address 1::1/64
[Switch-Vlan-interface2] quit
# Create prefix pool 1, and specify the prefix 2001:0410::/32 with the assigned prefix length being 48.
[Switch] ipv6 dhcp prefix-pool 1 prefix 2001:0410::/32 assign-len 48
# Create address pool 1.
[Switch] ipv6 dhcp pool 1
# In address pool 1, configure subnet 1::/64 where VLAN interface-2 resides.
[Switch-dhcp6-pool-1] network 1::/64
# Apply prefix pool 1 to address pool 1, and set the preferred lifetime to one day, and the valid lifetime
to three days.
[Switch-dhcp6-pool-1] prefix-pool 1 preferred-lifetime 86400 valid-lifetime 259200
# In address pool 1, bind prefix 2001:0410:0201::/48 to the client DUID 00030001CA0006A40000,
and set the preferred lifetime to one day, and the valid lifetime to three days.
[Switch-dhcp6-pool-1] static-bind prefix 2001:0410:0201::/48 duid 00030001CA0006A40000
preferred-lifetime 86400 valid-lifetime 259200
Figure
65, Switch serves as a DHCPv6 server to assign the IPv6 prefix, DNS server address,
assigns
prefix
and
2001:0410:0201::/48
assigns
prefixes
153
to
the
client
whose
ranging
from
2001:0410::/48
DUID
is
to

Advertisement

Table of Contents
loading

Table of Contents