Hi. I see that there was some discussion in distant past of the "no free 
leases" reply when defining a range within a pool, especially when a 
reservation has been defined within that range. I am experiencing this error, 
and would appreciate any help locating the solution. Would prefer not to 
upgrade to never version at the moment, as I am overwhelmed with work, but will 
do so if there was a known resolution to the problem I am experiencing (aside 
from correcting a stupid mistake on my part). Of some note, I found some really 
stale leases in /var/lib/dhcpd/dhcpd.leases, so I deleted the file and 
recreated it with a service restart. That alone didn't fix the problem. Thanks 
for all assistance!


Version:
bind.x86_64  32:9.5.0-29.P2.fc8


# DHCP Server Configuration file.

ddns-update-style interim;
ignore client-updates;
authoritative;

class "department1" {
        match pick-first-value (option dhcp-client-identifier, hardware);
}

class "department2" {
        match pick-first-value (option dhcp-client-identifier, hardware);
}

subclass        "department1"   00:24:a5:b3:e9:e7;
subclass        "department2"   00:24:a5:b5:20:62;

# DEPARTMENT1 SUBNET

subnet 192.168.1.0 netmask 255.255.255.128 {

        option routers                  192.168.1.1;
        option subnet-mask              255.255.255.128;
        option broadcast-address        192.168.1.127;
        option domain-name              "domainname.com";
        option domain-name-servers      192.168.1.4;
        option netbios-name-servers     192.168.1.4;
        option netbios-node-type        8;
        option ntp-servers              us.pool.ntp.org;
        option time-offset              -18000;                                 
        # EST
        default-lease-time              86400;
        max-lease-time                  604800;

        pool {
                allow members of "department1";
                range                   192.168.1.100 192.168.1.125;
        }
        
        # .126 temporarily statically assigned to department2 router

}

# DEPARTMENT2 SUBNET

subnet 192.168.1.128 netmask 255.255.255.128 {
        option routers                  192.168.1.129;
        option subnet-mask              255.255.255.128;
        option broadcast-address        192.168.1.255;
        option domain-name              "domainname2.com";
        option domain-name-servers      192.168.1.4;
        option ntp-servers              us.pool.ntp.org;
        option time-offset              -18000;                                 
        # EST
        default-lease-time              86400;
        max-lease-time                  604800;

        pool {
                allow members of "department2";
                range                                           192.168.1.130 
192.168.1.254;
        }

}


# Gateway Router holds static address 192.168.1.1


host server1 {
        option host-name "server1.domainname.com";
        hardware ethernet 00:e0:4c:77:9f:b1;
        fixed-address 192.168.1.2;
}

_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to