From f0ec293fee4f149e0234d0bfccdd6189145370e8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 31 Oct 2013 16:19:05 +0100 Subject: initial commit --- dhcpd.conf | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 dhcpd.conf (limited to 'dhcpd.conf') diff --git a/dhcpd.conf b/dhcpd.conf new file mode 100644 index 0000000..6ec2a13 --- /dev/null +++ b/dhcpd.conf @@ -0,0 +1,33 @@ +# 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"; + } +} -- cgit v1.2.3-54-g00ecf