01-30-2011 07:43 PM
first I create the below crypto map,
crypto map IPSec_map 10 match address encrypt-acl
crypto map IPSec_map 10 set peer 209.165.201.1
crypto map IPSec_map 10 set transform-set myset
crypto map IPSec_map 10 set reverse-route
Then I configure a 2nd map statement, matching the same ACL.
crypto map IPSec_map 20 match address encrypt-acl
crypto map IPSec_map 20 set peer 23.10.10.10
crypto map IPSec_map 20 set transform-set myset
crypto map IPSec_map 20 set reverse-route
My first question is - since the crypto maps are processed in sequence, does this mean the first VPN tunnel (map 10) will always be used if its up?
if so what happens when the remote peer 209.165.201.1 becomes unreachable? does the tunnel to the 23.10.10.10 peer automatically take over?
what is the best way to achieve a primary and backup site to site VPN where 209.165.201.1 is primary and 23.10.10.10 is backup and comes up only when the primary is down?
Thanks
Solved! Go to Solution.
01-30-2011 08:42 PM
Hi,
As you mentioned the crypto maps are processed in order.
If both crypto maps have the same ''interesting traffic'' then the second crypto map will never be used (first crypto map will be used).
The best way to achieve redundancy is to do the following:
crypto map IPSec_map 10 match address encrypt-acl
crypto map IPSec_map 10 set peer 209.165.201.1 23.10.10.10
crypto map IPSec_map 10 set transform-set myset
crypto map IPSec_map 10 set reverse-route
Note from the above example that you defined a single crypto map instance having two peers. The first peer is going to be tried first and if no response, the second peer will be used as a backup.
Hope it helps.
Federico.
01-30-2011 08:42 PM
Hi,
As you mentioned the crypto maps are processed in order.
If both crypto maps have the same ''interesting traffic'' then the second crypto map will never be used (first crypto map will be used).
The best way to achieve redundancy is to do the following:
crypto map IPSec_map 10 match address encrypt-acl
crypto map IPSec_map 10 set peer 209.165.201.1 23.10.10.10
crypto map IPSec_map 10 set transform-set myset
crypto map IPSec_map 10 set reverse-route
Note from the above example that you defined a single crypto map instance having two peers. The first peer is going to be tried first and if no response, the second peer will be used as a backup.
Hope it helps.
Federico.
01-31-2011 01:16 PM
Thanks!
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