Policy based interface tracking

Hi,

attached the scenario..

Where link 1 is primary link

            link 2 is secondary


our requirement is once Link 1 fails , traffic should pass over link 2 and once link 1 gets back traffic should restore over link1

here condition is link 1 traffic is passing over eigrp routing protocol and link 2 traffic
over static

can we reach the requirement over policy based interface tracking ,
 if yes how to configure tracking using Dynamic routing protocol

Regards
Ram
LVL 1
RAMU CHAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jordan MedlenCommented:
I would think that all you should need to do is adjust the administrative distance for the static route to higher than 90. This way, traffic will flow over the primary link, the one running EIGRP, and if that should fail, traffic will take the route over the secondary link that has the static route.

Your static route should look like...

"ip route x.x.x.x x.x.x.x n.n.n.n 150"

...where 150 is your AD.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cyclops3590Sr Software EngineerCommented:
only thing to remember is that if you redistribute into EIGRP, the AD of that route would be 170 so you'd want the static route to be above that to not override it.  Of course if link 1 fails, those routes should be removed anyway I'm guessing, but I don't know how you're entire environment is setup.  But what Jordan is stating is how I'd do it as well at any rate; just make sure the admin distance you choose doesn't have adverse effects is all.
RAMU CHAuthor Commented:
Thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.