cancel
Showing results for 
Search instead for 
Did you mean: 

VM Hub 6 with Pi-Hole for Adblocker

woodman1980
Joining in

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?

7 REPLIES 7

legacy1
Alessandro Volta

The hub does not give you DNS/DHCP control you need your own router with 1Gb ports and put hub in modem mode

---------------------------------------------------------------

Client62
Alessandro Volta

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.

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.

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?

newapollo
Very Insightful Person
Very Insightful Person

@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.

Dave
I don't work for Virgin Media.
I'm a Very Insightful Person, I'm here to share knowledge.
Problem solved? Click to mark as a Helpful Answer, or use Kudos to say thanks

The Service you do for others is the rent you pay for your room here on Earth - Muhammad Ali

Tudor
Very Insightful Person
Very Insightful Person

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.


Tudor
There are 10 types of people: those who understand binary and those who don't and F people out of 10 who do not understand hexadecimal c1a2a285948293859940d9a49385a2

Client62
Alessandro Volta

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.