########################################################################### ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## ## Please see: http://www.gnu.org/licenses/gpl.html for legal details, ## ## rights of fair usage, the disclaimer and warranty conditions. ## ########################################################################### ## Subnet declaration file. ## ########################################################################### ### Dynamic DNS (DDNS) include "/etc/dhcp/dhcpd-subnets/ddns-subnet-192.168.0.0.conf"; ### Subnet declaration. subnet 192.168.0.0 netmask 255.255.255.0 { option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.1; option ntp-servers 192.168.0.1; option time-servers 192.168.0.1; option domain-name "home"; option domain-search "home"; option domain-name-servers 192.168.0.1; option netbios-name-servers 192.168.0.1; option netbios-dgam-servers 192.168.0.1; option netbios-dd-server 192.168.0.1; option netbios-node-type 8; option slp-directory-agent false 192.168.0.1; option slp-service-scope false "DEFAULT"; option interface-mtu 9000; ### A pool that can be used for special equipment that has to be ### treated separately. Examples could possibly include: ### - virtual machines ### - Apple NetBoot ### - PXE ### - windows clients that have DHCPID set to "punchthrough" pool { allow members of "Apple-Intel-NetBoot"; allow members of "PXE"; allow members of "punchthrough"; #deny unknown-clients; range dynamic-bootp 192.168.0.100 192.168.0.150; } ### All other machines go into the default pool. pool { deny members of "Apple-Intel-NetBoot"; deny members of "PXE"; deny members of "punchthrough"; #allow unknown-clients; range dynamic-bootp 192.168.0.10 192.168.0.40; # Path to the wpad.dat (proxy-autoconfiguration) file. option proxy-auto-discovery "http://proxy.home/wpad.dat"; } }