<div dir="ltr">Good day, Members!<br><br>I have a question on which can't find exact response/information.<br><br>Does DHCP Kea respond to IPv6 Leasequery with information about PD prefix from which belong the IPv6 address included in the request (may be there are some links where I could read details about it)?<br><br>This question arises, as a result of testing isc-dhcp and observing that it doesn't respond with the supposed information.<br><br>Below is detailed problem with isc-dhcp, but I would like to know <b>if this issue is solved on Kea?</b><br><br>When server got a Leasequery request for IPv6 address 2aXX:XXXX:f067:134f:a9c5:4b1a:7d87:438, I suppose it will lookup in lease file and found that this address is part of a prefix delegation record and will response with detailed information about the lease stored in dhcpd6.leases regarding the iaprefix 2aXX:XXXX:f067:134f::/64.<br><br>Actually, I got a Leasequery reply with Status Code: NotConfigured.<br><br>The server is configured as follows:<br><br>default-lease-time 600;<br>max-lease-time 7200;<br>log-facility local7;<br><br>allow leasequery;<br><br>allow client-updates;<br>lease-id-format hex;<br>option client-class-information code  97 = string;<br>log-facility local7;<br><br># The subnet where the server is attached and get DHCPv6 relayed messages<br>subnet6 2AXX:XXXX:F067:1236::/64 { }<br><br># The subnet where the server is attached and get DHCPv6 Leasequery requests<br>subnet6 2AXX:XXXX:F067:144::/64 { }<br><br># The subnet where reside CPE of subscrand get DHCPv6 Leasequery requests<br>subnet6 2AXX:XXXX:F067:144::/64 { }<br><br># The subnet where reside CPE of subscribers<br>subnet6 2aXX:XXXX:f067:1300::/56 {<br>        # Prefix range for delegation to sub-routers<br>        prefix6 2AXX:XXX:F067:134A:: 2A02:a30:F067:134F:: /64;<br>}<br><br>Lease file contains following information:<br><br>root@Cati-DHCP:~ # tail -f /var/db/dhcpd6/dhcpd6.leases<br># The format of this file is documented in the dhcpd.leases(5) manual page.<br># This lease file was written by isc-dhcp-4.4.2-P1<br><br># authoring-byte-order entry is generated, DO NOT DELETE<br>authoring-byte-order little-endian;<br><br>server-duid 00:01:00:01:2a:bd:83:a3:00:50:56:ae:39:4a;<br><br>ia-pd 01:00:00:00:00:03:00:01:e4:8d:8c:ac:02:68 {<br>  cltt 3 2022/09/21 08:11:37;<br>  iaprefix 2aXX:XXXX:f067:134f::/64 {<br>    binding state active;<br>    preferred-life 375;<br>    max-life 600;<br>    ends 3 2022/09/21 08:21:37;<br>  }<br>}<br><br>Packet capture of the LQ-Request and LQ-Reply (if it matters, the Leasequery is done by a Cisco router):<br><br>DHCPv6<br>    Message type: Leasequery (14)<br>    Transaction ID: 0xd18eb7<br>    Leasequery Query<br>        Option: Leasequery Query (44)<br>        Length: 53<br>        Value: 0100000000000000000000000000000000000500182a020a…<br>        Query-type: by-address (1)<br>        Link address: ::<br>        IA Address<br>            Option: IA Address (5)<br>            Length: 24<br>            Value: 2aXXXXXXf067134fa9c54b1a7d8704380000000000000000<br>            IPv6 address: 2aXX:XXXX:f067:134f:a9c5:4b1a:7d87:438<br>            Preferred lifetime: 0<br>            Valid lifetime: 0<br>        Option Request<br>            Option: Option Request (6)<br>            Length: 4<br>            Value: 002f001a<br>            Requested Option code: Leasequery Relay Data (47)<br>            Requested Option code: IA Prefix (26)<br>    Client Identifier<br>        Option: Client Identifier (1)<br>        Length: 10<br>        Value: 00030001e02f6d868600<br>        DUID: 00030001e02f6d868600<br>        DUID Type: link-layer address (3)<br>        Hardware type: Ethernet (1)<br>        Link-layer address: e0:2f:6d:86:86:00<br><br>DHCPv6<br>    Message type: Leasequery-reply (15)<br>    Transaction ID: 0xd18eb7<br>    Client Identifier<br>        Option: Client Identifier (1)<br>        Length: 10<br>        Value: 00030001e02f6d868600<br>        DUID: 00030001e02f6d868600<br>        DUID Type: link-layer address (3)<br>        Hardware type: Ethernet (1)<br>        Link-layer address: e0:2f:6d:86:86:00<br>    Server Identifier<br>        Option: Server Identifier (2)<br>        Length: 14<br>        Value: 000100012abd7d33005056ae394a<br>        DUID: 000100012abd7d33005056ae394a<br>        DUID Type: link-layer address plus time (1)<br>        Hardware type: Ethernet (1)<br>        DUID Time: Sep 21, 2022 10:43:47.000000000 E. Europe Daylight Time<br>        Link-layer address: 00:50:56:ae:39:4a<br>    Status code<br>        Option: Status code (13)<br>        Length: 24<br>        Value: 000941646472657373206e6f7420696e206120706f6f6c2e<br>        Status Code: NotConfigured (9)<br>        Status Message: Address not in a pool.<br></div>