<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">Hi Jan,<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">“</span><span style="font-size:11.0pt">As I said, Kea and rest of the computers/clients are in the same network.</span><span style="font-size:11.0pt">”, are they on different VMs of the same hypervisor? If
so, you may need to have a Virtual Router and then you will need to advertise the network using the vRouter, thus the clients know the routes to the V6 server.
<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 Jan Jurko via Kea-users <kea-users@lists.isc.org><br>
<b>Date: </b>Sunday, August 18, 2024 at 7:03</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>Jan Jurko <jan@jurko.cz><br>
<b>Subject: </b>[EXTERNAL] Re: [Kea-users] Kea dhcp6 clients do not get IPs<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Hello Darren.<br>
Thank you for your reply.<br>
<br>
Kea and client are both on the same hypervizor, other clients are on the same network in the building so there should not be a problem with some fw etc.<br>
<br>
I’ve enabled windows logs for dhcp and here they are:<br>
<br>
1.<br>
Information<br>
Solicit is sent from the interface 4. Status code is 0x0<br>
<br>
2.<br>
Error<br>
Message is invalid and it is discarded.<br>
<br>
3.<br>
Error<br>
Your computer was not assigned an address from the network (by the DHCP server) for the Network Card with network address XXXX. The following error occured: 0x138E. Your computer will continue to try and obtain an address on its own from the network address
(DHCP) server.<br>
<br>
<br>
There is no firewall on the clients.<br>
<br>
As I said, Kea and rest of the computers/clients are in the same network.<br>
<br>
I’ve tried to create the small configuration - no reservations, only pool of addresses - the same bad result.<br>
<br>
Thank you very much for your help.<br>
<br>
Jan<br>
<br>
<br>
> 18.</span><span style="font-size:11.0pt;font-family:"Arial",sans-serif"> </span><span style="font-size:11.0pt">8.</span><span style="font-size:11.0pt;font-family:"Arial",sans-serif"> </span><span style="font-size:11.0pt">2024 v 12:36, Darren Ankney <darren.ankney@gmail.com>:<br>
> <br>
> Hi Jan,<br>
> <br>
> From the log messages you have shown, it appears that Kea is<br>
> attempting to advertise some address to a client with DUID:<br>
> 00:01:00:01:2e:52:af:30:52:54:00:f4:c2:d7 The client should next<br>
> request this address but that isn't shown in your logs. The client<br>
> must not like something about the advertisement or is not receiving<br>
> the advertisement. It would be difficult to help without more<br>
> information. Is this traffic relayed or do the client and server<br>
> exist on the same physical network? Have you looked in the client<br>
> logs (if exist) to see what it thinks is happening? You might try<br>
> adding a small pool to the subnet to see what happens (i.e., does the<br>
> client get an address, though I doubt that would be the case).<br>
> <br>
> Thank you,<br>
> Darren Ankney<br>
> <br>
> On Sun, Aug 18, 2024 at 5:03</span><span style="font-size:11.0pt;font-family:"Arial",sans-serif"> </span><span style="font-size:11.0pt">AM Jan Jurko via Kea-users<br>
> <kea-users@lists.isc.org> wrote:<br>
>> <br>
>> Good day.<br>
>> I have Kea 2.6.1 installed. I use v4 and v6 dhcp server. V4 works fine but v6 does not give clients IPv6 addresses. The setup is:<br>
>> <br>
>> HW router with ipv6 enabled, RA enabled, M flag present. I do not use O flag because in the dualstack dns servers are on v4 addresses. So I just want to distribute ipv6 addresses from dhcp server to clients. I use hw-address to distribute addresses but I
tried DUID as well.<br>
>> <br>
>> I can see in the Kea logs this output:<br>
>> <br>
>> 2024-08-18 10:44:32.959 INFO [kea-dhcp6.dhcp6/3542.140690709083840] DHCP6_QUERY_LABEL received query: duid=[00:01:00:01:2e:52:af:30:52:54:00:f4:c2:d7], [no hwaddr info], tid=0xbea948<br>
>> 2024-08-18 10:44:32.959 INFO [kea-dhcp6.packets/3542.140690709083840] DHCP6_PACKET_RECEIVED duid=[00:01:00:01:2e:52:af:30:52:54:00:f4:c2:d7], [no hwaddr info], tid=0xbea948: SOLICIT (type 1) received from fe80::54a0:da31:647a:debc to ff02::1:2 on interface
ens3<br>
>> 2024-08-18 10:44:32.959 INFO [kea-dhcp6.packets/3542.140690709083840] DHCP6_PACKET_SEND duid=[00:01:00:01:2e:52:af:30:52:54:00:f4:c2:d7], [no hwaddr info], tid=0xbea948: trying to send packet ADVERTISE (type 2) from [ff02::1:2]:547 to [fe80::54a0:da31:647a:debc]:546
on interface ens3<br>
>> 2024-08-18 10:44:33.957 INFO [kea-dhcp6.dhcp6/3542.140690717476544] DHCP6_QUERY_LABEL received query: duid=[00:01:00:01:2e:52:af:30:52:54:00:f4:c2:d7], [no hwaddr info], tid=0xbea948<br>
>> 2024-08-18 10:44:33.958 INFO [kea-dhcp6.packets/3542.140690717476544] DHCP6_PACKET_RECEIVED duid=[00:01:00:01:2e:52:af:30:52:54:00:f4:c2:d7], [no hwaddr info], tid=0xbea948: SOLICIT (type 1) received from fe80::54a0:da31:647a:debc to ff02::1:2 on interface
ens3<br>
>> 2024-08-18 10:44:33.958 INFO [kea-dhcp6.packets/3542.140690717476544] DHCP6_PACKET_SEND duid=[00:01:00:01:2e:52:af:30:52:54:00:f4:c2:d7], [no hwaddr info], tid=0xbea948: trying to send packet ADVERTISE (type 2) from [ff02::1:2]:547 to [fe80::54a0:da31:647a:debc]:546
on interface ens3<br>
>> 2024-08-18 10:44:33.959 INFO [kea-dhcp6.dhcp6/3542.140690709083840] DHCP6_QUERY_LABEL received query: duid=[00:01:00:01:2e:52:af:30:52:54:00:f4:c2:d7], [no hwaddr info], tid=0xbea948<br>
>> 2024-08-18 10:44:33.959 INFO [kea-dhcp6.packets/3542.140690709083840] DHCP6_PACKET_RECEIVED duid=[00:01:00:01:2e:52:af:30:52:54:00:f4:c2:d7], [no hwaddr info], tid=0xbea948: SOLICIT (type 1) received from fe80::54a0:da31:647a:debc to ff02::1:2 on interface
ens3<br>
>> 2024-08-18 10:44:33.960 INFO [kea-dhcp6.packets/3542.140690709083840] DHCP6_PACKET_SEND duid=[00:01:00:01:2e:52:af:30:52:54:00:f4:c2:d7], [no hwaddr info], tid=0xbea948: trying to send packet ADVERTISE (type 2) from [ff02::1:2]:547 to [fe80::54a0:da31:647a:de<br>
>> <br>
>> <br>
>> I’ve used the old ISC dhcp server but I want to migrace to Kea because the old ISC dhcp server is obsolette.<br>
>> <br>
>> Configuration file looks like this (it is truncated because there are more than 200 records):<br>
>> <br>
>> <br>
>> <br>
>> {<br>
>> # /etc/dhcpd6.conf<br>
>> #<br>
>> # Sample DHCPv6 configuration file for ISC dhcpd<br>
>> #<br>
>> # *** PLEASE CONFIGURE IT FIRST ***<br>
>> #<br>
>> # Don't forget to set the DHCPD6_INTERFACE in the<br>
>> # /etc/sysconfig/dhcpd file.<br>
>> #<br>
>> /// This configuration declares some subnets but has no interfaces-config<br>
>> /// Reference Kea #245<br>
>> "Dhcp6": {<br>
>> "control-socket": {<br>
>> "socket-type": "unix",<br>
>> "socket-name": "/tmp/kea6-ctrl-socket"<br>
>> },<br>
>> "mac-sources": [<br>
>> "any"<br>
>> ],<br>
>> "loggers": [<br>
>> {<br>
>> "name": "kea-dhcp6",<br>
>> "severity": "DEBUG",<br>
>> "output_options": [<br>
>> {<br>
>> "output": "/var/log/kea/dhcp6.log",<br>
>> "maxver": 10<br>
>> }<br>
>> ]<br>
>> },<br>
>> {<br>
>> "name": "kea-dhcp6.dhcpsrv",<br>
>> "severity": "DEBUG",<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>
>> "output_options": [<br>
>> {<br>
>> "output": "/var/log/kea/dhcp6-leases.log",<br>
>> "maxver": 10<br>
>> }<br>
>> ]<br>
>> }<br>
>> ],<br>
>> "interfaces-config": {<br>
>> "interfaces": [ "ens3" ]<br>
>> },<br>
>> "subnet6": [<br>
>> {<br>
>> "id": 1,<br>
>> "subnet": „2001:XXX:XXX:0::/64",<br>
>> "reservations": [<br>
>> {<br>
>> "hostname": „XXX",<br>
>> "hw-address": "08:8f:c3:f5:ab:49",<br>
>> "ip-addresses": [<br>
>> „2001:XXX:XXX:0:192:168:1:75"<br>
>> ]<br>
>> },<br>
>> {<br>
>> "hostname": „AAAAA",<br>
>> "hw-address": "08:97:98:d7:c5:d0",<br>
>> "ip-addresses": [<br>
>> „2001:XXX:XXX:0:192:168:0:169"<br>
>> ]<br>
>> }<br>
>> ]<br>
>> }<br>
>> ]<br>
>> }<br>
>> }<br>
>> <br>
>> Thank you for your help. I’ve spent more than 10 hours debugging this problem, but still no luck.<br>
>> <br>
>> Jan<br>
>> --<br>
>> ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://www.isc.org/contact/">https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.isc.org%2Fcontact%2F&data=05%7C02%7Cyu.xiao%40cox.com%7C3420a2fe7e184acca34b08dcbf75682b%7C9feebc97ff0442c9a152767073872118%7C1%7C0%7C638595758191679518%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=9BgkFZi%2F9epTu55hHPopX8nQcHaIqcl01lVukvT4aNA%3D&reserved=0</a>
for more information.<br>
>> <br>
>> To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users">
https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C02%7Cyu.xiao%40cox.com%7C3420a2fe7e184acca34b08dcbf75682b%7C9feebc97ff0442c9a152767073872118%7C1%7C0%7C638595758191688069%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=BnvgjgtPpH%2FSU287tdk18aJZkJo2l%2BNi%2FetZ1ntuTk8%3D&reserved=0</a>.<br>
>> <br>
>> Kea-users mailing list<br>
>> Kea-users@lists.isc.org<br>
>> <a href="https://lists.isc.org/mailman/listinfo/kea-users">https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C02%7Cyu.xiao%40cox.com%7C3420a2fe7e184acca34b08dcbf75682b%7C9feebc97ff0442c9a152767073872118%7C1%7C0%7C638595758191694420%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=77MgdZymIhCmkeqPQC3A6%2BBzNwz2G8dbiYwoge77tP0%3D&reserved=0</a><br>
> -- <br>
> ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://www.isc.org/contact/">https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.isc.org%2Fcontact%2F&data=05%7C02%7Cyu.xiao%40cox.com%7C3420a2fe7e184acca34b08dcbf75682b%7C9feebc97ff0442c9a152767073872118%7C1%7C0%7C638595758191699255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=u6PS82Lo5AG%2B2WNo%2FPWsyGZkE151sVgp4iql9avwxe0%3D&reserved=0</a>
for more information.<br>
> <br>
> To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users">
https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C02%7Cyu.xiao%40cox.com%7C3420a2fe7e184acca34b08dcbf75682b%7C9feebc97ff0442c9a152767073872118%7C1%7C0%7C638595758191703628%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=gZS5oyt5wWVHU5YTLa7egtCrQcrgfCIjeSDjgMThZ8A%3D&reserved=0</a>.<br>
> <br>
> Kea-users mailing list<br>
> Kea-users@lists.isc.org<br>
> <a href="https://lists.isc.org/mailman/listinfo/kea-users">https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C02%7Cyu.xiao%40cox.com%7C3420a2fe7e184acca34b08dcbf75682b%7C9feebc97ff0442c9a152767073872118%7C1%7C0%7C638595758191707868%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=cRnEDRyqvwhBUCQMwzIuiqinQmfau77ecoBIrd4Y%2BXA%3D&reserved=0</a><br>
<br>
-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://www.isc.org/contact/">https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.isc.org%2Fcontact%2F&data=05%7C02%7Cyu.xiao%40cox.com%7C3420a2fe7e184acca34b08dcbf75682b%7C9feebc97ff0442c9a152767073872118%7C1%7C0%7C638595758191712252%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=6Yjwija9kqQOFn1sJuBejWctzBASnaggs6dRMB8Eu9I%3D&reserved=0</a>
for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users">https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C02%7Cyu.xiao%40cox.com%7C3420a2fe7e184acca34b08dcbf75682b%7C9feebc97ff0442c9a152767073872118%7C1%7C0%7C638595758191716481%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=a22l6OSff5zH%2Ba9dYdpcNWantnq9wOmigopa2LLyRiA%3D&reserved=0</a>.<br>
<br>
Kea-users mailing list<br>
Kea-users@lists.isc.org<br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users">https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C02%7Cyu.xiao%40cox.com%7C3420a2fe7e184acca34b08dcbf75682b%7C9feebc97ff0442c9a152767073872118%7C1%7C0%7C638595758191720665%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=%2FEFwvIACEswtGr9NgkWQfkO7dtNyhm%2Fk6Swyno%2F2qfE%3D&reserved=0</a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</body>
</html>