Thank you, the dhcp-ignore did the trick.<br><br clear="all">--<br>Nabeel Jafferali<br>Director - Product Mgmt.<br>Jazinga Inc.<br>416.548.4755 x103<br><br>
<br><br><div class="gmail_quote">On Thu, Dec 29, 2011 at 3:20 PM, Simon Kelley <span dir="ltr"><<a href="mailto:simon@thekelleys.org.uk">simon@thekelleys.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On 29/12/11 16:30, Nabeel Jafferali wrote:<br>
> Hello.<br>
><br>
> We've recently noticed a problem with our setup, that was based on the<br>
> information in this (old) thread.<br>
><br>
> Essentially, we used Simon's instructions (below) to configure dnsmasq to<br>
> not reply to DHCP requests for leases, but to only respond to DHCP INFORM<br>
> requests. We also had option 66 parameters configued for a specific MAC<br>
> address range. This worked great in our scenario, where we had devices<br>
> getting IP/DNS/etc. from the primary DHCP server, and subsequently getting<br>
> DHCP option 66 info from the dnsmasq instance replying to a DHCP INFORM<br>
> request.<br>
><br>
> However, we've noticed some Windows PCs also request DHCP INFORM, and it<br>
> appears dnsmasq replies to those requests and provides DNS server<br>
> information - those PCs then start to use the DNS servers supplied by<br>
> dnsmasq instead of the DNS servers supplied by the primary DHCP server.<br>
><br>
> A few questions:<br>
><br>
> 1. How can I cause dnsmasq to only reply to DHCP INFORM requests from a<br>
> certain MAC range? I already have the MAC range configured, and have<br>
> dnsmasq configured to provide specific option 66 information to that MAC<br>
> range only.<br>
<br>
</div>dhcp-ignore = !<tag> will stop all replies except when the tag is set.<br>
Use the same tag you set on the MAC range, and it will work fine.<br>
<div class="im"><br>
> 2. If not possible, how can I cause DNS server information to not be<br>
> included in the reply to DHCP INFORM?<br>
<br>
</div>dhcp-option = option:dns-server<br>
<br>
(Dnsmasq uses itself as the default DNS server, the above overrides the<br>
default and sets no DNS server option.<br>
<div class="im"><br>
> 3. If both not possible, where do I specify the specific DNS servers which<br>
> dnsmasq uses in the aforementioned reply? Perhaps I can just replicate the<br>
> information that the primary DHCP server sends.<br>
><br>
<br>
</div>Some variation on the example above will work for this.<br>
<br>
HTH<br>
<div><div></div><div class="h5"><br>
Simon.<br>
<br>
><br>
<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>
</div></div></blockquote></div><br>