server/configs/dhcpd.conf

19 lines
814 B
ISCdhcpd
Raw Normal View History

2018-01-21 16:03:45 +00:00
default-lease-time 600;
max-lease-time 7200;
2018-12-10 01:16:07 +00:00
authoritative;
2018-01-21 16:03:45 +00:00
option subnet-mask 255.255.255.0;
option broadcast-address 172.23.42.255;
option routers 172.23.42.254;
option domain-name-servers 172.23.42.254;
2018-01-21 16:03:45 +00:00
option rfc3442-classless-static-routes code 121 = array of integer 8;
option ms-classless-static-routes code 249 = array of integer 8;
# Provide Internet
option rfc3442-classless-static-routes 32, 91, 243, 117, 241, 172, 23, 42, 1, 0, 172, 23, 42, 254;
option ms-classless-static-routes 32, 91, 243, 117, 241, 172, 23, 42, 1, 0, 172, 23, 42, 254;
# Don't provide Internet
#option rfc3442-classless-static-routes 32, 91, 243, 117, 241, 172, 23, 42, 1;
#option ms-classless-static-routes 32, 91, 243, 117, 241, 172, 23, 42, 1;
2018-01-21 16:03:45 +00:00
subnet 172.23.42.0 netmask 255.255.255.0 {
range 172.23.42.10 172.23.42.253;
2018-01-21 16:03:45 +00:00
}