Manually specifying the DHCP relay agent address for the giaddr field
About manually specifying the DHCP relay agent address for the giaddr field
This task allows you to specify the IP addresses to be encapsulated to the giaddr field of the DHCP requests. If you do not specify any DHCP relay agent address, the primary IP address of the DHCP relay interface is encapsulated to the giaddr field of DHCP requests.
Procedure
Enter system view.
system-view
Enter interface view.
interface interface-type interface-number
Specify the DHCP relay agent address to be encapsulated in relayed DHCP requests.
dhcp relay gateway ip-address
By default, the primary IP address of the DHCP relay interface is encapsulated in the relayed DHCP requests.