71
dhcp relay check mac-address
By default, MAC address check is disabled.
Enabling DHCP server proxy on the DHCP relay agent
About enabling DHCP server proxy on the DHCP relay agent
The DHCP server proxy feature isolates DHCP servers from DHCP clients and protects DHCP
servers against attacks.
Upon receiving a response from the server, the DHCP server proxy modifies the server's IP address
as the relay interface's IP address before sending out the response. The DHCP client takes the
DHCP relay agent as the DHCP server.
Procedure
1. Enter system view.
system-view
2. Enter interface view.
interface interface-type interface-number
3. Enable DHCP relay agent and DHCP server proxy on the interface.
dhcp select relay proxy
By default, the interface operates in DHCP server mode after DHCP is enabled.
Enabling client offline detection on the DHCP relay agent
About client offline detection on the DHCP relay agent
The client offline detection on the DHCP relay agent detects the user online status based on the ARP
entry aging. When an ARP entry ages out, the DHCP client offline detection feature deletes the relay
entry for the IP address and sends a RELEASE message to the DHCP server.
Restrictions and guidelines
The feature does not function if an ARP entry is manually deleted.
Procedure
1. Enter system view.
system-view
2. Enable the relay agent to record relay entries.
dhcp relay client-information record
By default, the relay agent does not record relay entries.
Without relay entries, client offline detection cannot function correctly.
3. Enter interface view.
interface interface-type interface-number
4. Enable the DHCP relay agent.
dhcp select relay
By default, when DHCP is enabled, an interface operates in the DHCP server mode.
5. Enable client offline detection.
dhcp client-detect
By default, client offline detection is disabled on the DHCP relay agent.