[Dnsmasq-discuss] DNSMasq and Windows 7
Brielle Bruns
bruns at 2mbit.com
Wed Dec 28 23:19:25 GMT 2011
oops, meant to send this to the list!
On 12/28/11 3:52 PM, Didster wrote:
> Hello,
>
> I have been running DNSMasq for some time now on a network consisting
> mainly of Windows XP and Linux machines, with no problems at all.
>
> I brought my daughter a new laptop for Christmas and it came with
> Windows 7. Sadly, this is what she uses at school so I have to stick
> with it.
>
> For some reason, it refuses to accept IP addresses handed out by
> DNSMasq. Logs are full of:
>
> Dec 28 21:29:21 gateway dnsmasq-dhcp[27812]: DHCPREQUEST(eth0)
> 192.168.0.190 ac:72:89:11:44:32
> Dec 28 21:29:21 gateway dnsmasq-dhcp[27812]: DHCPACK(eth0) 192.168.0.190
> ac:72:89:11:44:32 millsy-PC
> Dec 28 21:29:26 gateway dnsmasq-dhcp[27812]: DHCPREQUEST(eth0)
> 192.168.0.190 ac:72:89:11:44:32
> Dec 28 21:29:26 gateway dnsmasq-dhcp[27812]: DHCPACK(eth0) 192.168.0.190
> ac:72:89:11:44:32 millsy-PC
> Dec 28 21:29:40 gateway dnsmasq-dhcp[27812]: DHCPREQUEST(eth0)
> 192.168.0.190 ac:72:89:11:44:32
> Dec 28 21:29:40 gateway dnsmasq-dhcp[27812]: DHCPACK(eth0) 192.168.0.190
> ac:72:89:11:44:32 millsy-PC
> Dec 28 21:29:50 gateway dnsmasq-dhcp[27812]: DHCPREQUEST(eth0)
> 192.168.0.190 ac:72:89:11:44:32
> Dec 28 21:29:50 gateway dnsmasq-dhcp[27812]: DHCPACK(eth0) 192.168.0.190
> ac:72:89:11:44:32 millsy-PC
>
> Over and over. But Windows 7 just refuses to accept the IP. Turing off
> DNSMasq and enabling the DHCP server on my router works just fine on the
> W7 machine.
>
> I am running the version of DNSMasq currently in Debian Sid - 2.59.
>
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:
tshark -i eth1 port 67 or port 68
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:
iptables -I INPUT -i eth1 -p udp --dport 67:68 --sport 67:68 -j ACCEPT
the second could be remotely related to what I talk about here:
http://brielle.sosdg.org/archives/522-Windows-7-flooding-DHCP-server-with-DHCPINFORM-messages.html
--
Brielle Bruns
The Summit Open Source Development Group
http://www.sosdg.org / http://www.ahbl.org
More information about the Dnsmasq-discuss
mailing list