<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-7" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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. <br>
<br>
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.<br>
<br>
Eric<br>
<br>
Nikos Mavrogiannopoulos wrote:
<blockquote cite="mid:48B698BD.9010703@gennetsa.com" type="cite">
  <pre wrap="">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

<hr size="4" width="90%">
_______________________________________________
Dnsmasq-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a>
  </pre>
</blockquote>
<br>
</body>
</html>