R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide
56
Ste
p
Command
Remarks
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Enable the DHCP relay agent
on the current interface.
dhcp select relay
With DHCP is enabled, an
interface operates in the DHCP
server mode.
Correlating a DHCP server group with a relay
agent interface
To improve availability, you can specify several DHCP servers as a group on the DHCP relay agent and
correlate a relay agent interface with the server group. When the interface receives request messages
from clients, the relay agent forwards them to all DHCP servers of the group.
Configuration guidelines
Follow these guidelines when you correlate a DHCP server group with a relay agent interface:
• You can specify up to 20 DHCP server groups on the relay agent.
• You can specify up to eight DHCP server addresses for each DHCP server group.
• The IP addresses of DHCP servers and those of relay agent's interfaces that connect DHCP clients
cannot be on the same subnet. Otherwise, the client cannot obtain an IP address.
• A DHCP server group can correlate with one or multiple DHCP relay agent interfaces, while a relay
agent interface can only correlate with one DHCP server group. If you use the dhcp relay
server-select command multiple times, the most recent configuration takes effect. However, if the
specified DHCP server group does not exist, the interface still uses the previous correlation.
• The group-id argument in the dhcp relay server-select command is configured by using the dhcp
relay server-group command.
Configuration procedure
To correlate a DHCP server group with a relay agent interface:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a DHCP server group
and add a server into the group.
dhcp relay server-group group-id ip
ip-address
Not created by default.
3. Enter interface view.
interface interface-type
interface-number
N/A
4. Correlate the DHCP server
group with the current interface.
dhcp relay server-select group-id
By default, no interface is
correlated with any DHCP
server group.