Info - Debug Logs just started appearing in their 1000's Help Needed

Started by osopolar, March 11, 2023, 04:16:58 AM

Previous topic - Next topic

osopolar

HI Guys

I have had OS running for a few months with help from here and it has been solid no logs nothing.
I have not messed with it but i have started seeing logs popping up do i need to do anything to fix the issue?

Info Logs 100's like this over past few days



I only ask as my other friends with OPNsense do not see these logs

Main message x 55000 times see https://i.imgur.com/V7WYMDR.png

Other Info https://i.imgur.com/XoJSCLO.png

Debug message https://i.imgur.com/yO1eTLI.png

osopolar

Let me explain how i set it up and was advised it would be ok.
Avaiable Range 192.168.23.1 - 192.168.23.254
Range Set from 192.168.23.10 - 192.168.23.99 This is for OPNsense to allocate out
Within the Avaiable Range i have Static Leases 192.168.23.100 - 192.168.23.254
Within the Avaiable Range i have Static Leases 192.168.23.1 - 192.168.23.9 I have my OPNsense & Wifi Router Static
I only see 20 to 30 items being used within 10 to 99 but the logs are showing IP set in the static lease area !!

https://i.imgur.com/rhWEsnz.png

Home Network Guy

Do you have static DHCP reservation for devices with static IPs or manually configured on each client? Those clients which you set as a static DHCP reservation in OPNsense will still send a DHCP request because those clients have "automatic DHCP leases" enabled rather than a static IP defined on the client itself. It still has to get the IP address just like dynamic IP assignments except you're telling OPNsense to always hand out the same IP address to the client with a static DHCP reservation configured.

It is normal to see DHCP requests every couple of minutes when you have several clients on your network. I believe the DHCP log page is set to "warnings" by default because that log is spammy due to how often DHCP requests occur on the network.

osopolar

HI
Yes you help me several months ago to get some of the setup running.
I have as mentioned the following
Available Range 192.168.23.1 - 192.168.23.254:-

Within the Available Range i have Static Leases 192.168.23.1 - 192.168.23.9 I have my OPNsense & Wifi Router Static
Range Set from 192.168.23.10 - 192.168.23.99 This is for OPNsense to dish / allocate out IP's
Within the Available Range i have Static Leases 192.168.23.100 - 192.168.23.254

The latter (192.168.23.100 - 192.168.23.254) are set manually by me in OPNsense by me is that the correct way?
I had to do it like this as in this range the devices are heavily tied into a Home Assistant yaml automation files and addons so i didnt want to change every file or search looking for the IP addresses i have used for years.

My only question was you mentioned " "automatic DHCP leases" enabled rather than a static IP defined on the client itself. "
What do you mean by defined on the client itself ?


Home Network Guy

I think the way you are allocating IP address is fine because you have separate ranges for dynamic IPs and the static IP addresses you are setting up in OPNsense.

What I was referring to before is that you can set a static IP address on each individual system manually (such as a Windows PC where you manually configure the static IP address instead of using the default automatic DHCP settings) or you can set static IP addresses in OPNsense via DHCP using the MAC addresses. If you set the static IPs in OPNsense, all of your systems can be left at the default automatic DHCP setting and it will automatically receive the static IP from OPNsense. Either way will work for static IPs as long as you don't overlap IP address ranges since you could run into IP address conflicts.