A DHCPv6 client communicates with and obtains an IP address from a DHCPv6 server on another network segment through a DHCPv6 relay agent. DHCPv6 relay allows DHCPv6 clients on different network segments to share a DHCPv6 server, which reduces costs and manage information uniformly.
A DHCPv6 server has been configured based on a global address pool.
No interface address pool can be configured for the DHCPv6 server interface that connects to the DHCPv6 relay.
During certain phases in DHCPv6 configuration, the DHCPv6 client sends broadcast packets; therefore, the DHCPv6 relay interface must support the broadcast mode.
A DHCPv6 relay interface supports a maximum of 8 DHCPv6 server addresses or next-hop relays addresses.
system-view
ipv6
interface interface-type interface-number [ .sub-interface-number ]
The interface can be an Ethernet interface or its subinterface, a Vlanif interface, or an Eth-trunk interface or its subinterface.
ipv6 enable
ipv6 address { ipv6-address prefix-length |ipv6-address/prefix-length }
dhcpv6 relay destination ipv6-address
When multiple DHCP relays exist on the network, specify the DHCP server IP address on the last DHCP relay and the next-hop relay IP address on the other DHCP relays.