10-26-2010 02:02 PM - edited 03-04-2019 10:16 AM
I have 2 sites, with 2 connections between them. We are using ospf for routing.
I'd like to route all traffic except one subnet over the #1 connection and just the particular subnet over the #2 connection.
If the #2 connection fails I'd like that subnet then to be routed over the #1 connection.
I could also use Policy based routing, but then failover won't work, unless there is a some way to configure it that I don't understand.
Any help would be appreciated.
Thank you,
Davidt
10-26-2010 05:45 PM
You can try static route with object tracking.
Something similar to this
http://www.cisco.com/en/US/docs/ios/12_3/12_3x/12_3xe/feature/guide/dbackupx.html#wp1071672
HTH,
jerry
10-27-2010 12:47 AM
Hi David,
you can also play with Administrative Distance to do that. Say you prefer link#1 due to lower cost. You can increase the AD of a single prefix learned from neighbor#1 so that the traffic directed to that network will choose the second exit.
access-list 10 permit
router ospf 1
distance 111
This way
hope this helps,
Fabrizio
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