beautypg.com

Configuration prerequisites, Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 745

background image

720

2.

After receiving the Solicit message, the DHCPv6 relay agent encapsulates the message into the

Relay Message option of a Relay-forward message, and sends the message to the DHCPv6 server.

3.

After obtaining the Solicit message from the Relay-forward message, the DHCPv6 server selects an
IPv6 address and other required parameters, and adds them to the reply which is encapsulated

within the Relay Message option of a Relay-reply message. The DHCPv6 server then sends the

Relay-reply message to the DHCPv6 relay agent.

4.

The DHCPv6 relay agent obtains the reply from the Relay-reply message and sends the reply to the
DHCPv6 client.

Then the DHCPv6 client uses the IPv6 address and other network parameters assigned by the DHCPv6
server to perform network configuration.

Configuration prerequisites

Before you configure the DHCPv6 relay agent, enable IPv6 by using the ipv6 command in system view.

Configuration procedure

To configure the DHCPv6 relay agent:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Enable DHCPv6 relay agent
on the interface and specify a

DHCPv6 server.

ipv6 dhcp relay server-address
ipv6-address [ interface interface-type
interface-number
]

By default, DHCPv6 relay
agent is disabled and no

DHCPv6 server is specified on

the interface

NOTE:

Executing the ipv6 dhcp relay server-address command repeatedly can specify multiple DHCPv6
servers, and up to eight DHCPv6 servers can be specified for an interface. After receiving requests from

DHCPv6 clients, the DHCPv6 relay agent forwards the requests to all the specified DHCPv6 servers.

If the DHCPv6 server address is a link-local address or link-scoped multicast address on the local link,
you need to specify an outgoing interface using the interface keyword in the ipv6 dhcp relay
server-address command; otherwise, DHCPv6 packets may fail to be forwarded to the DHCPv6 server.

After you remove all the specified DHCPv6 servers from an interface with the undo ipv6 dhcp relay
server-address command, DHCPv6 relay agent is disabled on the interface.

An interface cannot serve as a DHCPv6 relay agent and DHCPv6 server at the same time.

Do not enable the DHCPv6 relay agent and DHCPv6 client on the same interface.