The issue I am facing:
I get this message frequently for this IP address.
|2023-04-16 09:50:00|DNSMASQ_WARN|Warning in dnsmasq core:
disabling DHCP static address 192.168.168.137 for 10m|
Seems to always be same address, which I traced with MAC to a thermostat.
Details about my system:
PiHole running as ad blocker and DHCP server.
How can I troubleshoot this further to eliminate this message?
What I have changed since installing Pi-hole:
Nothing really, just making it DHCP server recently.
Can you run the debug log again please and post the tricorder URL it gives you. That will let staff find it on their secure system.
The docs advise that the thermostat returned a DHCPDECLINE message to the Pi-hole. This in turn implies that the thermostat sees the address offered as already in use.
The debug log will help reveal how your networking is set up and may shed some light on this.
Thanks so much! Ugh... I left the Router DHCP enabled in error, and completely missed checking that. Can clearly see that in the log now, but I just wasn't looking for that, was more focused on the IP that was causing the issue. I was switching back and forth between the 2 DHCP's and forgot to disable that one last time. I am still troubleshooting another issue I have with OpenVPN that works with the router DHCP no problem, but not the Pi-Hole DHCP. Everything else is the same, just toggle the 2 DHCP's.
If you'd need those DHCP servers to coexist, then you should at least make sure that their respective DHCP ranges would not overlap. That would avoid your observation (unless you'd have some devices with static IPs configured on device).
Furthermore, for routers that can't disable DHCP, we usually recommend to restrict your router's DHCP range to accommodate just Pi-hole's host machine, and configure a DHCP lease reservation/fixed IP address for that in your router.
@Bucking_Horn Good advice. One thing I don’t quite understand though is if there are two ranges, how would it know for incoming assignment, which range to go with?
In my case I would run the router DHCP for just VPN since it doesn’t seem to be working on PiHole DHCP. MAC address for the client would be same, but on VPN coming through the tunnel, vs. local network.
With multiple DHCP servers on the same network segment/link, a client would be free to accept any one DHCP offer at its own discretion. As soon as a client would accept one DHCP server's offer, all other DHCP servers would discard their respective previous offers.
Restricting your router's DHCP range to accommodate just Pi-hole's host machine would prevent clients from picking up a DHCP lease from your router (and thus potentially by-passing Pi-hole).
@Bucking_Horn one more question. I was having trouble connecting a Blink Camera with the PiHole DHCP activated (linksys DHCP disabled). Then I disabled the PiHole DHCP, and made the Linksys DHCP active, and it connected. What should I look at further as to why the PiHole DHCP did not connect the camera but the Linksys DHCP did?