# Pi-hole and Virgin MediaHub problem

**URL:** <https://discourse.pi-hole.net/t/pi-hole-and-virgin-mediahub-problem/19563>\
**Category:** Help\
**Created:** [April 30, 2019, 11:17am UTC](https://discourse.pi-hole.net/t/pi-hole-and-virgin-mediahub-problem/19563 "2019-04-30T11:17:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![propofrolic](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/p/6f9a4e/32.png) [@propofrolic](https://discourse.pi-hole.net/u/propofrolic)\
**Post date:** [April 30, 2019, 11:17am UTC](https://discourse.pi-hole.net/t/pi-hole-and-virgin-mediahub-problem/19563/1 "2019-04-30T11:17:38Z")

</div>

I've installed pi-hole on my P3b+ as per the instructions, and it is working perfectly on the Rpi using chromium.

However, because I'm using a VirginMedia hub I can't define pi-hole's DNS server. I tried setting the DNS server address on my Mac, but then no internet page will load!

Apologies if this is a simple question / known solution. Best I could come up with searching the forums is that I need to buy a 3rd party router, but hopefully there's a software based solution.

Debug token yr4wmdkhpa

Thanks!

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [April 30, 2019, 12:54pm UTC](https://discourse.pi-hole.net/t/pi-hole-and-virgin-mediahub-problem/19563/2 "2019-04-30T12:54:30Z")

</div>

> [@propofrolic](#):
>
> hopefully there’s a software based solution.

You can use your Pi-Hole as the DHCP server:

> [@How do I use Pi-hole's built in DHCP server (and why would I want to)?](https://discourse.pi-hole.net/t/how-do-i-use-pi-holes-built-in-dhcp-server-and-why-would-i-want-to/3026):
>
> Using Your Existing Router For Network-wide Ad Blocking You might not need to use Pi-hole's DHCP server: In many home environments, your router also functions as your DHCP server. In this case, you can often [set Pi-hole to be the DNS server for your network clients in the router's DHCP (or LAN) settings page](https://discourse.pi-hole.net/t/how-do-i-configure-my-devices-to-use-pi-hole-as-their-dns-server/245), which allows all of your network clients to block ads simply by connecting to the network. Setting it up this way is also what makes Pi-hole very powerful for network-wide ad blocking. W…

> [@propofrolic](#):
>
> I tried setting the DNS server address on my Mac, but then no internet page will load!

Your debug log shows no IP addresses assigned to the Pi. Pi-Hole is listening on 192.168.0.22, but that is not the IP of the Pi. Check in your router settings and verify that the Pi has a reserved IP of 22.

```auto
*** [DIAGNOSING]: Networking
[âœ—] No IPv4 address(es) found on the eth0 interface.

[âœ—] No IPv6 address(es) found on the eth0 interface.

[i] Default IPv4 gateway: 192.168.0.1
   * Pinging 192.168.0.1...
[âœ—] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)

```

> [@propofrolic](#):
>
> I tried setting the DNS server address on my Mac, but then no internet page will load!

---

<div class="post-metadata">

**Author:** ![propofrolic](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/p/6f9a4e/32.png) [@propofrolic](https://discourse.pi-hole.net/u/propofrolic)\
**Post date:** [April 30, 2019, 2:52pm UTC](https://discourse.pi-hole.net/t/pi-hole-and-virgin-mediahub-problem/19563/3 "2019-04-30T14:52:08Z")

</div>

Thanks

I started by disabling my router DHCP server and enabling Pi-hole DHCP, but for some reason that stopped my Pi connecting. The Pi did have a reserved IP of 22. I ran the debug again and got lots of errors, so I reinstalled and ran debug - code is czcj6lw3aj

The debug is still saying the gateway didn't respond. I used netstat -nr | grep default to confirm that the gateway is 192.168.0.01

The pi seems to be on 192.168.0.12 and the Hub has a reserved IP of 192.168.0.12/24

Thanks again for helping - sorry if the problem is my technical mistakes!

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [April 30, 2019, 3:54pm UTC](https://discourse.pi-hole.net/t/pi-hole-and-virgin-mediahub-problem/19563/4 "2019-04-30T15:54:32Z")

</div>

You have the same problem as before.

```auto
*** [DIAGNOSING]: Networking
[âœ—] No IPv4 address(es) found on the eth0 interface.

[âœ—] No IPv6 address(es) found on the eth0 interface.

[i] Default IPv4 gateway: 192.168.0.1
   * Pinging 192.168.0.1...
[âœ—] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)

```

---

<div class="post-metadata">

**Author:** ![propofrolic](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/p/6f9a4e/32.png) [@propofrolic](https://discourse.pi-hole.net/u/propofrolic)\
**Post date:** [April 30, 2019, 7:26pm UTC](https://discourse.pi-hole.net/t/pi-hole-and-virgin-mediahub-problem/19563/5 "2019-04-30T19:26:59Z")

</div>

I think it was me being stupid.... I was connecting via wifi not ethernet so I reconfigured with wlan and now it works perfectly!

I've configured my devices to use the pi-hole DNS rather than using pi-hole as the DHCP - should I swap or does it not really matter if it works?

Thanks again

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [April 30, 2019, 7:45pm UTC](https://discourse.pi-hole.net/t/pi-hole-and-virgin-mediahub-problem/19563/6 "2019-04-30T19:45:40Z")

</div>

> [@propofrolic](#):
>
> I’ve configured my devices to use the pi-hole DNS rather than using pi-hole as the DHCP - should I swap or does it not really matter if it works?

It is your preference. Some IOT devices don't have configurable DNS settings - they take whatever DNS is provided during the DHCP handshake. If you have none of those and your current setup works, then stick with it.

---

<div class="post-metadata">

**Author:** ![system](https://discourse.pi-hole.net/uploads/default/original/3X/7/c/7c8792f649eeb921c5d2b4c41564ffa873d9a2b8.png) [@system](https://discourse.pi-hole.net/u/system)\
**Post date:** [May 21, 2019, 7:45pm UTC](https://discourse.pi-hole.net/t/pi-hole-and-virgin-mediahub-problem/19563/7 "2019-05-21T19:45:40Z")

</div>

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