Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Simon-Ince/f3dc194e7a0d01df0abf023a1c6cc9df to your computer and use it in GitHub Desktop.
Save Simon-Ince/f3dc194e7a0d01df0abf023a1c6cc9df to your computer and use it in GitHub Desktop.
dhcp-range=192.168.1.10,proxy
dhcp-no-override
port=0 #Disable DNS
bogus-priv #Never forward addresses in the non-routed address spaces.
log-dhcp #do some logging
log-queries
# Resolve mac addresses for NUCs
dhcp-host=f4:4d:30:6f:63:bd,192.168.1.30,node1,infinite
dhcp-host=f4:4d:30:6f:a1:c2,192.168.1.31,node2,infinite
dhcp-host=f4:4d:30:6f:97:07,192.168.1.32,node3,infinite
# Resolve mac addresses for DLS - Cluster
dhcp-host=84:2b:2b:9b:01:96,192.168.1.13,node1,infinite
dhcp-host=18:03:73:d1:87:fa,192.168.1.14,node2,infinite
dhcp-host=b8:ac:6f:a7:5e:9f,192.168.1.15,node3,infinite
dhcp-host=20:cf:30:bc:15:d0,192.168.1.16,node4,infinite
# Legacy PXE
dhcp-boot=pxelinux.0,pxeserver,192.168.1.10
pxe-service=x86PC,"Install CoreOS",pxelinux
# UEFI
dhcp-match=set:efi32,option:client-arch,6
dhcp-boot=tag:efi32,ipxe.efi,192.168.1.10
dhcp-match=set:efibc,option:client-arch,7
dhcp-boot=tag:efibc,ipxe.efi,192.168.1.10
dhcp-match=set:efi64,option:client-arch,9
dhcp-boot=tag:efi64,ipxe.efi,192.168.1.10
# Resolve Hostname
address=/lushstores.local/192.168.1.10
enable-tftp
tftp-root=/app/tftp
no-daemon
user=root
dhcp-option=6,192.168.1.5
dhcp-option=3,192.168.254.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment