R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide
35
Ste
p
Command
Remarks
2. Create a DHCP address pool
and enter its view.
dhcp server ip-pool pool-name
[ extended ]
No DHCP address pool is created by
default.
A common address pool and an extended address pool are different in address allocation mode
configuration. Configurations of other parameters (such as the domain name suffix and DNS server
address) for them are the same.
Configuring address allocation mode for a common address
pool
CAUTION:
You can configure either a static binding or dynamic address allocation for a common address pool, bu
t
not both.
You need to specify a subnet for dynamic address allocation. A static binding is a special address pool
containing only one IP address.
Configuring static address allocation
Some DHCP clients, such as a WWW server, need fixed IP addresses. To provide a fixed IP address for
such a client, you can statically bind the MAC address or ID of the client to an IP address in a DHCP
address pool. When the client requests an IP address, the DHCP server assigns the IP address in the static
binding to the client.
Follow these guidelines when you configure static address allocation:
• Use the static-bind ip-address command together with static-bind mac-address or static-bind
client-identifier to accomplish a static binding configuration.
• In a DHCP address pool, if you execute the static-bind mac-address command before the
static-bind client-identifier command, the latter overwrites the former, and vice versa.
• If you use the static-bind ip-address, static-bind mac-address, or static-bind client-identifier
command multiple times in the DHCP address pool, the most recent configuration takes effect.
• The IP address of the static binding cannot be an interface address of the DHCP server. Otherwise,
an IP address conflict might occur, making the bound client unable to obtain an IP address correctly.
• The ID of the static binding must be identical to the ID displayed by using the display dhcp client
verbose command on the client. Otherwise, the client cannot obtain an IP address.
• The specified lease duration takes effect but the lease duration displayed by the display dhcp server
ip-in-use all command is still Unlimited.
• When the device serves as a DHCP client, you must bind the DHCP client's ID to an IP address on
the DHCP server. Otherwise, the DHCP client cannot obtain a static IP address.
• If the interfaces on a DHCP client share the same MAC address, specify the client ID, rather than
MAC address, in a static binding to identify the requesting interface. If you do not do this, the client
might fail to obtain an IP address.
To configure a static binding in a common address pool: