X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Ftestbed-setup%2Fdhcpd.conf;fp=resources%2Ftools%2Ftestbed-setup%2Fdhcpd.conf;h=25e68159629947882c3e1865a8b8b6a65e2572ed;hp=0000000000000000000000000000000000000000;hb=a7568a2eabf0872d25260c14ec084cb3d5ffb0f3;hpb=f6d229a1498a0b1f0ad7c76ece111e47d20f90f9 diff --git a/resources/tools/testbed-setup/dhcpd.conf b/resources/tools/testbed-setup/dhcpd.conf new file mode 100644 index 0000000000..25e6815962 --- /dev/null +++ b/resources/tools/testbed-setup/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"; + } +}