Setting up DHCPv6 relay
Configure DHCPv6 relay if you want the vRouter to forward DHCPv6 requests to another DHCPv6 server.
The DHCPv6 relay agent listens for requests sent by DHCPv6 clients and forwards them on to DHCPv6 servers. Because the client request packets and the relayed requests are often carried in IPv6 multicast packets, you must explicitly specify the interfaces on which the relay agent is to listen for requests and the interfaces on which it is to relay those requests.
Setting up DHCPv6 relay shows how to accomplish the following tasks:
- Configures both dp0p1p1 and dp0p1p2 for DHCPv6 relay. The system is expected to receive client requests for the DHCPv6 server through the dp0p1p1 interface. It forwards client-to-server DHCPv6 messages to the DHCPv6 server at 2001:db8:200::200 out through the dp0p1p2 interface. The DHCPv6 server refers to the interface on which client requests are received as the “listening interface,” and refers to the interface on which requests are relayed out as the “upstream interface.”
- Leaves other relay option parameters at default values. This means that R1 uses port 547 for DHCP messaging and has a maximum hop count of 10 hops.
DHCPv6 relay configuration shows the sample DHCPv6 relay configuration.
To configure DHCPv6 relay, perform the following steps in configuration mode.
Step |
Command |
---|---|
Enable DHCPv6 relay to listen on the dp0p1p1 interface. |
|
Enable DHCPv6 relay to forward requests on the dp0p1p2 interface specifying the DHCPv6 server address. |
|
Commit the changes. |
|
Show the configuration. |
|