<div dir="auto">One place where I've seen it most is where you're using a dhcp "relay" and the network the relay is on, doesn't match the subnet you have configured to lease from. <div dir="auto"><br></div><div dir="auto">(i.e. The relay is on <a href="http://10.1.0.0/24">10.1.0.0/24</a> and the subnet configured on dhcpd is <a href="http://10.2.0.0/24">10.2.0.0/24</a>. So, yes, there ARE NO free leases in <a href="http://10.1.0.0/24">10.1.0.0/24</a>, because there really aren't. It's a misleading question, since you'd expect it to complain that you haven't configured <a href="http://10.1.0.0/24">10.1.0.0/24</a>.)</div><div dir="auto"><br></div><div dir="auto">HTH</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 23, 2022, 2:40 PM Alan Batie <<a href="mailto:alan@peak.org">alan@peak.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a small test network and a dhcp server that was working for it <br>
previously, and is currently working for other, similar, production <br>
networks. After bringing the test network back up, the dhcp server is <br>
saying "no free leases" for no apparent reason, and I'm hoping someone <br>
can point me at the problem:<br>
<br>
Config:<br>
<br>
subnet 207.55.34.16 netmask 255.255.255.240 {<br>
option routers 207.55.34.17;<br>
option broadcast-address 207.55.34.31;<br>
option domain-name-servers 69.59.192.61, 69.59.192.62;<br>
<br>
pool {<br>
max-lease-time 300; # 5 minutes for debugging<br>
range 207.55.34.20 207.55.34.28;<br>
}<br>
}<br>
<br>
All the leases are free:<br>
<br>
lease 207.55.34.20 {<br>
starts 3 2021/04/07 16:30:12;<br>
ends 3 2021/04/07 16:35:12;<br>
tsfp 3 2021/04/07 16:37:42;<br>
atsfp 3 2021/04/07 16:37:42;<br>
binding state free;<br>
hardware ethernet 48:77:46:f9:5b:b0;<br>
set vendor-string = "<a href="http://GS4220E.ONT.dslforum.org" rel="noreferrer noreferrer" target="_blank">GS4220E.ONT.dslforum.org</a>";<br>
}<br>
lease 207.55.34.25 {<br>
starts 3 2021/04/07 16:35:22;<br>
ends 3 2021/04/07 16:35:25;<br>
tsfp 3 2021/04/07 16:35:25;<br>
atsfp 3 2021/04/07 16:35:25;<br>
binding state free;<br>
hardware ethernet 48:77:46:f9:5b:b0;<br>
}<br>
lease 207.55.34.26 {<br>
starts 3 2021/04/07 16:36:26;<br>
ends 3 2021/04/07 16:36:29;<br>
tsfp 3 2021/04/07 16:36:29;<br>
atsfp 3 2021/04/07 16:36:29;<br>
binding state free;<br>
hardware ethernet 48:77:46:f9:5b:b0;<br>
}<br>
lease 207.55.34.24 {<br>
starts 4 2022/01/06 22:14:35;<br>
ends 4 2022/01/06 22:19:35;<br>
binding state free;<br>
hardware ethernet d0:76:8f:6f:dc:15;<br>
set vendor-string = "<a href="http://GS4220E.ONT.dslforum.org" rel="noreferrer noreferrer" target="_blank">GS4220E.ONT.dslforum.org</a>";<br>
}<br>
lease 207.55.34.27 {<br>
starts 6 2022/03/12 00:51:18;<br>
ends 6 2022/03/12 00:56:18;<br>
binding state free;<br>
hardware ethernet 48:77:46:f9:5b:b0;<br>
set vendor-string = "<a href="http://GS4220E.ONT.dslforum.org" rel="noreferrer noreferrer" target="_blank">GS4220E.ONT.dslforum.org</a>";<br>
}<br>
<br>
<br>
From the log file:<br>
<br>
Aug 23 14:28:20 dhcp01-u dhcpd[3044108]: DHCPDISCOVER from <br>
f8:85:f9:2b:87:19 via <a href="http://207.55.34.17" rel="noreferrer noreferrer" target="_blank">207.55.34.17</a>: network <a href="http://207.55.34.16/28" rel="noreferrer noreferrer" target="_blank">207.55.34.16/28</a>: no free leases<br>
<br>
<br>
-- <br>
ALAN BATIE<br>
Senior Systems Engineer<br>
541-754-7325<br>
<a href="mailto:alan.batie@peakinternet.com" target="_blank" rel="noreferrer">alan.batie@peakinternet.com</a> <mailto:<a href="mailto:alan.batie@peakinternet.com" target="_blank" rel="noreferrer">alan.batie@peakinternet.com</a>><br>
<a href="http://www.peakinternet.com" rel="noreferrer noreferrer" target="_blank">www.peakinternet.com</a> <<a href="https://www.peakinternet.com" rel="noreferrer noreferrer" target="_blank">https://www.peakinternet.com</a>><br>
<br>
PEAK Internet Logo<br>
Empowering people and improving quality of life.<br>
<br>
-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank" rel="noreferrer">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote></div>