Sign in with
Sign up | Sign in
Your question

Networking two routers, static route

Last response: in Networking
Share
March 5, 2010 1:20:09 PM

Hello,
I have two routers.
Router1(ZTE) is connected to my ISP via PPPoE and the Router2(TP-LINK) is connected to Router1's ethernet port.
Cable from ethernet port of Router1 is connected to WAN port of Router2.

Router1's config (LAN Side):
ip : 192.168.1.1
subnet : 255.255.255.0

Router2's config (WAN Side):
ip : 192.168.1.2
subnet : 255.255.255.0

Router2's config (LAN Side):
ip : 172.0.0.1
subnet : 255.255.0.0

wat i want to do is to ping pc's (with ip's : 172.0.0.2,172.0.0.3,etc) of Router2 from my pc connected to Router1 (using ip : 192.168.1.3)
i can ping from 172.0.0.x to 192.168.1.x but unable to ping from 192.168.1.x to 172.0.0.x

i dont want to use NAT's instead i want to make use of static routes.
tried adding static routes myself but failed.
searched alot on net but still not solution.

what should i do?
March 5, 2010 2:47:31 PM

I assume you’re configured as follows:

[router #1](lan)<--wire-->(wan)[ router #2]

Any clients of router #2 are allowed access to clients of router #1. But any clients of router #1 are denied access to router #2 by its firewall. So that’s the first problem (unless you took care of that already, you didn’t mention it).

You will also need to add static routing to clients of router #1 in order for them to find the 172.0.0.x network since I presume those clients are already using router #1 as their default gateway (i.e., 192.168.1.1) for Internet access.

route add 172.0.0.0 255.255.255.0 192.168.1.2

NOTE: If router #1 supports static routing, you should be able to specify the routing there and avoid having to update individual clients of router #1.
m
0
l
!