dhcpd: Lease with bogus binding state: 257

Andy Green fedora at warmcat.com
Fri Jan 7 12:55:12 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Folks -

Running dhcpd just for my wireless network.  It has been working okay, 
although it seemed slow to deliver an IP.  Today it is not working at all, I 
look in the /var/log/messages, and I see

Jan  7 12:35:47 backup dhcpd: DHCPDISCOVER from 00:10:c6:41:d4:d6 via wlan0: 
network 10.0.0.0/24: no free leases

This is mighty surprising since it has many IPs to allocate /etc/dhcpd.conf 
and just one client right now:

            ddns-update-style ad-hoc;

            subnet 10.0.0.0 netmask 255.255.255.0 {
              range 10.0.0.21 10.0.0.253;
              option subnet-mask 255.255.255.0;
              option broadcast-address 10.0.0.255;
              option routers 10.0.0.10;
              option domain-name-servers 192.168.0.1;
              option domain-name "home.warmcat.com";
            }

Oh well, maybe I have a couple of hundred hackers parked outside.  So I 
restart dhcpd, but I am surprised to see

service dhcpd restart
Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Shutting down dhcpd:                                       [  OK  ]
Starting dhcpd: Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Lease with bogus binding state: 257
Lease with bogus binding state: 257
... (continues for every lease in range) ...
Lease with bogus binding state: 257
Wrote 0 leases to leases file.
Listening on LPF/wlan0/00:02:72:03:0e:e1/10.0.0.0/24
Sending on   LPF/wlan0/00:02:72:03:0e:e1/10.0.0.0/24

No subnet declaration for eth0 (192.168.0.30).
** Ignoring requests on eth0.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface eth0 is attached. **

Sending on   Socket/fallback/fallback-net
                                                           [  OK  ]

The warning is actually okay, I only want to serve leases on wlan0 from this 
machine, not eth0.  Okay, maybe there is junk in the leases file, but I go 
to /var/lib/dhcp/dhcpd.leases and it just has the default comment in it.  I 
move even that to a new filename so there is no lease file and the behaviour 
is the same on service restart.

Google shows another guy on FC3 saw the same thing, but it is not useful for a 
result,  I tried Bugzilla and I did not find anything there, but many times I 
failed to find something there that is there.

Any ideas?

- -Andy

- -- 
http://www.addintelligence.co.uk -- we design custom hardware and software for 
your products 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFB3oa1jKeDCxMJCTIRAv6BAKCYM4Pnu3iSKlXSEGYjz11WwqVe7wCfaxNa
VFSdZ0gqw1qSdiojx0A2Gfs=
=u9xJ
-----END PGP SIGNATURE-----




More information about the test mailing list