08-02-2013 09:43 PM - edited 03-04-2019 08:38 PM
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
08-03-2013 02:15 AM
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
08-03-2013 01:31 PM
u have to use floating static routes...
Jawad
08-04-2013 07:34 AM
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
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