[Dnsmasq-discuss] double DHCP leases
Eric Thibodeau
kyron at neuralbs.com
Thu Aug 28 15:20:05 BST 2008
I came across the same "problem" when in my environment where 3
different dhcp clients request an IP address for the same machine (PXE,
kernel dhcp, dhcpcd) and was actually wondering if the change was
trivial or not, the proposed modifications seem quite simple and of
little performance impact.
I must admit that I find peculiar that the Windows dhcp client changes
Client IDs between invocations...although there is also the fact that MS
Windows provides for kerberos binding to most of the OS's service and
one can actually specify an IP address on user or machine rights...which
might explain the Client ID change between boot and logon or when the
machine is ready to identify itself in the Windows realm. This is pure
conjecture on my part but it's my only explanation for having differing
Client IDs for the requests.
Eric
Nikos Mavrogiannopoulos wrote:
> I've come across to a situation where dnsmasq was giving two IP
> addresses to certain (windows) hosts. The problem was that the windows
> host was requesting two times for an IP but having a different client
> identifier (check the wireshark output). I've fixed this using the
> attached patch. In that patch I make lease_find_by_client() to return
> the lease of any of the MAC and the ClientID match. The previous
> behaviour was that if client IDs are there, it didn't check the MAC
> address. What was the reason for that?
>
> regards,
> Nikos
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20080828/7b49d0e4/attachment.htm
More information about the Dnsmasq-discuss
mailing list