<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
For people who would encounter the same issue, see <a href="https://gitlab.isc.org/isc-projects/kea/-/issues/2660" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" data-safelink="true" data-linkindex="5" style="font-size:14.6667px;font-family:Calibri, sans-serif;margin:0px;color:rgb(5, 99, 193);text-decoration:underline;background-color:rgb(255, 255, 255)" class="ContentPasted0">https://gitlab.isc.org/isc-projects/kea/-/issues/2660</a> </div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Kea-users <kea-users-bounces@lists.isc.org> on behalf of Veronique Lefebure <veronique.lefebure@cern.ch><br>
<b>Sent:</b> Thursday, January 27, 2022 3:31 PM<br>
<b>To:</b> kea-users@lists.isc.org <kea-users@lists.isc.org><br>
<b>Subject:</b> [Kea-users] KEA sends valid-lifetime = 0</font>
<div> </div>
</div>
<div>
<div class="x_default-style">
<div><br>
</div>
<div class="x_default-style">Hi, </div>
<div class="x_default-style"><br>
</div>
<div class="x_default-style">For the following query: </div>
<div class="x_default-style"><br>
</div>
<div class="x_default-style">16:24:15.730401 IP6 (hlim 1, next-header UDP (17) payload length: 143)
<br>
cs-lab11-kea.dhcpv6-client > ff02::1:2.dhcpv6-server: <br>
[bad udp cksum 0xc2bb -> 0xa8e1!] <br>
<strong>dhcp6 renew</strong> (xid=50bedb </div>
<div class="x_default-style">(client-ID type 4) <br>
(server-ID hwaddr/time type 1 time 692127779 00259074ca68) <br>
(option-request DNS-server DNS-search-list DNS-server DNS-search-list client-ID) <br>
(elapsed-time 0) (Client-FQDN) <br>
(IA_NA IAID:795336567 T1:3600 T2:5400(IA_ADDR xxxx::101:1 pltime:7200 vltime:7500))
</div>
<div class="x_default-style">) <br>
</div>
<div class="x_default-style"><br>
</div>
<div class="x_default-style">I have observed a case where KEA dhcp6 returns the following:
</div>
<div class="x_default-style"><br>
</div>
<div class="x_default-style">16:24:16.359170 IP6 (hlim 64, next-header UDP (17) payload length: 171)
<br>
gateway.dhcpv6-server > cs-lab11-kea.dhcpv6-client: <br>
[udp sum ok] <br>
<strong>dhcp6 reply</strong> (xid=50bedb </div>
<div class="x_default-style">(client-ID type 4) </div>
<div class="x_default-style">(server-ID hwaddr/time type 1 time 692127779 00259074ca68)
</div>
<div class="x_default-style">(IA_NA IAID:795336567 T1:40 T2:100 <br>
<strong>(IA_ADDR xxxx::101:1 pltime:120 vltime:120) </strong><br>
<strong>(IA_ADDR xxxx::101:1 pltime:0 vltime:0))</strong> <br>
(DNS-search-list cern.ch.) (Client-FQDN)) </div>
<div class="x_default-style"><br>
</div>
<div class="x_default-style">Where there are 2 IA_ADDR, the second one having a vltime of 0.
</div>
<div class="x_default-style"><br>
</div>
<div class="x_default-style">Any idea how that can happen ? </div>
<div class="x_default-style"><br>
</div>
<div class="x_default-style">wireshark shows this: </div>
<div class="x_default-style"><br>
</div>
<div class="x_default-style">[...] <br>
Message type: Reply (7) <br>
Transaction ID: 0x52a6e8 <br>
Client Identifier <br>
Server Identifier <br>
Identity Association for Non-temporary Address <br>
Option: Identity Association for Non-temporary Address (3) <br>
Length: 68 <br>
xxx </div>
<div class="x_default-style">IAID: 2f67df77 <br>
T1: 40 <br>
T2: 100 <br>
IA Address <br>
Option: IA Address (5) <br>
Length: 24 <br>
<strong>Value: xxxx10100010000007800000078</strong> <br>
IPv6 address: 2001:1458:202:1d5::101:1 (xxxx::101:1) <br>
Preferred lifetime: 120 <br>
Valid lifetime: 120 <br>
IA Address <br>
Option: IA Address (5) <br>
Length: 24 <br>
<strong>Value: xxxx10100010000000000000000</strong> <br>
IPv6 address: 2001:1458:202:1d5::101:1 (xxxx::101:1) <br>
Preferred lifetime: 0 <br>
Valid lifetime: 0 <br>
Domain Search List <br>
Fully Qualified Domain Name <br>
</div>
<div class="x_default-style"><br>
</div>
<div class="x_default-style">Thanks, </div>
<div class="x_default-style">Veronique </div>
</div>
</div>
</body>
</html>