cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
489
Views
0
Helpful
3
Replies

Static Routing Issue

findamitjain
Level 1
Level 1

Need you assistance have two routes for the same destination

for ex:

ip route 10.1.1.0/24 next hop 20.1.1.1

ip route 10.1.1.0/24 next hop 40.1.1.1

Now both routes will populate in routing table as both having AD is [1]. They will load balance.

Rather than load balance if i want only first path must work and second work as an failover how could we do the same without IP-SLA?.

Please note cant provide floating static route as both are static routes and no routing exchanges happening over the router.

What actually happening eventhough we have two routes available we need to remove manully to make our service LIVE over secondary path, kindly suggest

3 Replies 3

Peter Paluch
Cisco Employee
Cisco Employee

Amit,

You can have even two static floating routes, one backing up the other. The primary route will keep the AD of 1, the other will have the AD of 2 or more.

If this is not suitable for you then please explain what should be the trigger (i.e. what event should occur) that should cause the backup route to be installed into your routing table instead of the primary route.

Best regards,

Peter

u have to use floating static routes...

Jawad

Jawad

ilyas_adeel
Level 1
Level 1

Hi if you dont want to use both and have one as failover then change the AD(administrative distance) of both as per requirement. This is done when you are creating static route there is an extra field at the end when you question mark you will see.

HTH

Adeel