5-20
Examples
# Specify the NetBIOS node type as
b-node
in DHCP address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] netbios-type b-node
network
Syntax
network network-address
[
mask-length
|
mask
mask
]
undo network
View
DHCP address pool view
Default Level
2: System level
Parameters
network-address
: IP address range for dynamic allocation. If no mask length and mask is specified, the
natural mask will be used.
mask-length
: Mask length, in the range of 1 to 30.
mask
mask
: Specifies the IP address network mask, in dotted decimal format.
Description
Use the
network
command to specify the IP address range for dynamic allocation in a DHCP address
pool.
Use the
undo network
command to remove the specified address range.
No IP address range is specified by default.
Note that you can specify only one network segment for each DHCP global address pool. If you use the
network
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.0/24 as the address range for dynamic allocation in DHCP address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] network 192.168.8.0 mask 255.255.255.0
network ip range
Syntax
network ip range
min-address max-address
undo network ip range
View
DHCP address pool view