05-10-2017 07:22 PM - edited 03-05-2019 08:30 AM
Hi Guys,
I have a Cisco 2901 router that is supporting around 200 users. It has a 100Mbps fibre WAN interface and multiple VLANS internally. It has two Azure tunnels and two AWS tunnels.
I have been asked to create a failover solution, however the decision was made from above to supplky a second 2901 but with a 4G card and SIM.
I have managed to get traffic going across the 4G but the big question is;
How do I get these two routers to work effectively in an automatic failover solution? eg HSRP, IP SLA?
Solved! Go to Solution.
05-10-2017 07:29 PM
Hi
You can use SLA and EEM script to create an automatic failover, please let me share an example.
This script will be checking the response from the ip 8.8.8.8 frecuently, once the SLA is not receiving answer it will generate a message, this message will trigger the script to execute what you want.
track 10 ip sla 10 reachability
delay down 10
ip sla 10
icmp-echo 8.8.8.8 source-ip 1.1.1.2
frequency 5
ip sla schedule 10 life forever start-time now
ip sla enable reaction-alerts
05-10-2017 07:29 PM
Hi
You can use SLA and EEM script to create an automatic failover, please let me share an example.
This script will be checking the response from the ip 8.8.8.8 frecuently, once the SLA is not receiving answer it will generate a message, this message will trigger the script to execute what you want.
track 10 ip sla 10 reachability
delay down 10
ip sla 10
icmp-echo 8.8.8.8 source-ip 1.1.1.2
frequency 5
ip sla schedule 10 life forever start-time now
ip sla enable reaction-alerts
05-10-2017 07:31 PM
Thank you, I love it. In this situation would you recommend a third router in case the router with SLA fails?
05-10-2017 07:42 PM
Hi
Thanks Paul, No, You don't need a third router, 2 routers are enough for high availability. Just a couple of questions, Will the routers be connected directly to different ISP's, and will they be receiving the Internet access directly?
:-)
05-10-2017 09:29 PM
Hi Julio,
Yes they will be connected to two different ISP's. One will be fibre and the other will be 4G (LTE). Although in saying that, it is actually the same ISP (Tesltra). The only thing that is not desirable is that the LTE connection can't have static IP, according to Telstra.
Thanks again.
05-11-2017 05:35 AM
Hi
Thank you Paul,
You will configure static default route on both routers and interconnect them, If the second router will be getting random public IP (by dhcp I guess). Im assuming the 4G LTE Internet will work as backup access, is that correct?
So you could create a script to remove the default route on the primary router once the primary internet fails and say to the script create a default route pointing to the second router. So the traffic will be moved to the secondary router to get Internet access through the 4G LTE access.
Do you have a diagram how it will be implemented?
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