04-09-2020 12:05 PM
Hi All,
I have IPsec crypto configuration available on one of my router. Crypto map is configured with local-address command with WAN interface. But crypto map is not applied on any interface. As per my knowledge, if crypto map is not applied on any interface then IPsec will not be in use. Please confirm.
Also WAN IPs are permitted instead of LAN subnet in access list.
Below is the example config for the same.
crypto isakmp policy 1
encr 3des
hash md5
authentication pre-share
group 2
lifetime 6000
crypto isakmp key 6 test address 10.10.10.2
crypto isakmp aggressive-mode disable
crypto ipsec transform-set teset esp-3des esp-sha-hmac
mode tunnel
crypto map MAP local-address FastEthernet0/0
crypto map MAP 10 ipsec-isakmp
set peer 10.10.10.2
set transform-set teset
match address 100
Extended IP access list 100
10 permit gre host 10.10.10.1 host 10.10.10.2
04-09-2020 12:29 PM
04-09-2020 06:44 PM
I don't have any tunnel interface.
Also please confirm the local-address command use here. Is it only used for source IP address? Will it apply crypto map on that interface?
Thanks in advance.
04-10-2020 02:45 AM
The "local-address" command specifies the IP address that is the source for IPSec on the local router - this is usually a loopback interface. This IP address obviously needs to be routable from the peer router.
You still need to apply the crypto map to the physical egress interface, regardless of whether you are using the "local-address" command or not. e.g:-
interface GigabitEthernet0/0
crypto map MAP
HTH
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