no free leases mystery

Elliot Finley efinleywork at efinley.com
Tue Nov 20 19:44:01 UTC 2007


FreeBSD 6.2-RELEASE-p5 - Internet Systems Consortium DHCP Server
V3.0.5

I had two servers configured in a fail-over pair.  They stopped giving
out leases, even though both the primary and secondary appeared to
have free leases.  So I moved back to a single server thinking the
problem would go away.  But it hasn't. 

I have in my configuration:

shared-network Huntington-Occam-Data {
     default-lease-time 2592000; #30 days
     max-lease-time 2592000;
     min-lease-time 2592000;
     subnet 74.214.239.0 netmask 255.255.255.0 {
          option routers 74.214.239.1;
          pool {
#               failover peer "dhcp-failover";
               deny dynamic bootp clients;
               range 74.214.239.4 74.214.239.254;
          }
     }
     subnet 74.214.253.0 netmask 255.255.255.0 {
          option routers 74.214.253.1;
          pool {
#               failover peer "dhcp-failover";
               deny dynamic bootp clients;
               range 74.214.253.4 74.214.253.254;
          }
     }
}

I have several free leases in one of the ranges, this being one of
them.

lease 74.214.253.136 {
  starts 2 2007/11/20 18:35:19;
  ends 2 2007/11/20 18:37:19;
  binding state free;
  hardware ethernet 00:01:e1:00:59:43;
  uid "\001\000\001\341\000YC";
}

and then I have a client asking for a lease... and the server is
saying it doesn't have any free leases.

Nov 20 12:29:36 dns1 dhcpd: DHCPDISCOVER from 00:30:da:ab:f5:bb via
74.214.239.2: network Huntington-Occam-Data: no free leases
Nov 20 12:29:36 dns1 dhcpd: DHCPDISCOVER from 00:30:da:ab:f5:bb via
74.214.239.3: network Huntington-Occam-Data: no free leases
Nov 20 12:29:38 dns1 dhcpd: DHCPDISCOVER from 00:30:da:ab:f5:bb via
74.214.239.3: network Huntington-Occam-Data: no free leases
Nov 20 12:29:38 dns1 dhcpd: DHCPDISCOVER from 00:30:da:ab:f5:bb via
74.214.239.2: network Huntington-Occam-Data: no free leases

Any ideas/RTFM pointers/etc. would be appreciated.

Thanks,
Elliot


More information about the dhcp-users mailing list