cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1036
Views
0
Helpful
4
Replies

Floating static route

Shahideachattil
Level 1
Level 1

when i configure floating static route for primary path and backup path from site 1 to site 2. If the neighbor router exit interface is being shutdown,the traffic didnt choose the backup path.The date is being stuck in the primary link

4 Replies 4

If that is Packet Tracer lab, attach the zipped file. If that is a real device, share the show running-config.

 

If none of it is possible, then make sure you are using the Administrative Distance properly.

Make sure all interface involved is up and with ip address assigned.

The command is pretty straigthforward:

 

Ex:

ip route 192.168.2.0 255.255.255.0 192.168.3.1  "AD"

 

If you are using OSPF as dynamic ip routing, them AD must be 130 or higher.

 

 

Jon Marshall
Hall of Fame
Hall of Fame

 

Not sure what you mean by neighbor router exit interface ? 

 

If you shut down the interface on the neighbor your router has to know the interface has gone down ie.if it is directly connected it will know or if you are running a dynamic routing protocol between the routers. 

 

If they are not directly connected eg. via a switch or you are not running a dynamic routing protocol then you need to run IP SLA tracking to know when to switch to your floating static route. 

 

Jon

Friend Are the next-hop of second static route is reachable by first static route then There is chance that both is not use one first one is remove from routing table.
check next-hop of second static route.

Hello
You don't mention HOW you have applied a conditional default route?
Below is an example that incorporates ipsla tracking, as such when the tracked interface/ip is lost then ts related default route will be removed from the rtrs routing table and a secondary default will take precedence,plus the original tracked destination ip address isn't learnt from the secondary ISP default route so reconvergence.to ISP1 can be obtained

 

Example:

access-list 100 permit icmp host <source ip> host 8.8.8.8 echo
route-map ipsla
match ip address 100
set ip next-hop xxxx (next hop interface isp1)
set interface Null0


ip local policy route-map ipsla
ip route 0.0.0.0 0.0.0.0 X/Y <ISP1 nexthop ip> track 10 name ISP1 link
ip route 0.0.0.0 0.0.0.0 X/X < ISp2 nexthop ip> 2 name ISP2 backup link


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul