Dynamic Host Configuration Protocol Relay
This chapter describes the Dynamic Host Configuration Protocol (DHCP Dynamic Host Configuration Protocol) relay commands.
In small networks with only one IP subnet, DHCP clients communicate directly with DHCP servers. When DHCP clients and associated servers do not reside on the same subnet, a DHCP relay agent A DHCP relay forwards the request from a DHCP client to the DHCP server group and takes the response from the DHCP server group to the DHCP client. can be used to forward DHCP client
A DHCP client is a hardware device or software that uses DHCP to get the network configuration information from a DHCP Server.
VRF: VRF creates a logically isolated routing table within a single physical network device. Each VRF instance works as an independent routing instance that enables separate network traffic, maintains different routing tables, and provides network isolation. messages to DHCP server.
The DHCP client broadcasts on the local link, the relay agents receives the broadcast DHCP messages, and then generate a new DHCP message to send out on another interface.
The relay agent sets the gateway IP address (giaddr
field of the DHCP packet) and, if configured, adds the relay agent information option (option 82) in the packet and forwards it to the DHCP server. The DHCP server replies to the client and the relay agent then retransmits the response on the local network.
This chapter contains these commands: