Specifying A Gateway Address For Dhcp Clients; Enabling Client Offline Detection On The Dhcp Relay Agent; Configuring The Dhcp Smart Relay Feature - HPE FlexNetwork HSR6800 Configuration Manual

Comware 7 layer 3, ip services
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

Specifying a gateway address for DHCP clients

By default, the DHCP relay agent fills the giaddr field of DHCP DISCOVER and REQUEST packets
with the primary IP address of the relay interface. You can specify a gateway address on the relay
agent for DHCP clients. The DHCP relay agent uses the specified gateway address to fill the giaddr
field of DHCP DISCOVER and REQUEST packets.
To specify a gateway address for DHCP clients:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Specify a gateway address for
DHCP clients.
Enabling client offline detection on the DHCP
relay agent
When an ARP entry ages out, the client offline detection feature deletes the relay entry for the IP
address and sends a RELEASE message to the DHCP server. The feature does not function if an
ARP entry is manually deleted.
To enable client offline detection on the DHCP relay agent:
Step
1.
Enter system view.
2.
Enable the relay agent to
record relay entries.
3.
Enter interface view.
4.
Enable the DHCP relay agent.
5.
Enable client offline detection.

Configuring the DHCP smart relay feature

The DHCP smart relay feature allows the DHCP relay agent to encapsulate secondary IP addresses
when the DHCP server does not reply the DHCP-OFFER message.
The relay agent initially encapsulates its primary IP address to the giaddr field before forwarding a
request to the DHCP server. If no DHCP-OFFER is received, the relay agent allows the client to send
a maximum of two requests to the DHCP server by using the primary IP address. If no
DHCP-OFFER is returned after two retries, the relay agent switches to a secondary IP address. If the
Command
system-view
interface interface-type
interface-number
dhcp relay gateway ip-address
Command
system-view
dhcp relay
client-information record
interface interface-type
interface-number
dhcp select relay
dhcp client-detect
71
Remarks
N/A
N/A
By default, the DHCP relay
agent uses the primary IP
address of the relay interface as
the clients' gateway address.
Remarks
N/A
By default, the relay agent does not
record relay entries.
Without relay entries, client offline
detection cannot function correctly.
N/A
By default, when DHCP is enabled,
an interface operates in the DHCP
server mode.
By default, client offline detection is
disabled on the DHCP relay agent.

Advertisement

Table of Contents
loading

Table of Contents