DHCP4 Legacy not showing all leases.

Started by chop249, March 10, 2026, 07:12:32 PM

Previous topic - Next topic
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

Are you creating your static leases outside of the dynamic range?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)


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.