4-8
Advanced Confi
g
urations
> dhcpserver config add subnet 10.0.0.0 netmask 255.255.255.0 {
range 10.0.0.A 10.0.0.B; default-lease-time C; max-lease-time D;
option routers 10.0.0.1; option domain-name-servers
eee.fff.ggg.hhh, iii.jjj.kkk.lll; option domain-name “mmmm” } ↵
(A, B are integers in the range 2--255, C/D indicate time in
seconds,eee.fff.ggg.hhh/iii.jjj.kkk.lll are IP addresses of primary/secondary
DNS, mmmm is domain name. All these values are assigned by your
service provider.)
> dhcpserver config add subnet aaa.bbb.ccc.ddd netmask
eee.fff.ggg.hhh { } ↵
(aaa.bbb.ccc.ddd is the static IP address assigned by your service provider
for the PC, eee.fff.ggg.hhh is the subnet mask assigned by your service
provider to PC)
> dhcpserver config confirm ↵
(confirm the new configuration)
> config save ↵
(save the new configuration)
> restart ↵
(after restart new configuration will take effect)