10-03-2023
06:29 AM
- last edited on
10-10-2023
03:32 AM
by
Translator
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.)
Solved! Go to Solution.
10-03-2023
07:25 AM
- last edited on
10-10-2023
03:40 AM
by
Translator
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 *******
10-03-2023
06:36 AM
- last edited on
10-10-2023
03:34 AM
by
Translator
post show run
from all the routers
show ip route
from all the routers.
=====Preenayamo Vasudevam=====
***** Rate All Helpful Responses *****
10-03-2023 06:40 AM
Attach your pt file here in a zip format
Regards, ML
**Please Rate All Helpful Responses **
10-03-2023 07:31 AM
10-03-2023
08:03 AM
- last edited on
10-13-2023
01:59 AM
by
Translator
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 **
10-03-2023
07:25 AM
- last edited on
10-10-2023
03:40 AM
by
Translator
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 *******
10-03-2023
08:10 AM
- last edited on
10-13-2023
02:08 AM
by
Translator
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!
10-03-2023
09:20 AM
- last edited on
10-10-2023
03:44 AM
by
Translator
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 *******
10-03-2023
07:54 AM
- last edited on
10-13-2023
02:06 AM
by
Translator
Hello @dorothi,
Add on Router_1:
Add on Router_3:
After that R1 should ping R3:
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
Whereas PC6 gateway is:
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide