I’m using Kea version 2-4. Kea is not identifying the host reservation present in the database with correct hw address and subnet id. I set up the database by inserting the values directly into the database, not using the custom hooks. Is this an issue? Is there an issue with formatting? I believe the HOSTS_MGR_ALTERNATE_GET4_SUBNET_ID_IDENTIFIER is the message about looking in the database?
Log messages: Jul 8 22:54:49 is-kea-03: DHCP4_SUBNET_DATA [hwtype=1 9c934e7adf7a], cid=[019c934e7adf:7a], tid=0x6a9e: the selected subnet details: 10.150.136.0/24 Jul 8 22:54:49 is-kea-03: HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER get one host with IPv4 reservation for subnet id 150136, identified by hwaddr=9c934e7adf7a Jul 8 22:54:49 is-kea-03: HOSTS_CFG_GET_ALL_IDENTIFIER get all hosts with reservations using identifier: hwaddr=9c934e7adf7a Jul 8 22:54:49 is-kea-03: HOSTS_CFG_GET_ALL_IDENTIFIER_COUNT using identifier hwaddr=MariaDB , found 0 host(s) Jul 8 22:54:49 is-kea-03: HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER_NULL host not found using subnet id 150136 and identifier hwaddr=9c934e7adf7a Jul 8 22:54:49 is-kea-03: HOSTS_MGR_ALTERNATE_GET4_SUBNET_ID_IDENTIFIER get one host with IPv4 reservation for subnet id 150136, identified by hwaddr=9c934e7adf7a Jul 8 22:54:49 is-kea-03: HOSTS_MGR_ALTERNATE_GET4_SUBNET_ID_IDENTIFIER_NULL host not found using subnet id 150136 and identifier hwaddr=9c934e7adf7a Jul 8 22:54 Database entry: [kea]> select dhcp_identifier, dhcp4_subnet_id, ipv4_address from hosts where dhcp_identifier like '9c934e7adf7a'; +-----------------+-----------------+--------------+ | dhcp_identifier | dhcp4_subnet_id | ipv4_address | +-----------------+-----------------+--------------+ | 9c934e7adf7a | 150136 | 177637408 | +-----------------+-----------------+--------------+ From: Kea-users <[email protected]> on behalf of [email protected] <[email protected]> Date: Saturday, July 6, 2024 at 8:00 AM To: [email protected] <[email protected]> Subject: Kea-users Digest, Vol 121, Issue 11 Send Kea-users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C02%7Cmbull%40wm.edu%7C75a88486baba4f6d6fd108dc9db32ae4%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638558640066066511%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=ju5aTOmQVDKqE8i9ruxaW%2FXnokUpKnNEcmaIBn8JFQ0%3D&reserved=0<https://lists.isc.org/mailman/listinfo/kea-users> or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Kea-users digest..." Today's Topics: 1. Re: kea-dhcp6 an stateful/static GUA and ULA (Django [Bastard Operator from Hell]) 2. Re: kea-dhcp6 an stateful/static GUA and ULA (Django [Bastard Operator from Hell]) ---------------------------------------------------------------------- Message: 1 Date: Fri, 5 Jul 2024 16:36:04 +0200 From: "Django [Bastard Operator from Hell]" <[email protected]> To: [email protected] Subject: Re: [Kea-users] kea-dhcp6 an stateful/static GUA and ULA Message-ID: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed HI, here I'm again .... ;) OK. The blogpost here ? https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.ipspace.net%2F2022%2F05%2Fipv6-ula-made-useless.html&data=05%7C02%7Cmbull%40wm.edu%7C75a88486baba4f6d6fd108dc9db32ae4%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638558640066074272%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=SF79feYPsBvCOOwkujtswNu0A7uyCnGdRdE8tMqYr8M%3D&reserved=0<https://blog.ipspace.net/2022/05/ipv6-ula-made-useless.html> ? is already two years old, but I would say that the author is not that wrong and the article almost summarises the topic well. So just use GUA and everything will be fine ;) ttyl Django ------------------------------ Message: 2 Date: Fri, 5 Jul 2024 17:15:09 +0200 From: "Django [Bastard Operator from Hell]" <[email protected]> To: [email protected] Subject: Re: [Kea-users] kea-dhcp6 an stateful/static GUA and ULA Message-ID: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed .... last but not least: Oh yes, I forgot to mention one more thing: I have been allocated a fixed IPv6 GUA address block /56 by my ISP. So I don't have to work with static ULAs, as the GUA of the hosts changes accordingly with a new IPv6 prefix! My GUA always remain the same IPv6 Global Unified Addresses! :) If, on the other hand, you have been assigned a new IPv6 prefix by the ISP every day or when reconnecting, you will then use static ULAs for static communication relationships and generate the GUA via SLAAC. ttyl Django ------------------------------ Subject: Digest Footer _______________________________________________ ISC funds the development of this software with paid support subscriptions. Contact us at https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.isc.org%2Fcontact%2F&data=05%7C02%7Cmbull%40wm.edu%7C75a88486baba4f6d6fd108dc9db32ae4%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638558640066078925%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=pwqGWffS2orVQC3wulZBw0jFiUnJvU6NctWzHSIEf9s%3D&reserved=0<https://www.isc.org/contact/> for more information. Kea-users mailing list [email protected] https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C02%7Cmbull%40wm.edu%7C75a88486baba4f6d6fd108dc9db32ae4%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638558640066083482%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=YpVsCQ53eXmIAnB%2FRPsPyF63ygq%2BBnXodC1FcRA30Qg%3D&reserved=0<https://lists.isc.org/mailman/listinfo/kea-users> ------------------------------ End of Kea-users Digest, Vol 121, Issue 11 ******************************************
-- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. Kea-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/kea-users
