no free leases

Steven Stromer filter at stevenstromer.com
Tue May 10 17:27:00 UTC 2011


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;
}



+ - + - + - + - + - + - + - + - + - + - + - + - + - +

Steven J. Stromer, SMB IT Consulting
646.373.8866 | filter at stevenstromer.com

The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be advised that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by reply and delete copies in your possession. Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20110510/e2f839bf/attachment.html>


More information about the dhcp-users mailing list