Question regarding lease-limit - isc-dhcp 4.2.4-P1
Philippe Maechler
plcmaechler at gmail.com
Wed Dec 18 15:07:17 UTC 2013
Hi List
How does the isc-dhcp 4.2.4-P1 behave if I set the lease limit to 0?
Is the zero for an infinite lease amount or will this restrict a client
from getting a lease?
A little bit of background information:
I have a class statement like this:
class "Customer_123" {
match if ( option agent.circuit-id = "00:0f:94:13:9e:3c" );
spawn with option agent.circuit-id; lease limit 1;
log ( info, concat ( "Class match: ", binary-to-ascii ( 16, 8, ":",
hardware), " matches Customer123" ) );
}
If I use a lease limit of 1, the server behaves like expected
It will hand out a lease to the first client requesting one and then log
the message below:
DHCPDISCOVER from 64:31:50:7a:1a:f8 via x.x.x.x: no available billing:
lease limit reached in all matching classes
If I set the lease limit to -1 i get a strange error message when
restarting the server:
Internet Systems Consortium DHCP Server 4.2.4-P1
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
no memory for billed leases.
Thanks all,
Philippe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20131218/902af9e0/attachment.html>
More information about the dhcp-users
mailing list