From de060cc37f232870bf1f699b3973fc425e9abe05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Ole=C5=9B?= Date: Sun, 12 Oct 2014 22:05:54 +0200 Subject: [PATCH] Add dhcp-sequential-ip option to dnsmasq For many simultaneously DHCPDISCOVER requests dnsmasq can offer the same IP for two different MAC addresses. This option prevents it by assigning IPs one by one instead of using hashing algorithm. Change-Id: Iff3c42d21e1f1c09cb9eab5f07dbb066508dcb56 Related-bug: 1378000 Related-bug: 1376680 Related-bug: 1379917 Blueprint: 100-nodes-support --- deployment/puppet/cobbler/templates/dnsmasq.template.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deployment/puppet/cobbler/templates/dnsmasq.template.erb b/deployment/puppet/cobbler/templates/dnsmasq.template.erb index 7aaeb1b4bf..136c259bc6 100644 --- a/deployment/puppet/cobbler/templates/dnsmasq.template.erb +++ b/deployment/puppet/cobbler/templates/dnsmasq.template.erb @@ -21,6 +21,11 @@ interface=<%= @dhcp_interface %> # For example gPXE will not work while iPXE works fine. dhcp-no-override +# for many simultaneously DHCPDISCOVVER requests dnsmasq can offer +# the same IP for two differnt MAC addresses. This option prevents it +# by assigning IPs one by one instead of using hash algorithm. +dhcp-sequential-ip + dhcp-option=6,<%= @name_server %> dhcp-range=internal,<%= @dhcp_start_address %>,<%= @dhcp_end_address %>,<%= @dhcp_netmask %>