Configuring an Address Pool for the DHCP Server 801
When the client with the MAC address or ID requests an IP address, the DHCP 
server will find the IP address from the binding for the client.
A DHCP address pool now supports only one static binding, which can be a 
MAC-to-IP or ID-to-IP binding.
Follow these steps to configure the static binding in a DHCP address pool:
n
■ Use the static-bind ip-address command together with static-bind 
mac-address or static-bind client-identifier command 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 will 
overwrite the former and vice versa.
■ If you use the static-bind ip-address, static-bind mac-address, or 
static-bind client-identifier command repeatedly in the DHCP address pool, 
the new configuration will overwrite the previous one.
■ The IP address of the static binding cannot be an interface address of the DHCP 
server. Otherwise, an IP address conflict may occur and the bound client cannot 
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.
Configuring dynamic address allocation
You need to specify one and only one address range using a mask for the dynamic 
address allocation.
To avoid address conflicts, the DHCP server excludes IP addresses used by the GW, 
FTP server and so forth from dynamic allocation.
You can specify the lease duration for a DHCP address pool different from others, 
and a DHCP address pool can only have the same lease duration. A lease does not 
enjoy the inheritance attribute.
Follow these steps to configure the dynamic address allocation:
To do… Use the command…  Remarks 
Enter system view system-view - 
Enter DHCP address pool view dhcp server ip-pool 
pool-name 
- 
Bind IP addresses statically static-bind ip-address 
ip-address [ mask-length | 
mask mask ] 
Required
No IP addresses are 
statically bound by default. 
Bind MAC 
addresses or 
IDs statically 
Specify the MAC 
address 
static-bind mac-address 
mac-address 
Required to configure either 
of the two
Neither is bound statically 
by default. 
Specify the ID  static-bind 
client-identifier 
client-identifier