<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;}
.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">Thank you, Darren! Let me try it.
<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"><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">Kea-users <kea-users-bounces@lists.isc.org> on behalf of Darren Ankney <darren.ankney@gmail.com><br>
<b>Date: </b>Wednesday, February 14, 2024 at 7:16</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>Subject: </b>Re: [Kea-users] [EXTERNAL] Re: 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>
This simple configuration:<br>
<br>
{<br>
  "Dhcp6": {<br>
    "subnet6": [<br>
      {<br>
        "subnet": "fd74:5656:15e2:10::/64",<br>
        "id": 1,<br>
        "interface": "ens256",<br>
        "pools": [<br>
          {<br>
            "pool": "fd74:5656:15e2:10::200 - fd74:5656:15e2:10::9999"<br>
          }<br>
        ]<br>
      }<br>
    ]<br>
  }<br>
}<br>
<br>
runs just fine on my test server.  No syntax error.  Can you provide<br>
the syntax error you received?<br>
<br>
Thank you,<br>
Darren Ankney<br>
<br>
On Tue, Feb 13, 2024 at 2:40</span><span style="font-size:11.0pt;font-family:"Arial",sans-serif"> </span><span style="font-size:11.0pt">PM Xiao, Yu (CCI-Atlanta) <yu.xiao@cox.com> wrote:<br>
><br>
> So I re-read the 9.2.18 IPv6 Subnet Selection section again, it mentioned specifically how to configure for  LAN lease, but it mentioned the interface parameter, however, during my test, this parameter is not working and I have to use the parameter “interface-id”
 in order to make the kea process running. I am wondering if there’s a documentation bug here and something else is preventing the LAN DHCP use.<br>
><br>
><br>
><br>
> I am wondering if anyone from ISC can help explain this further, thank you!<br>
><br>
><br>
><br>
> “<br>
><br>
> the DHCPv6 server must be able to operate while only using link-local addresses. Therefore, an optional interface parameter is available within a subnet definition to designate that a given subnet is local, i.e. reachable directly over the specified interface.
 For example, a server that is intended to serve a local subnet over eth0 may be configured as follows:<br>
