From f33e1ffe6025e9e17924799f846b1db6cbe7c487 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 1 Aug 2024 14:16:11 -0700 Subject: [PATCH] noc-cc01: make a copy of the dhcpd file from the old vm Signed-off-by: Kevin Fenzi --- ...cpd.conf.noc-cc01.rdu-cc.fedoraproject.org | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 roles/dhcp_server/files/dhcpd.conf.noc-cc01.rdu-cc.fedoraproject.org diff --git a/roles/dhcp_server/files/dhcpd.conf.noc-cc01.rdu-cc.fedoraproject.org b/roles/dhcp_server/files/dhcpd.conf.noc-cc01.rdu-cc.fedoraproject.org new file mode 100644 index 0000000000..74c815aed5 --- /dev/null +++ b/roles/dhcp_server/files/dhcpd.conf.noc-cc01.rdu-cc.fedoraproject.org @@ -0,0 +1,36 @@ +server-identifier cloud-noc-os01.rdu-cc.fedoraproject.org; +ddns-update-style none; + +shared-network mgmt { + option domain-name "mgmt.rdu-cc.fedoraproject.org"; + option domain-name-servers 8.8.8.8, 1.1.1.1; + + subnet 172.23.1.0 netmask 255.255.255.0 { + allow booting; + allow bootp; + authoritative; + + class "pxeclients" { + match if substring (option vendor-class-identifier, 0, 9) = "PXEClient"; + next-server 172.23.1.3; + filename "pxelinux/pxelinux.0"; + } + + option routers 172.23.1.254; + range 172.23.1.100 172.23.1.249; + } + subnet 172.23.5.0 netmask 255.255.255.0 { + allow booting; + allow bootp; + authoritative; + + class "pxeclients" { + match if substring (option vendor-class-identifier, 0, 9) = "PXEClient"; + next-server 172.23.5.3; + filename "pxelinux/pxelinux.0"; + } + + #option routers 172.23.5.254; + range 172.23.5.100 172.23.5.249; + } +}