Reservations only, without a range?
glen.neff at emc.com
glen.neff at emc.com
Tue May 29 15:27:06 UTC 2012
I do essentially what you're seeking to do in a scale of tens of thousands of machines, so it's definitely possible.
Two things I see, however:
First of all, the MAC address in your syntax example does not match the log entries you've shared.
Secondly, I don't think you want the 'dynamic;' flag.
-G
/*
* Glen R. J. Neff
* USD Lab Operations Infrastructure Team
* glen.neff at emc.com
*
* EMC^2 == E^2
*/
________________________________________
From: dhcp-users-bounces+glen.neff=emc.com at lists.isc.org [dhcp-users-bounces+glen.neff=emc.com at lists.isc.org] On Behalf Of Baird, Josh [jbaird at follett.com]
Sent: Tuesday, May 29, 2012 11:20 AM
To: dhcp-users at lists.isc.org
Subject: Reservations only, without a range?
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
_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users
More information about the dhcp-users
mailing list