<div dir="ltr">Your right, I just confirmed that it will stay in an expired state, even after the end date. However, I never said anything about clients not matching a pool. I was able to fix the "no more free leases" error by expanding the pool a bit. But, that is just a band-aid. My concern now is why is the server not doing what it needs to do in order to free up these expired leases to make room for new clients. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 14, 2017 at 12:12 PM, Sten Carlsen <span dir="ltr"><<a href="mailto:stenc@s-carlsen.dk" target="_blank">stenc@s-carlsen.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">I believe those leases will be reused eventually but are kept in this state as long as possible, in the expectation that the previous owner comes back for it.<div><br></div><div>Based on previous discussions of this symptom, I would look for reasons this particular client does not match any pool.</div><div><br><div>
<span class="m_-4474123157943074718Apple-style-span" style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">-- <br></span></font><span style="font-size:11pt"><font face="Courier New">Best regards <br>Sten Carlsen <br><br></font></span></div><div><font class="m_-4474123157943074718Apple-style-span" face="'Courier New'" size="4"><span class="m_-4474123157943074718Apple-style-span" style="font-size:15px"><br></span></font></div><div><span style="font-size:11pt"><font face="Courier New">No improvements come from shouting: <br>"MALE BOVINE MANURE!!!" </font></span></div></span>
</div>
<div><br><blockquote type="cite"><div><div class="h5"><div>On 14 Nov 2017, at 18:07, project722 <<a href="mailto:project722@gmail.com" target="_blank">project722@gmail.com</a>> wrote:</div><br class="m_-4474123157943074718Apple-interchange-newline"></div></div><div><div><div class="h5"><div dir="ltr"><div><div><div>We had an unusual problem last night where the server was not able to give out any more leases from a specific pool. The server logs showed " no more free leases". This is a RHEL 6.7 server running dhcp 4.1.1. <br><br></div>We have scripts that run which look for active leases. In the pool in question we had over 200 available leases but the server was unable to provide them to a client. I dug around in dhcpd.leases and found what I think is the problem. I found a ton of leases in the "expired" state with an end date of 11/6. Which, If I am correct, will never move into it next binding state of free so it can be used because its a date in the past.  <br><br></div>Here is an example of one:<br><br>lease 172.210.141.159 {<br>  starts 2 2017/11/07 11:40:37;<br>  ends 2 2017/11/07 12:10:37;<br>  tstp 2 2017/11/14 11:55:37;<br>  cltt 2 2017/11/07 11:40:37;<br>  binding state expired;<br>  next binding state free;<br><br></div>Am I correct here? If so, what causes this problem and how can I fix it? I have restarted dhcpd, but that does not help. If I were to edit /var/lib/dhcp/dhcpd.leases manually and remove these entries what are some things I should take into consideration?<br></div></div></div>
______________________________<wbr>_________________<br>dhcp-users mailing list<br><a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br><a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/<wbr>listinfo/dhcp-users</a></div></blockquote></div><br></div></div><br>______________________________<wbr>_________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/<wbr>listinfo/dhcp-users</a><br></blockquote></div><br></div>