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
This commit is contained in:
Łukasz Oleś 2014-10-12 22:05:54 +02:00
parent 8a26be310e
commit de060cc37f

View File

@ -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 %>