Pihole DHCP problems

January 5, 2024, 12:06

ravencode.

I have pihole setup as the DHCP server for my network. I've got a mesh network which unreliably connects to pihole. My problem is that sometimes I get disconnected from my mesh network and onto my ISP router which has poor coverage. I think it's smth about the leases since when I remove my device info from the dhcp.leases file I can reconnect. Any ideas on how make it work properly?

ravencode.

My mesh system is connected via Ethernet into my ISP router so I could try putting it into my pi's Ethernet instead

k9t33n

I'm not too confident in this but isn't DHCP the thing that gives out addresses? you need a static IP address outside of your IP range on the router

oops.se

I will assume that your ISP router has multiple ethernet (LAN) ports. So connect your mesh and Raspberry Pi with ethernet cable to your ISP router. If the ISP router down't have multiple LAN ports, buy a cheap layer 2 switch and use that to connect your devices together.

ravencode.

I was using 2 wireless interfaces on my pi

ravencode.

Wait it might be connected to mesh lol

k9t33n

I've seen some mesh systems before where they act like actual routers themselves and devices across mesh systems can't access eachother

oops.se

That is called "Client isolation" a security feature. Ofteh used by Internet cafe, schools, ISP and more.

ravencode.

My one adds them to the port the system is plugged into so there's like 15 devices on a single port lol

k9t33n

it's annoying. they're meant to be extenders ;f the original network so why become one? I just don't get why it's on by default on a lot of systems

oops.se

Security, how often is there that one Wi-Fi client needs to reach another Wi-Fi client? To have server connected via Wi-Fi isn't the best practice.

k9t33n

I mean it's about the same amount of security as having your old WiFi as is. the only difference is that it covers a larger area as long as the mesh system encrypts it and all. i just think it's overkill to become a separate router and should instead simply expand your original wifi

Pantner

if you have a mesh wifi you use, turn off the wifi in your router so it won't switch back. or even just forget the network settings for the router. It can't connect to the wifi if it doesn't know the wifi password

ravencode.

Problem with that, if it switches me to the router I can't reconnect to the mesh due to an IP config error

Pantner

thats why i'm saying delete the remembered wifi details or plain turn off the other wifi that you don't want to use

Pantner

you can't connect to the router wifi if the router wifi is turned off

Pantner

i'm assuming that is what you mean? You have a computer on wifi that sometimes connects to your routers wifi instead of the mesh wifi?

ravencode.

It might work