<div dir="ltr"><div><div><div><div><div>Hi List<br><br></div>How does the isc-dhcp 4.2.4-P1 behave if I set the lease limit to 0?<br><br>Is the zero for an infinite lease amount or will this restrict a client from getting a lease?<br>
<br>A little bit of background information:<br>I have a class statement like this:<br><br><span style="font-family:courier new,monospace">class "Customer_123"     { <br>  match if ( option agent.circuit-id = "00:0f:94:13:9e:3c" ); <br>
  spawn with option agent.circuit-id; lease limit 1; <br>  log ( info, concat ( "Class match: ", binary-to-ascii ( 16, 8, ":", hardware), " matches Customer123" ) );<br>}</span><br><br><br></div>
If I use a lease limit of 1, the server behaves like expected<br>It will hand out a lease to the first client requesting one and then log the message below:<br><span style="font-family:courier new,monospace">DHCPDISCOVER from 64:31:50:7a:1a:f8 via x.x.x.x: no available billing: lease limit reached in all matching classes</span><br>
<br></div>If I set the lease limit to -1 i get a strange error message when restarting the server:<br><br><span style="font-family:courier new,monospace">Internet Systems Consortium DHCP Server 4.2.4-P1<br>Copyright 2004-2012 Internet Systems Consortium.<br>
All rights reserved.<br>For info, please visit <a href="https://www.isc.org/software/dhcp/">https://www.isc.org/software/dhcp/</a><br>no memory for billed leases.</span><br><br><br></div>Thanks all,<br><br></div>Philippe<br>
<br></div>