Routers Administrator's Handbook

Administrator’s Handbook
154
set dhcp range [ 2... 8 ] start-address
ip_address
Specifies the starting IP address of DHCP range
n
when subnet
n
option is on. See “Additional sub-
nets” on page 168.
set dhcp range [ 2... 8 ] end-address
ip_address
Specifies the ending IP address of DHCP range
n
when subnet
n
option is on. See “Additional sub-
nets” on page 168.
set dhcp reserved ip-address
x.x.x.x
mac-address
y-y-y-y-y-y
If you selected server, reserves the specified IP address from the DHCP pool to the specified MAC
address. These are list items; a total of 16 reserved addresses are supported. Secondary ranges will
all make use of the dhcp lease-time value.
DHCP Generic Options
Beginning with Firmware Version 7.7.2, you can specify DHCP Generic Options which allow you to config-
ure the content to be served for particular option numbers.
set dhcp gen-option name
name
Specifies a DHCP generic option set named name of one to 15 characters. You can specify up to 20
gen-options. Each can contain up to 100 bytes of data, up to a maximum of 912 bytes of options data
total. An option will be served only if the client requests it.
set dhcp gen-option option [ 1 – 255 ]
Specifies the DHCP option by number, 1 – 255. The following table shows the formats and sizes for
known options, and whether or not you can configure a gen-option of that type.
Option Data Format
Data Size
(bytes)
Can
Configure
0 Empty 0 No
1 IP mask 4 Yes
2 Unsigned 4 byte integer 4 Yes
3 - 11 IP address list Multiples of 4 Yes
12 String (up to 100 characters) N Yes
13 Unsigned 2 byte integer 2 Yes
14 - 15 String (up to 100 characters) N Yes
16 Unsigned 4 byte integer 4 Yes
17 String (up to 100 characters) N Yes
18 String (up to 100 characters) N Yes
19 - 20 Flag 1 Yes
21 IP address & mask list Multiples of 8 Yes
22 Unsigned 2 byte integer 2 Yes
23 Unsigned 1 byte integer 1 Yes