You are not logged in.

#1 2012-10-18 19:44:48

Headbanger606
Member
Registered: 2011-10-01
Posts: 4

Cannot ping computer on separate subnet

Hi all,

I have two routers setup like :

Internet -> Router A(192.168.0.1/192.168.0.255) -> Router B(192.168.2.2/192.168.2.255)

My machine is connected to Router A, and my local dev server connected to Router B.
From my dev server, I can ping my personal machine no problem, as well as ping Router A.
However, from my machine I cannot ping either the dev server or Router B.
It's been almost a year since I've done any serious linux admin, and longer since I've had
to deal with any network stuff. Does anyone have any advice on either the problem, or where to
go for information? I've been searching the forum and wiki all day, but the only information I've
found about subnets is way more complicated then what I'm trying to do.

Last edited by Headbanger606 (2012-10-18 19:56:29)

Offline

#2 2012-10-18 19:54:47

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Cannot ping computer on separate subnet

My money is on router B config.  Presumably, router A is connected to the 'internet' port of router b.  So as far as router b is concerned, connections are coming in from the internet, and that's the traffic the router's security measures are designed to limit.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2012-10-18 22:45:07

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: Cannot ping computer on separate subnet

You'll need static routes too; either on Router A for 192.168.2.0/24 via the 192.168.0.x address belonging to Router B, or on each machine for the same route

ip r a 192.168.2.0/24 via 192.168.0.xxx

Replace xxx with the IP address of Router B.

Of course, what alphaniner said too... You'll need to make sure there are appropriate firewall/acl rules on the router, and disable NAT.

Offline

Board footer

Powered by FluxBB