User manual
A- Commonly Used Commands
A-26
Range
range [ dynamic-bootp ] low-address [ high-address ];
For any subnet on which addresses will be assigned dynamically, there must be at
least one
range
statement. The range statement gives the lowest and highest IP
addresses in a range. All IP addresses in the range should be in the subnet in which
the
range
statement is declared.
The
dynamic-bootp
flag may be specified if addresses in the specified range may be
dynamically assigned to BOOTP clients as well as DHCP clients. When specifying
a single address,
high-address
can be omitted.
Option statements
The DHCP server can supply values for all options given in RFC2132, including
those which the DHCP client cannot use for configuration (this is to allow option
support on, for example, Microsoft clients, which should support a much wider range
of configuration options). The available options are as follows:
option subnet-mask ip-address;
The subnet mask option specifies the clients subnet mask as per RFC 950. If no
subnet mask option is provided anywhere in scope, DHCP will use the subnet mask
from the subnet declaration for the network on which an address is being assigned.
However, any subnet-mask option declaration that is in scope for the address being
assigned will override the subnet mask specified in the subnet declaration.
option routers ip-address [, ip-address ... ];
The routers option specifies a list of IP addresses for routers on the clients subnet.
Routers should be listed in order of preference.
option domain-name-servers ip-address [, ip-address ... ];
The domain-name-servers option specifies a list of Domain Name System (STD 13,
RFC1035) name servers available to the client. Servers should be listed in order
of preference.
Example:
> dhcpserver config
-
Current DHCP server configuration
-
allow unknown-clients;
allow bootp;