I have the problem that when I convert a dynamic DHCP lease to a static one, both lease entries remain. The client receives the statically assigned IP but cannot connect to the network.
There must be a way to delete this dynamically assigned lease via the GUI. I am blind and cannot find anything... Can anyone help me?
Kea? It will be removed when it expires.
Yes, it's about kea (it's in the title). It can't be right to assign a static IP address and then wait until the dynamic lease expires so that the device can connect to the network. Is that really how it's supposed to work?
At the moment yes, because the standard says so. Once a lease is granted it is valid for the relevant time period. Only the client can release it. OPNsense follows the book here, I don't know from the top of my head if a change is planned.
You can find part of the discussion with links to more here:
https://github.com/opnsense/core/issues/9217
If the client is Windows you can use "ipconfig something something /release".