21 lines
597 B
ISCdhcpd
21 lines
597 B
ISCdhcpd
default-lease-time 3600;
|
|
max-lease-time 2400;
|
|
authoritative;
|
|
ddns-update-style none;
|
|
log-facility local7;
|
|
local-address 10.8.221.2;
|
|
|
|
subnet 10.8.221.0 netmask 255.255.255.0 {
|
|
range 10.8.221.10 10.8.221.200;
|
|
option subnet-mask 255.255.255.0;
|
|
option broadcast-address 10.8.221.255;
|
|
option domain-name "lab.loc";
|
|
option domain-name-servers 10.12.90.1;
|
|
option routers 10.8.221.1;
|
|
next-server 10.8.221.2;
|
|
}
|
|
|
|
if exists user-class and option user-class = "iPXE" { filename "http://${next-server}:80/.boot/boot.ipxe";} else { filename "undionly.kpxe"; }
|
|
|
|
include "/etc/dhcp/dhcpd_tmp.conf";
|