aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/pxe/dhcpd.conf
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2018-05-19 15:15:29 +0200
committerPeter Mikus <pmikus@cisco.com>2018-05-30 09:49:59 +0000
commit3a14297dca576dd7e2c9f09d84bf0f5cf58c1938 (patch)
tree56de2207a8260d2204f6ce3bc7dbadcfb6e96417 /resources/tools/testbed-setup/pxe/dhcpd.conf
parent8bb12f5b902cf42c623172c562b4f2752489bc13 (diff)
CSIT-1070 Update Ansible structure
Change-Id: I9adab174f0c15f4c05a93f61b17714fa6542ea5d Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/testbed-setup/pxe/dhcpd.conf')
-rw-r--r--resources/tools/testbed-setup/pxe/dhcpd.conf90
1 files changed, 90 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/pxe/dhcpd.conf b/resources/tools/testbed-setup/pxe/dhcpd.conf
new file mode 100644
index 0000000000..25e6815962
--- /dev/null
+++ b/resources/tools/testbed-setup/pxe/dhcpd.conf
@@ -0,0 +1,90 @@
+#
+# Sample configuration file for ISC dhcpd for Debian
+#
+# Attention: If /etc/ltsp/dhcpd.conf exists, that will be used as
+# configuration file instead of this file.
+#
+#
+
+# The ddns-updates-style parameter controls whether or not the server will
+# attempt to do a DNS update when a lease is confirmed. We default to the
+# behavior of the version 2 packages ('none', since DHCP v2 didn't
+# have support for DDNS.)
+ddns-update-style none;
+
+# option definitions common to all supported networks...
+option domain-name "linuxfoundation.org";
+option domain-name-servers 199.204.44.24, 199.204.47.54;
+
+default-lease-time 600;
+max-lease-time 7200;
+
+# If this DHCP server is the official DHCP server for the local
+# network, the authoritative directive should be uncommented.
+authoritative;
+
+# Use this to send dhcp log messages to a different log file (you also
+# have to hack syslog.conf to complete the redirection).
+log-facility local7;
+
+# This is content of file (/etc/dhcp/dhcpd.conf) currently located on host
+# t4-virl1 with address 10.30.51.28. Please reflect any actual changes before
+# overwriting. This file is used for PXE boot.
+subnet 10.30.51.0 netmask 255.255.255.0 {
+ option routers 10.30.51.1;
+ host t1-tg1 {
+ hardware ethernet 00:fe:c8:e5:6c:76;
+ fixed-address 10.30.51.16;
+ filename "pxelinux.0";
+ }
+ host t1-sut1 {
+ hardware ethernet 00:fe:c8:e5:68:32;
+ fixed-address 10.30.51.17;
+ filename "pxelinux.0";
+ }
+ host t1-sut2 {
+ hardware ethernet cc:46:d6:17:e0:58;
+ fixed-address 10.30.51.18;
+ filename "pxelinux.0";
+ }
+ host t2-tg1 {
+ hardware ethernet 00:fe:c8:e5:6a:72;
+ fixed-address 10.30.51.20;
+ filename "pxelinux.0";
+ }
+ host t2-sut1 {
+ hardware ethernet 00:fe:c8:e5:68:e0;
+ fixed-address 10.30.51.21;
+ filename "pxelinux.0";
+ }
+ host t2-sut2 {
+ hardware ethernet 00:fe:c8:58:1e:f6;
+ fixed-address 10.30.51.22;
+ filename "pxelinux.0";
+ }
+ host t3-tg1 {
+ hardware ethernet 00:fe:c8:e5:68:c2;
+ fixed-address 10.30.51.24;
+ filename "pxelinux.0";
+ }
+ host t3-sut1 {
+ hardware ethernet 00:f2:8b:7c:fb:4a;
+ fixed-address 10.30.51.25;
+ filename "pxelinux.0";
+ }
+ host t3-sut2 {
+ hardware ethernet 58:ac:78:5c:90:78;
+ fixed-address 10.30.51.26;
+ filename "pxelinux.0";
+ }
+ host t4-virl2 {
+ hardware ethernet 00:42:68:6f:68:ee;
+ fixed-address 10.30.51.29;
+ filename "pxelinux.0";
+ }
+ host t4-virl3 {
+ hardware ethernet 00:42:68:6f:6f:c0;
+ fixed-address 10.30.51.30;
+ filename "pxelinux.0";
+ }
+}