[Dnsmasq-discuss] Sequential IP doesn't look for unused IPs
Alec Robertson
alecrobertson13 at gmail.com
Sat Dec 24 21:15:23 GMT 2016
My apologies for the unclear explanation.
For background I am using OpenWRT/LEDE r2544-a032940, on a TP-LINK Archer
C7.
For a test, if you set the leasetime to be very short, say 2 minutes and
connect multiple devices, they will at first be given IPs in sequential
order starting from the lowest allowed IP address, say 192.168.0.20. So,
the next device will be 192.168.0.21, the next 192.168.0.22 and so on…
If the device at 192.168.0.20 gets disconnected for over 2 minutes, its
lease expires. If the device reconnects to the network, it will be given
the IP address say 192.168.0.24, despite 192.168.0.20 being available. The
next new device added to the network will be given 192.168.0.25.
So, 192.168.0.20 will never be assigned again, unless the network is
entirely reset, i.e. dnsmasq is completely reset back to defaults.
Does that make a bit more sense?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20161224/cb599a3a/attachment.html>
More information about the Dnsmasq-discuss
mailing list