LPIC-2 [202-450] 210.1 DHCP
Global Options Section
sh# vi /etc/dhcpd.conf
...
option domain-name-servers 10.0.0.10 10.0.0.11;
option smtp-server 10.0.0.30;
option pop-server 10.0.0.40;
option nntp-server 10.0.0.50;
option time-servers 10.0.0.60 10.0.0.61;
Global Options
domain-name-servers { host } [ host list ];
smtp-server { host };
pop-server { host };
nntp-server { host };
time-servers { host } [ host list ];
Subnet Section
sh# vi /etc/dhcpd.conf
...
subnet 10.0.10.0 netmask 255.255.255.0 {
option routers 10.0.10.1;
option broadcast-address 10.0.10.255;
option range 10.0.10.100 10.0.10.120;
}
Options
routers { host };
broadcast-address { broadcast-address };
range { ip-range-begin ip-range-end; }