[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problems with pppd



Hello list !

In the company I'm working for we use pppd to form a vpn to a remote
network. we do this by using the "pty" option of pppd to run it over an
ssh connection to a remote gateway.

now the wierdest things : sometimes the link will stop responding
unexpectadly, but the script that supposed to detect that and restart the
link doesnot do so ,since the pppd link seems to stay up. today I cought
it in the act - while pinging to the remote ip (172.31.0.4) goes on
un-answered, in the logs I see pppd happiliy chirping to itself "lcpecho
sent, lcpecho recv, lcpecho sent, lcpecho recv..."
it goes on for a few more mins, and then eventually it will stop getting
lcpecho responses and drops. but before that I get at least several
minutes where pppd is sure that the connection is up (and apparently it is
- since it reports getting echo replys) but no packets travel the line.
any one has any idea why ?

 the command used to invoke pppd is like this :
/usr/sbin/pppd 172.31.0.3:172.31.0.4 silent debug lcp-echo-failure 20
lcp-echo-interval 1 nodeflate pty "/usr/bin/ssh -t vpn@xxxxxx -i
/etc/vpn/key.priv" linkname vpn-xxxxxx

TIA

Oded



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il