<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 15, 2015 at 4:11 AM, Simon Kelley <span dir="ltr"><<a href="mailto:simon@thekelleys.org.uk" target="_blank">simon@thekelleys.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":17a" class="" style="overflow:hidden">Got it. Do you have --no-hosts set? That would explain why it was<br>
working for me and not for you.<br>
<br>
I just pushed the fix to git.</div></blockquote></div><br>Your guessing is completely right! I am using no-hosts in dnsmasq.conf. Now the new codes work greatly in my environment. </div><div class="gmail_extra"><br clear="all"><div>But another issue I found is, the IP binding can't be really released even after remove the config files and manually call dhcp_release. So when I create another VM with the same IP address, it will report duplication. </div><div><br></div><div>dnsmasq.log is something like: </div><div>---------------<br></div><div><div>Feb 15 06:12:45 dnsmasq-dhcp[3521]: DHCPRELEASE(eth2) 10.11.0.3 fa:e1:51:0b:a5:00</div></div><div>...</div><div><br></div><div><div>Feb 15 06:13:13 dnsmasq[3521]: inotify, new or changed file /etc/hosts.dhcps//fa:e9:4a:40:7f:00</div><div>Feb 15 06:13:13 dnsmasq-dhcp[3521]: read /etc/hosts.dhcps//fa:e9:4a:40:7f:00</div><div>Feb 15 06:13:13 dnsmasq[3521]: duplicate dhcp-host IP address 10.11.0.3 at line 1 of /etc/hosts.dhcps//fa:e9:4a:40:7f:00</div></div><div><br></div><div>....</div><div><div>Feb 15 06:13:23 dnsmasq-dhcp[3521]: DHCPDISCOVER(eth2) fa:e9:4a:40:7f:00 no address available</div><div>Feb 15 06:13:26 dnsmasq-dhcp[3521]: DHCPDISCOVER(eth2) fa:e9:4a:40:7f:00 no address available</div></div><div><br></div><div>---------------</div><div><br></div><div>Anything wrong?</div><div><br></div>-- <br><div class="gmail_signature">Yongkang You</div>
</div></div>