Brielle, thanks very much<br><br>Adding <font face="courier new,courier,monospace">dhcp-option=252,\n\000<br><br></font>Has fixed it - Windows 7 is now accepting the IP.  Flamin' M$!<br><br>Perhaps Simon could add this to the FAQ?<br>
<br>Thanks again<br><font face="courier new,courier,monospace"></font><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I had this odd behavior at one point - are you able to run a tcpdump/tshark of the LAN interface on the machine hosting DNSmasq?  If so, have it monitor port 67/68:<br>
<br>
tshark -i eth1 port 67 or port 68<br>
<br>
<br>
I have two ideas - first, you may have an iptables rule affecting this.  These are the iptables rules I use to make sure DHCP works correctly:<br>
<br>
iptables -I INPUT -i eth1 -p udp --dport 67:68 --sport 67:68 -j ACCEPT<br>
<br>
<br>
<br>
the second could be remotely related to what I talk about here:<br>
<br>
<a href="http://brielle.sosdg.org/archives/522-Windows-7-flooding-DHCP-server-with-DHCPINFORM-messages.html" target="_blank">http://brielle.sosdg.org/<u></u>archives/522-Windows-7-<u></u>flooding-DHCP-server-with-<u></u>DHCPINFORM-messages.html</a><br>

<br>
<br>
<br>
<br>
<br>
<br>
<br>
-- <br>
Brielle Bruns<br>
The Summit Open Source Development Group<br>
<a href="http://www.sosdg.org" target="_blank">http://www.sosdg.org</a>    /     <a href="http://www.ahbl.org" target="_blank">http://www.ahbl.org</a><br>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: Brielle Bruns <<a href="mailto:bruns@2mbit.com">bruns@2mbit.com</a>><br>To: <a href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk">dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
Cc: <br>Date: Wed, 28 Dec 2011 16:19:25 -0700<br>Subject: Re: [Dnsmasq-discuss] DNSMasq and Windows 7<br>oops, meant to send this to the list!<br>
<br>
On 12/28/11 3:52 PM, Didster wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I have been running DNSMasq for some time now on a network consisting<br>
mainly of Windows XP and Linux machines, with no problems at all.<br>
<br>
I brought my daughter a new laptop for Christmas and it came with<br>
Windows 7.  Sadly, this is what she uses at school so I have to stick<br>
with it.<br>
<br>
For some reason, it refuses to accept IP addresses handed out by<br>
DNSMasq.  Logs are full of:<br>
<br>
Dec 28 21:29:21 gateway dnsmasq-dhcp[27812]: DHCPREQUEST(eth0)<br>
192.168.0.190 ac:72:89:11:44:32<br>
Dec 28 21:29:21 gateway dnsmasq-dhcp[27812]: DHCPACK(eth0) 192.168.0.190<br>
ac:72:89:11:44:32 millsy-PC<br>
Dec 28 21:29:26 gateway dnsmasq-dhcp[27812]: DHCPREQUEST(eth0)<br>
192.168.0.190 ac:72:89:11:44:32<br>
Dec 28 21:29:26 gateway dnsmasq-dhcp[27812]: DHCPACK(eth0) 192.168.0.190<br>
ac:72:89:11:44:32 millsy-PC<br>
Dec 28 21:29:40 gateway dnsmasq-dhcp[27812]: DHCPREQUEST(eth0)<br>
192.168.0.190 ac:72:89:11:44:32<br>
Dec 28 21:29:40 gateway dnsmasq-dhcp[27812]: DHCPACK(eth0) 192.168.0.190<br>
ac:72:89:11:44:32 millsy-PC<br>
Dec 28 21:29:50 gateway dnsmasq-dhcp[27812]: DHCPREQUEST(eth0)<br>
192.168.0.190 ac:72:89:11:44:32<br>
Dec 28 21:29:50 gateway dnsmasq-dhcp[27812]: DHCPACK(eth0) 192.168.0.190<br>
ac:72:89:11:44:32 millsy-PC<br>
<br>
Over and over.  But Windows 7 just refuses to accept the IP.  Turing off<br>
DNSMasq and enabling the DHCP server on my router works just fine on the<br>
W7 machine.<br>
<br>
I am running the version of DNSMasq currently in Debian Sid - 2.59.<br>
<br>
</blockquote>
<br>
<br>
I had this odd behavior at one point - are you able to run a tcpdump/tshark of the LAN interface on the machine hosting DNSmasq?  If so, have it monitor port 67/68:<br>
<br>
tshark -i eth1 port 67 or port 68<br>
<br>
<br>
I have two ideas - first, you may have an iptables rule affecting this.  These are the iptables rules I use to make sure DHCP works correctly:<br>
<br>
iptables -I INPUT -i eth1 -p udp --dport 67:68 --sport 67:68 -j ACCEPT<br>
<br>
<br>
<br>
the second could be remotely related to what I talk about here:<br>
<br>
<a href="http://brielle.sosdg.org/archives/522-Windows-7-flooding-DHCP-server-with-DHCPINFORM-messages.html" target="_blank">http://brielle.sosdg.org/<u></u>archives/522-Windows-7-<u></u>flooding-DHCP-server-with-<u></u>DHCPINFORM-messages.html</a> <br>

<br>
<br>
-- <br>
Brielle Bruns<br>
The Summit Open Source Development Group<br>
<a href="http://www.sosdg.org" target="_blank">http://www.sosdg.org</a>    /     <a href="http://www.ahbl.org" target="_blank">http://www.ahbl.org</a><br>
<br></blockquote></div><br>