cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
453
Views
0
Helpful
5
Replies

Can you create a different crypto maps to the same peer address

edirivere.akemu
Level 1
Level 1

Hi 

 

I wish to create another crypto map policy going to the same peer address but have a different access-list 

 

access-list eddie-1 extended permit ip 100.1.1.1. 255.255.255.224 host 127.127.1.1

access-list eddie-2 extended permit ip 200.1.1.1 255.255.255.224 host   227.227.1.1

 

crypto map VPN_eddie-1 1 match address eddie-1
crypto map VPN  eddie-1 set pfs group5
crypto map VPN  eddie-1  set peer 8.19.1.22 
crypto map VPN  eddie-1  set ikev1 transform-set ESP-AES-256-SHA
crypto map VPN  eddie-1  set security-association lifetime seconds 86400

 

crypto map VPN_eddie-2 1 match address eddie-2
crypto map VPN  eddie-2 set pfs group5
crypto map VPN  eddie-2  set peer 8.19.1.22 
crypto map VPN  eddie-2  set ikev1 transform-set ESP-AES-256-SHA
crypto map VPN  eddie-2  set security-association lifetime seconds 86400

 

 

 

 

Is it possible ?

 

 

 

 

 

5 Replies 5

Jon Marshall
Hall of Fame
Hall of Fame

Why do you need to do that ?

Your settings are the same for each entry so just combine the acl and have one entry.

Jon

Would this achieve the same purpose ?

access-list eddie-1 extended permit ip 100.1.1.1. 255.255.255.224 host 127.127.1.1

access-list eddie-2 extended permit ip 200.1.1.1 255.255.255.224 host   227.227.1.1

crypto map VPN_eddie-1  match address eddie-1

crypto map VPN_eddie-2  match address eddie-2
crypto map VPN  eddie-1 set pfs group5
crypto map VPN  eddie-1  set peer 8.19.1.22 
crypto map VPN  eddie-1  set ikev1 transform-set ESP-AES-256-SHA
crypto map VPN  eddie-1  set security-association lifetime seconds 86400

 

 

Why do you think you need separate acls for your crypto map.

Jon

Only this ACL "eddie-2" will be included in the crypto engine and other ACL has nothing do with the tunnel.

rizwanr74
Level 7
Level 7

Yes it is possible.

There isn't any benefit doing that but instead you can use just one ACL map to single crypto instance for tunnel bound traffic to same tunnel peer.

I cannot think of a reason why you want to do this.

 

thanks