Configuring The Dhcp Relay Agent Security Functions; Enabling The Dhcp Relay Agent To Record Relay Entries; Enabling Periodic Refresh Of Dynamic Relay Entries - HP 5920 Series Configuration Manual

Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

Step
2.
Enter interface view.
3.
Specify a DHCP server
address on the relay agent.
Configuring the DHCP relay agent security
functions

Enabling the DHCP relay agent to record relay entries

Perform this task to enable the DHCP relay agent to automatically record clients' IP-to-MAC bindings
(relay entries) after they obtain IP addresses through DHCP.
Some security functions, such as ARP address check, and IP source guard, use the recorded relay entries
to check incoming packets and block packets that do not match any entry. In this way, illegal hosts are
not able to access external networks through the relay agent.
To enable the DHCP relay agent to record relay entries:
Step
1.
Enter system view.
2.
Enable the relay agent to
record relay entries.

Enabling periodic refresh of dynamic relay entries

A DHCP client unicasts a DHCP-RELEASE message to the DHCP server to release its IP address. The
DHCP relay agent simply conveys the message to the DHCP server and does not remove the IP-to-MAC
entry of the client.
With this feature, the DHCP relay agent uses the IP address of a relay entry and the MAC address of the
DHCP relay interface to periodically send a DHCP-REQUEST message to the DHCP server.
If the server returns a DHCP-ACK message or does not return any message within a specific interval,
the DHCP relay agent removes the relay entry. In addition, upon receiving the DHCP-ACK message,
the relay agent sends a DHCP-RELEASE message to release the IP address.
If the server returns a DHCP-NAK message, the relay agent keeps the relay entry.
To enable periodic refresh of dynamic relay entries:
Step
1.
Enter system view.
2.
Enable periodic refresh of
dynamic relay entries.
Command
interface interface-type
interface-number
dhcp relay server-address
ip-address
Command
system-view
dhcp relay client-information record
Command
system-view
dhcp relay client-information refresh
enable
51
Remarks
N/A
By default, no DHCP server
address is specified on the relay
agent.
Remarks
N/A
By default, the relay agent does
not record relay entries.
Remarks
N/A
By default, periodic refresh of
dynamic relay entries is
enabled.

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents