Can't connect outside of local network

Expected Behavior:

Fresh installed Raspberry 4 and got SSH and PIHOLE to run.
ping site outside LAN and get response. (ex. ping google.com - Reply from 142.251.41.46: bytes=32 time=10ms TTL=115)
ping my gateway and get a response

Actual Behavior:

ping gateway - Destination host unreachable
ping google.com - Destination host unreachable

Debug Token:

f4pYvbMA

I couldn't see anything wrong with Pi-hole in the debug log – Pi-hole is blocking blocked domains and it is responding to DHCP requests correctly and it has an IP. It's simply unable to communicate with the network. Some things to check:

The network configured is 192.168.2.x, for example the router is on 192.168.2.1. Is this correct or could there be a typo, eg the network should have been 192.168.1.x and the router is at 192.168.1.1?

Is the ethernet cable plugged into a correct port, for example there are no VLANs or anything like that set up that might prevent the port from reaching the router?

Are you able to try another ethernet cable in case this one is faulty?

It is correct that the router is a 192.168.2.1 .
the ethernet cable is connected directly to the router. and I know the cables are fine.

I had internet when I had the initial installation of Rasberi Pi.
Everything stops working when I run and install Pihole.

Has it been rebooted since installing Pi-hole? I know that seems a bit of a cop-out but, if not, it's worth doing just to see if it's something related to the installation process or whether it's something which now persists.

Try running the commands below in the terminal on the Pi. what do they give?

nc -z -v 192.168.2.1 80
ping -c 3 192.168.2.1
route -n
1 Like

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