Disabling DHCP on my router causes no internet connection

I installed Ubuntu Server 18.04.3 on an old laptop and followed this guide: https://www.linuxincluded.com/install-pi-hole-on-ubuntu/

I'm using a Netgear C6250 modem/router. I recently learned that you cannot properly adjust the DNS setting on Netgear stuff and as a result I attempted to run my DHCP through pihole.

The issue that I now run into is when I enable DHCP on pihole and disable it on my netgear I can no longer connect to the internet. That is, my router/modem no longer makes a connection to Comcast.

Here are the screenshots of my settings along with my router showing no assigned external ip.

https://i.imgur.com/MRJKfQN.png https://i.imgur.com/EQv3wvh.png

I'm not sure why this is happening or what I can do otherwise (aside from returning the router/modem). If you have any suggestions I'd really appreciate it. I'm also open to other solutions.

Have you enabled DHCP in your raspberry pi?

Check the internet and make sure the Internet IP Address is set to get Dynamically from ISP.

image

Here's how it looks on my side:

image

Comcast like pretty much any other ISP is authorizing the CM mac of the device.

There are 2 things that happen though. If the MAC is not authorized, the device is pushed into a "walledgarden" mode where it's seen by the Comcast network but not authorized and internet is not working.
In this case, the device DOES get a DHCP IP from Comcast.

In your case, that doesn't seem to happen as you don't seem to have an IP assigned on the internet Port which is weird.

I am not familiarized with a Router/modem combo interface unfortunately.

Your best bet is to contact Comcast's tech support (if it's their device) and see what can be done.

If it's yours, then Netgear would be the best route...

Don't know which of the two evils you'll have to go for ... but ... good luck ...

L.E. If swapping/replacing is not an option you can always "hack" (and by that I mean trick) the whole network to work to your advantage.

Not the most healthy way of doing it but it might work ... as a last resort :slight_smile:

Set the DHCP range on Netgear to have 1 IP only (preferably the Pi-hole IP).

Then turn the DHCP within Pi-hole, starting with the next IP (say you set-up in Netgear 192.168.1.2 to 192.168.1.2 as you range, in Pihole you's start from 3 to .. 254).

New devices will get IPs from the "rogue" DHCP server (Pi-hole) as the router has his table full with the 1 IP taken by Pi-hole.

Tadaaaa

2 Likes

Yup. It's a laptop though.

That's super smart. I'll try that.

Okay. That was super hacky, but it seems to have worked!

1 Like

This would be a nightmare on a bigger network but a home one ... eh .. it can take it :slight_smile:

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