From 3cf4fee5258cf3bb02e4d9f59e32380d8bcc5e5e Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 8 Apr 2019 12:10:58 +0100 Subject: [PATCH] Mark dhcp servers as authoritative --- cookbooks/dhcpd/templates/default/dhcpd.conf.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbooks/dhcpd/templates/default/dhcpd.conf.erb b/cookbooks/dhcpd/templates/default/dhcpd.conf.erb index def1960bc..e826c7efc 100644 --- a/cookbooks/dhcpd/templates/default/dhcpd.conf.erb +++ b/cookbooks/dhcpd/templates/default/dhcpd.conf.erb @@ -5,6 +5,7 @@ max-lease-time 7200; <% node.interfaces(:role => :internal).each do |interface| -%> subnet <%= interface[:network] %> netmask <%= interface[:netmask] %> { + authoritative; range dynamic-bootp <%= node[:dhcpd][:first_address] %> <%= node[:dhcpd][:last_address] %>; # option broadcast-address <%= interface[:broadcast] %>; option routers <%= interface[:gateway] %>; -- 2.43.2