summaryrefslogtreecommitdiffstats
path: root/dhcpd.conf
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-11-14 23:02:02 +0100
committerGravatar Christian Hesse <mail@eworm.de>2013-11-14 23:02:02 +0100
commit2afc18b5b49bfc1e3f21f62b458c367bc6e87bfb (patch)
treed7ab4fcd8f60772e37f375ed9e89742f3e142e9b /dhcpd.conf
parentf45a34df0be309c62788f6b46024357505863743 (diff)
downloaddyndhcpd-2afc18b5b49bfc1e3f21f62b458c367bc6e87bfb.tar.gz
dyndhcpd-2afc18b5b49bfc1e3f21f62b458c367bc6e87bfb.tar.zst
bail on small networks, serve complete range and exclude self
Diffstat (limited to 'dhcpd.conf')
-rw-r--r--dhcpd.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/dhcpd.conf b/dhcpd.conf
index 6ec2a13..e0e295a 100644
--- a/dhcpd.conf
+++ b/dhcpd.conf
@@ -18,6 +18,12 @@ subnet __NETADDRESS__ netmask __NETMASK__ {
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" {