When the DHCP relay agent forwards a
Bootstrap Protocol or DHCP request, the relay agent sets the Gateway Address field (GIADDR)
of the packet with the address you configure.
About this task
Consider the following when you configure the
DHCPv4 relay gateway address.
- If the relay gateway address is
configured, but no IP address is configured on the interface, the DHCP relay
agent does not relay the requests.
- When the relay gateway address matches an IP address that is configured on
the interface, it is used to stamp the request.
- When the relay gateway address does
not match the IP addresses configured on the interface, the DHCP relay agent
uses the default value, which is the lowest-numbered IP address configured
on the interface.
- Virtual IP addresses or local
subnet broadcast addresses must not be used as the relay gateway address.
- Any primary or secondary IP address
configured on the interface can be used as the relay gateway address.