DHCP Server

Refer to my Red changes in the images

I'm trying to use the pihole as my DHCP server

Router:

Disable DHCP server

Copy IP range and Default Gateway

Pihole:

Enable DHCP server

Copy router's IP range and Default Gateway to pihole settings

I figured this is all that needs to be done. Upon completion, my network no longer has internet or able to connect to internal resources

What am I doing wrong?

Your pi-hole is set with a static dhcp lease from your router. When you disable the dhcp server on your router, your pi-hole does not know where to get an IP from. This effectively stops the pi-hole from connecting to your network and handing out DHCP leases.

The solution is to set a static IP address on your pi-hole, that way it does not rely on an external dhcp server. I would suggest something like 192.168.0.254

Before we examine this further:
What's your reason for switching DHCP servers?

Usually, you'd want to do that because your router's DHCP server doesn't support to configure local DNS servers, nor to change its upstream DNS settings.

From the screenshots you've shared above, your router is already configured to distribute your Pi-hole host machine's IP as local DNS server.

Why not just stick with it?

I trust the Pi-hole's software more than my router's. Plus it makes the dashboard easier to read with client names to troubleshoot problems

Did you set a static IP on the Pi-hole machine OS, before you disable the router DHCP?

1 Like

Why wouldn't I just keep, 192.168.0.42 if the pihole has already been configured as such?

Additionally I noticed you IP suggestion is one IP out of my IP range?

No I didn't

You are free to keep the pihole as the .42 IP. .254 was merely a suggestion, and it is a valid IP. Your subnet ranges from 192.168.0.1-192.168.0.254 with a broadcast address of 192.168.0.255. Your current DHCP server is set to not hand out the .254 address for whatever reason.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.