HP VPN Firewall Appliances Network Management Configuration Guide

197
An IP address pool that contains the IP address of the DHCP relay agent interface must be configured on
the DHCP server. Otherwise, the DHCP clients connected to the relay agent cannot obtain correct IP
addresses.
To enable the DHCP relay agent on an interface:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
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 works
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.
1. 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.
{ By executing the dhcp relay server-group command repeatedly, 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. Using the dhcp relay
server-select command repeatedly overwrites the previous configuration. 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.
2. 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.
Configuring the DHCP relay agent security functions
Configuring address check.