Subject: Re: In-kernel pppoe doesn't seem to detect connection loss
To: Juha K Kallio <bunnyh@psychedelic.baana.suomi.net>
From: Martin Husemann <martin@duskware.de>
List: netbsd-users
Date: 04/22/2003 11:21:47
On Tue, Apr 22, 2003 at 10:49:10AM +0300, Juha K Kallio wrote:
> Doesn't the in-kernel pppoe use LCP echo to detect dead connections?
> If the connection dies silently, it just stays 
> forever in 'network' state.

It does. And it logs it's failures like this:

Apr 22 04:39:54 nightfall /netbsd: pppoe0: LCP keepalive timed out, going to restart the connection

Maybe your peer is answering LCP echo requests, but IP routing does not work
any more?

You can check by running "tcpdump -i pppoe0 -vvv" or something similar
on the PPPoE interface and watch the regular (10 sec from memory) LCP echos.
And then ping some remote host and check the IP packets.

Martin