<div dir="ltr">I did find the solution to my problem here:<div><a href="https://lists.isc.org/pipermail/kea-users/2017-June/001014.html">https://lists.isc.org/pipermail/kea-users/2017-June/001014.html</a></div><div><br></div><div>The interface was missing in the subnet section in the KEA configuration file:</div><div>{<br>  "Dhcp6": {<br>    "interfaces-config": {<br>      "interfaces": [<br>        "enp7s0"<br>      ]<br>    },<br>    "lease-database": {<br>      "type": "memfile",<br>      "persist": true,<br>      "name": "/var/lib/kea/kea-leases6.csv"<br>    },<br>    "valid-lifetime": 28800,<br>//    "option-data": [<br>//      {<br>//        "name": "dns-servers",<br>//        "data": "2001:4860:4860::8888, 2001:4860:4860::8844"<br>//      }<br>//    ],<br>    "subnet6": [<br>      {<br>        "subnet": "fd00:0:0:1::/48",<br>        "interface": "enp7s0",<br>        "pools": [<br>          {<br>            "pool": "fd00:0000:0000:0001::a-fd00:0000:0000:0001::ffff"<br>          }<br>        ]<br>      }<br>    ],<br>    "loggers": [<br>      {<br>        "name": "kea-dhcp6",<br>        "severity": "DEBUG",<br>        "debuglevel": 99,<br>        "output_options": [<br>          {<br>            "output": "/var/log/kea/kea-dhcp6.log",<br>            "maxver": 10<br>          }<br>        ]<br>      },<br>            {<br>        "name": "kea-dhcp6.dhcpsrv",<br>        "severity": "DEBUG",<br>        "debuglevel": 99,<br>        "output_options": [<br>          {<br>            "output": "/var/log/kea/dhcp6-dhcpsrv.log",<br>            "maxver": 10<br>          }<br>        ]<br>      },<br>      {<br>        "name": "kea-dhcp6.leases",<br>        "severity": "DEBUG",<br>        "debuglevel": 99,<br>        "output_options": [<br>          {<br>            "output": "/var/log/kea/dhcp4-leases.log",<br>            "maxver": 10<br>          }<br>        ]<br>      }<br>    ]<br>  }<br>}</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mo., 25. Nov. 2024 um 15:41 Uhr schrieb <<a href="mailto:kea-users-request@lists.isc.org">kea-users-request@lists.isc.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send Kea-users mailing list submissions to<br>
        <a href="mailto:kea-users@lists.isc.org" target="_blank">kea-users@lists.isc.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:kea-users-request@lists.isc.org" target="_blank">kea-users-request@lists.isc.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:kea-users-owner@lists.isc.org" target="_blank">kea-users-owner@lists.isc.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Kea-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Stateful DHCPv6 with KEA and RADVD - subnet<br>
      (Christoph Markert)<br>
   2. Re: Kea-users Digest, Vol 125, Issue 17 (Christoph Markert)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 25 Nov 2024 13:26:54 +1100<br>
From: Christoph Markert <<a href="mailto:maggiv8@gmail.com" target="_blank">maggiv8@gmail.com</a>><br>
To: <a href="mailto:kea-users@lists.isc.org" target="_blank">kea-users@lists.isc.org</a><br>
Subject: Re: [Kea-users] Stateful DHCPv6 with KEA and RADVD - subnet<br>
Message-ID:<br>
        <CAPGgt50-Ho0GYPQPnRTRUcbGrTLXrw7A4MqiMzPZPKOVzyn=<a href="mailto:KQ@mail.gmail.com" target="_blank">KQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Am So., 24. Nov. 2024 um 23:00 Uhr schrieb <<a href="mailto:kea-users-request@lists.isc.org" target="_blank">kea-users-request@lists.isc.org</a><br>
