<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Thu, Feb 15, 2018 at 2:46 PM, Andy
Ruddock <span dir="ltr"><<a
href="mailto:andy.ruddock@rainydayz.org" target="_blank">andy.ruddock@rainydayz.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Todd Andrews wrote:<br>
> Hi All,<br>
><br>
> I'm running dnsmasq 2.76 on a Raspberry Pi. It's been
working great for<br>
> months but today I started seeing an odd behavior for a
specific local<br>
> device and I don't know how to troubleshoot it.<br>
><br>
> The device is a Dell Inspiron 5577 Windows 10 Home
edition laptop with the<br>
> latest Windows updates. It's getting an IP address of
192.168.1.115. I<br>
> first noticed the problem when I tried to establish a
VNC connection to it<br>
> because I can't connect via its hostname, "sagan", but
I can connect via<br>
> its IP address.<br>
><br>
> Neither the IP assignment nor the laptop's MAC address
appear in<br>
> dnsmasq.leases. The only reason I know it is assigned
.115 is by physically<br>
> going to the laptop and running the Windows 'ipconfig'
program at the<br>
> command prompt.<br>
><br>
> I've rebooted the Raspberry Pi and the Windows 10
laptop, but it hasn't<br>
> made a difference.<br>
><br>
> More info below. Does anyone have any ideas?<br>
><br>
> Regards,<br>
> Todd<br>
<br>
</blockquote>
<div>Hi Andy, thanks for getting back to me so quickly. (I
originally sent this reply yesterday but forgot there's a
maximum size per post to this list. Replaced screen capture
with a link below.)<br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<br>
Are you sure the windows box hasn't been configured with a
static IP<br>
address?<br>
<br>
</blockquote>
<div><br>
</div>
<div>I'm positive: <a moz-do-not-send="true"
href="https://www.dropbox.com/s/cwy72yu4sly62mp/sagan-configured-as-dhcp.PNG?dl=0">click
to view screen capture</a><br>
</div>
<div> <br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
Any information when you refresh the IP address from within
a cmd window<br>
in Windows?<br>
ipconfig /renew<br>
<br>
</blockquote>
<div><br>
</div>
<div>I never would have thought to try this. It gave a strange
error but renewing fixed the problem immediately. Here's the
error:</div>
<div><br>
</div>
</div>
</div>
<blockquote style="margin:0px 0px 0px
40px;border:none;padding:0px">
<div class="gmail_extra">
<div class="gmail_quote">
<div>C:\Users\taa>ipconfig /renew</div>
</div>
</div>
<div class="gmail_extra">
<div class="gmail_quote">
<div><br>
</div>
</div>
</div>
<div class="gmail_extra">
<div class="gmail_quote">
<div>Windows IP Configuration</div>
</div>
</div>
<div class="gmail_extra">
<div class="gmail_quote">
<div><br>
</div>
</div>
</div>
<div class="gmail_extra">
<div class="gmail_quote">An error occurred while renewing
interface Ethernet : The name specified in the network
control block (NCB) is in use on a remote adapter.<br>
</div>
</div>
<div class="gmail_extra">
<div class="gmail_quote">
<div>The NCB is the data.</div>
</div>
</div>
<div class="gmail_extra">
<div class="gmail_quote">
<div><br>
</div>
</div>
</div>
<div class="gmail_extra">
<div class="gmail_quote">
<div>C:\Users\taa> </div>
</div>
</div>
</blockquote>
<br>
<div>Having a specific error allowed me to Google it and find <a
href="https://web.archive.org/web/20161126203756/http://www.formortals.com/bizarre-dhcp-server-error-solved/">Bizarre
DHCP server error solved</a>. The poster at that link 1) was
not getting an IP address at all, 2) was running a Windows DHCP
server, and 3) "found a second reservation in DHCP which looked
odd; it had the same IP address as the first one that we deleted
but it had an entirely different MAC and name."</div>
<div><br>
</div>
<div>This made me remember that a couple of weeks ago I changed my
laptop's Computer Name in Windows.</div>
<div><br>
</div>
<div>Does this mean there is some other place where dnsmasq might
have cached the IP address or MAC or hostname? I'm trying to
figure out why dnsmasq.leases had no reference to the laptop's
IP/MAC/hostname, neither the previous hostname or the new one.
Maybe this is one of those cases that is so bizarre it defies
explanation (and I can live with that). :D</div>
</div>
</body>
</html>