Page MenuHomeVyOS Platform

Display static DHCP server leases in the operational command output
Closed, ResolvedPublicFEATURE REQUEST

Description

If you use dhcp static leases they are not visible in

show dhcp server leases state all

but if enabled dhcp monitoring you can see there

eg.

DHCP: Dynamic and static leases present for 192.168.10.136. DHCP: Remove host declaration LAN10_host2 or remove 192.168.10.136 DHCP: from the dynamic address pool for LAN10 DHCP: uid lease 192.168.10.51 for client 00:0c:29:xx:xx:2d is duplicate on LAN10 DHCP: DHCPREQUEST for 192.168.10.136 from 00:0c:29:xx:xx:2d via eth1 DHCP: DHCPACK on 192.168.10.136 to 00:0c:29:xx:xx:2d via eth1

reserved lease could be good solution for this also

On ISC DHCP manual this is explained
https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcpdconf#reserved-leases

If I understood correctly, reserved lease support could help to have more transparency and the logic of working would be more straight forward. Would be good feature to have and I know at leaste one more person than me that would benefit on this. :)

this is my first feature to suggest, so might contain weirdness.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Event Timeline

Being able to quickly see reservations in an operational mode command would be convenient, avoiding the need to pull up the config.

dmbaturin renamed this task from Add support of reserved lease to dhcpd to Display static DHCP server leases in the operational command output.Jan 10 2024, 9:11 PM
dmbaturin closed this task as Resolved.
dmbaturin edited projects, added VyOS 1.5 Circinus; removed VyOS 1.4 Sagitta.

Kea doesn't have that issue, and in 1.5 rolling release builds, static leases are already displayed in show dhcp server leases. But in ISC DHCPd, which is unmaintained, I'm not sure if we should switch from the tried and proved static leases to anything else.

If anyone had a positive practical experience with them and is ready to make a PR, let us know. For now I'll close the task as resolved in 1.5/Circinus.