11-16-2018 11:31 AM
Good day,
I am trying to use Static route for 2 separate network with the same subnet (see attached image). However when i applied the config(see below), the ping from pc to the center router is inconsistent. I know the router is confused and tries to deliver the traffic to both the next hops indicated. How can i have 100 percent ping with just
-static route
-def route going to center router
-not changing the LAN IP
And just in case, does the solution involves the right type of static-recursive, direct, fully specified?
The config is below,
//////////////////////////////R2/////////////////////////////
!
interface FastEthernet0/0
description Gateway of LAN
ip address 10.1.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial2/0
description Link to R1(center router)
ip address 192.168.1.2 255.255.255.0
!
interface Serial3/0
no ip address
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
ip flow-export version 9
////////////////////////////////R1/////////////////////////
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial2/0
description link to R2(left router)
ip address 192.168.1.1 255.255.255.0
clock rate 2000000
!
interface Serial3/0
description link to R3(right router)
ip address 192.168.2.1 255.255.255.0
clock rate 2000000
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
ip classless
ip route 10.1.1.0 255.255.255.0 192.168.1.2
ip route 10.1.1.0 255.255.255.0 192.168.2.2
!
ip flow-export version 9
!
//////////////////////////////////R3/////////////////////////////////////////
!
interface FastEthernet0/0
description gateway of LAN
ip address 10.1.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial2/0
no ip address
shutdown
!
interface Serial3/0
description Link to R1(center router)
ip address 192.168.2.2 255.255.255.0
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.2.1
!
ip flow-export version 9
!
Thank you in advanced
Solved! Go to Solution.
11-17-2018 03:33 AM
Hello
instructed by whom?
The way your topology is setup default static routing won’t work unless the person who has instructed you means to apply static routes just for eachend host and not the subnet if that’s the case then it would work
The host routes would be like-
ip route 10.0.0.10 255.255.255.255 192.168.1.1
Ip route 10.0.0.20 255.255.255.255 192.168.2.1
11-16-2018 11:43 AM
11-16-2018 12:29 PM
11-16-2018 12:41 PM
11-17-2018 02:32 AM
11-16-2018 01:04 PM
you can create NAT instead the Static Route on R1
11-17-2018 02:28 AM
11-17-2018 01:21 AM - edited 11-17-2018 01:22 AM
Hello
you have a network which is discontinuous (10.0.0.0/24) separated by a transit router
So unless you apply some nat translation you will still experience your issue with the two default statics unless you reconfigure one side with a different network range
11-17-2018 02:29 AM
11-17-2018 03:33 AM
Hello
instructed by whom?
The way your topology is setup default static routing won’t work unless the person who has instructed you means to apply static routes just for eachend host and not the subnet if that’s the case then it would work
The host routes would be like-
ip route 10.0.0.10 255.255.255.255 192.168.1.1
Ip route 10.0.0.20 255.255.255.255 192.168.2.1
11-17-2018 07:52 AM
I also would like to know who instructed you on this and like to know what they are trying to accomplish. If we look carefully at the diagram it really is more than discontiguous network. Both hosts in the diagram have exactly the same IP address of 10.1.1.100. You can not have two hosts in two different parts of the network use exactly the same IP address. What appears to be in the instructions can not be accomplished - not even with nat or anything like that.
HTH
Rick
11-17-2018 04:21 PM
Noted sir. Thanks for the advice sir richard, i guess i would just apply the solution suggested by paul. Maybe rhat would work
11-17-2018 04:17 PM
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