[ale] PPP Question?? 'renew' message?
Christopher Fowler
cfowler at outpostsentinel.com
Mon May 15 21:08:30 EDT 2006
lcp-echo-failure n
If this option is given, pppd will presume the peer to
be dead
if n LCP echo-requests are sent without receiving a
valid LCP
echo-reply. If this happens, pppd will terminate the
connec-
tion. Use of this option requires a non-zero value for
the lcp-
echo-interval parameter. This option can be used to
enable pppd
to terminate after the physical connection has been
broken
(e.g., the modem has hung up) in situations where no
hardware
modem control lines are available.
lcp-echo-interval n
If this option is given, pppd will send an LCP
echo-request
frame to the peer every n seconds. Normally the peer
should
respond to the echo-request by sending an
echo-reply. This
option can be used with the lcp-echo-failure option to
detect
that the peer is no longer connected.
lcp-echo-interval 60 lcp-echo-failure 2
Send echo packet every minute terminate link after 2 failures.
On Mon, 2006-05-15 at 19:14, John Mills wrote:
> ALErs -
>
> I need to periodically remind my PPP link that my system is still there
> and I understand the way to do this may be issuing a "renew" packet, which
> I've been told is very similar to a "request" packet, except that it
> includes the link's current assigned IP instead of a place-holder used in
> the "request" packet. The 'kick-out' interval seems to be about half an
> hour.
>
> I don't know if this is achieved by specifying "keep-alive" for a
> PPP link for some configuration programs, or something different.
> Different, I think, because link termination is not supposed to be
> traffic-dependent for this environment, and in fact I get the kick-outs
> whether I'm sending traffic or not.
>
> If that sounds incoherent, it just reflects my clueless state. Where can I
> learn a bit more about PPP link management, and perhaps how to generate
> these magic packets? My end of the link is being managed by a conventional
> [AFAIK] ppp in a minimal 2.4 setup. What lives at the network end, I have
> no idea.
>
> TIA for any background.
>
> - Mills
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list