6-5
Creating a DHCP Address Pool
When creating a DHCP address pool, specify it as a common address pool or an extended address
pool.
Follow these steps to create a DHCP address pool:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a DHCP address pool and
enter its view
dhcp server ip-pool
pool-name
[
extended
]
Required
No DHCP address pool is created by
default.
A common address pool and an extended address pool differ in terms of address allocation mode
configuration. The configuration of other parameters (such as the domain name suffix and DNS server
address) for them is the same.
Configuring an Address Allocation Mode for a Common Address Pool
You can configure either the static binding or dynamic address allocation for a common address pool
as needed.
You must specify an address range for the dynamic address allocation. A static binding is a special
address pool containing only one IP address.
Configuring manual address allocation
Some DHCP clients such as a WWW server need fixed IP addresses. You can create a static binding
of a client’s MAC or ID to IP address in the DHCP address pool.
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 a static binding in a common address pool: