OPNsense Forum

English Forums => 26.1, 26,4 Series => Topic started by: chop249 on March 10, 2026, 07:12:32 PM

Title: DHCP4 Legacy not showing all leases.
Post by: chop249 on March 10, 2026, 07:12:32 PM
I tried a search but couldn't find anything. I am looking at LAN and Leases and I am not showing all devices. Twice now I am trying to assign an IP to a device and I'm picking what I thought were unused IPs. It is really bizarre because I assigned this server an IP, it worked, I reinstalled the server OS and gave it the same IP but now I cannot connect and I can ping something when the server is powered down. Thoughts?


Versions
OPNsense 26.1.3-amd64
FreeBSD 14.3-RELEASE-p9
OpenSSL 3.0.19
Title: Re: DHCP4 Legacy not showing all leases.
Post by: Patrick M. Hausen on March 10, 2026, 07:28:28 PM
Are you creating your static leases outside of the dynamic range?
Title: Re: DHCP4 Legacy not showing all leases.
Post by: chop249 on March 11, 2026, 10:57:18 PM
Quote from: Patrick M. Hausen on March 10, 2026, 07:28:28 PMAre you creating your static leases outside of the dynamic range?

Yes.
Title: Re: DHCP4 Legacy not showing all leases.
Post by: lmoore on March 12, 2026, 11:24:15 AM
Is the MAC address on your server still using the same one used prior to re-installing the OS?

ISC DHCP permits setting a static lease outside of the defined range, I've been doing this for years.

I don't use DHCP on my LAN interface in OPNsense as there is another DHCP server on that network.

I do use OPNsense ISC DHCPv4 (Legacy) on another interface and assign a static address to a device outside of the defined range. It appears in my Leases view. I should add, I have enabled the 'Deny unknown clients' setting on this interface.

I don't see any reason why the behaviour would be any different on the LAN interface. It's odd you're not seeing it in the Leases - have you enabled 'Show inactive', just in case it has become flagged as inactive.

In my configuration I've only entered the MAC, IP address, hostname, description, lease time and maximum lease time. Everything else is left blank.

Is the ISC DHCPv4 service running?

Cheers,

Larry.