Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - The Friendly Ghost

#1
Hi!

At random times my dnsmasq service simply stops., and when I manually start it again, there's no problem.
Logs don't indicate anything (as seen in below image, taken at 11:49, after 10:13:48 no other log messages).

I've seen a Reddit post where someone has the same, but no real other information or solutions.
On this forum I also have not been able to find similar issues (I might have missed it ofcourse)

Is there a way to increase debug logging (yes, I have changed the selection, image added as well), or otherwise find out where this is coming from?



With kind regards
#2
Quote from: Vexz on May 20, 2025, 05:39:46 PMEdit 2:
I noticed something, that might help to find the issue here:
In the general settings tab of dnsmasq DHCP, when no interface is selected, it says "All". This is misleading. When you click on "Select All" right below that menu, it lists all the selected interfaces, but doesn't just say "All". This is what tricked me into believing that DHCP will work on my LAN interface.

I think this is the most misleading part indeed, since after changing that is also worked for me.

I also had the annoyance of IPv6 not working because ISC DHCP6 was doing its thing and I couldn't find how to disable that.
But that's the setting "Allow manual adjustment of DHCPv6 and Router Advertisements". Which is tricky to find if you don't know/remember it is there, in my opinion.
#3
Quote from: nitro2879 on May 20, 2025, 04:09:18 AMThere's another post on this forum detailing the same issue. It appears the firewall rules are not being created automatically, even after a reboot or reload of the firewall rules.
I have found this one now indeed https://forum.opnsense.org/index.php?msg=237255
It seems that indeed the IPv4 rules for DHCP are not added if you have 'All' selected as interfaces, if you select the specific interfaces, they do get added.
#4
Same issue here, have not yet taken the time to dive too deep into this unfortunately though.
The ranges I have set are:

interfacestartendmodedomain
LAN10.20.1.1static
LAN10.20.1.10110.20.1.150my.domain
Guest10.20.50.10110.20.50.150guest.my.domain

No issues at all on ISC
#5
Quote from: Drinyth on May 09, 2025, 04:10:16 PMDHCP ranges
I have a few VLANs with only static IPs in them with another VLAN with some statics and some dynamic. If you try and define static IPs under the "Hosts" tab and you don't define that subnet in "DHCP ranges", dnsmasq DHCP will not work properly. Luckily, there is verbiage in the logs to reflect this. I just wanted to mention it in case someone ran into that issue.

It seems that I was running into this "issue" too.

Is the correct way of configure this:
DHCP range:
LAN 10.11.12.1, static (so no dynamic hosts are generated)
LAN 10.11.12.101-10.11.12.199 (for dynamic range)

Or what would the correct way of doing this be?
I haven't been able to find this exactly in the documentation, but I might be somehow looking over it