[Dnsmasq-discuss] Dnsmasq on Intel IXP425

Simon Kelley simon at thekelleys.org.uk
Tue Jun 28 15:31:53 BST 2005


Daniel Woithe wrote:
> Hello again, 
>  
> as I wrote in my last mail, I'm trying to use Dnsmasq on an Intel 
> IXDPG425-Platform, which is running with a 2.6.11.2 Kernel, using GCC 
> 3.3.4 and GLIBC 2.3.2.  
>  
> Both funtions, DHCP and DNS-Forwarding doens't really work. 
> When starting Dnsmasq on the IXP and trying to get an IP-adress for the 
> client, the following messages appear: 
>  
> root at ixp425:/etc# dnsmasq -C /etc/dnsmasq.conf -q -K -d 
> dnsmasq: started, version 2.22 cachesize 150 
> dnsmasq: DHCP, IP range 192.168.1.100 -- 192.168.1.200, lease time 2h 
> dnsmasq: read /etc/hosts - 2 addresses 
> dnsmasq: reading /etc/resolv.conf 
> dnsmasq: using nameserver 217.237.151.97#53 
> dnsmasq: DHCPDISCOVER(ath0) 00:0f:3d:ad:42:a3 
> dnsmasq: DHCPOFFER(ath0) 192.168.1.178 00:0f:3d:ad:42:a3 
> dnsmasq: DHCPDISCOVER(ath0) 00:0f:3d:ad:42:a3 
> dnsmasq: DHCPOFFER(ath0) 192.168.1.178 00:0f:3d:ad:42:a3 
>  
> TCPDUMP shows this: 
> 16:34:29.211987 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, 
> Request [|bootp] 
> 16:34:29.352205 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, 
> Request [|bootp] 
> 16:34:29.225510 arp who-has 192.168.1.178 tell 192.168.1.1 
> 16:34:30.225487 arp who-has 192.168.1.178 tell 192.168.1.1 
> 16:34:31.225504 arp who-has 192.168.1.178 tell 192.168.1.1 
Good to here:
> 16:34:32.216007 00:0b:6b:33:0a:6e null > 00:0f:3d:ad:42:a3 sap 45 I 
> (s=0,r=0,C) len=326 
Hmm, this looks like it's the DHCP offer packet, (the sequence is right, 
  the length is right, the destination is right) but tcpdump isn't even 
recognising it as an IP packet, so something's very wrong. Maybe there's 
a byte-order problem.

>  
> When using ICS DHCPD instead of Dnsmasq, everything works fine. 
>  
> The DNS-Function in Dnsmasq doesn't even react on incoming packages...a 
> dig at server shows a timeout (the domain and bootps-ports are running on 
> server). 

If you turn on DNS query logging, does it log the queries?

>  
> Hopefully, someone can help me to solve these problems... 

Please could you mail me (simon at thekelleys.org.uk) the complete binary 
packet dump from tcpdump? I guess that a quick ethereal run will show up 
the DHCP problem quite quickly.


Cheers,

Simon.




More information about the Dnsmasq-discuss mailing list