#dhcpd.conf file
ddns-update-style none;
default-lease-time 600;
subnet 10.0.1.0 netmask 255.255.255.0 {
range 10.0.1.10 10.0.1.100;
option routers 10.0.1.1;
default-lease-time 120;
}
subnet 10.0.2.0 netmask 255.255.255.0 {
range 10.0.2.101 10.0.2.200;
subnet 10.0.3.0 netmask 255.255.255.0 {
range 10.0.3.6 10.0.3.10;
The DHCP server listens for requests from DHCP clients on all its interfaces. In Linux, the DHCP server must be restarted each time the configuration file is modified.
PC2% dhcpd