[Dnsmasq-discuss] DHCP request not getting to dnsmasq

Guennadi Liakhovetski g.liakhovetski at gmx.de
Mon Dec 24 21:19:42 GMT 2007


You forgot to CC the list. So, I quote your entire email, maybe someone 
else will have an idea. My comments are below:

On Mon, 24 Dec 2007, Robin Atwood wrote:

> On Monday 24 Dec 2007, you wrote:
> > I also have a DSL router with WLAN and ethernet interfaces, and it is
> > supposed to be used with _either_ one or another, and I never checked and
> > don't know whether a connection is possible between clients connected over
> > WLAN and ethernet. If you configure the interface on your laptop manually,
> > can you ping your dnsmasq server?
> 
> You must have a very bad router. All the devices on my network LAN/WLAN can 
> ping each other, including my phone!
> 
> > 21:59:50.381445 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
> > Request from 00:50:bf:a4:59:71 (oui Unknown), length 300
> 
> Yes, I see:
>  # tcpdump -i eth0 port 67
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on eth0, link-type EN10MB (Ethernet), capture size 68 bytes
> 23:00:37.564313 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, 
> Request [|bootp]
> 
> but absolutely nothing in the dnsmasq logging. Below are all the non-comment 
> lines in my dnsmasq.conf. This must be something very basic!
> 
> domain-needed
> resolv-file=/etc/resolv-upstr.conf
> strict-order
> local=/binro.org/
> interface=eth0
> domain=binro.org
> dhcp-range=192.168.1.32,192.168.1.63,12h
> dhcp-option=option:router,192.168.1.1
> dhcp-option=42,0.0.0.0
> log-dhcp

Ok, my configuration differs a bit, but I cannot say if there's an 
important differenc there, maybe not. For example, I don't have the 
resolv-file, strict-order, local, and domain options. What I would do now, 
is strace dnsmasq as your laptop requests a lease, e.g.:

strace -o /tmp/dnsmasq.trace -s 256 -tt -p `pidof dnsmasq`

Thanks
Guennadi
---
Guennadi Liakhovetski



More information about the Dnsmasq-discuss mailing list