# DHCP Daemon Configuration File # # Last updated: # Global # authoritative; deny duplicates; option domain-name "network.net"; option domain-name-servers 192.168.30.253; option routers 192.168.30.254; option ntp-servers 192.168.30.253; option interface-mtu 9000; default-lease-time 28800; allow booting; allow bootp; option space PXE; option PXE.mtftp-ip code 1 = ip-address; option PXE.mtftp-cport code 2 = unsigned integer 16; option PXE.mtftp-sport code 3 = unsigned integer 16; option PXE.mtftp-tmout code 4 = unsigned integer 8; option PXE.mtftp-delay code 5 = unsigned integer 8; option arch code 93 = unsigned integer 16; # RFC4578 option option-128 code 128 = string; option option-129 code 129 = text; class "pxeclients" { match if substring (option vendor-class-identifier, 0, 9) = "PXEClient"; next-server 192.168.30.253; # UEFI x86-64 boot (RFC4578 architecture types 7, 8 and 9) if option arch = 00:07 { filename "uefi/shim.efi"; } else if option arch = 00:08 { filename "uefi/shim.efi"; } else if option arch = 00:09 { filename "uefi/shim.efi"; } else { # PXE boot filename "pxelinux.0"; } } ddns-updates on; ddns-update-style interim; ddns-domainname "network.net"; ddns-rev-domainname "in-addr.arpa."; update-static-leases on; update-optimization false; do-forward-updates true; zone network.net { primary 127.0.0.1; } zone 30.168.192.in-addr.arpa. { primary 127.0.0.1; } subnet 192.168.30.0 netmask 255.255.255.0 { range 192.168.30.100 192.168.30.200; #host change-me { # hardware ethernet 00:00:00:00:00:00; # fixed-address 192.168.30.1; # ddns-hostname "change-me"; } } # - end of subnet