Specifying the DHCP relay agent address to be inserted in DHCP requests
Perform this task to specify the DHCP relay agent address to be inserted in the giaddr field of DHCP requests. If you do not specify a DHCP relay agent address, the primary IP address of the DHCP relay interface is inserted in the giaddr field of DHCP requests.
To specify the DHCP relay agent address to be inserted in DHCP requests:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view. | interface interface-type interface-number | N/A |
3. Specify the DHCP relay agent address to be inserted in DHCP requests. | dhcp relay gateway ip-address | By default, the primary IP address of the DHCP relay interface is inserted in DHCP requests. |