Subject: re: pppoe LCP keepalive timer lossage
To: Martin Husemann <martin@duskware.de>
From: matthew green <mrg@eterna.com.au>
List: tech-kern
Date: 08/25/2003 17:35:04
   On Sun, Aug 24, 2003 at 09:36:40PM -0700, Jesse Off wrote:
   > Shouldn't it only be reset when the pppoe0 interface receives a packet?
   
   That's arguable. Maybe we should do that.
   The logic is: as long as you saturate your link either by sending or
   receiving (or a combination there of), we don't want to count losing LCP
   echo replies as an error.
   
   Now, of course, none of the typical protocols in use over a PPPoE link will
   send > 30 seconds but not receive anything, so we could opt for only using
   incoming traffic to reset the counter.
   
   But I think this has to be an option, or we need two timers (one "no incoming
   traffic since..." and one "last LCP echo request answered") and more fine
   grained logic.


it seems that this is what we want.  if you don't recieve anything
from the remote end in N seconds, start sending an LCP echo requests.
if nothing answers and still no traffic has arrived since, sounds
like the link is dead.


.mrg.