F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
176
Usage guidelines
In a common address pool, you can use the network ip range command to further specify an IP address
range on the subnet for address allocation. The specified IP address range must belong to the subnet;
otherwise the common address pool cannot assign IP addresses.
You can specify only one IP address range for each address pool. If you use the network ip range
command repeatedly, the latest configuration takes effect.
Examples
# Specify addresses 10.1.1.1 through 10.1.1.150 on subnet 10.1.1.0/24 for dynamic address allocation in
common address pool 1.
<Sysname> system-view
[Sysname] dhcp server ip-pool 1
[Sysname-dhcp-pool-1] network 10.1.1.0 24
[Sysname-dhcp-pool-1] network ip range 10.1.1.1 10.1.1.150
# Specify addresses 192.168.8.1 through 192.168.8.150 for dynamic address 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
Related commands
dhcp server ip-pool
network
display dhcp server tree
network mask
Use network mask to specify the IP address mask for dynamic allocation in an extended address pool.
Use undo network mask to remove the specified IP address mask.
Syntax
network mask mask
undo network mask
Default
No IP address mask is specified.
Views
DHCP extended address pool view
Default command level
2: System level
Parameters
mask: Network mask in dotted decimal notation.
Usage guidelines
Only the extended address pools support this command.