puppet-ff_gw/templates/etc/dhcp/dhcpd.conf.erb

27 lines
785 B
Plaintext
Raw Permalink Normal View History

2014-03-31 23:18:29 +02:00
# 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 ".ffhh";
default-lease-time 600;
max-lease-time 3600;
log-facility local7;
subnet 10.112.0.0 netmask 255.255.192.0 {
authoritative;
range <%= @dhcprange_start %> <%= @dhcprange_end %>;
# DNS: this gateway (<%= @gw_ipv4 %>) & srv01 (10.112.1.1)
option domain-name-servers <%= @gw_ipv4 %>, 10.112.1.1;
2014-03-31 23:18:29 +02:00
option routers <%= @gw_ipv4 %>;
2014-08-19 11:21:02 +02:00
option ntp-servers 10.112.16.1, 10.112.22.1;
2014-03-31 23:18:29 +02:00
}
include "/etc/dhcp/static.conf";