no free leases error

Justin Odom juodom at
Mon Sep 18 06:46:55 UTC 2006

Hello All,

I am currently trying to restrict my dhcp server to registered MAC
addresses only. I am using netreg to manage my dhcp and dns servers.
When i setup the dhcp server to restrict to only listed MAC addresses,
I get a no free leases error. I have included a relevant part of my
dhcpd.conf file below. Can anyone shed any light on this? Maybe I am
missing something from the file?

The mac address is correct, as dynamic dns updates work fine when I
have the pool on allow unknown clients.

# Option Declarations
option authenticate code 210 = string;
option local-printer-cfg code 144 = string;

# Global Options
get-lease-hostnames on;
option netbios-node-type 2;
ddns-update-style interim;
option local-printer-cfg code 144 = text;
authoritative ;
ignore client-updates;
default-lease-time 86400;
max-lease-time 86400;

# Class Declarations
class "tke_dynamic_deny" {
        match hardware;
class "tke_dynamic_reg" {
        match hardware;

# Subnet Declarations
# tke
subnet netmask {
        default-lease-time 3600;
        max-lease-time 3600;
        option domain-name "";
        option domain-name-servers;
        option netbios-name-servers;
        option routers;
        option subnet-mask;
        option broadcast-address
        pool {
                max-lease-time 3600;
                default-lease-time 3600;
                deny dynamic bootp clients;
                allow members of "tke_dynamic_reg";

# Dynamic Hosts
# NetReg Machine ID63
subclass "tke_dynamic_reg" 01:00:0C:F1:34:4E:73 {
        ddns-hostname "SANDWICH";
        option domain-name "TKEZM.ORG";



More information about the dhcp-users mailing list