[Dnsmasq-discuss] Why is dnsmasq handing out the same IP to different MACs?
Simon Kelley
simon at thekelleys.org.uk
Mon Apr 12 20:58:08 BST 2010
richardvoigt at gmail.com wrote:
> (a) dnsmasq doesn't distinguish between free addresses recently
> offered up and "really" free addresses
This is true: the main motivation isn't to do that though: the reason
for using the hash function is that most of the time it allows a host
whose lease has been expired to be offered the same address that it had
last time, but without having to keep old leases around in the database
forever like ISC dhcpd does.
Once the hash has been implemented, it becomes viable to rely on there
being few collisions and not use the lease database to record "offered"
addresses either.
Simon.
More information about the Dnsmasq-discuss
mailing list