[Dnsmasq-discuss] [BUG] No DHCP answer from dnsmasq

Natrio Natrio at list.ru
Thu May 16 15:43:29 BST 2013


Dnsmasq is not responding (tcpdump show it) to DHCP requests 
(from android phone via USB and WiFi), if config has options:
interface=*
bind-dynamic
AND the system has no virtual interfaces except "lo".

If "interface=" option contain more than "*", for example 
"usb*,wlan*", or the system has virtual interfaces (ls 
/sys/devices/virtual/), such as a TUN or VLAN, the server 
respondsand works.

------------------- /etc/dnsmasq.conf : 
--------------------------
# Disable DNS
port=0

interface=*
bind-dynamic
no-hosts
no-resolv
dhcp-option=option:router,192.168.42.160

dhcp-range=192.168.42.0,static,255.255.255.0,24h
dhcp-host=c8:d1:5e:9a:45:3f,192.168.42.129

dhcp-range=lan,192.168.42.10,192.168.42.99,255.255.255.0,12h
------------------------------------------ end file 
-------------------

dnsmasq versions: 2.66, 2.67test4
Arch Linux i686 linux-3.9.2



More information about the Dnsmasq-discuss mailing list