12-19-2023 06:56 AM
I connect to my work through the CISCO AnyConnect VPN client, and lately I have been facing constant disruptions where the VPN client keeps disconnecting. I reviewed the logs exported via the DART utility and only activity happening at the time of disconnection says: IKE session deleted with internal reason code 5 - Lost contact with peer. This happens right after: Send NAT keepalive packet local IP address:37905 remote IP address:37905.
I have searched for the reason code 5 and have not found any answers. I am trying to get at the root cause of this and what is causing this error. Any help is much appreciated.
12-19-2023 07:25 AM
It SSL or IKEv2 VPN
If it SSL then use
anyconnect ssl keepalive 60
What causes of problems is there is NAT and you need always send packet to make NAT entry not remove and make your vpn drop
MHM
12-19-2023 07:29 AM
Hello, the VPN is IKEv2.
12-19-2023 07:36 AM
Show me vpn sessiondb <- if ASA
When it happened again
MHM
12-27-2023 07:10 AM
I believe it is less the anyconnect client issue and may be a hardware issue. I am working to identify that, however, I would still like to know what this error internal reason code 5 means?
12-28-2023 06:05 AM
I need to see below when issue happened
Show me vpn sessiondb
MHM
12-22-2023 02:52 AM
how often that problem happens, every 30 seconds after you connect or randomly that you can't put a timestamp on it?
12-27-2023 07:08 AM
Hi @Ruben Cocheno the problem is very intermittent, it would happen once every few hours and then will happen in bunches. I did some additional troubleshooting and have potentially identified the culprit, it may be the MOCA adapter feeding the switch which then connects to my laptop.
However, I would still like to know what is this error and what does this mean > internal reason code 5
Thanks.
12-28-2023 06:10 AM
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