12-22-2019 11:19 AM - edited 12-22-2019 12:07 PM
Team,
Currently have a Site to Site VPN up and working fine using a ASR to ASR. I replaced the one of the ASRs for an ASA. The site to site is up. It looks like I have something in the ASA wrong because it looks as if the ASA is not encapsulating it only decapsulation. The ASR is encapsulating and no decapsulation.
Note I am only troubleshooting 172.21.0.0/24 going to 10.4.4.0/24
Below are commands from the ASR.
ASR#sho crypto isakmp sa
IPv4 Crypto ISAKMP SA
dst src state conn-id status
XXX.XXX.73.59 XXX.XXX.0.226 QM_IDLE 53930 ACTIVE
IPv6 Crypto ISAKMP SA
ASR#sho crypto sess
Crypto session current status
Interface: GigabitEthernet0/0/0
Session status: UP-ACTIVE
Peer: XXX.XXX.73.59 port 500
Session ID: 0
IPSEC FLOW: permit ip 172.21.0.0/255.255.255.0 10.4.4.0/255.255.255.0
Active SAs: 2, origin: crypto map
ASR#sho crypto ipsec sa
interface: GigabitEthernet0/0/0
Crypto map tag: XXX, local addr 64.94.0.226
protected vrf: (none)
local ident (addr/mask/prot/port): (172.21.0.0/255.255.255.0/0/0)
remote ident (addr/mask/prot/port): (10.4.4.0/255.255.255.0/0/0)
current_peer XXX.XXX.73.59 port 500
PERMIT, flags={origin_is_acl,}
#pkts encaps: 117507, #pkts encrypt: 117507, #pkts digest: 117507
#pkts decaps: 0, #pkts decrypt: 0 #pkts verify: 0
#pkts compressed: 0, #pkts decompressed: 0
#pkts not compressed: 0, #pkts compr. failed: 0
#pkts not decompressed: 0, #pkts decompress failed: 0
#send errors 0, #recv errors 0
local crypto endpt.: XXX.XXX.0.226, remote crypto endpt.: XXX.XXX.73.59
plaintext mtu 1438, path mtu 1500, ip mtu 1500, ip mtu idb GigabitEthernet0/0/0
current outbound spi: 0xA9F267B0(2851235760)
PFS (Y/N): N, DH group: none
inbound esp sas:
spi: 0x9172A272(2440209010)
transform: esp-256-aes esp-md5-hmac ,
in use settings ={Tunnel, }
conn id: 18369, flow_id: HW:16369, sibling_flags FFFFFFFF80004048, crypto map: verizon
sa timing: remaining key lifetime (k/sec): (4608000/3522)
IV size: 16 bytes
replay detection support: Y
Status: ACTIVE(ACTIVE)
I can see packets being encapsulated but not decapitated. The SA's looks good. But If I try source a ping or SSH from a 172.21.0.X to 10.4.4..X it just times out. Looking at the Real Time Log viewer on the ASA I see this.
6 | 110002 | 172.21.0.2 | 11690 | Failed to locate egress interface for ICMP from Outside:172.21.0.2/11690 to 10.4.4.1/0 |
Below is my ASA configuration.
:
ASA Version 9.10(1)
!
!
interface GigabitEthernet0/0
no nameif
no security-level
no ip address
!
description VLAN 70
vlan70
nameif users
security-level 0
ip address 10.4.4.1 255.255.255.0
!
!
interface GigabitEthernet0/1
description To_ISP1
nameif XXX
security-level 100
!
interface GigabitEthernet0/2
description ToISP2
nameif Outside
security-level 100
ip address XXX.XXX.73.59 255.255.255.0
!
interface GigabitEthernet0/3
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/4
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/5
shutdown
no nameif
no security-level
no ip address
!
interface Management0/0
management-only
!
ftp mode passive
dns server-group DefaultDNS
domain-name XXX
same-security-traffic permit intra-interface
object network PrivateOne
subnet 172.21.0.0 255.255.255.0
description VLAN 11
object network PrivateTwo
subnet 172.21.1.0 255.255.255.0
description VLAN 10
object service RDPng
service tcp source eq 3389
object-group network DM_INLINE_NETWORK_1
network-object 10.4.4.0 255.255.255.0
network-object 10.5.5.0 255.255.255.0
network-object 192.168.51.0 255.255.255.0
object-group network DM_INLINE_NETWORK_2
network-object object PrivateOne
network-object object PrivateTwo
object-group network Internal
description Internals
network-object 10.4.4.0 255.255.255.0
network-object 10.5.5.0 255.255.255.0
object-group service RDP tcp-udp
port-object eq 3389
object-group protocol TCPUDP
protocol-object udp
protocol-object tcp
object-group network DM_INLINE_NETWORK_3
network-object object PrivateOne
network-object object PrivateTwo
object-group protocol DM_INLINE_PROTOCOL_1
protocol-object ip
protocol-object icmp
access-list Outside_cryptomap extended permit ip object-group Internal object XXX_Private
access-list Outside_cryptomap_1 extended permit ip object-group DM_INLINE_NETWORK_1 object-group DM_INLINE_NETWORK_2
access-list global_access extended permit ip any any
access-list global_access extended permit icmp any any
access-list Outside_access_in extended permit object-group DM_INLINE_PROTOCOL_1 any any
access-list Outside_cryptomap_2 extended permit ip object-group Internal object-group DM_INLINE_NETWORK_3
pager lines 24
logging enable
logging asdm informational
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
arp rate-limit 16384
nat (any,Outside) source dynamic Internal interface
nat (Outside,Game_Room) source static Internal Internal destination static DM_INLINE_NETWORK_3 DM_INLINE_NETWORK_3 no-proxy-arp route-lookup
nat (XXX_Internal,Game_Room) source static Internal Internal destination static XXX_Private XXX_Private no-proxy-arp route-lookup
nat (XXX_Internal,Game_Room) source static Internal Internal destination static DM_INLINE_NETWORK_3 DM_INLINE_NETWORK_3 no-proxy-arp route-lookup
!
access-group Outside_access_in in interface Outside
access-group global_access global
route Outside 0.0.0.0 0.0.0.0 XXX.XXX.73.1 1
timeout xlate 3:00:00
timeout pat-xlate 0:00:30
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 sctp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
timeout floating-conn 0:00:00
timeout conn-holddown 0:00:15
timeout igp stale-route 0:01:10
user-identity default-domain LOCAL
aaa authentication login-history
http server enable
http 10.4.4.0 255.255.255.0 management
http 10.6.4.0 255.255.255.0 management
http 10.4.4.0 255.255.255.0 XXX_Internal
no snmp-server location
no snmp-server contact
crypto ipsec ikev1 transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-SHA-TRANS esp-aes esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-128-MD5-TRANS esp-aes esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-MD5-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-192-SHA-TRANS esp-aes-192 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-192-MD5-TRANS esp-aes-192 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-MD5-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-256-SHA-TRANS esp-aes-256 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-256-MD5-TRANS esp-aes-256 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-MD5-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-3DES-SHA-TRANS esp-3des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-3DES-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-3DES-MD5-TRANS esp-3des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-3DES-MD5-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-DES-SHA-TRANS esp-des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-DES-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-DES-MD5-TRANS esp-des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-DES-MD5-TRANS mode transport
crypto ipsec ikev2 ipsec-proposal AES256
protocol esp encryption aes-256
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal AES192
protocol esp encryption aes-192
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal AES
protocol esp encryption aes
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal 3DES
protocol esp encryption 3des
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal DES
protocol esp encryption des
protocol esp integrity sha-1 md5
crypto ipsec security-association pmtu-aging infinite
crypto map Outside_map 1 match address Outside_cryptomap
crypto map Outside_map 1 set peer XXX.XXX.119.1
crypto map Outside_map 1 set ikev1 transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
crypto map Outside_map 1 set ikev2 ipsec-proposal AES256 AES192 AES 3DES DES
crypto map Outside_map 2 match address Outside_cryptomap_1
crypto map Outside_map 2 set peer XXX.XXX.80.1
crypto map Outside_map 2 set ikev1 transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
crypto map Outside_map 2 set ikev2 ipsec-proposal AES256 AES192 AES 3DES DES
crypto map Outside_map 3 match address Outside_cryptomap_2
crypto map Outside_map 3 set peer XXX.XXX.0.226
crypto map Outside_map 3 set ikev1 transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
crypto map Outside_map 3 set ikev2 ipsec-proposal AES256 AES192 AES 3DES DES
crypto map Outside_map interface Outside
crypto ca trustpool policy
crypto ikev2 policy 1
encryption aes-256
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 10
encryption aes-192
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 20
encryption aes
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 30
encryption 3des
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 40
encryption des
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 enable Outside
crypto ikev1 enable Outside
crypto ikev1 policy 30
authentication pre-share
encryption aes-256
hash md5
group 2
lifetime 86400
telnet timeout 5
ssh stricthostkeycheck
ssh 10.4.4.0 255.255.255.0 management
ssh 10.6.4.0 255.255.255.0 management
ssh timeout 5
ssh version 2
ssh key-exchange group dh-group1-sha1
console timeout 0
!
dhcpd address 10.4.4.20-10.4.4.199 XXX_Internal
dhcpd dns 10.4.4.201 10.4.4.202 interface XXX_Internal
dhcpd wins 10.4.4.201 10.4.4.202 interface XXX_Internal
dhcpd lease 86400 interface XXX_Internal
dhcpd enable XXX_Internal
!
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
anyconnect-essentials
cache
disable
error-recovery disable
group-policy GroupPolicy_XXX.XXX.0.226 internal
group-policy GroupPolicy_XXX.XXX.0.226 attributes
vpn-tunnel-protocol ikev1 ikev2
group-policy GroupPolicy_XXX.XXX.119.1 internal
group-policy GroupPolicy_XXX.XXX.119.1 attributes
vpn-tunnel-protocol ikev1 ikev2
dynamic-access-policy-record DfltAccessPolicy
tunnel-group XXX.XXX.119.1 type ipsec-l2l
tunnel-group XXX.XXX.119.1 general-attributes
default-group-policy GroupPolicy_XXX.XXX.119.1
tunnel-group XXX.XXX.119.1 ipsec-attributes
ikev1 pre-shared-key *****
ikev2 remote-authentication pre-shared-key *****
ikev2 local-authentication pre-shared-key *****
tunnel-group XXX.XXX.0.226 type ipsec-l2l
tunnel-group XXX.XXX.0.226 general-attributes
default-group-policy GroupPolicy_XXX.XXX.0.226
tunnel-group XXX.XXX.0.226 ipsec-attributes
ikev1 pre-shared-key *****
ikev2 remote-authentication pre-shared-key *****
ikev2 local-authentication pre-shared-key *****
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
message-length maximum 512
no tcp-inspection
policy-map global_policy
class inspection_default
inspect ftp
inspect h323 h225
inspect h323 ras
inspect ip-options
inspect netbios
inspect rsh
inspect rtsp
inspect skinny
inspect esmtp
inspect sqlnet
inspect sunrpc
inspect tftp
inspect sip
inspect xdmcp
inspect dns preset_dns_map
inspect icmp
policy-map type inspect dns migrated_dns_map_2
parameters
message-length maximum client auto
message-length maximum 512
no tcp-inspection
policy-map type inspect dns migrated_dns_map_1
parameters
message-length maximum client auto
message-length maximum 512
no tcp-inspection
!
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
call-home
profile CiscoTAC-1
no active
destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
destination address email callhome@cisco.com
destination transport-method http
subscribe-to-alert-group diagnostic
subscribe-to-alert-group environment
subscribe-to-alert-group inventory periodic monthly
subscribe-to-alert-group configuration periodic monthly
subscribe-to-alert-group telemetry periodic daily
When I use packet tracer to source a ping 10.4.4.1 to 172.21.0.2 it says it blocked by my ACL ***see attached***
Please Help!!!!!
Solved! Go to Solution.
12-22-2019 12:26 PM
You traffic is probably being natted on the ASA. You should define an NAT exemption rule to ensure the traffic is not natted. e.g:-
nat (users,OUTSIDE) source static Internal Internal destination static PrivateOne PrivateOne
Your existing dynamic rule will need replacing
no nat (any,Outside) source dynamic Internal interface
nat (any,Outside) after-auto source dynamic Internal interface
This will move the dynamic NAT rule to the end of the NAT rules and ensure the NAT exemption rule for VPN traffic is matched.
When you run packet-tracer, don't use the ASA's interface IP address as source or destionation, select a random IP address from within the IP address range.
HTH
12-22-2019 12:26 PM
You traffic is probably being natted on the ASA. You should define an NAT exemption rule to ensure the traffic is not natted. e.g:-
nat (users,OUTSIDE) source static Internal Internal destination static PrivateOne PrivateOne
Your existing dynamic rule will need replacing
no nat (any,Outside) source dynamic Internal interface
nat (any,Outside) after-auto source dynamic Internal interface
This will move the dynamic NAT rule to the end of the NAT rules and ensure the NAT exemption rule for VPN traffic is matched.
When you run packet-tracer, don't use the ASA's interface IP address as source or destionation, select a random IP address from within the IP address range.
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