<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,<br>
</p>
<p>This is an issue I've experienced with ESP8266 and proxy ARP on
my WiFi network. I was able to work around it by assigning the
devices an infinite lease, however I think dnsmasq's behavior is
undesirable.</p>
<p>In short, ESP8266 is on a network with proxy ARP setup; getting
the initial lease works fine, however once proxy ARP kicks in it
fails to renew. This is the chain of events leading up to the
issue:</p>
<ul>
<li>MCU tries to renew the address</li>
<li>dnsmasq properly renews its address</li>
<li>MCU sends an ARP request to check if the address is in use and
receives an ARP reply from the router because of proxy ARP</li>
<li>MCU mistakenly believes that the address was assigned already
even though it was not, sends a DENIED message back to dnsmasq
and tries again</li>
<li>dnsmasq then allocates the exact same address that the MCU
just rejected</li>
</ul>
<p>I think in this scenario, dnsmasq should try to allocate a
different address because MCU has rejected it already.</p>
<p>Not sure what people in this mailing list think, but it feels
like dnsmasq shouldn't be doing this.</p>
<p>All the best,<br>
0zl.<br>
</p>
</body>
</html>