Breaking News :

nothing found
December 22, 2024

Cisco ASA S2S VPN & ISP Failover

Those without the luxury of having BGP enabled on your circuits can’t take advantage of keeping the same externally advertised IP while failing over between ISP’s.  I had a client with two sites where HQ had BGP but a sister site did not.  So, when the sister site’s primary ISP went down so would the Site-to-Site VPN to the HQ.  Fortunately, Cisco has made it super easy for those using the ASA operating system as the termination point instead of a Router to automatically activate a “backup” VPN.

So, we have Site A (HQ) with external IP 1.1.1.1 (BGP) and Site B (Sister) with external IP 2.2.2.2 for the Primary ISP and 3.3.3.3 for the Secondary ISP.  As we stated the VPN works great when the sister site is on the primary ISP with external IP 2.2.2.2.  But, when that ISP goes down and moves to the secondary the advertised external IP goes to 3.3.3.3.  To have the VPN come up automatically when things move over to the secondary ISP run the following commands on the ASA sitting in Site A (HQ).

crypto map <usethevpnmapname> <usethevpnmapseqnumber> set peer 2.2.2.2 3.3.3.3

tunnel-group 3.3.3.3 type ipsec-l2l
tunnel-group 3.3.3.3 ipsec-attributes
pre-shared-key <entertheexistingpresharedkey>

That’s all it takes!  The next time the sister site fails over to the backup ISP the S2S VPN will come up within a minute or two.

-Justin Vashisht (3cVguy)

Read Previous

Active Directory’s SDProp process vs. Exchange Send-As permissions

Read Next

3Par 7000 Zoning Confusion

Most Popular