on 04-08-2024 15:01
Hi,
As the title suggests I am trying to setup a Raspberry Pi running Pi-Hole to block ads across my network. I need to set the a static ip address so it runs smoothly. Can I do that on the Hub 6? I cannot see it. The Pi-Hole setup asked me to
"Configure my Devices to use the Pi-Hole as their DNS Server using:
IPv4: 192.168.0.86
IPv6: 2a02:8084:****:****:****:****:****:****"
It says this IP should be set to static.
I added a rule under DHCP to set the raspberry Pi to the IPv4 address above but it doesn't work. Am I missing something?
04-08-2024 15:11 - edited 04-08-2024 15:12
The hub does not give you DNS/DHCP control you need your own router with 1Gb ports and put hub in modem mode
on 04-08-2024 15:26
Hub 6 is this an ROI connection ?
To to something similar on my UK VM Hub I would :
1) Manually set the Pi-Hole to desired static IPs E.g 192.168.0.2 ( i.e. a value below or above the DHCP range )
2) Enable the Pi-Hole as the DHCP server with a range of say 192.168.0.10 to 192.168.0.254
3) Disable the VM Hub's DHCP server
I would be able to manage the VM Hub at its usual address of 192.168.0.1
and access the Pi-Hole at 192.168.0.2 ( or whatever IP is chosen ).
The Pi-Hole would be giving out its IP as the DNS for your LAN hosts.
on 04-08-2024 17:52
Thanks legacy1 but the Hub 6 cannot be put into Modem mode. I have been reading about it and some people are saying to ask VM for a IPv4 router. Not sure what that will do. I'm a newbie here.
on 04-08-2024 17:54
Thanks Client62,
I tried that but it didn't work. It still did not block ads. I saw somewhere that if I switched off IPv4, then it would work. When I did that, I could not access the Pi-hole from a remote laptop on the network but it did seem to block ads. Is that the trade off? No remote access but it works?
on 04-08-2024 17:57
@woodman1980 wrote:Thanks legacy1 but the Hub 6 cannot be put into Modem mode. I have been reading about it and some people are saying to ask VM for a IPv4 router. Not sure what that will do. I'm a newbie here.
The highlighted text seems to confirm that you are in the ROI. These forums are for domestic customers of Virgin Media in the UK and the forum team don't have access to VM ROI's systems. VM UK also don't have access to IPv6 on their hubs, the latest of which is the hub 5 and hub5x.
You therefore need to speak to https://www.virginmedia.ie/contact/ and ask them if they can switch you to IPv4.
on 04-08-2024 20:18
Regardless of where you are located, a static address is set in the Raspberry Pi, NOT the router. What can be set in the router is a preferred DHCP address, but it is not static. If the Raspberry Pi is running the lastest OS (Bookworm) then you need to use ‘nmcli’ search the web on how to do it. Previous versions of the OS use ‘dhcpcd’ so search for this.
05-08-2024 09:00 - edited 05-08-2024 09:12
Investigate systematically why it does not work ... i.e. look at the various settings,
don't make any changes until you fully understand what the problems are and how to resolve them.
With the Pi-Hole enabled as a DHCP server, the VM Hub must have its DHCP server disabled.
If the client devices are still seeing adverts, check the IP settings of the device to see if it is using the Pi-Hole IP as its DNS. i.e. what is the DNS for IPv4 and IPv6 ?
Also look at web browser settings. Edge / Chrome / Firefox etc can all be set to use
DoT / DoH directly accessing a Public DNS and in the process bypassing the Pi-Hole.
Use of Apple Relay ( a type of VPN ) would bypass the Pi-Hole
Use of Safari Private Browsing makes use of a Public DNS bypassing the Pi-Hole.