Does the dnsmasq host OS have an address in the 172.17.0.0 range statically configured on the interface where the requests arrive?<br><br><div class="gmail_quote">On Fri, Apr 17, 2009 at 11:31 PM, Jeff Croft <span dir="ltr"><<a href="mailto:jeffc@truste.com">jeffc@truste.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Hello --<br>
<br>
I’m using dnsmasq v2.41 to issue addresses in two different networks.<br>
<br>
What I want is for physical machines to be issued addresses in <a href="http://172.16.0.0/16" target="_blank">172.16.0.0/16</a> and for VMware virtual machines to get <a href="http://172.17.0.0/16" target="_blank">172.17.0.0/16</a> addresses. I’ve forced all the VMware instances to have MAC addresses which start with 00:50:56:00.<br>
<br>
I’m using the following config lines:<br>
<br>
dhcp-range=net:vmiphys,172.16.1.50,172.16.200.250,255.255.0.0,12h<br>
dhcp-range=net:vmivirt,172.17.0.50,172.17.200.250,255.255.0.0,12h<br>
dhcp-host=*:*:*:*:*:*,net:vmiphys<br>
dhcp-host=00:50:56:00:*:*,net:vmivirt<br>
<br>
which I had hoped would do what I described above.<br>
<br>
What happens, however, is that any machine with a MAC address which does not match 00:50:56:00:*:* receives an address in the <a href="http://172.16.0.0/16" target="_blank">172.16.0.0/16</a> network, but any machine matching 00:50:56:00:*:* causes dnsmasq to issue an error like this:<br>
<br>
DHCPDISCOVER(eth0) 169.254.34.228 00:50:56:00:00:d7 no address available<br>
<br>
and the virtual machine doesn’t get an IP address.<br>
<br>
Any suggestions?<br>
<br>
Thanks much for some great software.<br>
<br>
Jeff Croft<br>
</span></font>
</div>
<br>_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
<br></blockquote></div><br>