aboutsummaryrefslogblamecommitdiffstats
path: root/dhcpd.conf
blob: 6ec2a136a6f43830d221269684eeebf391b14589 (plain) (tree)
































                                                                               
# dhcpd.conf for interface __INTERFACE__
# generated by dyndhcpd/__VERSION__
authoritative;
ddns-update-style none;
ignore client-updates;
default-lease-time 21600;
max-lease-time 43200;

option domain-name "__DOMAINNAME__";

allow booting;
allow bootp;

subnet __NETADDRESS__ netmask __NETMASK__ {
	option broadcast-address __BROADCAST__;
	option routers __ADDRESS__;
	option domain-name-servers __ADDRESS__;
	option time-servers __ADDRESS__;

	range dynamic-bootp __MINHOST__ __MAXHOST__;
}

class "PXEClient" {
	match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";
	next-server __ADDRESS__;

	# Options for iPXE
	if exists user-class and option user-class = "iPXE" {
		filename "http://__ADDRESS__:3928/default.ipxe";
	} else {
		filename "/undionly.kpxe";
	}
}