[inspector] use dnsmasq dhcp-sequential-ip flag in dnsmasq.conf
Introspection naturally happens in large bulks, after which it's inactive. Small pool for DHCP addresses means that we'll have conflicts due to how dnsmasq distributes them by default - using hashing. This change tells dnsmasq to allocate IP addresses sequentially instead to avoid these conflicts. The drawback of this option is that long-running clients may switch IP addresses if their lease expires. This is not a concern for short introspection process. Change-Id: I0f08609a9f72799ef9f62216041f2b2b9795afd5
This commit is contained in:
parent
77974fd838
commit
dfff2af147
@ -7,3 +7,4 @@ tftp-root=/tftpboot
|
|||||||
dhcp-match=ipxe,175
|
dhcp-match=ipxe,175
|
||||||
dhcp-boot=tag:!ipxe,undionly.kpxe,localhost.localdomain,<%= @dnsmasq_local_ip %>
|
dhcp-boot=tag:!ipxe,undionly.kpxe,localhost.localdomain,<%= @dnsmasq_local_ip %>
|
||||||
dhcp-boot=tag:ipxe,http://<%= @dnsmasq_local_ip %>:8088/inspector.ipxe
|
dhcp-boot=tag:ipxe,http://<%= @dnsmasq_local_ip %>:8088/inspector.ipxe
|
||||||
|
dhcp-sequential-ip
|
||||||
|
@ -5,3 +5,4 @@ dhcp-range=<%= @dnsmasq_ip_range %>,29
|
|||||||
enable-tftp
|
enable-tftp
|
||||||
tftp-root=/tftpboot
|
tftp-root=/tftpboot
|
||||||
dhcp-boot=pxelinux.0,localhost.localdomain,<%= @dnsmasq_local_ip %>
|
dhcp-boot=pxelinux.0,localhost.localdomain,<%= @dnsmasq_local_ip %>
|
||||||
|
dhcp-sequential-ip
|
||||||
|
Loading…
Reference in New Issue
Block a user