>:<br>
<br>
> Send Kea-users mailing list submissions to<br>
>         <a href="mailto:kea-users@lists.isc.org" target="_blank">kea-users@lists.isc.org</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
>         <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
> or, via email, send a message with subject or body 'help' to<br>
>         <a href="mailto:kea-users-request@lists.isc.org" target="_blank">kea-users-request@lists.isc.org</a><br>
><br>
> You can reach the person managing the list at<br>
>         <a href="mailto:kea-users-owner@lists.isc.org" target="_blank">kea-users-owner@lists.isc.org</a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of Kea-users digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
>    1. Re: Stateful DHCPv6 with KEA and RADVD (Francis Dupont)<br>
><br>
> Hi Francis,<br>
><br>
<br>
Thank you for your response. On the DHCPv6 server side I have added a<br>
static IPv6 to the interface the DHCPv6 server is configured for (i.e.<br>
'enp7s0' has IP 'fd00:0:0:1::3/64' statically assigned to it via 'networkd'<br>
- this interface also gets IP ' fe80::85f4:b665:fd85:3d1e/64' which is used<br>
as link-local address in the router advertisement messages from the DHCPv6<br>
server). In the KEA configuration file I have defined a corresponding<br>
subnet for interface 'enp7s0' as well ' "subnet":<br>
"fd00:0000:0000:0001::/64" '.<br>
Unfortunately I am not sure what you mean with 'Please make the subnet to<br>
serve the interface'? Could you please elaborate a little bit further on<br>
this comment as I thought I am exactly doing that with my current<br>
configuration?<br>
<br>
Thank you so much.<br>
Best,<br>
C<br>
<br>
st<br>
<br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Sun, 24 Nov 2024 09:12:56 +0000<br>
> From: Francis Dupont <<a href="mailto:fdupont@isc.org" target="_blank">fdupont@isc.org</a>><br>
> To: Kea user's list <<a href="mailto:kea-users@lists.isc.org" target="_blank">kea-users@lists.isc.org</a>>, Christoph Markert<br>
>         <<a href="mailto:maggiv8@gmail.com" target="_blank">maggiv8@gmail.com</a>><br>
> Subject: Re: [Kea-users] Stateful DHCPv6 with KEA and RADVD<br>
> Message-ID: <<a href="mailto:20241124091256.E7D4740857@bikeshed.isc.org" target="_blank">20241124091256.E7D4740857@bikeshed.isc.org</a>><br>
> Content-Type: text/plain; charset="us-ascii"<br>
><br>
> Please make the subnet to serve the interface (if directly atached, if you<br>
> have a relay make the subnet to serve the relay). Without this the DHCPv6<br>
> server can't localize (select a subnet in Kea terms) the client.<br>
> BTW it is the same for ISC DHCP and if you have a working config for<br>
> ISC DHCP you can try to translate it to Kea using Keama.<br>
><br>
> Regards<br>
><br>
> Francis Dupont <<a href="mailto:fdupont@isc.org" target="_blank">fdupont@isc.org</a>><br>
><br>
><br>
> ------------------------------<br>
><br>
> Subject: Digest Footer<br>
><br>
> _______________________________________________<br>
><br>
> ISC funds the development of this software with paid support<br>
> subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more<br>
> information.<br>
><br>
> Kea-users mailing list<br>
> <a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
> <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
><br>
><br>
> ------------------------------<br>
><br>
> End of Kea-users Digest, Vol 125, Issue 17<br>
> ******************************************<br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://lists.isc.org/pipermail/kea-users/attachments/20241125/514b3f39/attachment-0001.htm" rel="noreferrer" target="_blank">https://lists.isc.org/pipermail/kea-users/attachments/20241125/514b3f39/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 25 Nov 2024 15:41:10 +1100<br>
From: Christoph Markert <<a href="mailto:maggiv8@gmail.com" target="_blank">maggiv8@gmail.com</a>><br>
To: <a href="mailto:kea-users@lists.isc.org" target="_blank">kea-users@lists.isc.org</a><br>
Subject: Re: [Kea-users] Kea-users Digest, Vol 125, Issue 17<br>
Message-ID:<br>
        <<a href="mailto:CAPGgt51o1yq0fdhvuUhecUopMkBXYz-V4iXRc4u3V7mvsVoKkg@mail.gmail.com" target="_blank">CAPGgt51o1yq0fdhvuUhecUopMkBXYz-V4iXRc4u3V7mvsVoKkg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Francis,<br>
<br>
your analysis seems to be correct. This is the KEA server log:<br>
<br>
2024-11-25 15:32:13.867 DEBUG [kea-dhcp6.packets/8707.139678152782336]<br>
DHCP6_SUBNET_SELECTION_FAILED<br>
duid=[00:04:8a:24:56:28:14:87:48:b1:b0:7d:b7:3c:05:b6:fd:dd], tid=0x70f6ae:<br>
failed to select subnet for the client<br>
2024-11-25 15:32:13.867 DEBUG [kea-dhcp6.dhcp6/8707.139678152782336]<br>
DHCP6_CLASS_ASSIGNED<br>
duid=[00:04:8a:24:56:28:14:87:48:b1:b0:7d:b7:3c:05:b6:fd:dd], tid=0x70f6ae:<br>
client packet has been assigned to the following class(es): UNKNOWN<br>
2024-11-25 15:32:13.867 DEBUG [kea-dhcp6.options/8707.139678152782336]<br>
DHCP6_ADD_STATUS_CODE_FOR_IA<br>
duid=[00:04:8a:24:56:28:14:87:48:b1:b0:7d:b7:3c:05:b6:fd:dd], tid=0x70f6ae:<br>
adding Status Code to IA with iaid=10171796: NoAddrsAvail(2) "Server could<br>
not select subnet for this client"<br>
2024-11-25 15:32:13.867 DEBUG [kea-dhcp6.packets/8707.139678152782336]<br>
DHCP6_PACKET_SEND<br>
duid=[00:04:8a:24:56:28:14:87:48:b1:b0:7d:b7:3c:05:b6:fd:dd], tid=0x70f6ae:<br>
trying to send packet ADVERTISE (type 2) from [ff02::1:2]:547 to<br>
[fe80::5054:ff:fe9b:3594]:546 on interface enp7s0<br>
2024-11-25 15:32:13.867 DEBUG [kea-dhcp6.packets/8707.139678152782336]<br>
DHCP6_RESPONSE_DATA responding with packet type 2 data is<br>
localAddr=[ff02::1:2]:547 remoteAddr=[fe80::5054:ff:fe9b:3594]:546<br>
msgtype=2(ADVERTISE), transid=0x70f6ae<br>
type=00001, len=00018: 00:04:8a:24:56:28:14:87:48:b1:b0:7d:b7:3c:05:b6:fd:dd<br>
type=00002, len=00014: 00:01:00:01:2e:66:39:5e:52:54:00:41:2f:9d<br>
type=00003(IA_NA), len=00064: iaid=10171796, t1=0, t2=0,<br>
options:<br>
  type=00013, len=00048: NoAddrsAvail(2) "Server could not select subnet<br>
