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

Static routing ISSUE(packet tracer)

Artur_Michalak
Level 1
Level 1

Hi

I use 6.3 version of Packet Tracer  and I;m trying to setup static routing between 3 routers

I setup all static routing in all 3 routers but it doesn't work

I attached pkt in zip  and also screenshot  files so you can trace my settings.

What is wrong there?

2 Accepted Solutions

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Artur,

for static routes to work the routers must share a common IP subnet.

 

In your network diagram the link RT1 - RT2 the listed IP addresses 200.20.0.1 on RT1 and 200.20.1.1 on RT2 are on the same subnet are you using a network mask 255.255.254.0  = /23 ?

 

Check IP ARP entries with

show ip arp 200.20.1.1 on RT1 and

show ip arp 200.20.0.1 on RT2

 

Only if they are in the same IP subnet the ARP entries are popoluted

 

 

 

Hope to help

Giuseppe

 

View solution in original post

Hello Artur,

use the following in privilege mode 15

 

show ip arp | include 200.20.1.1

 

However, your issue is exactly what I have written before:

>> RT1 200.20.0.1/24 and RT2 200.20.1.1/24 are NOT in the same IP subnet.

 

This breaks the IP connectivity end to end.

On RT2 change to

ip address 200.20.0.2 255.255.255.0

change the static route on RT1 accordingly as follows:

 

ip route 192.168.20.64 255.255.255.192 200.20.0.2

 

Because I have seen you are using netmask 255.255.255.0 = /24

 

Hope to help

Giuseppe

 

View solution in original post

10 Replies 10

Dennis Mink
VIP Alumni
VIP Alumni

This is a puzzle,  where to where are you trying to connect?  IP;s  please clarify and do your traceroutes and give us more detailed info.

 

cheers

Please remember to rate useful posts, by clicking on the stars below.

I'm trying to make/trace connection between between PCs ( PC1 -> PC2 , PC1-> PC3 etc.) There are three subnets 192.168.20.0 , 192.168.20.64 , 192.168.20.128 (all with masks 255.255.255.192) Every router has e.g. - Fast Ethernet Interface for connection PC1 -> Router1 - Two Gigabits Intrfaces -> Router1 -> Router2 , Router1-> Router 3 Static Routing set by me Router 1 ip route 192.168.20.64 255.255.255.192 200.20.1.1 ip route 192.168.20.128 255.255.255.192 200.20.2.2 Router 2 ip route 192.168.20.0 255.255.255.192 200.20.0.1 ip route 192.168.20.128 255.255.255.192 200.20.1.2 Router 3 ip route 192.168.20.0 255.255.255.192 200.20.2.1 ip route 192.168.20.64 255.255.255.192 200.20.0.2 The only connection I'm able to do is : PC1 ( 192.168.20.2 ) -> Router 1 ( 192.168.20.1) PC2 (192.168.20.130) -> Router 2 (192. 168.20.129 ) Tracert always stucks on first router PC2 >tracert 192.168.20.2 (tracert PC1) Tracing route to 192.168.20.2 over a maximum of 30 hops: 1 1 ms 0 ms 0 ms 192.168.20.65 2 * * * Request timed out. 3 * * * Request timed out. 4 * * * Request timed out. 5 * * * Request timed out. Connection stucks everytime between Routers Hopes iDs ( Gigabit Interfaces IP is on attached screenshot) Checked routing tables few times - still no clue why i doesn't work

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Artur,

for static routes to work the routers must share a common IP subnet.

 

In your network diagram the link RT1 - RT2 the listed IP addresses 200.20.0.1 on RT1 and 200.20.1.1 on RT2 are on the same subnet are you using a network mask 255.255.254.0  = /23 ?

 

Check IP ARP entries with

show ip arp 200.20.1.1 on RT1 and

show ip arp 200.20.0.1 on RT2

 

Only if they are in the same IP subnet the ARP entries are popoluted

 

 

 

Hope to help

Giuseppe

 

Router1>show ip arp 200.20.1.1

                                 ^

Invalid input detected at '^' marker.

And Mask used for all routers GIgabit interfaces is 255.255.255.0

See attached screenshot

once more

Hello Artur,

use the following in privilege mode 15

 

show ip arp | include 200.20.1.1

 

However, your issue is exactly what I have written before:

>> RT1 200.20.0.1/24 and RT2 200.20.1.1/24 are NOT in the same IP subnet.

 

This breaks the IP connectivity end to end.

On RT2 change to

ip address 200.20.0.2 255.255.255.0

change the static route on RT1 accordingly as follows:

 

ip route 192.168.20.64 255.255.255.192 200.20.0.2

 

Because I have seen you are using netmask 255.255.255.0 = /24

 

Hope to help

Giuseppe

 

Giuseppe

Thank you for your analysis - this is exactly resolution to my problem

Best Regards
Artur

Hello,

 

I haven't followed the entire thread, but the IP addresses on the GigabitEthernet interfaces were switched, and you need more specific static routes on all three routers. I have attached the revised and working lab, hopefully it is not redundant...

Review Cisco Networking for a $25 gift card