aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/dhcpd.conf16
1 files changed, 9 insertions, 7 deletions
diff --git a/config/dhcpd.conf b/config/dhcpd.conf
index 6444f16..bfddf4d 100644
--- a/config/dhcpd.conf
+++ b/config/dhcpd.conf
@@ -11,12 +11,6 @@ max-lease-time 43200;
option domain-name "__DOMAINNAME__";
-# 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";
@@ -31,6 +25,8 @@ subnet __NETADDRESS__ netmask __NETMASK__ {
option time-servers __ADDRESS__;
pool {
+ allow members of "PXEClient";
+
next-server __ADDRESS__;
# Disable ProxyDHCP, we're in control of the primary DHCP server.
@@ -69,7 +65,13 @@ subnet __NETADDRESS__ netmask __NETMASK__ {
filename "/ipxe/ipxe.pxe";
}
- range dynamic-bootp __MINHOST__ __MAXHOST__;
+ range dynamic-bootp __MINBOOTP__ __MAXBOOTP__;
+ }
+
+ pool {
+ deny members of "PXEClient";
+
+ range __MINDHCP__ __MAXDHCP__;
}
}