aboutsummaryrefslogtreecommitdiff
path: root/tftp/dnsmasq.conf
diff options
context:
space:
mode:
authorAleksa Vuckovic <aleksa@vuckovic.cc>2023-12-13 01:38:14 +0100
committerAleksa Vuckovic <aleksa@vuckovic.cc>2024-04-02 23:17:31 +0200
commit36137438446c1754a522c5b3cc3aff92c43ac1ee (patch)
treef7358ef0aec7023321e52e116f94fba95e52611f /tftp/dnsmasq.conf
Initial commitHEADmaster
X86/X86_64 debug/release WORKING riscv64 WORKING uart idk
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