-
-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DHCP server is configured with incorrect netmask #1947
Comments
Are you typing |
As mentioned above, in my |
Netmask is optional:
(from Please check It's also worth checking out the very first lines in |
my ip configuration looks valid:
pihole.log:
As you see, plenty of netmask errors. I'll see if there's a known issue with dnsmasq! |
ifconfig output for visibility (correct netmask):
|
Can't find any upstream known issues, but I think it'd be great to be able to set the netmask explicitly rather than rely on |
The upcoming Pi-hole v6 already has exactly this as you've seen in the PR you originally posted your observation in. I also thought we had some debugging output concerning the detected netmask but this may have also only been added to v6 code which is under development for years by now. It'd be great if you could join the public Pi-hole v6 beta, the more feedback we get, the smoother the final release will be. And we promise fast turnaround time in case any bugs are found! It's never faster in during an ongoing beta round. |
Thanks for your input here and I'll check the v6 beta out and might join! Closing this issue in the meantime. |
Versions
Pi-hole version is v5.18.2 (Latest: v5.18.2)
web version is v5.21 (Latest: v5.21)
FTL version is v5.25.1 (Latest: v5.25.1)
Platform
Expected behavior
When configured with the web UI, DHCP server should be configured (dnsmasq) with correct settings for netmask
Actual behavior / bug
Configuration line for
dhcp-range
does not include netmaskSteps to reproduce
Steps to reproduce the behavior:
WARNING in dnsmasq core: DHCP range 192.168.0.100 -- 192.168.0.251 is not consistent with netmask 255.255.255.255
Debug Token
Screenshots
Additional context
Generated config file for dnsmasq:
My static IP configuration in dhcpcd.conf:
The issue causes clients to fail to lease an IP. The configuration line for
dhcp-range
must include netmask, e.g.:dhcp-range=192.168.0.100,192.168.0.251,255.255.255.0,24h
The text was updated successfully, but these errors were encountered: