[Dnsmasq-discuss] OSX client problems? 'Lease not found'

Simon Kelley simon@thekelleys.org.uk
Thu, 03 Feb 2005 11:12:29 +0000


Rory Campbell-Lange wrote:
> Hi
> 
> I'm using dnsmasq on Debian testing, version 2.19
> 
> I'm having problems with some clients not getting a lease. Consequently
> their network connection appears to go up and down.
> 
> Feb  3 10:30:06 hopnet dnsmasq[3331]: DHCPNAK(eth0) 10.0.0.154 00:0a:95:d1:6c:b6 lease not found
> Feb  3 10:30:06 hopnet dnsmasq[3331]: DHCPDISCOVER(eth0) 00:0a:95:d1:6c:b6
> Feb  3 10:30:06 hopnet dnsmasq[3331]: DHCPOFFER(eth0) 10.0.0.154 00:0a:95:d1:6c:b6
> Feb  3 10:30:07 hopnet dnsmasq[3331]: DHCPREQUEST(eth0) 10.0.0.154 00:0a:95:d1:6c:b6
> Feb  3 10:30:07 hopnet dnsmasq[3331]: DHCPACK(eth0) 10.0.0.154 00:0a:95:d1:6c:b6 userb
> Feb  3 10:30:37 hopnet dnsmasq[3331]: DHCPREQUEST(eth0) 10.0.0.154 00:0a:95:d1:6c:b6
> Feb  3 10:30:37 hopnet dnsmasq[3331]: DHCPNAK(eth0) 10.0.0.154 00:0a:95:d1:6c:b6 lease not found
> Feb  3 10:30:37 hopnet dnsmasq[3331]: DHCPDISCOVER(eth0) 00:0a:95:d1:6c:b6
> Feb  3 10:30:37 hopnet dnsmasq[3331]: DHCPOFFER(eth0) 10.0.0.154 00:0a:95:d1:6c:b6
> Feb  3 10:30:38 hopnet dnsmasq[3331]: DHCPREQUEST(eth0) 10.0.0.154 00:0a:95:d1:6c:b6
> Feb  3 10:30:38 hopnet dnsmasq[3331]: DHCPACK(eth0) 10.0.0.154 00:0a:95:d1:6c:b6 userb
> 
> hopnet:/home/rory# arp -n | grep 154
> 10.0.0.154               ether   00:0A:95:D1:6C:B6   C                     eth0
> 
> My dnsmasq.conf file has entries like this:
> 
> dhcp-host=00:0a:95:d1:6c:b6,userb,10.0.0.154,24
> 
> Any ideas how I can get to the bottom of this? Both people suffering
> from the problem are using Titanium powerbooks, running 10.3.7.
> 

The logs don't give enough information to diagnose what's happening: 
would it be possible to install ethereal or tcpdump somewhere on the 
network and capture the complete DHCP packets? Probably best to send the 
dump file direct to me, rather than the list.

My guess would be something to do with inconsistent use of client-ids, 
but I'm bewildered as to why the client is sending another request after 
30 seconds, if the lease time is 24 minutes then it should request a 
renewal after 12 minutes.

Is there anything unusual about the configuration of the Mac clients? I 
just checked with a colleague who uses Macs and dnsmasq and he sees no 
problems.

Cheers,

Simon.