16.2.4. DHCP Relay Agent
The DHCP Relay Agent (
dhcrelay
) allows for the relay of DHCP and BOOTP requests from a subnet with no DHCP server on it to one or more DHCP servers on other subnets.
When a DHCP client requests information, the DHCP Relay Agent forwards the request to the list of DHCP servers specified when the DHCP Relay Agent is started. When a DHCP server returns a reply, the reply is broadcast or unicast on the network that sent the original request.
The DHCP Relay Agent listens for DHCP requests on all interfaces unless the interfaces are specified in
/etc/sysconfig/dhcrelay
with the INTERFACES
directive.
To start the DHCP Relay Agent, use the command
service dhcrelay start
.