DHCP Server CLI Commands
156
2/1553-ZAT 759 94 Uen B – December 2005
6.7 dhcpserver
add
subnet
6.7.1 Syntax
dhcpserver add subnet <name> <ipaddress> <netmask>
[<startaddr> <endaddr>]
6.7.2 Description
This command creates a subnet that stores a pool of IP addresses. The DHCP
server can allocate IP addresses from this pool to clients on request.
6.7.3 Options
The following table gives the range of values for each option which can be
specified with this command and a default value (if applicable).
Option Description
Default
value
name
An arbitrary name that identifies the
subnet. It can be made up of one or
more letters or a combination of
letters and digits, but it cannot start
with a digit.
N/A
ipaddress
The IP address of the subnet,
displayed in the following format:
192.168.102.3
N/A
netmask
The netmask address of the subnet,
for example: 255.255.255.0
N/A
startaddr
The first IP address in the pool of
addresses displayed in the following
format: 192.168.102.3
N/A
endaddr
The last IP address in the pool of
addresses displayed in the following
format: 192.168.102.3
N/A
6.7.4 Example
-->
dhcpserver add subnet sub1 239.252.197.0
255.255.255.0 239.252.197.10 239.252.197.107