HP VPN Firewall Appliances Network Management Configuration Guide

178
When the DHCP server and client are on the same subnet:
{ With the keyword subaddress specified, the DHCP server preferably assigns an IP address from
an address pool that resides on the same subnet as the primary IP address of the server
interface (connecting to the client). If the address pool contains no assignable IP address, the
server assigns an IP address from an address pool that resides on the same subnet as the
secondary IP addresses of the server interface. If the interface has multiple secondary IP
addresses, each address pool is tried in turn for address allocation.
{ Without the keyword subaddress specified, the DHCP server can only assign an IP address from
the address pool that resides on the same subnet as the primary IP address of the server
interface.
Configuration procedure
To enable the DHCP server 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
server on the
interface.
dhcp select server global-pool
[ subaddress ]
Optional.
The default setting is enabled by
default.
Applying an extended address pool on an interface
After you create an extended address pool and apply it on an interface, a DHCP server, upon receiving
a client's request on the interface, attempts to assign the client the statically bound IP address first and
then an IP address from the specified address pool. If no IP address is available in this address pool,
address allocation fails, and the DHCP server does not assign the client any IP address from other
address pools.
Only an extended address pool can be applied on the interface. The address pool to be referenced must
already exist.
To apply an extended address pool 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. Apply an extended
address pool on the
interface.
dhcp server apply ip-pool
pool-name
Optional.
By default, the DHCP server has no extended
address pool applied on its interface, and
assigns an IP address from a common address
pool to a requesting client.