I’m changing my local network addresses from the range set 192.168.0.0/24 to 10.0.0.0/22. Ideally my pihole machine would go from 192.168.0.2 to 10.0.1.2 and the gateway from 192.168.0.1 to 10.0.1.1.
I first tried with
pihole -r attended to set the new ip, mask and gateway. It worked partially as the interface showed 10.0.1.2/24 and the gateway didn’t update. No package updated as the pi is now unable to reach the internet. I retried again and the gateway updated but not the mask. I then changed the mask with
sudo nano /etc/pihole/setupVars.conf setting it to 255.255.252.0. It worked. The gui showed /22 but
ifconfig still 255.255.255.0.
In the end I’m unable to get the machine to reach the internet as ping reports 18.104.22.168 as unreachable.
I need help to get the raspberry pi to actually connect to the internet.
There was an error uploading your debug log.