10-02-2017 09:28 PM - edited 03-05-2019 09:13 AM
Dear Experts,
I want to achieve link failover. There are two routers in my setup Router A and Router B. ISP-A ONT wired link is terminated on Router-A and ISP-B Microwave Link is terminated on Router-B.
I want to make ISP-B as a PRIMARY wan and ISP-A as BACKUP wan so that users inside the LAN can access webserver z.z.z.z 24/7. In this case how to configure/achieve link failover ?
Sample design is attached with the query
Solved! Go to Solution.
10-03-2017 04:34 AM
Hello,
here is what I have in mind:
Set up HSRP between your LAN interfaces, then create an IP SLA on both routers tracking the WAN interface of the respective other routers. An EEM script on each router tracks the SLA and executes commands that enable and disable the WAN interface on the other router and installs the default route.
The easiest would be for you to post the configs of both routers, so the necessary bits and pieces can be filled in....
10-02-2017 10:01 PM
You need provider indepenent addres space to do this, or for one ISP to give you a block of /24 address space and allow another ISP to route it (both cases unlikely).
That being the case, you can't achieve this alone. You can use Smart DNS servers like Amazon Route53 which can test two different IP addresses and give out whichever one is working - or much easier - put the service into Amazon AWS.
10-02-2017 10:04 PM
10-02-2017 10:41 PM
10-03-2017 01:05 AM
Hello,
sorry if I might have missed that, but are you actually using BGP with your ISPs ?
10-03-2017 02:37 AM
10-03-2017 04:34 AM
Hello,
here is what I have in mind:
Set up HSRP between your LAN interfaces, then create an IP SLA on both routers tracking the WAN interface of the respective other routers. An EEM script on each router tracks the SLA and executes commands that enable and disable the WAN interface on the other router and installs the default route.
The easiest would be for you to post the configs of both routers, so the necessary bits and pieces can be filled in....
10-03-2017 04:38 AM - edited 10-03-2017 04:38 AM
Yes that is what I have done and achieved. Anyways thanks for the accurate post.
10-03-2017 08:44 AM
Do you need the configs ? In the HSRP part, make sure that the primary router LAN interface has a higher priority and has 'standby preempt' configured as well...
10-04-2017 12:03 AM
Thankyou for asking. I know the config part.
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