Pihole on pc and router but they are both plugged into a switch

Hi,

I am not quite as experienced as others here with networking etc. I have done my research but can't seem to find a solution or get a hang of how it all works. I live on a University Campus where my internet comes from 1 ethernet socket out of the wall. I have to request my device to be listed at some service where they probably whitelist my MAC-address of the connected device.
The problem is: I have a switch linked up to this 1 (and only) socket, so I can connect more devices. I have a router plugged into the switch, and my PC. My first problem is is that the PC and router are not in 1 network and therefore these devices don't communicate. Is there a way to fix this other than plugging my PC into my router? I purposefully did not do this because it heavily bottlenecks my internet speeds on my PC.

My second question is whether I can have the pihole for both the PC and the router with this setup. Also Should I put the pihole in the switch or in the router?

Just to be clear the scheme is as following:

  1. my wall socket -> Switch -> PC & Router

This seems related to routing rather than Pi-hole.
Your campus admin should have further advice.

That said:
Try plugging your Router into the Ethernet socket, then connect your switch to the router and plug your PC, Pi-hole and other devices into the switch.

That way, all devices would connect through your router, and thus be part of its network.

Thank you very much for your response. The problem however is that I cant/dont want to connect my PC to my router, because it is a (not so good) router that cant handle Gbit/s whereas My PC has 1Gbit/s now. Rewiring to the solution you mentioned would take my pc's speed from 1Gbit/s to 100Mbit/s, so it is a route I wouldn't want to take.
I will try mailing my campus admin for the other routing issues so thanks for that advice! :slight_smile:

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