Skip to content

Instantly share code, notes, and snippets.

@sjardim
Last active April 22, 2026 10:18
Show Gist options
  • Select an option

  • Save sjardim/c395cfa0658416e1096f77f23f355bd7 to your computer and use it in GitHub Desktop.

Select an option

Save sjardim/c395cfa0658416e1096f77f23f355bd7 to your computer and use it in GitHub Desktop.
Settings for a Pi-hole with Vodafone in Portugal

Settings for a Pi-hole with Vodafone in Portugal

Guide used: https://www.youtube.com/watch?v=Z_sVjxu9LjE


Vodafone Smart Router

Admin: http://192.168.1.1/ (check login/password at the back of the router)

Firmware version: V5R020C10S220


Pi-hole running on Raspberry Pi 4B 8G of ram

Docker Tag 2026.04.0Core v6.4.1FTL v6.6Web interface v6.5


DHCP Server Parameters

Address Pool Start IP 192.168.1.64

Address Pool End IP 192.168.1.220

Lease Time 1 Hour

Domain Name lan

Primary DNS Server 192.168.1.222

(DNS server is the chosen Pi-hole ip, set as static within the pi-hole docker config during install and out of the IP range of the DHCP server)

Secondary DNS Server none

@sjardim
Copy link
Copy Markdown
Author

sjardim commented Apr 22, 2026

My local network was disconnecting every morning, probably due to being idle, and when the Vodafone router DHCP server started renewing the IPs, the static IP of the Pi-hole was conflicting. It took around 3 min every day for the network to come back. Now, by setting the DHCP IP range in the router to exclude the IP I set for the Pi-hole, I hope it will work.

Related: https://www.reddit.com/r/pihole/comments/11o5iyi/pihole_dhcp_server_crashes_every_24_hours/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment