[Dnsmasq-discuss] 3 secs dhcp delay

Harald Dunkel harald.dunkel at aixigo.de
Fri Jan 18 09:36:19 GMT 2019


Hi Simon,

On 1/17/19 11:58 PM, Simon Kelley wrote:>
 > The delay is while dnsmasq tests the address it's about to allocate in
 > case some host is already using it. It sends a ICMP echo request
 > (essentially a ping) and if it gets a reply, the test fails. After a 3
 > second timeout the test succeeds and the address is allocated. If you're
 > happy that there are no machines using IP addresses without leasing
 > them, or that the similar test that DHCP clients do will find this, then
 > you can disable the check in dnsmasq using the --no-oing config flag.
 >

Do you think dnsmasq could watch/ping its IP address range while it is
idle, caching the result? It might examine the local arp table as well:
If there is an entry with matching MAC and IP address, isn't it reasonable
to assume that the IP address is not in use somewhere else?


Regards
Harri



More information about the Dnsmasq-discuss mailing list