Please follow the below template, it will help us to help you!
Expected Behaviour:
Hi - I assigned a range of 50 IP addresses. I thought more than enough. It seems I have run out with my printer complaining the same IP exists when I turn it on. Looking at the DHCP assignments, I have assigned them all! But in fact, there are at least 20 with hostname 'unknown' so assume should be removed or cleared out somehow.
Actual Behaviour:
When I go to extend the range, i get an error.
To IP (192.168.1.275) is invalid!
How can I remove old / dead assignments, flush or extend the range?
Is that if a device doesn't try to connect or is not active I guess?
I still have a heap of devices in my network showing 'unknown'. In particular, my main tv is a TCL Roku TV - according to my router - and the DHCP list in pihole, it has an IP address. But the TV will now no longer connect. In settings on TV it doesn't seem to have an IP address even after restart of TV. All other devices on the network seem to be working OK.
If the TV does not have an IP according to it at least, it should not have been active and that IP should have been released. (I guess). The TV is giving error code 009 - it is on my wireless network says signal strength is excellent - but does not report an IP address. Assume something to do with pi.hole since pi.hole is my DHCP server.
The DHCP service of Pi-hole is not provided by the Pi-hole code, but is provided by the underlying dnsmasq. I would visit some of the dnsmasq or Roku forums to see if there is any discussion of this issue. I'm not very conversant in DHCP.
You could assign an IP to that MAC address via dhcp reservation in the /admin/ interface.
Looks like the device is asking for an IP, the dhcp server provides it ... but then something happens ...
No manual IP settings in the tv (as a last resort)?
I don't think I can assign an IP on the TV.
Now i can't seem to get to the web interface admin using pi.hole. Have to use the IP address!
But I wonder if it's the TV. Only device on the network not working. Was fine - wonder if it had a SW update or something.. I put my router back to settings before adding pi-hole - pointed dns somewhere, and had it do the DHCP (with Orbi, pi-hole only seems to working having p-ihole also do the DHCP). Anyway, most devices on my network got a new IP address including the TV at least according to the router. But the TV is still not connected. Will try to completely turn off the Raspberry Pi next and re-test. Other roku devices on my network do work, but are not roku tvs - they're roku sticks.
Hi, I have a similar problem with an android tablet, which changes mac address every time it connects to wifi. If I don't leave wifi always on (to save battery power) it quickly saturates the 250 available IPs on my LAN.
On reddit I found a post where is suggested to remove /etc/pihole/dhcp.leases, and restart DHCP daemon, but this does not seems to work. Where are leases stored currently on Pi hole 4.4 / FTL 4.3.1?
So, turns out my dumb router by itself / not me! started blocking the TV, both wired and wireless interfaces (i have access control on). I forgot about checking access control on the router :(.
Now though, my Pi doesn't seem to have working DNS. I can ping a name server, like 8.8.8.8 but not yahoo.com. I am not using Pihole at the moment as router is back to normal settings. Maybe I'll uninstall Pihole and start again.