Hello Community,
today i formated and installed the latest OPNSense (was using 19.7 untill than).
i wanted to give some clients fixed ip adresses and noticed that under services > dhcp > lan / leases no client is shown.
the strange thin is that i changed the pool range (from .10 - .249 to .100 - 150).
Even tho when i reconnect my client or restart the DHCP Service client alwas get the .10 IP (which it got first after the innitial configuration of OPNSense).
Does anyone hav an idea why i cant see my DHCP Leases?
with kind regards
Any clues in Services > DHCPv4 > Log File?
2021-08-20T11:54:49 dhcpd[123] Wrote 3 leases to leases file.
or
2021-08-20T11:43:57 dhcpd[26790] DHCPACK on 192.168.1.11 to 80:4f:57:d5:cf:ca (Hostname) via re0
looks like its doing its work.
i just cant see the leases in the Services>Leases section :(
Assuming we're talking IPV4, if you go to Services > DCHPv4 > LAN (my assumption is that's the interface you are discussing). Towards the bottom "DHCP Static Mappings for this interface.". Have you set static leases there?
It would be useful to know what options you have set there for the service ie. additional pools, etc.
All the known devices probably get their old leases from the existing /var/dhcpd/var/db/dhcpd.leases file. Can you check this one?
Some people reported oddities in DHCP lease behaviour lately. From our side giving DHCPD the right configuration is trivial so then the actual ISC DHCPD software seems to be more lax in its handling of the configuration and existing lease data as a preliminary conclusion... or it was always this way and more (new) users are running into the trickeries of the ISC DHCPD software itself.
Cheers,
Franco
oddly after a few restarts the problem is gone o.o
new devices show up nearly instantly even the ones with satic ips
i did not change anything just started the fw a few daysto test and shut it down afterwards.