After receiving the Solicit message, the DHCPv6 relay agent encapsulates the message into the
2.
Relay Message option of a Relay-forward message, and sends the message to the DHCPv6 server.
After obtaining the Solicit message from the Relay-forward message, the DHCPv6 server selects an
3.
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.
The DHCPv6 relay agent obtains the reply from the Relay-reply message and sends the reply to the
4.
DHCPv6 client.
The DHCPv6 client uses the IPv6 address and other network parameters assigned by the DHCPv6 server
to perform network configuration.
Configuring the DHCPv6 relay agent
Upon receiving a Solicit message from a DHCPv6 client, the interface that operates as a DHCPv6 relay
agent encapsulates the request into a Relay-forward message and forwards the message to the specified
DHCPv6 server, which then assigns an IPv6 address and other configuration parameters to the DHCPv6
client.
Configuration guidelines
Follow these guidelines when you configure the DHCPv6 relay agent:
Before you configure the DHCPv6 relay agent, enable IPv6 by using the ipv6 command in system
•
view.
Executing the ipv6 dhcp relay server-address command repeatedly can specify multiple DHCPv6
•
servers. 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 must 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.
HP does not recommend enabling the DHCPv6 relay agent and DHCPv6 client on the same
•
interface
Configuration procedure
To configure the DHCPv6 relay agent:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Enable DHCPv6 relay agent
on the interface and specify a
DHCPv6 server.
Command
system-view
interface interface-type
interface-number
ipv6 dhcp relay server-address
ipv6-address [ interface interface-type
interface-number ]
111
Remarks
N/A
N/A
By default, DHCPv6 relay
agent is disabled and no
DHCPv6 server is specified on
the interface.