Question

ASA VPN - IKE lost contact with remote peer, deleting connection

Asked by: DrStalker

I'm trying to set up a VPN, and Phase 1 comes up but then the "IKE lost contact with remote peer, deleting connection" comes up,

What could be causing this?

(see code section for detailed logs, 111.111.111.111 is the remote device.

Jun 12 2009 21:00:51: %ASA-3-713119: Group = 111.111.111.111, IP = 111.111.111.111, PHASE 1 COMPLETED
Jun 12 2009 21:00:51: %ASA-7-713121: IP = 111.111.111.111, Keep-alive type for this connection: DPD
Jun 12 2009 21:00:51: %ASA-7-713906: Group = 111.111.111.111, IP = 111.111.111.111, Starting phase 1 rekey timer: 64800000 (ms)
Jun 12 2009 21:00:52: %ASA-7-715036: Group = 111.111.111.111, IP = 111.111.111.111, Sending keep-alive of type DPD R-U-THERE (seq number 0x66612de1)
Jun 12 2009 21:00:52: %ASA-7-715046: Group = 111.111.111.111, IP = 111.111.111.111, constructing blank hash payload
Jun 12 2009 21:00:52: %ASA-7-715046: Group = 111.111.111.111, IP = 111.111.111.111, constructing qm hash payload
Jun 12 2009 21:00:52: %ASA-7-713236: IP = 111.111.111.111, IKE_DECODE SENDING Message (msgid=56732dee) with payloads : HDR + HASH (8) + NOTIFY (11) + NONE (0) total length : 84
Jun 12 2009 21:00:53: %ASA-7-609002: Teardown local-host outside:62.172.209.103 duration 0:00:03
Jun 12 2009 21:00:54: %ASA-7-715036: Group = 111.111.111.111, IP = 111.111.111.111, Sending keep-alive of type DPD R-U-THERE (seq number 0x66612de2)
Jun 12 2009 21:00:54: %ASA-7-715046: Group = 111.111.111.111, IP = 111.111.111.111, constructing blank hash payload
Jun 12 2009 21:00:54: %ASA-7-715046: Group = 111.111.111.111, IP = 111.111.111.111, constructing qm hash payload
Jun 12 2009 21:00:54: %ASA-7-713236: IP = 111.111.111.111, IKE_DECODE SENDING Message (msgid=f3add2bd) with payloads : HDR + HASH (8) + NOTIFY (11) + NONE (0) total length : 84
Jun 12 2009 21:00:54: %ASA-7-713906: Received unexpected event EV_RESEND_MSG in state MM_REKEY_DONE_H2
Jun 12 2009 21:00:54: %ASA-7-609001: Built local-host outside:85.105.93.192
Jun 12 2009 21:00:55: %ASA-7-609002: Teardown local-host outside:JAGRDC01 duration 0:00:05
Jun 12 2009 21:00:56: %ASA-7-715036: Group = 111.111.111.111, IP = 111.111.111.111, Sending keep-alive of type DPD R-U-THERE (seq number 0x66612de3)
Jun 12 2009 21:00:56: %ASA-7-715046: Group = 111.111.111.111, IP = 111.111.111.111, constructing blank hash payload
Jun 12 2009 21:00:56: %ASA-7-715046: Group = 111.111.111.111, IP = 111.111.111.111, constructing qm hash payload
Jun 12 2009 21:00:56: %ASA-7-713236: IP = 111.111.111.111, IKE_DECODE SENDING Message (msgid=f65762ed) with payloads : HDR + HASH (8) + NOTIFY (11) + NONE (0) total length : 84
Jun 12 2009 21:00:56: %ASA-7-609002: Teardown local-host outside:85.105.93.192 duration 0:00:01
Jun 12 2009 21:00:56: %ASA-7-609001: Built local-host outside:85.105.93.192
Jun 12 2009 21:00:57: %ASA-7-609002: Teardown local-host outside:85.105.93.192 duration 0:00:00
Jun 12 2009 21:00:57: %ASA-7-713906: Received unexpected event EV_RESEND_MSG in state MM_REKEY_DONE_H2
Jun 12 2009 21:00:58: %ASA-3-713123: Group = 111.111.111.111, IP = 111.111.111.111, IKE lost contact with remote peer, deleting connection (keepalive type: DPD)

                                  
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:

Select allOpen in new window

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-06-12 at 04:33:34ID24486254
Tags

asa vpn ipsec

Topics

Cisco PIX Firewall

,

Virtual Private Networking (VPN)

,

IPSec Security Protocol

Participating Experts
3
Points
500
Comments
16

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. PIX to Checkpoint VPN not completing phase 2 IKE
    I can't get a a LAN-LAN VPN tom complete phase 2 IKE. My side PIX 515E 6.1(2). Their side CheckPoint FW-1 NG FP3 firewall. xxx.xxx.xxx.xxx = their public IP yyy.yyy.yyy.yyy = my public IP I've opened up isakmp on my outside from their network: access-list 100 permit udp ...
  2. SBS2003 VPN Peer to Peer
    I have a server running SBS2003 Standard edition with RRAS enabled to allow remote access through VPN, this works fine. I now need to set up a connection for Peer to Peer VPN with one of our customers, what do I need to do to acheive this? Thanks
  3. Netscreen Remote VPN - Problems during IKE Phase 2
    I have never setup a VPN connection using Auto IKE before and am having problems getting through Phase 2. The Error Message I am getting from the remote router is "Phase 2: No policy exists for the proxy ID received". Any suggestions, I am stumpped. Below is the ...
  4. VPN and SSL Peers
    I have a Cisco ASA 5505 and it comes with 10 VPN Peers and 2 WebVPN Peers, is this strictly for site to site VPN connections? Any insight is greatly appreciated.
  5. VPN Peer not responding suddenly
    I have a PIX firewall and until 2 days ago my VPN didn't have any problems. Now when I try to connect, I get 412 peer not responding errors. Below are two log files....the first set is the connection that is having an issue and the other is a remote pix that is not having a...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: clearacidPosted on 2009-06-12 at 07:22:13ID: 24612593

Check your cryptomap statements to make sure you have both ends correct.

Could your L2L configs for both ends?

 

by: clearacidPosted on 2009-06-12 at 07:23:21ID: 24612609

Also - check to make sure you have the attributes matched.

Example: if you are using pfs - make sure they match.

 

by: 3nerdsPosted on 2009-06-12 at 09:21:05ID: 24613725

By the defined group name I am assuming that this is a site to site vpn?

Would it be possible to see the configs?

Regards,

3nerds

 

by: DrStalkerPosted on 2009-06-24 at 19:36:28ID: 24707687

Config for our end:

object-group network REMOTENETWORK
 network-object 215.12.34.0 255.255.255.0
 
access-list outside_cryptomap_100 extended permit ip 10.88.88.96 255.255.255.240 object-group REMOTENETWORK 
access-list outside_cryptomap_100 extended permit ip 10.88.88.128 255.255.255.224 object-group REMOTENETWORK 
 
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac 
 
crypto map outside_map 100 match address outside_cryptomap_100
crypto map outside_map 100 set peer 111.111.111.111 
crypto map outside_map 100 set transform-set ESP-3DES-SHA
 
tunnel-group 111.111.111.111 type ipsec-l2l
tunnel-group 111.111.111.111 ipsec-attributes
 pre-shared-key SECRETKEY

                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:

Select allOpen in new window

 

by: DrStalkerPosted on 2009-06-24 at 19:38:29ID: 24707692

The remote endpoint is a Microsoft ISA server.

 

by: 3nerdsPosted on 2009-06-25 at 10:28:22ID: 24713847

Below is a common setup I use:


access-list Outside_1_cryptomap extended permit ip object-group 192.168.0.0 255.255.255.0 192.168.20.0 255.255.255.0

crypto map Outside_map 1 match address Outside_1_cryptomap
crypto map Outside_map 1 set pfs --> will need to be removed because I don't believe that ISa will support pfs
crypto map Outside_map 1 set peer x.x.x.x
crypto map Outside_map 1 set transform-set ESP-3DES-MD5 --> consider using MDS instead of sha as again not sure the isa supports sha
crypto map Outside_map interface Outside

Not sure what you have set for your ike pieces.
crypto isakmp enable Outside
crypto isakmp policy 30
 authentication pre-share
 encryption 3des
 hash md5
 group 2
 lifetime 86400

tunnel-group x.x.x.x type ipsec-l2l
tunnel-group x.x.x.x ipsec-attributes
 pre-shared-key *


Make sure you have all of these pieces also make sure your protocol match on both ends and the keys. I have never attempted a VPN to an ISA server many reason for that but are you sure the ISA supports sha?

Good Luck,

3nerds

 

by: DrStalkerPosted on 2009-06-25 at 16:33:58ID: 24716945

I've just been informed that the remote endpoint is not an ISA server, but a Watchguard X750e firewall (10.2 firmware).  Ah, the joys of dealing with VPNs in a global environemnt with remote offices that have never done any of this before. :-)

 

by: 3nerdsPosted on 2009-06-29 at 07:54:39ID: 24736712

Not a watchguard person so I don't know that this changes anything for me. Have you checked that I have listed above?

Regards,

3nerds

 

by: DrStalkerPosted on 2009-06-30 at 01:13:50ID: 24743244

3nerds;we have all those ocmponents in place in our config.

We have some logs from the remote server now:

11:08:36 iked Drop negotiation to peer 203.39.210.20:500 due to phase 1 retry timeout msg_id="0203-5161"             Debug
11:08:40 iked WARNING: Mismatched ID settings at peer 203.39.210.20:500 caused an authentication failure msg_id="0203-5156"      Debug
11:08:40 iked  Process 5/6 Msg : failed to process ID payload              Debug



11:17:00 iked  Process 5/6 Msg : failed to process ID payload 4           Debug
11:17:00 iked  Process INFO_EXCHANGE : EncryptBit set before SA created              Debug
11:17:00 iked Cannot process the inform message from 203.39.210.20:500 to 194.72.181.82 cookies i=9a3397be 0547688f r=1665ee71 2185bf5c msg_id="0203-5059"       Debug


All the settings look like they match, does that give anyone a clue what we need to doublecheck?

 

by: DrStalkerPosted on 2009-06-30 at 01:34:46ID: 24743349

 

by: 3nerdsPosted on 2009-06-30 at 05:40:54ID: 24744610

Please post your IKE config from the ASA.

Regards,

3nerds

 

by: 3nerdsPosted on 2009-06-30 at 05:59:05ID: 24744762

Just as an fyi the only things that I can find related to those errors is related to either wrong PSK on one end or them being to long. Any possibility of shortening them to something simple for testing.

Also the debug logs of this attempt would appreciated.

3nerds


 

by: DrStalkerPosted on 2009-06-30 at 16:47:30ID: 24750653

IKE details from our end:

isakmp enable outside
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption aes-256
isakmp policy 10 hash sha
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
isakmp policy 30 authentication pre-share
isakmp policy 30 encryption aes-256
isakmp policy 30 hash sha
isakmp policy 30 group 5
isakmp policy 30 lifetime 86400
isakmp policy 50 authentication pre-share
isakmp policy 50 encryption 3des
isakmp policy 50 hash sha
isakmp policy 50 group 2
isakmp policy 50 lifetime 86400
isakmp nat-traversal  20

I'll doublecheck the Pre-shared key, although if it mismatched I'd expect it to fail early on before exchanging information.  By "too long" do you mean there may be too many characters in the PSK?

 

 

by: 3nerdsPosted on 2009-07-01 at 08:19:16ID: 24755253

By "too long" do you mean there may be too many characters in the PSK? --> Yes I don't know of a specific bug but had read other places that it caused problems, then again could of been they just had a typo in the long key.


Your Phase one and Phase 2 appear to match as well:

PIX: isakmp policy 50 authentication pre-share
isakmp policy 50 encryption 3des
isakmp policy 50 hash sha
isakmp policy 50 group 2
isakmp policy 50 lifetime 86400

Matches:

Watchguard: SHA1, 3DES and Group2

Any other logs to look at? If you want to turn debug off to start so we can see some cleaner logs that works for me.

Have you tried to turn off DPD on the watchguard, we see these messages in the log above "Sending keep-alive of type DPD R-U-THERE " I wonder if there is a conflict in the RFC of DPD between the Cisco and the watch guard?

Regards,

3nerds

 

by: Jay_GridleyPosted on 2009-08-05 at 06:34:19ID: 25023245

I agree with 3nerds about the dpd.
Try
no isakmp keepalive
on the ASA. I see you can just turn it off with a checkbox on the watchguard.

Also, you might try changing the lifetime to 3600, as it's also just 60 minutes on the watchguard.

Finally it might might be worth trying pushing the policy the watchguard should use a bit upwards. recreate the isakmp policy with 5 as it's number.

Just a few thoughts...

JG

 

by: DrStalkerPosted on 2009-09-03 at 00:55:05ID: 31591709

Spreading the points around because this problem resolved tself, and we still don't know the cause

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...