cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
12930
Views
0
Helpful
5
Replies

Static routes not working

newbie7777
Level 1
Level 1

Hi,

I have just started studying a CCNA and I am using cisco packet tracer. I have followed the setup as per instructions but for some reason the static routes are not working. I have a simple setup of 2 routers connected together and then to separate networks. I have added static routes to reach those networks on the neighbour routers but using the IP address of the r2 fa 0/0 - 10.5.2.2/24  which is connected to the 10.5.3.0/24 network that I am trying to reach that is connected to r1 that I am trying to ping from. I have tried using a tracert while pinging 10.5.3.50 the ping gets to 10.5.2.2 and stops there. Am I missing something?

 

Router 1-

10.0.0.0/24 is subnetted, 3 subnets

C 10.5.1.0 is directly connected, FastEthernet0/1

C 10.5.2.0 is directly connected, FastEthernet0/0

S 10.5.3.0 [1/0] via 10.5.2.2

 

Router 2-

10.0.0.0/24 is subnetted, 3 subnets

S 10.5.1.0 [1/0] via 10.5.2.1

is directly connected, FastEthernet0/0

C 10.5.2.0 is directly connected, FastEthernet0/0

C 10.5.3.0 is directly connected, FastEthernet0/1

 

 

any help would be appreciated.

 

cisco diagram.png

1 Accepted Solution

Accepted Solutions

Hi

Your configuration should be:

 

Router0

ip route 10.5.3.0 255.255.255.0 10.5.2.2

 

Router1

ip route 10.5.1.0 255.255.255.0 10.5.2.1 

 

Now if you are trying with ping verify if the computers have the proper gateway IP configured. 

 

PC0:

IP 10.5.1.50

mask: 255.255.255.0

Gateway 10.5.1.1

 

 

PC1:

IP 10.5.3.50

mask: 255.255.255.0

Gateway 10.5.3.1

 

 

:-)

 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

View solution in original post

5 Replies 5

mvsheik123
Level 7
Level 7

Hi,

Make sure the switch ports connecting router and PCs are in same Vlan. Also, make sure PCs (looks like one side is fine) got correct mask and gateway set. Try ping from 3.50 to its gateway.

hth

MS

Hi

Your configuration should be:

 

Router0

ip route 10.5.3.0 255.255.255.0 10.5.2.2

 

Router1

ip route 10.5.1.0 255.255.255.0 10.5.2.1 

 

Now if you are trying with ping verify if the computers have the proper gateway IP configured. 

 

PC0:

IP 10.5.1.50

mask: 255.255.255.0

Gateway 10.5.1.1

 

 

PC1:

IP 10.5.3.50

mask: 255.255.255.0

Gateway 10.5.3.1

 

 

:-)

 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Hi,

Thanks for the reply.

I had not set the gateway. 

This is the first time I have posted hear and really appreciate all the help I cant believe I missed that :).

Such a silly mistake but such a great community to come to.

Hi

You are welcome, any help or doubt we are here ready to assist you.

Have a great day

 

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Hello,

 

on a side note, you can also post the Packet Tracer file. You need to rename the .pkt file to a .jpg file first in order to post it.

Review Cisco Networking for a $25 gift card