cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
868
Views
9
Helpful
4
Replies

Static routing issue

kaushal.pawan
Level 1
Level 1

Hi all iam new to CCNA

i have connected  two router on the with ip address on one WAN interface is 192.168.1.1 /28 and wan interface ip address of second router is 192.168.1.2/28

 

The LAN on the router 1 has ip address 192.168.1.17/28    and LAN intergace of 2nd router has 192.168.1.65/28

i have created the ip route 192.168.1.0 255.255.255.240 192.168.1.2 on router 1   and ip route 192.168.1.0 255.255.255.0 192.168.1.1 on second router

but static route is not displaying in routing table  as shown in packet tracer

 

 

is it possible static route with same subnetmask on the on both the routers 

 

can i have configured it wrong 
 

1 Accepted Solution

Accepted Solutions

Charles Hill
VIP Alumni
VIP Alumni

Hello,

Your static routes are not advertising the lan networks.

Add static route ip route 192.168.1.16 255.255.255.240 192.168.1.1 on router 2.

add static route ip route 192.168.1.64 255.255.255.240 192.168.1.2 on router 1.

Hope this helps,

please rate helpful posts

Thanks

 

View solution in original post

4 Replies 4

Charles Hill
VIP Alumni
VIP Alumni

Hello,

Your static routes are not advertising the lan networks.

Add static route ip route 192.168.1.16 255.255.255.240 192.168.1.1 on router 2.

add static route ip route 192.168.1.64 255.255.255.240 192.168.1.2 on router 1.

Hope this helps,

please rate helpful posts

Thanks

 

Hi Charles

 

Thanks for your help can u please explain the things you have done

The static routes(ip route 192.168.1.xx 255.255.255.240 192.168.1.x) provide the path to the remote router's lan network. 

 

The original static routes that were added did not reference the lan networks.

ip route 192.168.1.0 255.255.255.240 192.168.1.2

ip route 192.168.1.0 255.255.255.0 192.168.1.1

 

If you are interested, here is a link that discusses using an interface as the next hop versus using the ip address for the next hop.

https://supportforums.cisco.com/discussion/12489066/static-route-basic-directly-connected-interface

 

Hopefully this makes sense. 

 

 

 

It means ip route 192.168.1.0 255.255.255.240 192.168.1.2 (http://192.168.1.2)

ip route 192.168.1.0 255.255.255.0 192.168.1.1 (http://192.168.1.1)

I will try it.

Review Cisco Networking for a $25 gift card