aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra/pxe/docker-dnsmasq/etc
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-07-13 08:42:42 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2023-07-13 09:23:55 +0000
commitefe51d995a9d736ce194dbd1c850d4a09e0a1506 (patch)
treeff3cf08ce37caaf9579a86d5b8ea558af9197980 /fdio.infra/pxe/docker-dnsmasq/etc
parent192e1ac1f274d8eed3d33cdbc15fa995a74247c7 (diff)
feat(packer): Cleanup
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I947f0e349584c3688e207a910e0debfc87562af6
Diffstat (limited to 'fdio.infra/pxe/docker-dnsmasq/etc')
-rwxr-xr-xfdio.infra/pxe/docker-dnsmasq/etc/dnsmasq.conf94
1 files changed, 94 insertions, 0 deletions
diff --git a/fdio.infra/pxe/docker-dnsmasq/etc/dnsmasq.conf b/fdio.infra/pxe/docker-dnsmasq/etc/dnsmasq.conf
new file mode 100755
index 0000000000..5776634853
--- /dev/null
+++ b/fdio.infra/pxe/docker-dnsmasq/etc/dnsmasq.conf
@@ -0,0 +1,94 @@
+# Disable DNS.
+no-resolv
+no-daemon
+no-poll
+no-hosts
+port=0
+
+# TFTP settings.
+enable-tftp
+tftp-root=/var/lib/tftpboot
+
+# PXE settings.
+dhcp-match=set:leg-x86_64,option:client-arch,0
+dhcp-match=set:efi-x86_64,option:client-arch,7
+dhcp-match=set:efi-x86_64,option:client-arch,9
+dhcp-match=set:efi-aa64,option:client-arch,11
+
+dhcp-boot=tag:leg-x86_64,pxelinux.0
+dhcp-boot=tag:efi-x86_64,grubx64.efi
+dhcp-boot=tag:efi-x86_64,grubx64.efi
+dhcp-boot=tag:efi-aa64,grubaa64.efi
+
+# General DHCP settings.
+dhcp-authoritative
+dhcp-broadcast
+
+# DHCP ranges for yul1_1.
+dhcp-range=yul1_1,10.30.51.16,10.30.51.94,255.255.255.0,infinite
+dhcp-option=yul1_1,option:router,10.30.51.1
+dhcp-option=yul1_1,option:dns-server,1.1.1.1
+dhcp-option=yul1_1,option:dns-server,8.8.8.8
+
+# DHCP ranges for yul1_2.
+dhcp-range=yul1_2,10.32.8.18,10.32.8.25,255.255.255.0,infinite
+dhcp-option=yul1_2,option:router,10.32.8.1
+dhcp-option=yul1_2,option:dns-server,1.1.1.1
+dhcp-option=yul1_2,option:dns-server,8.8.8.8
+
+# Hosts DHCP settings yul1_1 subnet.
+dhcp-host=ac:1f:6b:5a:6a:d4,10.30.51.23,s23-nomad,infinite # eno1
+dhcp-host=ac:1f:6b:5a:6a:b4,10.30.51.24,s24-nomad,infinite # eno1
+dhcp-host=ac:1f:6b:5a:6b:08,10.30.51.25,s25-nomad,infinite # eno1
+dhcp-host=ac:1f:6b:ac:d9:2e,10.30.51.26,s26-nomad,infinite # eno1
+dhcp-host=ac:1f:6b:8b:55:d8,10.30.51.27,s27-nomad,infinite # eno1
+dhcp-host=ac:1f:6b:8a:8d:0a,10.30.51.28,s28-nomad,infinite # eno1
+dhcp-host=a0:a3:3b:c1:14:28,10.30.51.36,s17-t33-sut1,infinite # enahisic2i0
+dhcp-host=a0:a3:3b:c1:12:fa,10.30.51.37,s18-t33-sut2,infinite # enahisic2i0
+dhcp-host=40:8d:5c:e7:b2:6e,10.30.51.38,fdio-marvell-dev,infinite # enP2p1s0v0
+dhcp-host=ac:1f:6b:8b:53:60,10.30.51.49,s19-t33t211-tg1,infinite # eno1
+dhcp-host=ac:1f:6b:8a:8c:76,10.30.51.50,s1-t11-sut1,infinite # eno1
+dhcp-host=ac:1f:6b:8b:53:96,10.30.51.51,s2-t12-sut1,infinite # eno1
+dhcp-host=7c:c2:55:27:58:36,10.30.51.52,s52-t21-sut1,infinite # eno1
+dhcp-host=7c:c2:55:25:3b:4a,10.30.51.53,s53-t21-tg1,infinite # eno1
+dhcp-host=7c:c2:55:27:58:44,10.30.51.54,s54-t22-sut1,infinite # eno1
+dhcp-host=7c:c2:55:27:58:1c,10.30.51.55,s55-t22-tg1,infinite # eno1
+dhcp-host=7c:c2:55:25:3b:4c,10.30.51.56,s56-t23-sut1,infinite # eno1
+dhcp-host=7c:c2:55:25:3b:2e,10.30.51.57,s57-t23-tg1,infinite # eno1
+dhcp-host=7c:c2:55:27:58:42,10.30.51.58,s58-t24-sut1,infinite # eno1
+dhcp-host=7c:c2:55:27:58:aa,10.30.51.59,s59-t24-tg1,infinite # eno1 ###########
+dhcp-host=e0:d5:5e:ae:70:26,10.30.51.69,s27-t211-sut1,infinite # eno1
+dhcp-host=b4:2e:99:ab:1d:e8,10.30.51.70,s55-t13-sut1,infinite # enp8s0f0
+dhcp-host=b4:2e:99:ab:1d:dc,10.30.51.71,s56-t14-sut1,infinite # enp8s0f0
+dhcp-host=90:e2:ba:55:be:32,10.30.51.72,s62-t34-sut1,infinite # enp1s0f0
+dhcp-host=90:e2:ba:49:db:b4,10.30.51.73,s63-t34-sut2,infinite # enp1s0f0
+dhcp-host=3c:ec:ef:b9:cc:56,10.30.51.74,s64-t34-tg1,infinite # eno1
+dhcp-host=3c:ec:ef:b9:a6:ba,10.30.51.75,s65-t37-sut1,infinite # eno1
+dhcp-host=3c:ec:ef:b9:a6:80,10.30.51.76,s66-t37-sut2,infinite # eno1
+dhcp-host=3c:ec:ef:b9:a6:c6,10.30.51.77,s67-t37-tg1,infinite # eno1
+dhcp-host=3c:ec:ef:bc:a0:ec,10.30.51.78,s78-t38-sut1,infinite # eno1
+dhcp-host=3c:ec:ef:bc:a0:d4,10.30.51.79,s79-t38-sut2,infinite # eno1
+dhcp-host=3c:ec:ef:bc:92:b2,10.30.51.80,s80-t38-tg1,infinite # eno1
+dhcp-host=3c:ec:ef:b9:a6:ca,10.30.51.81,s71-t212-sut1,infinite # eno1
+dhcp-host=3c:ec:ef:b9:7f:12,10.30.51.82,s72-t212-tg1,infinite # eno1
+dhcp-host=3c:ec:ef:bc:a1:ea,10.30.51.83,s83-t213-sut1,infinite # eno1
+dhcp-host=3c:ec:ef:bc:92:26,10.30.51.84,s84-t213-tg1,infinite # eno1
+dhcp-host=3c:ec:ef:b9:a6:92,10.30.51.85,s85-t214-sut1,infinite # eno1
+dhcp-host=3c:ec:ef:bc:92:e4,10.30.51.86,s86-t214-tg1,infinite # eno1
+dhcp-host=3c:ec:ef:bc:92:e8,10.30.51.87,s87-t215-sut1,infinite # eno1
+dhcp-host=3c:ec:ef:bc:a1:ac,10.30.51.88,s88-t215-tg1,infinite # eno1
+dhcp-host=3c:ec:ef:b9:cc:44,10.30.51.89,s89-t39t310-tg1,infinite # eno1
+dhcp-host=d8:5e:d3:02:b1:bb,10.30.51.91,s91-nomad,infinite #eno1
+dhcp-host=d8:5e:d3:02:b1:9f,10.30.51.92,s92-nomad,infinite #eno1
+dhcp-host=a4:bf:01:55:ac:39,10.30.51.93,s93-t39-sut1,infinite # enp4s0
+dhcp-host=a4:bf:01:55:af:5e,10.30.51.94,s94-t39-sut2,infinite # enp4s0
+
+# Hosts DHCP settings yul1_2 subnet.
+dhcp-host=ac:1f:6b:ac:d7:d6,10.32.8.18,s33-t27-sut1,infinite # eno1
+dhcp-host=ac:1f:6b:ac:d7:8c,10.32.8.19,s34-t27-tg1,infinite # eno1
+dhcp-host=ac:1f:6b:ac:d7:c0,10.32.8.20,s35-t28-sut1,infinite # eno1
+dhcp-host=ac:1f:6b:ac:d7:56,10.32.8.21,s36-t28-tg1,infinite # eno1
+dhcp-host=ac:1f:6b:ac:d7:ba,10.32.8.22,s37-t29-sut1,infinite # eno1
+dhcp-host=ac:1f:6b:ac:d7:76,10.32.8.23,s38-t29-tg1,infinite # eno1
+dhcp-host=3c:ec:ef:43:a3:ba,10.32.8.24,s60-t210-sut1,infinite # eno1np0
+dhcp-host=3c:ec:ef:46:34:e8,10.32.8.25,s61-t210-tg1,infinite # eno1np0 \ No newline at end of file