On Thu, Apr 08, 2004 at 08:46:26AM -0300, [EMAIL PROTECTED] wrote:
>    I've been using L2TPD with FreeS/WAN (Debian) to get a VPN running between 
> my gateway and some IPAQs. It working just fine, but there is one thing I cant 
> find out how to solve and maybe someone over here can help me. I'm trying to 
> do a throughput test between gateway and the ipaq, and whenever I use the ppp 
> connection with tons of packets, the l2tp connection times out in a few 
> seconds because it wont get response from the tunnel. As I can check freeswan 
> log, it wont disconnect. The thing is, ppp times out.

I have the same. I can't upload more than 400kB or l2tpd tears down the
connection because of not arriving of control packets.

>    l2tpd daemon says it times out during to no response from the client.

I've read the L2TP RFC and AFAIK Control packets have reliable delivery
so I don't know how this can happen. Also I can't find any evidence of
using control packets for link up-ness detection, only LCP.

relevant piece of l2ptd.conf:
---snip---
[lac wanadoo]
lns = <blah>
redial = yes          
redial timeout = 10   ; 10 seconds ought to be enough
autodial = yes        
ppp debug = no
pppoptfile = /etc/ppp/options.l2tpd
---snip---

options.l2tpd:
---snip---
user <blah>@wanadoo
remotename wanadoo
ipparam wanadoo
mru 1456
mtu 1456
defaultroute
asyncmap 0
noauth
debug
---snip---

>   Anyone have any idea of what I could do ? Is there any way to increase that 
> timeout time ? I tried to check pppd man page 8, but couldent find any setting 
> for that.

It seems logically to me to use LCP which can be configured quite well,
but I'm not sure either how to solve this.
I find all kind of cronned scripts for Wanadoo (my provider) to ping and
restart l2tpd if it fails used by others. But that can't be right, it's
dirty.

Paul

-- 
Student @ Eindhoven                         | JID:   [EMAIL PROTECTED]
University of Technology, The Netherlands   | email: [EMAIL PROTECTED]
>>> Using the Power of Debian GNU/Linux <<< | GnuPG: finger [EMAIL PROTECTED]

Reply via email to