Discussion:
LCP terminated by peer
(too old to reply)
Greg Barnes
2014-06-16 04:51:10 UTC
Permalink
Hey guys. I am in need of some help. I have a VPN tunnel that is up and running. Periodically / Randomly I get disconnected and when I look at SYSLOG, this is what I find.

What I am attempting to determine is if this is a problem on my end or the other end.

"LCP terminated by peer" would indicate to me that I was disconnected on their end. Is that true? If so, what would cause this. The tunnel has been up and running for a few days now and this just happened.


Any information you could give me would be greatly appreciated.


Thanks,


-G


-------------

Jun 16 04:34:01 ip-10-2-5-44 CRON[1719]: (root) CMD (/root/poscheck.sh >> /var/log/pos_check.log 2>&1)
Jun 16 04:34:01 ip-10-2-5-44 CRON[1718]: (root) CMD (/root/pptp_check.sh >> /var/log/pptp_pinger.log 2
&1)
Jun 16 04:35:01 ip-10-2-5-44 CRON[1730]: (root) CMD (/root/pptp_check.sh >> /var/log/pptp_pinger.log 2
&1)
Jun 16 04:36:01 ip-10-2-5-44 CRON[1739]: (root) CMD (/root/poscheck.sh >> /var/log/pos_check.log 2>&1)
Jun 16 04:36:01 ip-10-2-5-44 CRON[1740]: (root) CMD (/root/pptp_check.sh >> /var/log/pptp_pinger.log 2
&1)
Jun 16 04:37:01 ip-10-2-5-44 CRON[1751]: (root) CMD (/root/pptp_check.sh >> /var/log/pptp_pinger.log 2
&1)
Jun 16 04:38:01 ip-10-2-5-44 CRON[1760]: (root) CMD (/root/pptp_check.sh >> /var/log/pptp_pinger.log 2
&1)
Jun 16 04:38:01 ip-10-2-5-44 CRON[1763]: (root) CMD (/root/poscheck.sh >> /var/log/pos_check.log 2>&1)
Jun 16 04:39:01 ip-10-2-5-44 CRON[1772]: (root) CMD (/root/pptp_check.sh >> /var/log/pptp_pinger.log 2
&1)
Jun 16 04:39:09 ip-10-2-5-44 pppd[2513]: LCP terminated by peer
Jun 16 04:39:09 ip-10-2-5-44 pppd[2513]: Connect time 17999.9 minutes.
Jun 16 04:39:09 ip-10-2-5-44 pppd[2513]: Sent 48585437 bytes, received 1153087389 bytes.
Jun 16 04:39:09 ip-10-2-5-44 pptp[2523]: anon log[ctrlp_disp:pptp_ctrl.c:929]: Call disconnect notific
ation received (call id 61304)
Jun 16 04:39:09 ip-10-2-5-44 pptp[2523]: anon log[ctrlp_disp:pptp_ctrl.c:788]: Received Stop Control C
onnection Request.
Jun 16 04:39:09 ip-10-2-5-44 pptp[2523]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type
is 4 'Stop-Control-Connection-Reply'
Jun 16 04:39:09 ip-10-2-5-44 pptp[2523]: anon log[callmgr_main:pptp_callmgr.c:258]: Closing connection
(shutdown)
Jun 16 04:39:09 ip-10-2-5-44 pptp[2523]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Jun 16 04:39:09 ip-10-2-5-44 pptp[2523]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Jun 16 04:39:09 ip-10-2-5-44 pppd[2513]: Modem hangup
Jun 16 04:39:09 ip-10-2-5-44 pppd[2513]: Connection terminated.
Jun 16 04:39:09 ip-10-2-5-44 pppd[2513]: Exit.
Pascal Hambourg
2014-06-16 14:36:36 UTC
Permalink
Hello,
Post by Greg Barnes
"LCP terminated by peer" would indicate to me that I was disconnected
on their end. Is that true?
Yes.
Post by Greg Barnes
If so, what would cause this.
A lot of things. Excessive packet loss, maximum connect time reached...
Post by Greg Barnes
Jun 16 04:39:09 ip-10-2-5-44 pppd[2513]: LCP terminated by peer
Jun 16 04:39:09 ip-10-2-5-44 pppd[2513]: Connect time 17999.9 minutes.
Jun 16 04:39:09 ip-10-2-5-44 pppd[2513]: Modem hangup
Jun 16 04:39:09 ip-10-2-5-44 pppd[2513]: Connection terminated.
Jun 16 04:39:09 ip-10-2-5-44 pppd[2513]: Exit.
17999.9 minutes does not look random, so I guess you reached the maximum
connect time. If you want the VPN to be reopened automatically, consider
adding "persist" to the corresponding pppd options file.

Loading...