Dynamic Ipv6 Address Assignment Configuration Example - HPE FlexNetwork 10500 Series Configuration Manual

Layer 3-ip services
Table of Contents

Advertisement

2001:410:201::/48
# After the other client obtains an IPv6 prefix, display binding information on the DHCPv6 server.
[Switch-Vlan-interface2] display ipv6 dhcp server pd-in-use
Pool: 1
IPv6 prefix
2001:410:201::/48
2001:410::/48

Dynamic IPv6 address assignment configuration example

Network requirements
As shown in
subnets 1::1:0:0:0/96 and 1::2:0:0:0/96.
On Switch A, configure the IPv6 address 1::1:0:0:1/96 for VLAN-interface 10 and 1::2:0:0:1/96 for
VLAN-interface 20. The lease duration of the addresses on subnet 1::1:0:0:0/96 is 172800 seconds
(two days), the valid time is 345600 seconds (four days), the domain name suffix is aabbcc.com, and
the DNS server address is 1::1:0:0:2/96. The lease duration of the addresses on subnet 1::2:0:0:0/96
is 432000 seconds (five days), the valid time is 864000 seconds (ten days), the domain name is
aabbcc.com, and the DNS server address is 1::2:0:0:2/96.
Figure 75 Network diagram
DHCPv6 client
1::1:0:0:2/96
DNS server
Configuration procedure
1.
Configure the interfaces on the DHCPv6 server:
# Specify an IPv6 address for VLAN-interface 10.
<SwitchA> system-view
[SwitchA] interface vlan-interface 10
[SwitchA-Vlan-interface10] ipv6 address 1::1:0:0:1/96
# Disable RA message suppression on VLAN-interface 10.
[SwitchA-Vlan-interface10] undo ipv6 nd ra halt
# Set the M flag to 1 in RA advertisements to be sent on VLAN-interface 10. Hosts that receive
the RA advertisements will obtain IPv6 addresses through DHCPv6.
[SwitchA-Vlan-interface10] ipv6 nd autoconfig managed-address-flag
# Set the O flag to 1 in RA advertisements to be sent on VLAN-interface 10. Hosts that receive
the RA advertisements will obtain information other than IPv6 address through DHCPv6.
[SwitchA-Vlan-interface10] ipv6 nd autoconfig other-flag
[SwitchA-Vlan-interface10] quit
Figure
75, Switch A acts as a DHCPv6 server to assign IPv6 addresses to the clients on
Vlan-int10
1::1:0:0:1/96
Switch A
DHCPv6 server
Vlan-int10
Switch B
DHCPv6 client
Static(C) Jul 10 19:45:01 2009
Type
Static(C) Jul 10 19:45:01 2009
Auto(C)
DHCPv6 client DHCPv6 client
Vlan-int20
1::2:0:0:1/96
DHCPv6 client
DNS server
205
Lease expiration
Jul 10 20:44:05 2009
1::2:0:0:2/96

Advertisement

Table of Contents
loading

Table of Contents