<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="text-align: left; text-indent: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hi all, <br>
<br>
I'm trying to understand these results from the lease6-get command. Particularly, why the "state" is "0" (assigned) if the cltt + valid-lft is well in the past? Any relation to the LFC process? </div>
<div style="text-align: left; text-indent: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="text-align: left; text-indent: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
My logs show a couple of "ALLOC_ENGINE_V6_LEASES_RECLAMATION_SLOW" events, but all before the cltt in the example bellow. </div>
<div style="text-align: left; text-indent: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
<br>
</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
root@dhcp-server:~# echo '{ "command": "lease6-get", "arguments": { "ip-address": "2001:db8:1234:5678::1" } }' | socat UNIX:/run/kea/kea6-ctrl-socket -,ignoreeof | jq .</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
{</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
 "arguments": {</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
   "cltt": 1768575433,</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
   "duid": "00:03:00:01:aa:bb:cc:dd:ee:ff",</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
   "fqdn-fwd": false,</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
   "fqdn-rev": false,</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
   "hostname": "",</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
   "hw-address": "aa:bb:cc:dd:ee:ff",</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
   "iaid": 0,</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
   "ip-address": "2001:db8:1234:5678::1",</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
   "preferred-lft": 28800,</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
   "state": 0,</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
   "subnet-id": 123456789,</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
   "type": "IA_NA",</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
   "user-context": {</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
     "ISC": {</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
       "relay-info": [</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
         {</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
           "hop": 0,</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
           "link": "2001:db8:1234:5678::3",</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
           "options": "0x0035001F00020000XXXX00000000000000000000000000000000000000000000004F0008000100000000000000",</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
           "peer": "fe80::1111:2222:3333:4444",</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
           "relay-id": "00020000XXXX00000000000000000000000000000000000000000000"</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
         }</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
       ]</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
     }</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
   },</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
   "valid-lft": 43200</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
 },</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
 "result": 0,</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
 "text": "IPv6 lease found."</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="font-family: "Courier New", monospace;">} </span>The timers and reclaim numbers are:
</div>
<div style="line-height: 18px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
"expired-leases-processing": {</div>
<div style="line-height: 18px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
"reclaim-timer-wait-time": 3600,</div>
<div style="line-height: 18px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
"hold-reclaimed-time": 172800,</div>
<div style="line-height: 18px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
"max-reclaim-leases": 500,</div>
<div style="line-height: 18px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
"max-reclaim-time": 250,</div>
<div style="line-height: 18px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
"unwarned-reclaim-cycles": 10</div>
<div style="line-height: 18px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
},</div>
<div style="line-height: 18px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
"valid-lifetime": 43200,</div>
<div style="line-height: 18px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
"preferred-lifetime": 28800,</div>
<div style="line-height: 18px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
"renew-timer": 14400,</div>
<div style="line-height: 18px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
"rebind-timer": 23040,</div>
<div style="line-height: 18px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
"cache-threshold": .30,</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
</div>
<div style="text-align: left; text-indent: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="text-align: left; text-indent: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Any info is appreciated.</div>
<div style="text-align: left; text-indent: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="text-align: left; text-indent: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks, <br>
Diogo</div>
<div style="text-align: left; text-indent: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
</body>
</html>