Reservations only, without a range?

Baird, Josh jbaird at
Tue May 29 15:20:21 UTC 2012


I'm trying to setup a scope that only offers leases to those hosts who have reservations defined.  Therefore, I do not want to specify a "range," as I do not want dhcpd to hand out any leases who don't have reservations.  However, I am getting the "no free leases" error in my logs:

May 29 10:03:42 fc-wrform01 dhcpd: DHCPDISCOVER from 00:50:56:a5:00:1b via eth0: network no free leases

May 29 10:03:44 fc-wrform01 dhcpd: DHCPREQUEST for ( from 00:50:56:a5:00:1b via eth0: unknown lease

My configuration is as follows:


ddns-update-style interim;
omapi-port 7911;
deny unknown-clients;
ignore client-updates;
allow booting;
allow bootp;

subnet netmask {
  option routers;
  option subnet-mask;
  option domain-name    "";
  option domain-name-servers;
  option log-servers    syslog;
  option ntp-servers    ntp;
  default-lease-time 21600;
  max-lease-time 43200;


host {
  hardware ethernet 00:50:56:a5:00:1a;
        supersede server.filename = "pxelinux.0";
        supersede = ac:1a:65:f2;
        supersede host-name = "";

Is this type of configuration possible?



More information about the dhcp-users mailing list