Configuration Guide Configuring DHCPConfiguring DHCP
In DHCP environment, multiple DHCP servers are deployed for a network, achieving server backup to ensure
uninterrupted network operation. After this function is enabled, the DHCP request packet sent by a client contains a
server-id option specifying a DHCP server. In alleviating the burden on servers in specific environments, you need to
enable this function on a relay agent to send a packet to a specified DHCP server rather than all DHCP servers.
DHCP Relay Suppression
After you configure the ip DHCP Relay suppression command on an interface, DHCP request packets received on the
interface will be filtered, and the other DHCP request packets will be forwarded.
Related Configuration
Enabling DHCP Relay
By default, DHCP Relay is disabled.
You may run the service dhcp command to enable DHCP Relay.
You need to enable DHCP Relay before it works.
Configuring IP Address for DHCP Server
By default, no IP address is configured for a DHCP server.
You may run the ip helper-address command to configure an IP address for a DHCP server. A maximum of 20 IP
addresses can be configured globally for a DHCP server.
Enabling DHCP Option 82
By default, DHCP Option 82 is disabled.
You may run the ip dhcp relay information option82 command to enable DHCP Option 82.
Enabling DHCP Relay Check Server-ID
By default, DHCP Relay check server-id is disabled.
You may run the ip dhcp relay check server-id command to enable DHCP Relay check server-id.
Enabling DHCP Relay Suppression
By default, DHCP Relay suppression is disabled on all interfaces.
You may run the ip dhcp relay suppression command to enable it on an interface.
4.3.3 DHCP Client
Working Principle
A DHCP client broadcasts a DHCP discover packet after entering the Init state. Then it may receive multiple DHCP offer
packets. It chooses one of them and responds to the corresponding DHCP server. After that, it sends lease renewal
request packets in the Renew and Rebind processes of an aging period to request lease renewal.
Related Configuration
Enabling DHCP Client on Interface