Reservations only, without a range?
Baird, Josh
jbaird at follett.com
Tue May 29 15:20:21 UTC 2012
Hi,
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 172.26.100.0/22: no free leases
May 29 10:03:44 fc-wrform01 dhcpd: DHCPREQUEST for 172.26.100.253 (172.26.101.230) from 00:50:56:a5:00:1b via eth0: unknown lease 172.26.100.253.
My configuration is as follows:
--
ddns-update-style interim;
omapi-port 7911;
deny unknown-clients;
ignore client-updates;
authoritative;
allow booting;
allow bootp;
subnet 172.26.100.0 netmask 255.255.252.0 {
option routers 172.26.100.1;
option subnet-mask 255.255.252.0;
option domain-name "corp.com";
option domain-name-servers 172.26.137.135;
option log-servers syslog;
option ntp-servers ntp;
default-lease-time 21600;
max-lease-time 43200;
}
host buildtest8.corp.com {
dynamic;
hardware ethernet 00:50:56:a5:00:1a;
fixed-address 172.26.100.252;
supersede server.filename = "pxelinux.0";
supersede server.next-server = ac:1a:65:f2;
supersede host-name = "buildtest8.corp.com";
}
Is this type of configuration possible?
Thanks,
Josh
More information about the dhcp-users
mailing list