[Dnsmasq-discuss] dnsmasq does not respect BOOTP's broadcast flag

黎伟强 weiqiang_li at hotmail.com
Fri Apr 1 08:07:17 BST 2016


Thanks for the reply.I've read the post, but unfortunately, not the same thing. The post's key point is that the DHCP server offer the DHCP offer with unicast is set(since the client requested), but the firewall of Win7 just reject it. My problem is that dnsmasq just silently ignored my request. 

From: allfox at live.cn
To: dnsmasq-discuss at lists.thekelleys.org.uk
Date: Fri, 1 Apr 2016 13:21:35 +0800
Subject: Re: [Dnsmasq-discuss] dnsmasq does not respect BOOTP's broadcast flag




Greetings.

I don't quite understand the broadcast flag, however I did encounter the "taking a very long time to obtain an IP" problem.

I'm on Windows 10. Router has dnsmasq 2.75.

During Windows booting process, its firewall would deny any unicast packet from outside its own subnet, that including DHCP. Windows would try to request DHCP, then deny the reply, a few times.

Solution is asking Windows to request a DHCP reply via broadcast: http://sysadministrivia.blogspot.jp/2011/04/dhcp-broadcast-flag-problem-with-dhcp.html

Wish this help.


五月
2016.4

From: weiqiang_li at hotmail.com
To: dnsmasq-discuss at lists.thekelleys.org.uk
Date: Fri, 1 Apr 2016 02:38:30 +0000
Subject: [Dnsmasq-discuss] dnsmasq does not respect BOOTP's broadcast flag




Dear all,       I got a router using dnsmasq-2.66 for DHCP services, and I encountered a bug that the dnsmasq server does not respond to my PC's DHCPREQUEST( normally it should respond with a DHCPNAK? ), so it takes an obvious long time to got a new IP for my PC.                      So, is this really a bug or it is just something wrong with my PC(Works well with other DHCP server)?  At my first thought, I think it should be a bug that has been solved, so I reviewed the latest(ver.2.75) dnsmasq source code, however, neither did it care about this flag.       I also attached a patch for this.  		 	   		  

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss at lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss 		 	   		  

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss at lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20160401/3150d7fc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BOOTP-broadcast.png
Type: image/png
Size: 17606 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20160401/3150d7fc/attachment-0001.png>


More information about the Dnsmasq-discuss mailing list