<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>So, the DISCOVER is not matching any of your classes. Define
another pool to issue<br>
leases from that doesn't match any class:<br>
<font color="#804000"><tt> pool {</tt><tt><br>
</tt><tt> deny members of "RegionX-RGMGMT-CPE-MODELx";</tt><tt><br>
</tt><tt>
deny members of "RegionX-BOOT-CPE-MODELx";</tt><tt><br>
</tt><tt>
deny members of "RegionX-INET";</tt><tt><br>
</tt><tt>
</tt></font></p>
<p><font color="#804000"><tt> deny dynamic bootp clients;</tt><tt><br>
</tt><tt> authoritative;</tt><tt><br>
</tt><tt> range 192.168.xxx.2 192.168.xxx.15;</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt></font><br>
This should issue a lease and trigger your 'on commit' log
statement.<br>
<br>
Bill<br>
</p>
<div class="moz-cite-prefix">On 7/29/2020 12:35 PM, Jason Brooks
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CACsCLkfNgy=8WucvaUEg-=tW_is=_urD2BrmudjMu7VaT=jwKA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I am having trouble relocating and upgrading a number of
dhcp servers. I am upgrading from solaris running dhcpd 3.0.4
to centos 7's dhcp 4.2.5-77. </div>
<div><br>
</div>
<div>The problem: when I test the config on the new dhcp
servers, I get the following error: "No free leases".</div>
<div><br>
</div>
<div>As I am still testing, I have not copied the leases thus it
is not clear why there would be no free leases. <br>
</div>
<div><br>
</div>
<div>As I have no lab equipment to test against, I am
generating similar queries using the <a
href="https://sargandh.wordpress.com/2012/02/23/linux-dhcp-client-simulation-tool/"
moz-do-not-send="true">dhtest </a>tool. I started with a
packet capture on the live dhcp servers and constructed a dhcp
discovery packet based on it. I have also started small, with
the smallest configuration possible that should still work. </div>
<div><br>
</div>
<div>The queries originate from DSL customer premises equipment
(CPE), and are forwarded by a dsl shelf manager. The
relevant fields in the forwarded queries are as follows:<br>
</div>
<div>giaddr: <management ip of dsl shelf> (Please note
this is NOT the ip address facing the CPE)</div>
<div>chaddr: <mac of CPE></div>
<div>option 82.1: circuit id</div>
<div>option 82.2: remote id</div>
<div>option 60: vendor class identifier (only on boot and
management classes)</div>
<div><br>
</div>
<div>The current live system is running 8 pairs of dhcp servers
in different regions. They have been successfully running for
more than 8 years. At last count there are about 440,000
active leases. <br>
</div>
<div><br>
</div>
<div>I am attempting to build a pair of centrally located
servers. I am not trying to do HA yet.</div>
<div><br>
</div>
<div>I am including a sanitized dhcpd.conf file for you to look
at.</div>
<div><br>
</div>
<div>Thank you all for your time!</div>
<div><br>
</div>
<div>--jason</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at <a class="moz-txt-link-freetext" href="https://www.isc.org/contact/">https://www.isc.org/contact/</a> for more information.
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
</pre>
</blockquote>
</body>
</html>