for example:
set dhcp-server PBTP siaddr 192.168.10.1
set dhcp-server PBTP sname zorak
set dhcp-server PBTP bootfile /var/nfs
The various options are specified by the following commands (the number in parenthesis is the
option's value):
set dhcp-server <name> router <ip-address> (3)
set dhcp-server <name> subnet <netmask> (1)
set dhcp-server <name> dns <ipaddr> … <ipaddr> (6)
set dhcp-server <name> wins <ipaddr> … <ipaddr> (44)
set dhcp-server <name> domain <string> (15)
set dhcp-server <name> hostname <string> (12)
set dhcp-server <name> ipttl <number> (23)
set dhcp-server <name> mtu <number> (26)
set dhcp-server <name> ntpsrv <ipaddr> <ipaddr> (42)
set dhcp-server <name> timesrv <ipaddr> <ipaddr> (4)
set dhcp-server <name> logsrv <ipaddr> <ipaddr> (7)
set dhcp-server <name> cookiesrv <ipaddr> (8)
set dhcp-server <name> sipsrv <ipaddr> (120)
set dhcp-server <name> oaigateway <ipaddr> (152)
set dhcp-server <name> tftp <ipaddr> (66)
set dhcp-server <name> bootfile <string> (67)
set dhcp-server <name> bootsize <number> (13)
set dhcp-server <name> routes <ipaddr> <ipaddr> (33)
set dhcp-server <name> staticroutes <subnet/prefix> <ipaddr> (121)
set dhcp-server <name> msstaticroutes <subnet/prefix> <ipaddr> (249)
For example, to distribute static routes using the option staticroutes:
set dhcp-server lan staticroutes 10.10.0.0/16 172.16.1.1
You can directly configure the value of the options that the dhcp-server has to distribute, through
a lower level statement and featuring the options to be set as a sequence of hexadecimal characters
(hex), the sequence of ASCII characters (ASCII) or as in address IP (ip) .:
set dhcp-server <pool> option <val> ip <ip-address>
set dhcp-server <pool> option <val> hex <hex-string>
set dhcp-server <pool> option <val> ascii <ascii-string>
For example, to specify the options 120, 152 and 160 used by some IP phones:
set dhcp-server lan option 120 hex 010a0a0b0b
set dhcp-server lan option 152 ip 10.10.10.11
set dhcp-server lan option 160 ascii http://172.20.1.24
In case you are using the direct mode, these commands must be specified as final commands of a
configuration.
There are also commands that govern the behavior of the process. The main ones are:
set dhcp-server <pool> decline-time SECONDS