networking - Devices on subnet cannot access each other but can access internet

07
2014-04
  • pratstercs

    I live in university halls and only have access to the internet and the network through one ethernet port. I have a TP-Link R860 router (wired only) and a TP-Link simple switch.

    If I connect using the simple switch, one device can access the internet and all the other devices on the switch. If I use the router, everything can access the internet, but cannot access each other on the subnet.

    How can I connect all my devices so that they can all access each other as well as the internet?

    Thanks!

  • Answers
  • r0berts

    Most likely you are using static IP addressing when connecting via switch and not updating it to DHCP when you put router between the Uni network and your local network segment.

  • Lawrence

    Plug the Switch into the Router as a workaround for now.

    If you can find out if there are any features on the router that prevent LAN ports from talking to each other, you will probably need to disable that so that you only need to use the Router


  • Related Question

    How can I share my internet connection using a router?
  • takeshin

    How can I share my internet connection using a router?

    I get 192.168.1.150 from my provider and 192.168.1.1 as a DNS server, mask is 255.255.255.0

    I suppose 150 is my gateway now.

    What IP should have the router set? What addresses, masks and other settings should the PCs in my LAN have?

    EDIT:

    192.168.1.150 is the address of the access point. I connect another access point with router to the other one and want to have another subnet. Is this possible?


  • Related Answers
  • Alexander Galkin

    Router is the device that connects two different networks together. So you must theoretically have two different networks on both sides of your router.

    From what you have written in your question I suggest that that is not your provider, but rather your router that assigns you the IPs you provided: 192.168.*.* is common for local network topologies, not for WAN addresses. The only strange things here seems to be your DNS, that is usually not the same server as your GateWay.

    On the other side you might also be in the situation common in many dormitories where your "provider" is your landlord or home management office and you get the IPs from the local network assigned to your personally. Since you mention using the router this seems to be the address assigned to your router, not to your private PC. In this case you can just connect as many clients to your router as you want, both using cable or wirelessly and they all will use the shared line for Internet connection.

    You don't have to configure your clients beforehand, rather you better activate the DHCP service on your router so that the latter will automatically distribute the available IP address pool to your clients and manage those (having certain expriration time etc.).