summaryrefslogtreecommitdiffstats
path: root/dhcpd.conf
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2015-04-02 10:30:57 +0200
committerGravatar Christian Hesse <mail@eworm.de>2015-04-02 10:30:57 +0200
commitff2cbc8881c5bc7d905cac27de3f82d3c5e9f95a (patch)
treef004943b196fdd7c5219bf02ab1c51858c58f1b2 /dhcpd.conf
parentd6760cd76c67bb3946b21070ab10fc676a2e7f12 (diff)
downloaddyndhcpd-ff2cbc8881c5bc7d905cac27de3f82d3c5e9f95a.tar.gz
dyndhcpd-ff2cbc8881c5bc7d905cac27de3f82d3c5e9f95a.tar.zst
use a more complex setup for iPXE network boot
Diffstat (limited to 'dhcpd.conf')
-rw-r--r--dhcpd.conf40
1 files changed, 0 insertions, 40 deletions
diff --git a/dhcpd.conf b/dhcpd.conf
deleted file mode 100644
index bc13813..0000000
--- a/dhcpd.conf
+++ /dev/null
@@ -1,40 +0,0 @@
-# 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 routers __MINHOST__;
- option domain-name-servers __ADDRESS__;
- option time-servers __ADDRESS__;
-
- range dynamic-bootp __MINHOST__ __MAXHOST__;
-}
-
-# make sure we do not serve our own address
-host localhost {
- hardware ethernet de:ad:00:be:ef:00;
- fixed-address __ADDRESS__;
-}
-
-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 "/ipxe/undi.kpxe";
- }
-}