<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Aptos;
        panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
        {font-family:"\@PMingLiU";
        panose-1:2 1 6 1 0 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:10.0pt;
        font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
span.ui-provider
        {mso-style-name:ui-provider;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Darren,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thank you for your kind advice! I have configured ens18 having the ipv6 as 2001:db8:1::1/64 and changed the configuration file as below to add the interface IP. But still having the same error.  <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p>{<o:p></o:p></p>
<p><span style="color:#2B9B62"># DHCPv6 configuration starts on the next line</span><o:p></o:p></p>
<p>"Dhcp6": {<o:p></o:p></p>
<p><span style="color:#2B9B62"># First we set up global values</span><o:p></o:p></p>
<p>    "valid-lifetime": 400,<o:p></o:p></p>
<p>    "renew-timer": 100,<o:p></o:p></p>
<p>    "rebind-timer": 200,<o:p></o:p></p>
<p>    "preferred-lifetime": 300,<o:p></o:p></p>
<p><span style="color:#2B9B62"># Next we set up the interfaces to be used by the server.</span><o:p></o:p></p>
<p>    "interfaces-config": {<o:p></o:p></p>
<p>        "interfaces": <span style="background:yellow;mso-highlight:yellow">[ "ens18/2001:db8:1::1"</span> ]<o:p></o:p></p>
<p>    },<o:p></o:p></p>
<p><span style="color:#2B9B62"># And we specify the type of lease database</span><o:p></o:p></p>
<p>    "lease-database": {<o:p></o:p></p>
<p>        "type": "memfile",<o:p></o:p></p>
<p>        "persist": true,<o:p></o:p></p>
<p>        "name": "/var/lib/kea/dhcp6.leases"<o:p></o:p></p>
<p>    },<o:p></o:p></p>
<p><span style="color:#2B9B62"># Finally, we list the subnets from which we will be leasing addresses.</span><o:p></o:p></p>
<p>    "subnet6": [<o:p></o:p></p>
<p>        {<o:p></o:p></p>
<p>            "id": 1,<o:p></o:p></p>
<p>            "subnet": "2001:db8:1::/64",<o:p></o:p></p>
<p>            "pools": [<o:p></o:p></p>
<p>                {<o:p></o:p></p>
<p>                    "pool": "2001:db8:1::1-2001:db8:1::ffff"<o:p></o:p></p>
<p>                }<o:p></o:p></p>
<p>             ],<o:p></o:p></p>
<p>            <span style="background:yellow;mso-highlight:yellow">"interface-id": "ens18/2001:db8:1::1"</span><o:p></o:p></p>
<p>        }<o:p></o:p></p>
<p>    ]<o:p></o:p></p>
<p><span style="color:#2B9B62"># DHCPv6 configuration ends with the next line</span><o:p></o:p></p>
<p>}<o:p></o:p></p>
<p>}<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Packet information:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span class="ui-provider">Frame 2: 174 bytes on wire (1392 bits), 174 bytes captured (1392 bits)</span><br>
<span class="ui-provider">Ethernet II, Src: 42:f1:11:7a:0d:e7 (42:f1:11:7a:0d:e7), Dst: c6:0b:eb:d1:72:98 (c6:0b:eb:d1:72:98)</span><br>
<span class="ui-provider">Internet Protocol Version 6, Src: fe80::40f1:11ff:fe7a:de7, Dst: fe80::c40b:ebff:fed1:7298</span><br>
<span class="ui-provider">User Datagram Protocol, Src Port: 547, Dst Port: 546</span><br>
<span class="ui-provider">DHCPv6</span><br>
<span class="ui-provider">    Message type: Advertise (2)</span><br>
<span class="ui-provider">    Transaction ID: 0x912c7c</span><br>
<span class="ui-provider">    Client Identifier</span><br>
<span class="ui-provider">        Option: Client Identifier (1)</span><br>
<span class="ui-provider">        Length: 18</span><br>
<span class="ui-provider">        DUID: 0004a33501e38515e1763e47e3b0c5f85510</span><br>
<span class="ui-provider">        DUID Type: Universally Unique IDentifier (UUID) (4)</span><br>
<span class="ui-provider">        UUID: a33501e38515e1763e47e3b0c5f85510</span><br>
<span class="ui-provider">    Server Identifier</span><br>
<span class="ui-provider">        Option: Server Identifier (2)</span><br>
<span class="ui-provider">        Length: 14</span><br>
<span class="ui-provider">        DUID: 000100012d55697d42f1117a0de7</span><br>
<span class="ui-provider">        DUID Type: link-layer address plus time (1)</span><br>
<span class="ui-provider">        Hardware type: Ethernet (1)</span><br>
<span class="ui-provider">        DUID Time: Feb  6, 2024 17:04:45.000000000 EST</span><br>
<span class="ui-provider">        Link-layer address: 42:f1:11:7a:0d:e7</span><br>
<span class="ui-provider">        Link-layer address (Ethernet): 42:f1:11:7a:0d:e7 (42:f1:11:7a:0d:e7)</span><br>
<span class="ui-provider">    Identity Association for Non-temporary Address</span><br>
<span class="ui-provider">        Option: Identity Association for Non-temporary Address (3)</span><br>
<span class="ui-provider">        Length: 64</span><br>
<span class="ui-provider">        IAID: ca53095a</span><br>
<span class="ui-provider">        T1: 0</span><br>
<span class="ui-provider">        T2: 0</span><br>
<span class="ui-provider">        Status code</span><br>
<span class="ui-provider">            Option: Status code (13)</span><br>
<span class="ui-provider">            Length: 48</span><br>
<span class="ui-provider"><b><span style="color:red">            Status Code: NoAddrAvail (2)</span></b></span><b><span style="color:red"><br>
<span class="ui-provider">            Status Message: Server could not select subnet for this client</span></span></b><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Best Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Yu<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">Darren Ankney <darren.ankney@gmail.com><br>
<b>Date: </b>Tuesday, February 13, 2024 at 5:30</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"> </span><span style="font-size:12.0pt;color:black">AM<br>
<b>To: </b>Kea user's list <kea-users@lists.isc.org><br>
<b>Cc: </b>Xiao, Yu (CCI-Atlanta) <yu.xiao@cox.com><br>
<b>Subject: </b>[EXTERNAL] Re: [Kea-users] DHCPv6 not working o PVE LAN<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Yu,<br>
<br>
Without looking too closely, I'd imagine that this subnet:<br>
2001:db8:1::/64 does not exist in your network?  Therefore there is no<br>
way for Kea to select this subnet?  It doesn't look like your traffic<br>
was relayed, so your Kea server would need to find that subnet<br>
configured on a local interface on which it was listening.  Try adding<br>
this subnet to the ens18 interface (this is just a guess, btw).<br>
<br>
Thank you,<br>
Darren Ankney<br>
<br>
On Mon, Feb 12, 2024 at 5:08</span><span style="font-size:11.0pt;font-family:"Arial",sans-serif"> </span><span style="font-size:11.0pt">PM Xiao, Yu (CCI-Atlanta) via Kea-users<br>
<kea-users@lists.isc.org> wrote:<br>
><br>
> Greetings,<br>
><br>
><br>
><br>
> I am working on a home lab as concept design for DHCP ipv6. I have two Rocky 8 VMs under PVE, one is server which installed kea-dhcp6 and the other is the client. I used the dummy configuration in the Kea manual with a few changes on T1 and T2 but the same
 IP information. But I don’t see the client got any IPv6 from the server. I did the packets capture using tcpdump. I can see the solicit and advertise packets, but in the advertise packet, I see status message: Server could not select subnet for this client.<br>
><br>
><br>
><br>
> I did Google and found previous discussions email from this mailer, so I added the interface-id configuration under “subnet6” section. But still, I see the same error message. I have opened the port for DHCPv6 on server side, also there’s IPv4 connectivity
 between the server and the client with static Ips.<br>
><br>
><br>
><br>
> Can anyone provide some insights? Thank you all!<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> Configuration:<br>
><br>
> {<br>
><br>
> # DHCPv6 configuration starts on the next line<br>
><br>
> "Dhcp6": {<br>
><br>
><br>
><br>
> # First we set up global values<br>
><br>
>     "valid-lifetime": 400,<br>
><br>
>     "renew-timer": 100,<br>
><br>
>     "rebind-timer": 200,<br>
><br>
>     "preferred-lifetime": 300,<br>
><br>
><br>
><br>
> # Next we set up the interfaces to be used by the server.<br>
><br>
>     "interfaces-config": {<br>
><br>
>         "interfaces": [ "ens18" ]<br>
><br>
>     },<br>
><br>
><br>
><br>
> # And we specify the type of lease database<br>
><br>
>     "lease-database": {<br>
><br>
>         "type": "memfile",<br>
><br>
>         "persist": true,<br>
><br>
>         "name": "/var/lib/kea/dhcp6.leases"<br>
><br>
>     },<br>
><br>
><br>
><br>
> # Finally, we list the subnets from which we will be leasing addresses.<br>
><br>
>     "subnet6": [<br>
><br>
>         {<br>
><br>
>             "id": 1,<br>
><br>
>             "subnet": "2001:db8:1::/64",<br>
><br>
>             "pools": [<br>
><br>
>                 {<br>
><br>
>                     "pool": "2001:db8:1::1-2001:db8:1::ffff"<br>
><br>
>                 }<br>
><br>
>              ],<br>
><br>
>             "interface-id": "ens18"<br>
><br>
>         }<br>
><br>
>     ]<br>
><br>
> # DHCPv6 configuration ends with the next line<br>
><br>
> }<br>
><br>
><br>
><br>
> }<br>
><br>
><br>
><br>
> Packets capture info:<br>
><br>
> Frame 2: 174 bytes on wire (1392 bits), 174 bytes captured (1392 bits)<br>
><br>
> Ethernet II, Src: 42:f1:11:7a:0d:e7 (42:f1:11:7a:0d:e7), Dst: c6:0b:eb:d1:72:98 (c6:0b:eb:d1:72:98)<br>
><br>
> Internet Protocol Version 6, Src: fe80::40f1:11ff:fe7a:de7, Dst: fe80::c40b:ebff:fed1:7298<br>
><br>
> User Datagram Protocol, Src Port: 547, Dst Port: 546<br>
><br>
> DHCPv6<br>
><br>
>     Message type: Advertise (2)<br>
><br>
>     Transaction ID: 0x2f54ab<br>
><br>
>     Client Identifier<br>
><br>
>     Server Identifier<br>
><br>
>     Identity Association for Non-temporary Address<br>
><br>
>         Option: Identity Association for Non-temporary Address (3)<br>
><br>
>         Length: 64<br>
><br>
>         IAID: ca53095a<br>
><br>
>         T1: 0<br>
><br>
>         T2: 0<br>
><br>
>         Status code<br>
><br>
>             Option: Status code (13)<br>
><br>
>             Length: 48<br>
><br>
>             Status Code: NoAddrAvail (2)<br>
><br>
>             Status Message: Server could not select subnet for this client<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> Best Regards,<br>
><br>
> Yu<br>
><br>
><br>
><br>
> --<br>
> ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://urldefense.com/v3/__https:/www.isc.org/contact/__;!!Hit2Ag!0K9epNzn4CSRmiefT3IafyMmx5i-oIOnK8k2lv3vVeudBBPf90aLwcbxzsvzIxghTHpMNObCcnALoQUpa7LN$">
https://urldefense.com/v3/__https://www.isc.org/contact/__;!!Hit2Ag!0K9epNzn4CSRmiefT3IafyMmx5i-oIOnK8k2lv3vVeudBBPf90aLwcbxzsvzIxghTHpMNObCcnALoQUpa7LN$</a>  for more information.<br>
><br>
> To unsubscribe visit <a href="https://urldefense.com/v3/__https:/lists.isc.org/mailman/listinfo/kea-users__;!!Hit2Ag!0K9epNzn4CSRmiefT3IafyMmx5i-oIOnK8k2lv3vVeudBBPf90aLwcbxzsvzIxghTHpMNObCcnALoX36mEC1$">
https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/kea-users__;!!Hit2Ag!0K9epNzn4CSRmiefT3IafyMmx5i-oIOnK8k2lv3vVeudBBPf90aLwcbxzsvzIxghTHpMNObCcnALoX36mEC1$</a> .<br>
><br>
> Kea-users mailing list<br>
> Kea-users@lists.isc.org<br>
> <a href="https://urldefense.com/v3/__https:/lists.isc.org/mailman/listinfo/kea-users__;!!Hit2Ag!0K9epNzn4CSRmiefT3IafyMmx5i-oIOnK8k2lv3vVeudBBPf90aLwcbxzsvzIxghTHpMNObCcnALoX36mEC1$">
https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/kea-users__;!!Hit2Ag!0K9epNzn4CSRmiefT3IafyMmx5i-oIOnK8k2lv3vVeudBBPf90aLwcbxzsvzIxghTHpMNObCcnALoX36mEC1$</a>
<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</body>
</html>