1

I have 2 computers that I want to make them talk to each other even without internet connection and they are connected on 2 different routers. The internet comes from Router A. From Router A there are 2 routers connected: Router B and Router C. My PC is connected to Router B and the Server is connected to Router C.

How can I ping/make the 2 computers communicate to each other by using this network hierarchy ?

This is the network structure I'm talking about: network hierarchy

TermoZour
  • 677
  • 4
  • 11
  • 23
  • Yes, you can. I hope that only one router is the DHCP server. And why is Router C not on the same network segment as everything else? – harrymc Oct 30 '18 at 18:49
  • Router B and C are connected to 2 lan ports of Router A. Pinging from PC to Server returns `timed out` every time. – TermoZour Oct 30 '18 at 18:54
  • 1
    Is your intent to keep them isolated in their own networks or to have them be part of the same LAN? Your picture contradicts both options. – HazardousGlitch Oct 30 '18 at 21:49
  • My intent is to make 2 networks. Computers connected to Router A have 1 network, and Router B and C have another network. The picture shows how they're all set up ATM and how traceroute sees the networks – TermoZour Oct 31 '18 at 05:27
  • Is numbering the server 192.168.1.250 a mistake? It isn't connected to any other device numbered inside 192.168.1.x as far as I can tell. – David Schwartz Oct 31 '18 at 18:41
  • You are right, it is a mistake. The IP address should have been 192.168.2.250 – TermoZour Nov 01 '18 at 01:35

1 Answers1

0

You have here three network segments : 192.168.0.X, 192.168.1.X, 192.168.2.X, because probably your network mask is the default 255.255.255.0.

So the communications you are interested in cannot cross over from one to the other.

I suggest to :

  • Let Router A be the DHCP server and disable this feature in Routers B & C.
  • You don't need static IP addresses if everything is dynamic, but you are going to have them they should be in one segment only. The most common is 192.168.0.X.
  • Ensure that Routers B & C either use dynamic IP or are allocated static IP addresses in the right segment.
  • If the routers are connected via cable, ensure that connections are LAN-to-LAN, like this:

enter image description here

For more information, see the post:
Expanding wireless coverage: What are the differences between LAN to LAN and LAN to WAN when it comes to connecting two wireless routers?.

harrymc
  • 455,459
  • 31
  • 526
  • 924
  • At the 3rd bullet "Ensure that Routers B & C either use dynamic IP or are allocated static IP addresses in the right segment", what do you mean exactly by "use dynamic IP" ? Their IP from the DHCP Client List of Router A ? – TermoZour Oct 30 '18 at 19:12
  • @harrymc Please stop flagging comments that are correct. – DavidPostill Oct 31 '18 at 17:18
  • @DavidPostill: Fine, I changed the wording slightly, now it's no longer correct and you may delete it. Do we agree? – harrymc Oct 31 '18 at 17:23