Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
This applies to both IPv4 and IPv6.
When viewing Kea leases, the "Lease Type" column shows "static" if there exists a reservation matching the identity of the DHCP client (I suppose). It appears that this mapping does not take subnet into account, as in the case where a reservation for a given client exists on one subnet, any lease given to that client on a different subnet gets classified as "static", where it is actually "dynamic" (i.e. assigned from a pool, not a reservation).
To Reproduce
Steps to reproduce the behavior:
- Create a reservation (v4 or v6) based on DUID or MAC.
- Connect a client using that DUID or MAC to a different subnet that is also served by Kea DHCP and has a pool
- View leases
- Observe that a lease has been granted using a pool address, but is classified as "static"
Expected behavior
Leases should only be classified as "static" if a matching reservation exists on the same subnet
Screenshots
Environment
OPNsense 26.1.6-amd64
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
This applies to both IPv4 and IPv6.
When viewing Kea leases, the "Lease Type" column shows "static" if there exists a reservation matching the identity of the DHCP client (I suppose). It appears that this mapping does not take subnet into account, as in the case where a reservation for a given client exists on one subnet, any lease given to that client on a different subnet gets classified as "static", where it is actually "dynamic" (i.e. assigned from a pool, not a reservation).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Leases should only be classified as "static" if a matching reservation exists on the same subnet
Screenshots
Environment
OPNsense 26.1.6-amd64