R0106-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V7)

250
DHCPv6 option group: 1
DNS server addresses:
Type: Dynamic (DHCPv6 prefix allocation)
Interface: GigabitEthernet2/1/1
2000::FF
Domain name:
Type: Dynamic (DHCPv6 prefix allocation)
Interface: GigabitEthernet2/1/1
example.com
SIP server addresses:
Type: Dynamic (DHCPv6 prefix allocation)
Interface: GigabitEthernet2/1/1
2:2::4
SIP server domain names:
Type: Dynamic (DHCPv6 prefix allocation)
Interface: GigabitEthernet2/1/1
bbb.com
Stateless DHCPv6 configuration example
Network requirements
As shown in Figure 97, configure GigabitEthernet 2/1/1 on Router A to use stateless DHCPv6 to obtain
configuration parameters except IPv6 address and IPv6 prefix. Router B acts as the gateway and
advertises RA messages periodically.
Figure 97 Network diagram
Configuration procedure
You must configure the DHCPv6 server before configuring the DHCPv6 client. For information about
configuring the DHCPv6 server, see "Configuring the DHCPv6 server."
1. Configure the gateway Router B:
# Configure a
n
IPv6 address for GigabitEthernet 2/1/1.
<RouterB> system-view
[RouterB] interface gigabitethernet 2/1/1
[RouterB-GigabitEthernet2/1/1] ipv6 address 1::1 64
# Set the O flag in RA messages to 1.
[RouterB-GigabitEthernet2/1/1] ipv6 nd autoconfig other-flag
# Allow the interface to advertise RA messages.
[RouterB-GigabitEthernet2/1/1] undo ipv6 nd ra halt
2. Configure the DHCPv6 client on Router A: