cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
889
Views
10
Helpful
4
Replies

Start up : Unable to ping between the Routers

Richardlearn
Level 1
Level 1

I am new to CISCO. I setup a small testing network in packet tracer but I am unable to ping passed the routers across subnets.CISCO Community.PNG

I have configured only the hostname and interfaces- I was told that it should ping. I am not able to ping passed any routers - should be some basic issues. Please advice. Thanks in Advance.

Req : 1. ping from PCR2 to R1 2.ping from R2 to R3

 

R1 Config

 

Building configuration...

 

Current configuration : 506 bytes

!

version 12.2

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname R1

!

!

!

!

!

!

!

!

ip cef

no ipv6 cef

!

!

 

 

!

!

interface FastEthernet0/0

ip address 192.168.1.2 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet0/1

ip address 192.168.2.1 255.255.255.0

duplex auto

speed auto

!

ip classless

!

ip flow-export version 9

!

!

!

!

!

!

!

line con 0

!

line aux 0

!

line vty 0 4

login

!

!

!

end

 

 

R2 Config 

 


Current configuration : 506 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R2
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.2.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.3.1 255.255.255.0
duplex auto
speed auto
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end

 

2 Accepted Solutions

Accepted Solutions

johnd2310
Level 8
Level 8

Hi,

If you are not running a routing protocol on each router, you need to configure static routes to tell each router how to get to specific network

(1)On PCR2, you need to specify default gateway of 192.168.3.1 and on R2 you need a static route " ip route 192.168.3.0 255.255.255.0 192.168.2.2"

(2)For R2 to ping R3, R2 need to know how to get to network 192.168.1.0/24 and R3 needs to know how to get to network 192.168.2.0/24. On R2 you need static route "ip route 192.168.1.0 255.255.255.0 192.168.2.1" and on R3 you need static route "ip route 192.168.2.0 255.255.255.0 192.168.1.2"

thanks John

**Please rate posts you find helpful**

View solution in original post

Hi,

yes, you are correct. For (1) the route should be configured on R1:

 

"ip route 192.168.3.0 255.255.255.0 192.168.2.2"

**Please rate posts you find helpful**

View solution in original post

4 Replies 4

johnd2310
Level 8
Level 8

Hi,

If you are not running a routing protocol on each router, you need to configure static routes to tell each router how to get to specific network

(1)On PCR2, you need to specify default gateway of 192.168.3.1 and on R2 you need a static route " ip route 192.168.3.0 255.255.255.0 192.168.2.2"

(2)For R2 to ping R3, R2 need to know how to get to network 192.168.1.0/24 and R3 needs to know how to get to network 192.168.2.0/24. On R2 you need static route "ip route 192.168.1.0 255.255.255.0 192.168.2.1" and on R3 you need static route "ip route 192.168.2.0 255.255.255.0 192.168.1.2"

thanks John

**Please rate posts you find helpful**

Richardlearn
Level 1
Level 1

Thanks for the time - I appreciate it and I have a doubt too : On the solution 1 that you gave - should the configuration be done on R2 as you have mentioned or on R1?

Hi,

yes, you are correct. For (1) the route should be configured on R1:

 

"ip route 192.168.3.0 255.255.255.0 192.168.2.2"

**Please rate posts you find helpful**

Hello,

 

on a side note, you can also just configure the below on all your routers:

 

router rip

version 2

network 0.0.0.0

 

or

 

router eigrp 1

network 0.0.0.0

no auto-summary

 

This is the very basic way of setting up a dynamic routing protocol and advertise all of your networks...