[Dnsmasq-discuss] not getting address specified in dhcp_hosts
Aaron Wood
woody77 at gmail.com
Mon Jun 2 20:28:00 UTC 2014
On Mon, Jun 2, 2014 at 1:11 PM, Simon Kelley <simon at thekelleys.org.uk>
wrote:
> On 28/05/14 00:24, Aaron Wood wrote:
> > This is a _very_ old platform, running 2.47.
> >
> > What happens is that a client requests it's previous address in the DHCP
> > DISCOVER packet, and that's ack'd as ok by dnsmasq, even though it
> differs
> > from the address as specified in the dhcp-hosts file that's in use.
> >
> > On a much newer build of dnsmasq, I see the expected (by me) behavior of
> > the requested address being denied, and the configured address returned.
> >
> > Further, my lease change notification script is getting an "old"
> > notification for the requested address, but never getting a notification
> > that a valid lease was handed out. As such the application listening to
> > the lease notification events is losing track of the devices in question.
> >
> > I've gone through the release notes, and I'm not seeing when this would
> > have changed. I can attempt to port a newer version of dnsmasq to the
> > system, but it's a very old version of OpenWRT (8.x), on linux 2.4...
> >
> > Is this something that I can configure around?
> >
> >
> I'm not aware that behaviour around that has changed for a very long time.
>
> Did you try simply stopping dnsmasq, deleting the DHCP leas database,
> and then starting dnsmasq?
Well, I tried a reboot (which effectively does that as the leases file is
in /tmp), and it didn't change the behavior. I think I'm going to try
updating it to 2.55 (same as on another platform I have which is acting
as-expected), and see if that corrects it.
-Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20140602/283e9cf7/attachment.html>
More information about the Dnsmasq-discuss
mailing list