for this client"<br>
type=00023, len=00032: 2001:4860:4860::8888 2001:4860:4860::8844<br>
No relays traversed.<br>
<br>
The IPs of interface enp7s are:<br>
enp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP<br>
group default qlen 1000<br>
    link/ether 52:54:00:26:30:9f brd ff:ff:ff:ff:ff:ff<br>
    inet <a href="http://192.168.1.3/24" rel="noreferrer" target="_blank">192.168.1.3/24</a> brd 192.168.1.255 scope global enp7s0<br>
       valid_lft forever preferred_lft forever<br>
    inet <a href="http://192.168.31.130/24" rel="noreferrer" target="_blank">192.168.31.130/24</a> brd 192.168.31.255 scope global dynamic<br>
noprefixroute enp7s0<br>
       valid_lft 43072sec preferred_lft 37672sec<br>
    inet6 fd00:0:0:1::3/64 scope global<br>
       valid_lft forever preferred_lft forever<br>
    inet6 fe80::85f4:b665:fd85:3d1e/64 scope link<br>
       valid_lft forever preferred_lft forever<br>
    inet6 fe80::5054:ff:fe26:309f/64 scope link<br>
       valid_lft forever preferred_lft forever<br>
<br>
<br>
-> It should be in the subnet, shouldn't it?<br>
<br>
However, how do I fix it?<br>
Thank you.<br>
Best,<br>
C.<br>
<br>
<br>
Am So., 24. Nov. 2024 um 23:00 Uhr schrieb <<a href="mailto:kea-users-request@lists.isc.org" target="_blank">kea-users-request@lists.isc.org</a><br>
>:<br>
<br>
> Send Kea-users mailing list submissions to<br>
>         <a href="mailto:kea-users@lists.isc.org" target="_blank">kea-users@lists.isc.org</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
>         <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
> or, via email, send a message with subject or body 'help' to<br>
>         <a href="mailto:kea-users-request@lists.isc.org" target="_blank">kea-users-request@lists.isc.org</a><br>
><br>
> You can reach the person managing the list at<br>
>         <a href="mailto:kea-users-owner@lists.isc.org" target="_blank">kea-users-owner@lists.isc.org</a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of Kea-users digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
>    1. Re: Stateful DHCPv6 with KEA and RADVD (Francis Dupont)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Sun, 24 Nov 2024 09:12:56 +0000<br>
> From: Francis Dupont <<a href="mailto:fdupont@isc.org" target="_blank">fdupont@isc.org</a>><br>
> To: Kea user's list <<a href="mailto:kea-users@lists.isc.org" target="_blank">kea-users@lists.isc.org</a>>, Christoph Markert<br>
>         <<a href="mailto:maggiv8@gmail.com" target="_blank">maggiv8@gmail.com</a>><br>
> Subject: Re: [Kea-users] Stateful DHCPv6 with KEA and RADVD<br>
> Message-ID: <<a href="mailto:20241124091256.E7D4740857@bikeshed.isc.org" target="_blank">20241124091256.E7D4740857@bikeshed.isc.org</a>><br>
> Content-Type: text/plain; charset="us-ascii"<br>
><br>
> Please make the subnet to serve the interface (if directly atached, if you<br>
> have a relay make the subnet to serve the relay). Without this the DHCPv6<br>
> server can't localize (select a subnet in Kea terms) the client.<br>
> BTW it is the same for ISC DHCP and if you have a working config for<br>
> ISC DHCP you can try to translate it to Kea using Keama.<br>
><br>
> Regards<br>
><br>
> Francis Dupont <<a href="mailto:fdupont@isc.org" target="_blank">fdupont@isc.org</a>><br>
><br>
><br>
> ------------------------------<br>
><br>
> Subject: Digest Footer<br>
><br>
> _______________________________________________<br>
><br>
> ISC funds the development of this software with paid support<br>
> subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more<br>
> information.<br>
><br>
> Kea-users mailing list<br>
> <a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
> <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
><br>
><br>
> ------------------------------<br>
><br>
> End of Kea-users Digest, Vol 125, Issue 17<br>
> ******************************************<br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://lists.isc.org/pipermail/kea-users/attachments/20241125/d9ffad35/attachment.htm" rel="noreferrer" target="_blank">https://lists.isc.org/pipermail/kea-users/attachments/20241125/d9ffad35/attachment.htm</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
<br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Kea-users Digest, Vol 125, Issue 18<br>
******************************************<br>
</blockquote></div>