cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
962
Views
0
Helpful
3
Replies

Cascaded routers and static routing

zorzig
Level 1
Level 1

Hi everybody!
I am cascading a cisco 1841 (R1) to a SOHO tp-link adsl router(R0).
Cascaded to the 1841 there is another netgear SOHO router(R2).
Internet ---R0--- R1---R2---LAN
R0 has 4 lan ports serving addresses in 192.168.1.0/24, and R0's ip address is 192.168.1.1.
I configured Fa0/0 of R1 with ip address 192.168.1.2 255.255.255.0.

Then I configured Fa0/1 of R1 with ip address 192.168.2.1 255.255.255.252.

Finally, I created a wan interface on R2 with ip address 192.168.2.2 255.255.255.252.
R2 has 4 LAN ports: 1 is repurposed as the aforementioned wan interface, the other 3 are serving addresses in 10.0.0.0/24.
I configured static routing on both R1 and R2:

R1> sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 192.168.1.1 to network 0.0.0.0

     10.0.0.0/24 is subnetted, 1 subnets
S       10.0.0.0 [1/0] via 192.168.2.2
C    192.168.1.0/24 is directly connected, FastEthernet0/0
     192.168.2.0/30 is subnetted, 1 subnets
C       192.168.2.0 is directly connected, FastEthernet0/1
S*   0.0.0.0/0 [1/0] via 192.168.1.1, FastEthernet0/0

On R2 I configured the following static routes:
0.0.0.0 0.0.0.0 via 192.168.2.1

Given this setup, I cannot ping ip 192.168.1.1 from LAN 10.0.0.0/24.
And I cannot ping any Internet public ip (tested with 8.8.8.8) from R1.
I fail to see what I'm doing wrong, any pointers in the right direction would be much appreciated.
Thanks in advance

Giacomo

3 Replies 3

luis_cordova
VIP Alumni
VIP Alumni

Hi @zorzig 

 

I think you are missing a NAT on R1.
This is because R0 does not have a route to network 10.0.0.0
Try this on R1:

access-list 1 permit 10.0.0.0 0.0.0.255

ip nat inside source list 1 interface f0/0 overload

 

interface f0/0

ip nat outside

interface f0/1

ip nat inside

 

Regards

I'm sorry, I forgot to mention I configured R0 with the static route
10.0.0.0 255.255.255.0 via 192.168.1.2 as well.

Abzal
Level 7
Level 7

Hi,

 

try this on R1:

 

ping 192.168.1.1 source 192.168.2.1

 

try this from LAN 10.0.0.0:

 

ping 192.168.2.1

 

Is R2 WAN interface connected to R1 LAN port?

Best regards,
Abzal
Review Cisco Networking products for a $25 gift card