Hi Peter, nevermind! I see the issue. I’m setting up a hot-standby config with this server and I thought I needed a client tag for the primary server, but I realize that’s incorrect. It’s finding the address now… The log error message doesn’t really point clearly in the right direction, but I shouldn’t have had that bad config in there either.
Thanks! Mary Bull From: Kea-users <[email protected]> on behalf of [email protected] <[email protected]> Date: Tuesday, July 2, 2024 at 8:47 AM To: [email protected] <[email protected]> Subject: Kea-users Digest, Vol 121, Issue 3 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%7Cde23d2e1144d478608f308dc9a951afd%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555212412787446%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=n0fEfzDmSzFw3BfvUpqy5Z7orP253WdlouqIu9n6M%2BY%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: Reservation lookup fails (Bull, Mary) ---------------------------------------------------------------------- Message: 1 Date: Tue, 2 Jul 2024 12:47:00 +0000 From: "Bull, Mary" <[email protected]> To: "[email protected]" <[email protected]> Subject: Re: [Kea-users] Reservation lookup fails Message-ID: <bl0pr05mb50256ffa471ff902d94ff9e6c0...@bl0pr05mb5025.namprd05.prod.outlook.com> Content-Type: text/plain; charset="utf-8" Hi Peter, Yes, it selects the correct subnet starting with subnet id. Jul 1 23:44:00 is-kea-03: DHCP4_PACKET_RECEIVED [hwtype=1 9c934ea07417], cid=[019c934ea074:17], tid=0xe36dbc78: DHCPDISCOVER (type 1) received from 10.150.136.2 to 128.239.10.233 on interface ens32 Jul 1 23:44:00 is-kea-03: DHCP4_QUERY_DATA [hwtype=1 9c934ea07417], cid=[019c934ea074:17], tid=0xe36dbc78, packet details: local_address=128.239.10.233:67, remote_address=10.150.136.2:67, msg_type=DHCPDISCOVER (1), transid=0xe36dbc78,#012options:#012 type=012, len=015: "XRX9C934EA07417" (string)#012 type=051, len=004: 4294967295 (uint32)#012 type=053, len=001: 1 (uint8)#012 type=055, len=023: 116(uint8) 252(uint8) 67(uint8) 28(uint8) 59(uint8) 58(uint8) 15(uint8) 6(uint8) 119(uint8) 81(uint8) 12(uint8) 44(uint8) 46(uint8) 47(uint8) 42(uint8) 70(uint8) 3(uint8) 78(uint8) 79(uint8) 69(uint8) 1(uint8) 66(uint8) 2(uint8)#012 type=060, len=104: "Mfg=Xerox;Typ=MFP;Mod=Xerox AltaLink B8170 Multifunction Printer;Ser=HHZ763011;Loc=Mathematics Jones 100" (string)#012 type=061, len=007: 019c934ea074:17#012 type=077, len=105: 684d66673d58:65726f783b54:79703d4d4650:3b4d6f643d58:65726f782041:6c74614c696e:6b2042383137:30204d756c74:6966756e6374:696f6e205072:696e7465723b:5365723d4848:5a373633 3031:313b4c6f633d:4d617468656d:617469637320:4a6f6e657320:31:30:30#012 type=81 (CLIENT_FQDN), flags: (N=0, E=0, O=0, S=1), domain-name='xrx9c934ea07417.wm.edu.' (full)#012 type=082, len=024:,#012options:#012 type=001, len=022: 6972622e3130:31352678652d:312f302f312e:31:35:30:00 Jul 1 23:44:00 is-kea-03: DHCP4_SUBNET_SELECTED [hwtype=1 9c934ea07417], cid=[019c934ea074:17], tid=0xe36dbc78: the subnet with ID 150136 was selected for client assignments *Jul 1 23:44:00 is-kea-03: DHCP4_SUBNET_DATA [hwtype=1 9c934ea07417], cid=[019c934ea074:17], tid=0xe36dbc78: the selected subnet details: 10.150.136.0/24* Jul 1 23:44:00 is-kea-03: HOSTS_CFG_GET_ALL_IDENTIFIER get all hosts with reservations using identifier: hwaddr=9c934ea07417 Jul 1 23:44:00 is-kea-03: HOSTS_CFG_GET_ALL_IDENTIFIER_COUNT using identifier hwaddr=9c934ea07417, found 0 host(s) Jul 1 23:44:00 is-kea-03: DHCP4_CLASS_ASSIGNED [hwtype=1 9c934ea07417], cid=[019c934ea074:17], tid=0xe36dbc78: client packet has been assigned to the following class(es): UNKNOWN Jul 1 23:44:00 is-kea-03: DHCP4_CLASS_ASSIGNED [hwtype=1 9c934ea07417], cid=[019c934ea074:17], tid=0xe36dbc78: client packet has been assigned to the following class(es): ALL, HA_is-kea-03, VENDOR_CLASS_Mfg=Xerox;Typ=MFP;Mod=Xerox AltaLink B8170 Multifunction Printer;Ser=HHZ763011;Loc=Mathematics Jones 100, UNKNOWN Jul 1 23:44:00 is-kea-03: DHCP4_CLIENT_FQDN_PROCESS [hwtype=1 9c934ea07417], cid=[019c934ea074:17], tid=0xe36dbc78: processing Client FQDN option Jul 1 23:44:00 is-kea-03: DHCP4_CLIENT_FQDN_DATA [hwtype=1 9c934ea07417], cid=[019c934ea074:17], tid=0xe36dbc78: Client sent FQDN option: type=81 (CLIENT_FQDN), flags: (N=0, E=0, O=0, S=1), domain-name='xrx9c934ea07417.wm.edu.' (full) Jul 1 23:44:00 is-kea-03: DHCP4_RESPONSE_FQDN_DATA [hwtype=1 9c934ea07417], cid=[019c934ea074:17], tid=0xe36dbc78: including FQDN option in the server's response: type=81 (CLIENT_FQDN), flags: (N=1, E=0, O=1, S=0), domain-name='xrx9c934ea07417.wm.edu.' (full) Jul 1 23:44:00 is-kea-03: ALLOC_ENGINE_V4_OFFER_NEW_LEASE allocation engine will try to offer new lease to the client [hwtype=1 9c934ea07417], cid=[019c934ea074:17], tid=0xe36dbc78 Jul 1 23:44:00 is-kea-03: ALLOC_ENGINE_V4_ALLOC_FAIL_SHARED_NETWORK [hwtype=1 9c934ea07417], cid=[019c934ea074:17], tid=0xe36dbc78: failed to allocate an IPv4 address in the shared network printers-network: 0 subnets have no available addresses, 55 subnets have no matching pools Jul 1 23:44:00 is-kea-03: ALLOC_ENGINE_V4_ALLOC_FAIL_NO_POOLS [hwtype=1 9c934ea07417], cid=[019c934ea074:17], tid=0xe36dbc78: no pools were available for the address allocation Jul 1 23:44:00 is-kea-03: ALLOC_ENGINE_V4_ALLOC_FAIL_CLASSES [hwtype=1 9c934ea07417], cid=[019c934ea074:17], tid=0xe36dbc78: Failed to allocate an IPv4 address for client with classes: ALL, HA_is-kea-03, VENDOR_CLASS_Mfg=Xerox;Typ=MFP;Mod=Xerox AltaLink B8170 Multifunction Printer;Ser=HHZ763011;Loc=Mathematics Jones 100, UNKNOWN Jul 1 23:44:00 is-kea-03: DHCP4_SUBNET_DYNAMICALLY_CHANGED [hwtype=1 9c934ea07417], cid=[019c934ea074:17], tid=0xe36dbc78: changed selected subnet 10.150.136.0/24 to subnet 10.150.135.0/24 from shared network printers-network for client assignments Jul 1 23:44:00 is-kea-03: DHCP4_PACKET_NAK_0003 [hwtype=1 9c934ea07417], cid=[019c934ea074:17], tid=0xe36dbc78: failed to advertise a lease, client sent ciaddr 0.0.0.0, requested-ip-address (no address) From: Kea-users <[email protected]> on behalf of [email protected] <[email protected]> Date: Tuesday, July 2, 2024 at 8:00?AM To: [email protected] <[email protected]> Subject: Kea-users Digest, Vol 121, Issue 2 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%7Cde23d2e1144d478608f308dc9a951afd%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555212412797748%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=1foabT420akNiJesRjaQGPc7Q7n6TrFGo%2Boa8%2FHQ%2FO0%3D&reserved=0<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C02%7Cmbull%40wm.edu%7Cde23d2e1144d478608f308dc9a951afd%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555212412802733%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=r8Mg8Vuf5sjiwxR5JgxeHuTGyfEyUyjUE00MtPHQQaw%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: Reservation lookup fails (Peter Davies) 2. Re: Force subnet selection for specific interface (Darren Ankney) ---------------------------------------------------------------------- Message: 1 Date: Tue, 2 Jul 2024 07:25:11 +0200 From: Peter Davies <[email protected]> To: [email protected] Subject: Re: [Kea-users] Reservation lookup fails Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8"; Format="flowed" Hi Mary, ?? Is the correct subnet being selected (150136)? Please share the complete Kea logging for this client. Kind Regard Peter On 02/07/2024 05.58, Bull, Mary wrote: > > I?ve set up host reservations with lookup specified by hw-address; > however, the log is showing that devices are failing to find the > reservation in the mysql backend. > > Log: > > *HOSTS_CFG_GET_ALL_IDENTIFIER*get all hosts with reservations using > identifier: hwaddr=9c934ea07417 > > *HOSTS_CFG_GET_ALL_IDENTIFIER*_COUNT using identifier > hwaddr=9c934ea07417, found 0 host(s) > > However, I can search and find this same host in the hosts table in > the database: > > MariaDB [kea]> select * from hosts where dhcp_identifier LIKE > '9c934ea07417'; > > +---------+-----------------+----------------------+-----------------+-----------------+--------------+----------+----------------------+----------------------+-------------------+-----------------------+----------------------+--------------+----------+ > > | host_id | dhcp_identifier | dhcp_identifier_type | dhcp4_subnet_id | > ipv4_address | > > +---------+-----------------+----------------------+-----------------+-----------------+--------------+----------+----------------------+----------------------+-------------------+-----------------------+----------------------+--------------+----------+ > > | ? 34177 | 9c934ea07417? ? |? ? ? ? ? ? ? ? ? ? 0 | 150136 ? ? ?? ? > 177637420 > > I have the host database configured. There are no dynamic addresses > given out for this subnet, only reserved addresses identified in hosts > table. > > "hosts-database": { > > ??????? "type": "mysql", > > ??????? "name": "kea", > > ??????? "user": "kea", > > ??????? "host": "", > > } > > "host-reservation-identifiers": ["hw-address"], > > ??????? "reservations-global": false, > > ??????? "reservations-in-subnet": true, > > ??????? "reservations-out-of-pool": true, > > -- Peter Davies Support Engineer Internet Systems Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fpipermail%2Fkea-users%2Fattachments%2F20240702%2Fc1fd13dc%2Fattachment-0001.htm&data=05%7C02%7Cmbull%40wm.edu%7Cde23d2e1144d478608f308dc9a951afd%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555212412807587%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=EHLzUdQEghh8CVFMeRCJmuHPzLZydxU6tbIcsvwfArk%3D&reserved=0<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fpipermail%2Fkea-users%2Fattachments%2F20240702%2Fc1fd13dc%2Fattachment-0001.htm&data=05%7C02%7Cmbull%40wm.edu%7Cde23d2e1144d478608f308dc9a951afd%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555212412812491%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=Hjb9Hjm4%2FduADjWcVypQkmgdQnImsN7brPpiUiFaPf8%3D&reserved=0<https://lists.isc.org/pipermail/kea-users/attachments/20240702/c1fd13dc/attachment-0001.htm>>> ------------------------------ Message: 2 Date: Tue, 2 Jul 2024 05:30:34 -0400 From: Darren Ankney <[email protected]> To: "[email protected]" <[email protected]> Subject: Re: [Kea-users] Force subnet selection for specific interface Message-ID: <CAKabWHi8PQLiZJrk84=fis6pog4d-1jtsk3mu8p7g3n-h98...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Hi Branimir, > Yes, the traffic is relayed. In that case, have a look at: https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkea.readthedocs.io%2Fen%2Fkea-2.4.1%2Farm%2Fdhcp4-srv.html%23using-a-specific-relay-agent-for-a-subnet&data=05%7C02%7Cmbull%40wm.edu%7Cde23d2e1144d478608f308dc9a951afd%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555212412817264%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=gOZxSWZoGZSKh0jtMBS8lY%2F0QEFMOiu%2BIcVmnhLvQU0%3D&reserved=0<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkea.readthedocs.io%2Fen%2Fkea-2.4.1%2Farm%2Fdhcp4-srv.html%23using-a-specific-relay-agent-for-a-subnet&data=05%7C02%7Cmbull%40wm.edu%7Cde23d2e1144d478608f308dc9a951afd%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555212412822065%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=UPXxXKYvW7o7mi3wxHKx9IhgMIEGeAkVsO6FGqQnQb8%3D&reserved=0><https://kea.readthedocs.io/en/kea-2.4.1/arm/dhcp4-srv.html#using-a-specific-relay-agent-for-a-subnet> which allows you to give a directive to Kea that a relay agent should be served by a certain subnet. This can also be done at the shared-network level if you are using that concept. Thank you, Darren Ankney ------------------------------ 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%7Cde23d2e1144d478608f308dc9a951afd%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555212412826814%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=vOo4upXFq22oqd02RrcRkBVAok5P1vuT6ZIk4Lo2D9s%3D&reserved=0<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.isc.org%2Fcontact%2F&data=05%7C02%7Cmbull%40wm.edu%7Cde23d2e1144d478608f308dc9a951afd%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555212412831434%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=CJaMmtq1k5rzxb3%2B%2F9MRe3HgvbghzC8v0zgoG5GBFxQ%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%7Cde23d2e1144d478608f308dc9a951afd%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555212412836030%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=2YasX8AHOGnBa3HNnCogHnTQfmiPxvVOuuEljVrjyyY%3D&reserved=0<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C02%7Cmbull%40wm.edu%7Cde23d2e1144d478608f308dc9a951afd%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555212412840616%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=oL5dGQMrSdPPIZFmgCH2dbY3e9LZ2I8x8YXVXm%2FnXE8%3D&reserved=0><https://lists.isc.org/mailman/listinfo/kea-users> ------------------------------ End of Kea-users Digest, Vol 121, Issue 2 ***************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fpipermail%2Fkea-users%2Fattachments%2F20240702%2F55234087%2Fattachment.htm&data=05%7C02%7Cmbull%40wm.edu%7Cde23d2e1144d478608f308dc9a951afd%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555212412845349%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=umQ9Gm8Y45jJVpsjHs5iFswUfMnowtbAQxXc%2FZvfm2U%3D&reserved=0<https://lists.isc.org/pipermail/kea-users/attachments/20240702/55234087/attachment.htm>> ------------------------------ 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%7Cde23d2e1144d478608f308dc9a951afd%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555212412850098%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=yE4PQt6sL4yLXSrayHBeaXVFbWUxXXtu%2B%2FZ3EvAEl5U%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%7Cde23d2e1144d478608f308dc9a951afd%7Cb93cbc3e661d40588693a897b924b8d7%7C0%7C0%7C638555212412854773%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=%2Fw2MbT%2FEkRi6H2GbjnG3BqzSH%2FdW2vOk8EzPQKXk44A%3D&reserved=0<https://lists.isc.org/mailman/listinfo/kea-users> ------------------------------ End of Kea-users Digest, Vol 121, Issue 3 *****************************************
-- 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
