summaryrefslogtreecommitdiff
path: root/roles/install_dhcp/templates/dhcpd.conf.j2
blob: e985d1a41f6489d44565825ef9ee6ceae96fd234 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
default-lease-time 600;
max-lease-time 3600;

authoritative;

log-facility local7;

subnet 10.222.0.0 netmask 255.255.0.0 {
	range {{ dhcp_start }} {{ dhcp_end }};

	option routers {{ bat0_ipv4 }};
	option domain-name-servers {{ bat0_ipv4 }};
}

subnet {{ ansible_default_ipv4['address'] }} netmask 255.255.255.255 {
}

include "/etc/dhcpd.hosts.conf";