diff options
author | Christian Hesse <mail@eworm.de> | 2015-06-04 22:01:53 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2015-06-04 22:01:53 +0200 |
commit | d85accad1322e19f85bda707c27c94d5ce24cddb (patch) | |
tree | 1490378f2e563297e44b50670c883bdfcf6c9581 /config | |
parent | 6c8bcf52d208cb85d8494b928ef0eba02cbfbe91 (diff) | |
download | dyndhcpd-d85accad1322e19f85bda707c27c94d5ce24cddb.tar.gz dyndhcpd-d85accad1322e19f85bda707c27c94d5ce24cddb.tar.zst |
divide network into smaller chunks and provide pools
Diffstat (limited to 'config')
-rw-r--r-- | config/dhcpd.conf | 16 |
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__; } } |