Hi Darren, This looks very promising!
Can we use this method per subnet ? Our DHCP server provides services for multiple subnets. Regards, Ronald ________________________________ From: Kea-users <[email protected]> on behalf of Darren Ankney <[email protected]> Sent: Thursday, September 4, 2025 13:46 To: Kea user's list <[email protected]> Subject: Re: [Kea-users] Expire single IP Hi Ronald, Have a look at the flex_id hook (https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkea.readthedocs.io%2Fen%2Fkea-3.0.1%2Farm%2Fhooks.html%23libdhcp-flex-id-so-flexible-identifier-for-host-reservations&data=05%7C02%7Cronald.blaas%40ddfr.nl%7C5a1dcd6ef3c24fce7cf108ddeba8ce9c%7C61b60fb772d74ba78225d9b5369d780a%7C0%7C0%7C638925832430964097%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=PNMBxikdl1Vu4%2BTR5eQJohhcRzGVyQlJgNEw%2B5o5m9k%3D&reserved=0<https://kea.readthedocs.io/en/kea-3.0.1/arm/hooks.html#libdhcp-flex-id-so-flexible-identifier-for-host-reservations>). You can combine this with the replace-client-id flag (https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkea.readthedocs.io%2Fen%2Fkea-3.0.1%2Farm%2Fhooks.html%23the-replace-client-id-flag&data=05%7C02%7Cronald.blaas%40ddfr.nl%7C5a1dcd6ef3c24fce7cf108ddeba8ce9c%7C61b60fb772d74ba78225d9b5369d780a%7C0%7C0%7C638925832431194932%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=0aKG0pGdkRiLes5YN7hSFRbwKvj%2BGQaPzkbSiu3KTOI%3D&reserved=0<https://kea.readthedocs.io/en/kea-3.0.1/arm/hooks.html#the-replace-client-id-flag>) so that the lease is recorded by option 82 as well (i.e., the client-id in the lease is replaced with the option82 hex). In this way, Kea will effectively be unaware that the client has changed. Thank you, Darren Ankney On Wed, Sep 3, 2025 at 9:16 AM DDFR | Ronald Blaas <[email protected]> wrote: > > Hi all > > I was wondering if we could expire a single ip address after 1 hour (or maybe > less) > > > The reason for this is we have a port on which we connect different devices > but the same IP address (is assigned via Option82) > > With the IP address in the database it is locked so the second device gets an > IP from the pool. > > > Ofcourse we can release the IP but I was wondering if this can be automated > so the the IP is Expired sooner > > > Kind regard, > > > Ronald > > > -- > ISC funds the development of this software with paid support subscriptions. > Contact us at > https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.isc.org%2Fcontact%2F&data=05%7C02%7Cronald.blaas%40ddfr.nl%7C5a1dcd6ef3c24fce7cf108ddeba8ce9c%7C61b60fb772d74ba78225d9b5369d780a%7C0%7C0%7C638925832431212731%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=B4URlT48EBJtkkcgHE4vIR1O%2Bjg18JyIC%2FJ3FgADCNI%3D&reserved=0<https://www.isc.org/contact/> > for more information. > > To unsubscribe visit > https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C02%7Cronald.blaas%40ddfr.nl%7C5a1dcd6ef3c24fce7cf108ddeba8ce9c%7C61b60fb772d74ba78225d9b5369d780a%7C0%7C0%7C638925832431229230%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=f1Z%2Bh6t%2FE7ReGfEErPz2XfoqdLf1HYkRe4ZAY9lEAV4%3D&reserved=0<https://lists.isc.org/mailman/listinfo/kea-users>. > [email protected] -- ISC funds the development of this software with paid support subscriptions. Contact us at https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.isc.org%2Fcontact%2F&data=05%7C02%7Cronald.blaas%40ddfr.nl%7C5a1dcd6ef3c24fce7cf108ddeba8ce9c%7C61b60fb772d74ba78225d9b5369d780a%7C0%7C0%7C638925832431246187%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=cV8imEG6Y7BJUibVfDB2plQMCMbT78eZgsnGyRt8RGg%3D&reserved=0<https://www.isc.org/contact/> for more information. To unsubscribe visit https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C02%7Cronald.blaas%40ddfr.nl%7C5a1dcd6ef3c24fce7cf108ddeba8ce9c%7C61b60fb772d74ba78225d9b5369d780a%7C0%7C0%7C638925832431262495%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=nSinAR830OOm3cyqW89moxygwaVYwkXIo8f7F7kgh1A%3D&reserved=0<https://lists.isc.org/mailman/listinfo/kea-users>. [email protected]
-- 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. [email protected]
