Operation of dhcpv6 relay agent, Configuring the dhcpv6 relay agent, Configuration prerequisites – H3C Technologies H3C SecPath F1000-E User Manual
Page 93
2
Operation of DHCPv6 Relay Agent
Figure 10 Operating process of a DHCPv6 relay agent
Take the process of rapid assignment involving two messages as an example.
shows how the
DHCPv6 client obtains the IPv6 address and other network configuration parameters from the DHCPv6
server through the DHCPv6 relay agent.
1.
The DHCPv6 client sends a Solicit message containing the Rapid Commit option to the multicast
address FF02::1:2 of all the DHCPv6 servers and relay agents.
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.
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 Prerequisites
Before configuring the DHCPv6 relay agent, you need to enable IPv6 by using the ipv6 command in
system view.