diff options
author | pmikus <pmikus@cisco.com> | 2016-10-06 08:39:28 +0100 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2016-10-09 11:52:13 +0000 |
commit | a7568a2eabf0872d25260c14ec084cb3d5ffb0f3 (patch) | |
tree | ca04df304087388812b255dbb5e98cde0f6a648c /resources/tools/testbed-setup/dhcpd.conf | |
parent | f6d229a1498a0b1f0ad7c76ece111e47d20f90f9 (diff) |
Update ansible playbooks with documentation
- Update ansible playbooks scripts for Ubuntu 16.04.1 with latest
requirement for setting of physical hosts including VIRL
- Update readme file
Change-Id: I94e7ab62f729ea2eefb2a6640d0c53f3abc54bac
Signed-off-by: pmikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/testbed-setup/dhcpd.conf')
-rw-r--r-- | resources/tools/testbed-setup/dhcpd.conf | 90 |
1 files changed, 90 insertions, 0 deletions
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"; + } +} |