no free leases error

Justin Odom juodom at gmail.com
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 192.168.1.0 netmask 255.255.255.128 {
        default-lease-time 3600;
        max-lease-time 3600;
        option domain-name "tkezm.org";
        option domain-name-servers 192.168.1.3 192.168.1.3;
        option netbios-name-servers 192.168.1.3 192.168.1.3;
        option routers 192.168.1.1;
        option subnet-mask 255.255.255.128;
        option broadcast-address 192.168.1.127
        pool {
                max-lease-time 3600;
                default-lease-time 3600;
                range 192.168.1.64 192.168.1.123;
                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";
}



TIA

Justin


More information about the dhcp-users mailing list