Dynamic ip address allocation process, Ip address lease extension, Creating a dhcp address pool – H3C Technologies H3C S12500 Series Switches User Manual
Page 45
![background image](https://www.manualsdir.com/files/812677/content/doc045.png)
32
Tasks at a glance
Perform at least one of the following tasks:
•
680H
Specifying IP address ranges for a DHCP address pool
•
681H
Configuring gateways for the client
•
682H
Configuring a domain name suffix for the client
•
683H
Configuring DNS servers for the client
•
684H
Configuring WINS servers and NetBIOS node type for the client
•
685H
Configuring BIMS server information for the client
•
686H
Configuring the TFTP server and boot file name for the client
•
687H
Specifying a server for the DHCP client
•
688H
Configuring Option 184 parameters for the client
•
689H
Configuring self-defined DHCP options
191B
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.
192B
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.
328B
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 satisfy
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:
- H3C SR8800 H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S9800 Series Switches