Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
No Leases shown in DHCP
« previous
next »
Print
Pages: [
1
]
Author
Topic: No Leases shown in DHCP (Read 4198 times)
+DS_DV+
Newbie
Posts: 45
Karma: 1
No Leases shown in DHCP
«
on:
August 15, 2021, 03:29:29 pm »
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
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: No Leases shown in DHCP
«
Reply #1 on:
August 15, 2021, 06:34:13 pm »
Any clues in Services > DHCPv4 > Log File?
Logged
+DS_DV+
Newbie
Posts: 45
Karma: 1
Re: No Leases shown in DHCP
«
Reply #2 on:
August 20, 2021, 12:10:14 pm »
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
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: No Leases shown in DHCP
«
Reply #3 on:
August 20, 2021, 11:06:31 pm »
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.
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: No Leases shown in DHCP
«
Reply #4 on:
August 21, 2021, 01:00:12 pm »
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
Logged
+DS_DV+
Newbie
Posts: 45
Karma: 1
Re: No Leases shown in DHCP
«
Reply #5 on:
August 25, 2021, 08:34:14 am »
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.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
No Leases shown in DHCP