Creating a dhcp address pool, Dhcp overview, Required.) – H3C Technologies H3C S12500-X Series Switches User Manual
Page 43
32
Tasks at a glance
Perform at least one of the following tasks:
•
Specifying IP address ranges for a DHCP address pool
•
Specifying gateways for the client
•
Specifying a domain name suffix for the client
•
Specifying DNS servers for the client
•
Specifying WINS servers and NetBIOS node type for the client
•
Specifying BIMS server information for the client
•
Specifying the TFTP server and boot file name for the client
•
Specifying a server for the DHCP client
•
Configuring Option 184 parameters for the client
•
Creating a DHCP address pool
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a DHCP address pool
and enter its view.
dhcp server ip-pool pool-name
By default, no DHCP address
pool is created.
Specifying IP address ranges for a DHCP address pool
You can configure both static and dynamic address allocation mechanisms in a DHCP address pool. For
dynamic address allocation, you can specify either a primary subnet with multiple address ranges or a
primary subnet with multiple secondary subnets for a DHCP address pool, but you cannot configure
both.
Specifying a primary subnet and multiple address ranges for a DHCP address pool
Some scenarios need to classify DHCP clients in the same subnet into different address groups. To meet
this need, you can configure DHCP user classes and specify different address ranges for the classes so
that the clients matching a user class get the IP addresses of a specific address range. In addition, you
can specify a common address range for the clients that do not match any user class. If no common
address range is specified, such clients fail to obtain IP addresses.
If there is no need to classify clients, you do not need to configure DHCP user classes or their address
ranges.
Follow these guidelines when you specify a primary subnet and multiple address ranges for a DHCP
address pool:
•
If you use the network or address range command multiple times for the same address pool, the
most recent configuration takes effect.
•
IP addresses specified by the forbidden-ip command are not assignable in the current address pool,
but are assignable in other address pools. IP addresses specified by the dhcp server forbidden-ip
command are not assignable in any address pool.
To specify a primary subnet and multiple address ranges for a DHCP address pool: