5-21
Default Level
2: System level
Parameters
min-address
: Lowest IP address for dynamic allocation.
max-address
: Highest IP address for dynamic allocation.
Description
Use the
network ip range
command to specify the IP address range for dynamic allocation in an
extended address pool.
Use the
undo network ip range
command to remove the specified address range.
No IP address range is specified by default.
Note that:
z
Only the extended address pool supports this command.
z
You can specify only one IP address range for each DHCP address pool. If you use the
network ip
range
command repeatedly, the latest configuration will overwrite the previous one.
Related commands:
dhcp server ip-pool
and
display dhcp server tree
.
Examples
# Specify 192.168.8.1 through 192.168.8.150 as the address range for dynamic allocation in extended
address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0 extended
[Sysname-dhcp-pool-0] network ip range 192.168.8.1 192.168.8.150
network mask
Syntax
network mask
mask
undo network mask
View
DHCP address pool view
Default Level
2: System level
Parameters
mask
: Network mask, in dotted decimal notation.
Description
Use the
network mask
command to specify the IP address mask for dynamic allocation in an extended
address pool.
Use the
undo network mask
command to remove the specified IP address mask.
No IP address mask is specified by default.
Note that:
z
Only the extended address pool supports this command.