Enabling Dhcp Server Proxy On The Dhcp Relay Agent; Configuring A Dhcp Address Pool On The Dhcp Relay Agent - HPE FlexNetwork 10500 Series Configuration Manual

Layer 3-ip services
Table of Contents

Advertisement

Step
1.
Enter system view.
2.
Set the DSCP value for DHCP
packets sent by the DHCP
relay agent.
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.
To configure DHCP server proxy on the DHCP relay agent:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Enable DHCP relay agent and
DHCP server proxy on the
interface.
Configuring a DHCP address pool on the DHCP
relay agent
This feature allows DHCP clients of the same type to obtain IP addresses and other configuration
parameters from the DHCP servers specified in the matching DHCP address pool.
It applies to scenarios where the DHCP relay agent connects to clients of the same access type but
classified into different types by their locations. In this case, the relay interface typically has no IP
address configured. You can use the gateway-list command to specify gateway addresses for
clients matching the same DHCP address pool and bind the gateway addresses to the device's MAC
address.
Upon receiving a DHCP DISCOVER or REQUEST from a client that matches a DHCP address pool,
the relay agent processes the packet as follows:
Fills the giaddr field of the packet with a specified gateway address.
Forwards the packet to all DHCP servers in the matching DHCP address pool.
The DHCP servers select a DHCP address pool according to the gateway address.
To configure a DHCP address pool on the DHCP relay agent:
Step
1.
Enter system view.
Command
system-view
dhcp dscp dscp-value
Command
system-view
interface interface-type
interface-number
dhcp select relay proxy
Command
system-view
74
Remarks
N/A
By default, the DSCP value in DHCP
packets sent by the DHCP relay agent is
56.
Remarks
N/A
N/A
By default, the interface
operates in DHCP server mode.
Remarks
N/A

Advertisement

Table of Contents
loading

Table of Contents