Quote from: os914964619 on August 19, 2025, 03:34:51 AMQuote from: hharry on August 19, 2025, 02:10:49 AMkea 2.6.3 supports DHCP lease affinity, but the configuration options haven't yet been exposed in OPNsense GUI
https://forum.opnsense.org/index.php?topic=48462.0
https://github.com/opnsense/core/issues/9094
In current OPNsense 25.7.1_1 release, manually editing the kea config file to add the options, are overwritten / removed when kea service is re-started ( from either OPNsense GUI or cli)...
Thanks for posting this. https://github.com/opnsense/core/issues/9094 is exactly what we would need to address the issue.
Not sure about the scale of your issue and the number of machines affected, but why don't you just reserve an IP for this client based on its MAC address (under 'reservations' tab in the KEA service configuration)? Make sure the assigned IP is outside of the range dynamically assigned by KEA but still in the same subnet. Your client will get the exact same IP each time it request one through DHCP.