aboutsummaryrefslogtreecommitdiff
path: root/tftp/dnsmasq.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tftp/dnsmasq.conf')
-rw-r--r--tftp/dnsmasq.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/tftp/dnsmasq.conf b/tftp/dnsmasq.conf
new file mode 100644
index 0000000..01a1782
--- /dev/null
+++ b/tftp/dnsmasq.conf
@@ -0,0 +1,20 @@
+interface=enp7s0
+bind-interfaces
+domain=example.org
+dhcp-option=3,0.0.0.0
+dhcp-option=6,0.0.0.0
+dhcp-option=121,192.168.111.0/24,192.168.111.1
+dhcp-range=192.168.111.50,192.168.111.100,5m
+dhcp-range=::f,::ff,constructor:enp7s0
+dhcp-host=30:85:a9:88:61:0e,192.168.111.69
+
+enable-tftp
+tftp-root=/srv/tftp
+
+dhcp-match=set:efi-x86_64,option:client-arch,7
+dhcp-match=set:efi-x86_64,option:client-arch,9
+dhcp-match=set:efi-x86,option:client-arch,6
+dhcp-match=set:bios,option:client-arch,0
+dhcp-boot=tag:efi-x86_64,boot/grub/x86_64-efi/core.efi
+dhcp-boot=tag:efi-x86,boot/grub/i386-efi/core.efi
+dhcp-boot=tag:bios,boot/grub/i386-pc/core.0