Specifying the source IPv6 address for relayed DHCPv6 requests
About specifying the source IPv6 address for relayed DHCPv6 requests
This task is required if a relay interface does not have routes to DHCPv6 servers. You can specify a global unicast address or the IPv6 address of another interface (typically the loopback interface) as the source IPv6 address for DHCPv6 requests. The relay interface inserts the source IPv6 address in the source IPv6 address field of DHCPv6 requests.
Procedure
Enter system view.
system-view
Enter interface view.
interface interface-type interface-number
Specify the source IPv6 address for relayed DHCPv6 requests.
ipv6 dhcp relay source-address { ipv6-address | interface interface-type interface-number }
By default, the DHCPv6 relay agent uses the IPv6 global unicast address of the interface that connects to the DHCPv6 server as the source IPv6 address for relayed DHCPv6 requests.
If the specified interface does not have an IPv6 global unicast address, the IPv6 address of the output interface is used as the source address for relayed DHCPv6 requests.