cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1291
Views
4
Helpful
8
Replies

Router A and C can't ping each other but their PCs can

dorothi
Level 1
Level 1

dorothi_0-1696339532796.png

This i my topology, the PC-s can ping each other, but R_1 and R_3 cannot ping each other. Both R_1 and R_3 can ping R_2 and vica versa. I set up

 static routes.

Why cant my routers on the sides reach each others? (I want to ping the gateways of the PCs, so the copper cable ports of the routers.)

1 Accepted Solution

Accepted Solutions

Blue_Bird
VIP
VIP

if you want see the full connectivity or communication to all networks in R1 you should configure 3

 static routes

, in R2 you should configure 3

static routes 

and finally in R3 should configure 4

static routes....
R1(config)# ip route 192.168.2.0 255.255.255.0 10.0.0.2
R1(config)# ip route 10.0.0.4 255.255.255.252 10.0.0.2
R1(config)# ip route 192.168.3.0 255.255.255.0 10.0.0.2

R2(config)# ip route 192.168.0.0 255.255.255.0 10.0.0.1
R2(config)# ip route 192.168.1.0 255.255.255.0 10.0.0.1
R2(config)# ip route 192.168.3.0 255.255.255.0 10.0.0.6

R3(config)# ip route 192.168.0.0 255.255.255.0 10.0.0.5
R3(config)# ip route 192.168.1.0 255.255.255.0 10.0.0.5
R3(config)# ip route 192.168.2.0 255.255.255.0 10.0.0.5
R3(config)# ip route 10.0.0.0 255.255.255.252 10.0.0.5

Please check...whether you have missed in any route in any router....

if you found any network is missed...add it...
probably this will fix the issue....

Best regards
******* If This Helps, Please Rate *******

View solution in original post

8 Replies 8

balaji.bandi
Hall of Fame
Hall of Fame
post show run

from all the routers

show ip route 

from all the routers.

 

BB

=====Preenayamo Vasudevam=====

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Martin L
VIP
VIP

Attach your pt file here in a zip format 

Regards, ML
**Please Rate All Helpful Responses **

I tried several networks, the one at the down is what I ended up finishing. (And thx for letting me know i have to zip it befora sending it!)

So when you don't have any routing protocols, u must use

static routing

as pointed out by G P above;  this means every router must know about every single network he wants to reach; even one in the middle must know all routes- lots of work and typing;  often u can use

default routes

on the edges of networks (aka stub routers)

since they have only one way out.  You can try figure

static routes 

out on your own or use commands shared above.

I added OSPF to all routers and advertise all networks - this is just to test network; 

router ospf 1

network 0.0.0.0 255.255.255.255 area 0

 

PC 6 ad 7 have problem, an issue on right side; typo, see if u spot it.  If u have all pings with

OSPF routing

then remove

OSPF router

command and add

static routes

in the end, all PCs should ping each others and

 ping routers

as well. you can add spare IPs on switches under interface vlan 1 and

ip default-gateway x.x.x.x

 

Regards, ML
**Please Rate All Helpful Responses **

Blue_Bird
VIP
VIP

if you want see the full connectivity or communication to all networks in R1 you should configure 3

 static routes

, in R2 you should configure 3

static routes 

and finally in R3 should configure 4

static routes....
R1(config)# ip route 192.168.2.0 255.255.255.0 10.0.0.2
R1(config)# ip route 10.0.0.4 255.255.255.252 10.0.0.2
R1(config)# ip route 192.168.3.0 255.255.255.0 10.0.0.2

R2(config)# ip route 192.168.0.0 255.255.255.0 10.0.0.1
R2(config)# ip route 192.168.1.0 255.255.255.0 10.0.0.1
R2(config)# ip route 192.168.3.0 255.255.255.0 10.0.0.6

R3(config)# ip route 192.168.0.0 255.255.255.0 10.0.0.5
R3(config)# ip route 192.168.1.0 255.255.255.0 10.0.0.5
R3(config)# ip route 192.168.2.0 255.255.255.0 10.0.0.5
R3(config)# ip route 10.0.0.0 255.255.255.252 10.0.0.5

Please check...whether you have missed in any route in any router....

if you found any network is missed...add it...
probably this will fix the issue....

Best regards
******* If This Helps, Please Rate *******

Oh yes! It works.

But I dont understand, at first I had all

static routes

set up that destined the

192.168.0.0, 192.168.1.0, 192.168.2.0,192.168.3.0

networks which made the PCs able to ping each other. I added the

10.0.0.x

static routes

(so i modified R1 and R3) and the routers only pinged each other after this. Why were the PCs able to ping each other while the routers not? O.o

And thanks, i have checked the ACLs, and everything already now I have some success over this task and I'm so glad!

you should see the full connectivity....any pc to any pc and  any router to any router communication...

as M02@rt37 mentioned...check for pc 

 ip address configuration...

what ip address you have given to the

 router interface

....same

ip address

you configured as

default gateway

in pc

go to

 pc6 ip 

configuration....remove existing gateway

 ip adderss 

configure 

gateway 192.168.2.30

after that you  try to ping...it should be successful....

Best regards
******* If This Helps, Please Rate *******

 

 

M02@rt37
VIP
VIP

Hello @dorothi,

Add on Router_1:

M02rt37_0-1696344768821.png

Add on Router_3:

M02rt37_1-1696344792478.png

After that R1 should ping R3:

M02rt37_2-1696344815387.png

Also, take care,

Gateway of PC-6 

is not good, or the

 IP on interface Gi0/0 of Router_3

is not good

On router_3 interface

Gi 0/0 is 192.168.2.30

M02rt37_4-1696345062427.png

Whereas PC6 gateway is:

M02rt37_5-1696345083008.png

 

 

 

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.