[Dnsmasq-discuss] dnsmasq ignoring some clients

Simon Kelley simon at thekelleys.org.uk
Thu Oct 2 09:26:24 BST 2008


Chris Marget wrote:
> Greetings,
> 
> 
> I've been happily using dnsmasq 2.33 for some time.  It came bundled
> with the openwrt distribution running on my Linksys router.
> 
> Happily, that is, until I started trying to use it to serve some virtual
> servers.  It's still serving up adresses to everything else, but is
> ignoring the requests from my virtual servers.
> 
> Nothing is logged to syslog or to stdout with the -d flag.
> 
> I've compared packet dumps of lots of different clients, and found lots
> of differences between them, so nothing jumps out at me as THE
> difference.
> 
> Following is my dnsmasq.conf, and following that is a sample DHCP
> packet, received on eth0.  Is there something wrong with the request?
> Can I tweak dnsmasq to service this request?
> 
> Thanks very much for any assistance.
> 
> /chris
> 
> ------------- dnsmasq.conf -------------
> domain-needed
> bogus-priv
> filterwin2k
> localise-queries
> 
> local=/lan/
> domain=lan
> expand-hosts
> no-negcache
> resolv-file=/tmp/resolv.conf.auto
> 
> log-queries
> dhcp-authoritative
> dhcp-range=eth0,192.168.1.101,192.168.1.150,255.255.255.0,24h
> dhcp-range=eth2,172.16.1.101,172.16.1.150,255.255.255.0,24h
> dhcp-leasefile=/tmp/dhcp.leases
> 
> dhcp-option=eth0,3,192.168.1.1
> dhcp-option=eth2,3,172.16.1.1
> dhcp-option=eth0,6,192.168.1.1
> dhcp-option=eth2,6,172.16.1.1
> dhcp-option=eth0,42,time.nist.gov
> dhcp-option=eth2,42,time.nist.gov
> 
> read-ethers
> ------------- dnsmasq.conf -------------
> 

>     Option: (t=50,l=4) Requested IP Address = 255.255.255.255
>         Option: (50) Requested IP Address
>         Length: 4
>         Value: FFFFFFFF
                  ^^^^^^^^
The client is asking for IP address 255.255.255.255, that doesn't look 
right at all. A server identifier of 1.2.3.4 looks suspicious too, is 
that the IP address of you DHCP server?

Cheers,

Simon.



More information about the Dnsmasq-discuss mailing list