><br>
> "Dhcp6": {<br>
><br>
>     "subnet6": [<br>
><br>
>         {<br>
><br>
>             "id": 1,<br>
><br>
>             "subnet": "2001:db8:beef::/48",<br>
><br>
>             "pools": [<br>
><br>
>                  {<br>
><br>
>                      "pool": "2001:db8:beef::/48"<br>
><br>
>                  }<br>
><br>
>              ],<br>
><br>
>             "interface": "eth0"<br>
><br>
>         }<br>
><br>
>     ],<br>
><br>
>     ...<br>
><br>
> }<br>
><br>
><br>
><br>
> “<br>
><br>
><br>
><br>
><br>
><br>
> Best Regards,<br>
><br>
> Yu<br>
><br>
><br>
><br>
><br>
><br>
> From: Kea-users <kea-users-bounces@lists.isc.org> on behalf of Xiao, Yu (CCI-Atlanta) via Kea-users <kea-users@lists.isc.org><br>
> Date: Tuesday, February 13, 2024 at 1:44</span><span style="font-size:11.0pt;font-family:"Arial",sans-serif"> </span><span style="font-size:11.0pt">PM<br>
> To: Darren Ankney <darren.ankney@gmail.com>, Kea user's list <kea-users@lists.isc.org><br>
> Cc: Xiao, Yu (CCI-Atlanta) <yu.xiao@cox.com><br>
> Subject: Re: [Kea-users] [EXTERNAL] Re: DHCPv6 not working o PVE LAN<br>
><br>
> Hi Darren,<br>
><br>
><br>
><br>
> 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.<br>
><br>
><br>
><br>
> {<br>
><br>
> # DHCPv6 configuration starts on the next line<br>
><br>
> "Dhcp6": {<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>
> # Next we set up the interfaces to be used by the server.<br>
><br>
>     "interfaces-config": {<br>
><br>
>         "interfaces": [ "ens18/2001:db8:1::1" ]<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>
> # 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/2001:db8:1::1"<br>
><br>
>         }<br>
><br>
>     ]<br>
><br>
> # DHCPv6 configuration ends with the next line<br>
><br>
> }<br>
><br>
> }<br>
><br>
> Packet information:<br>
><br>
><br>
><br>
> Frame 2: 174 bytes on wire (1392 bits), 174 bytes captured (1392 bits)<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>
> Internet Protocol Version 6, Src: fe80::40f1:11ff:fe7a:de7, Dst: fe80::c40b:ebff:fed1:7298<br>
> User Datagram Protocol, Src Port: 547, Dst Port: 546<br>
> DHCPv6<br>
>     Message type: Advertise (2)<br>
>     Transaction ID: 0x912c7c<br>
>     Client Identifier<br>
>         Option: Client Identifier (1)<br>
>         Length: 18<br>
>         DUID: 0004a33501e38515e1763e47e3b0c5f85510<br>
>         DUID Type: Universally Unique IDentifier (UUID) (4)<br>
>         UUID: a33501e38515e1763e47e3b0c5f85510<br>
>     Server Identifier<br>
>         Option: Server Identifier (2)<br>
>         Length: 14<br>
>         DUID: 000100012d55697d42f1117a0de7<br>
>         DUID Type: link-layer address plus time (1)<br>
>         Hardware type: Ethernet (1)<br>
>         DUID Time: Feb  6, 2024 17:04:45.000000000 EST<br>
>         Link-layer address: 42:f1:11:7a:0d:e7<br>
>         Link-layer address (Ethernet): 42:f1:11:7a:0d:e7 (42:f1:11:7a:0d:e7)<br>
>     Identity Association for Non-temporary Address<br>
>         Option: Identity Association for Non-temporary Address (3)<br>
>         Length: 64<br>
>         IAID: ca53095a<br>
>         T1: 0<br>
>         T2: 0<br>
>         Status code<br>
>             Option: Status code (13)<br>
>             Length: 48<br>
>             Status Code: NoAddrAvail (2)<br>
>             Status Message: Server could not select subnet for this client<br>
><br>
><br>
><br>
><br>
><br>
> Best Regards,<br>
><br>
> Yu<br>
><br>
><br>
><br>
><br>
><br>
> From: Darren Ankney <darren.ankney@gmail.com><br>
> Date: Tuesday, February 13, 2024 at 5:30</span><span style="font-size:11.0pt;font-family:"Arial",sans-serif"> </span><span style="font-size:11.0pt">AM<br>
> To: Kea user's list <kea-users@lists.isc.org><br>
> Cc: Xiao, Yu (CCI-Atlanta) <yu.xiao@cox.com><br>
> Subject: [EXTERNAL] Re: [Kea-users] DHCPv6 not working o PVE LAN<br>
><br>
> 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><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!zkrmCsvrB-GgI06vZqwS-vkiJUWNyIWsV7bLyo43q9ZofxW4uD2iBZxEESSt-ra82s_bsrQ8vAX7G0klG9y_$">
https://urldefense.com/v3/__https://www.isc.org/contact/__;!!Hit2Ag!zkrmCsvrB-GgI06vZqwS-vkiJUWNyIWsV7bLyo43q9ZofxW4uD2iBZxEESSt-ra82s_bsrQ8vAX7G0klG9y_$</a>  for more information.<br>
<br>
To unsubscribe visit <a href="https://urldefense.com/v3/__https:/lists.isc.org/mailman/listinfo/kea-users__;!!Hit2Ag!zkrmCsvrB-GgI06vZqwS-vkiJUWNyIWsV7bLyo43q9ZofxW4uD2iBZxEESSt-ra82s_bsrQ8vAX7G9xFm7DR$">
https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/kea-users__;!!Hit2Ag!zkrmCsvrB-GgI06vZqwS-vkiJUWNyIWsV7bLyo43q9ZofxW4uD2iBZxEESSt-ra82s_bsrQ8vAX7G9xFm7DR$</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!zkrmCsvrB-GgI06vZqwS-vkiJUWNyIWsV7bLyo43q9ZofxW4uD2iBZxEESSt-ra82s_bsrQ8vAX7G9xFm7DR$">https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/kea-users__;!!Hit2Ag!zkrmCsvrB-GgI06vZqwS-vkiJUWNyIWsV7bLyo43q9ZofxW4uD2iBZxEESSt-ra82s_bsrQ8vAX7G9xFm7DR$</a>
<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</body>
</html>