Hello Hening, you wrote

On 28 Nov 2003 at 15:06, Henning Jebsen wrote:

> Hi Erik
> >>Nov 25 08:53:37 firewall pppd[7359]: No response to 3 echo-requests
> >>Nov 25 08:53:37 firewall pppd[7359]: Serial link appears to be disconnected.
>
>
> Troy could try this one as parameter for pppd:
>
> man pppd
>
> lcp-echo-failure n
> If this option is given, pppd will presume the peer to be dead if n LCP 
> echo-requests are sent  with­out  receiving  a valid LCP echo-reply.  If this 
> happens, pppd will terminate the connection.  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 
> hungup) 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.
>
Those Parameters are allready set in the pppoe options file.
The problem with his setup seems to be that the "server" here the bering box
starts sending the LCP ( echo requests) and that those aren't answered within
the LCP-echo-interval.   After 3 tries exactly that happens what you described,
namely the server gets no response and supposes the line ( connection) is dead
and does an hangup.
unfortunately the whole pppd is stopped, also takeing down the dialout part on
ppp0.

Interesting is why
1 the client doesn't answer the lcp-echo requests.
 a--They don't reach the client   (firewall  /route issue locally or on
client.)
 b -The client answers but sends them over a wrong interface or the outgoing
answer is blocked .  ( route /firewall )
  if the client is also a bering box it could be that the external interface is
declared as eth0 and not as pppo for example
 c- the server is blocking the answers on the firewall
        (remember that now the ppp1 is also an external interface).

Troy might setup the shorewall rules to log all incoming and blocked traffic.
or clear the firewall for the test.

Regards

Eric Wolzak
member of the Bering Crew.


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to