<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<div>We limit each customer, which is uniquely identified with a combination of circuit ID, and remote id, to two IP addresses. <span style="font-size:12pt">Like so:</span></div>
<div><br>
</div>
<div>class "customer" {spawn with concat(option agent.remote-id," interface ",binary-to-ascii(10,8,".",substring(option agent.circuit-id,0,2)));</div>
<div>lease limit 2;}<br>
</div>
<p><br>
</p>
<p>This is reproducible with dhcp 442. There are no other spawn classes. Lease times are 24 hours.<br>
</p>
<p><br>
</p>
<p>Customer has router A, using one IP with mac 11:11:11:11:11:11<br>
</p>
<p>Router A gets disconnected and replaced with Router B.<br>
</p>
<p>Router B gets an IP. This is the 2nd IP with mac 22:22:22:22:22:22<br>
</p>
<p>Router B updates firmware, and reboots. <br>
</p>
<div><br>
</div>
<div>Then we get this over and over...<br>
</div>
<div>DHCPDISCOVER from <span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">
22:22:22:22:2</span><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">2:22</span> via 10.x.x.x: no available billing: lease limit reached in all matching classes (last: 'customer')<br>
</div>
<p><br>
</p>
<p>The clients MAC did not change.<br>
</p>
<p>The clients billing sub-class (concatenated remote id, circuit id) did not change.<br>
</p>
<p><br>
</p>
<p>I've examined the leases file while this is occurring. There is:<br>
</p>
<p>billing subclass "customer" "ShelfXYZ interface 0.0"; </p>
<p>One for Router A's MAC and one for <span style="font-size: 12pt;">Router B's MAC address</span><span style="font-size: 12pt;">.</span></p>
<p><br>
</p>
<p>When we run into this, we have to allow their billing subclass to have a lease limit of 3, temporarily.<br>
</p>
<p><br>
</p>
<p>Re-examining the leases file after allowing a "3rd IP", shows that the client gets the same 2nd IP on the Router B, and the leases file shows the same two billing sub-classes & same MAC addresses.<br>
</p>
<p><br>
</p>
<p>I've tried ignore-client-uids, to no effect. <br>
</p>
<p><br>
</p>
<p>What can I do to allow this Router B, without temporarily allowing a lease limit of "3" ?<br>
</p>
<p><br>
</p>
<p>Also, this behavior is not always reproducible, this is what is especially baffling to me.<br>
</p>
<p><br>
</p>
<p>-Troy<br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div name="divtagdefaultwrapper" style="margin:0px">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; margin:0px">
</div>
</div>
</div>
</div>
</body>
</html>