OcNOS-SP : System Management Guide : System Management Command Reference : Dynamic Host Configuration Protocol Relay
Dynamic Host Configuration Protocol Relay
This chapter describes the Dynamic Host Configuration Protocol (DHCP) 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 can be used to forward DHCP client 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:
Last modified date: 10/19/2023