Dhcpv6 Relay Agent Configuration Examples; Example: Configuring Dhcpv6 Relay Agent - H3C SR8800-F Configuration Manual

Comware 7 user access
Hide thumbs Also See for SR8800-F:
Table of Contents

Advertisement

DHCPv6 relay agent configuration examples

Example: Configuring DHCPv6 relay agent

Network configuration
As shown in
between DHCPv6 clients and the DHCPv6 server.
Router A acts as the gateway of network 1::/64. It sends RA messages to notify the hosts to obtain
IPv6 addresses and other configuration parameters through DHCPv6. For more information about
RA messages, see IPv6 basics configuration in Layer 3—IP Services Configuration Guide.
Figure 64 Network diagram
Procedure
# Specify IPv6 addresses for GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2.
<RouterA> system-view
[RouterA] interface gigabitethernet 1/0/2
[RouterA-GigabitEthernet1/0/2] ipv6 address 2::1 64
[RouterA-GigabitEthernet1/0/2] quit
[RouterA] interface gigabitethernet 1/0/1
[RouterA-GigabitEthernet1/0/1] ipv6 address 1::1 64
# Disable RA message suppression on GigabitEthernet 1/0/1.
[RouterA-GigabitEthernet1/0/1] undo ipv6 nd ra halt
# Set the M flag to 1 in RA advertisements to be sent on GigabitEthernet 1/0/1. Hosts that receive the
RA messages will obtain IPv6 addresses through DHCPv6.
[RouterA-GigabitEthernet1/0/1] ipv6 nd autoconfig managed-address-flag
# Set the O flag to 1 in RA advertisements to be sent on GigabitEthernet 1/0/1. Hosts that receive the
RA messages will obtain information other than IPv6 address through DHCPv6.
[RouterA-GigabitEthernet1/0/1] ipv6 nd autoconfig other-flag
# Enable the DHCPv6 relay agent on GigabitEthernet 1/0/1 and specify the DHCPv6 server on the
relay agent.
[RouterA-GigabitEthernet1/0/1] ipv6 dhcp select relay
[RouterA-GigabitEthernet1/0/1] ipv6 dhcp relay server-address 2::2
Verifying the configuration
# Display DHCPv6 server address information on Router A.
Figure
64, configure the DHCPv6 relay agent on Router A to relay DHCPv6 packets
202

Advertisement

Table of Contents
loading

Table of Contents