Page 1 of 1

l2tp keepalive?

Posted: Fri Dec 05, 2014 10:49 am
by Anirey
Hi!
I want to increase l2tp keepalive to 120 sec.

/interface l2tp-client print
Flags: X - disabled, R - running
0 R name="l2tp-out1" max-mtu=1300 max-mru=1300 mrru=1300 connect-to=10.63.200.129 user="TEST2" password="***" profile=default keepalive-timeout=120 add-default-route=no dial-on-demand=no allow=mschap2

But it doesn't work. Keepalives sends every 60 sec =( Why?

11:45:45 l2tp,debug,packet sent control message to 10.63.200.129:1701
11:45:45 l2tp,debug,packet tunnel-id=356, session-id=0, ns=7, nr=5
11:45:45 l2tp,debug,packet (M) Message-Type=HELLO
11:45:46 l2tp,debug,packet rcvd control message (ack) from 10.63.200.129:1701
11:45:46 l2tp,debug,packet tunnel-id=88, session-id=0, ns=5, nr=8
11:45:46 l2tp,debug,packet rcvd control message from 10.63.200.129:1701
11:45:46 l2tp,debug,packet tunnel-id=88, session-id=0, ns=5, nr=8
11:45:46 l2tp,debug,packet (M) Message-Type=HELLO
11:45:46 l2tp,debug,packet sent control message (ack) to 10.63.200.129:1701
11:45:46 l2tp,debug,packet tunnel-id=356, session-id=0, ns=8, nr=6
11:46:45 l2tp,debug,packet sent control message to 10.63.200.129:1701
11:46:45 l2tp,debug,packet tunnel-id=356, session-id=0, ns=8, nr=6
11:46:45 l2tp,debug,packet (M) Message-Type=HELLO
11:46:46 l2tp,debug,packet rcvd control message from 10.63.200.129:1701
11:46:46 l2tp,debug,packet tunnel-id=88, session-id=0, ns=6, nr=8
11:46:46 l2tp,debug,packet (M) Message-Type=HELLO
11:46:46 l2tp,debug,packet sent control message (ack) to 10.63.200.129:1701
11:46:46 l2tp,debug,packet tunnel-id=356, session-id=0, ns=9, nr=7
11:46:46 l2tp,debug,packet rcvd control message (ack) from 10.63.200.129:1701
11:46:46 l2tp,debug,packet tunnel-id=88, session-id=0, ns=7, nr=9

Re: l2tp keepalive?

Posted: Sat Dec 06, 2014 12:22 pm
by Anirey
Hey!
Do you know answer?

Re: l2tp keepalive?

Posted: Wed Dec 10, 2014 8:41 am
by Anirey
help, please!

Re: l2tp keepalive?

Posted: Thu Dec 11, 2014 1:37 am
by lambert
Did you change the keepalive setting on both sides?

I have not done the research, but you can, to know if the keepalive value is negotiated to the smallest acceptable value between L2TP peers or not.

Re: l2tp keepalive?

Posted: Wed Dec 17, 2014 12:17 pm
by Anirey
On the HUB
/interface l2tp-server server
set enabled=yes keepalive-timeout=120 max-mru=1460 max-mtu=1460

Re: l2tp keepalive?

Posted: Wed Dec 31, 2014 11:47 am
by GRYyzli
Hello, the same here, it looks like a bug, changing keepalive timeout dsn't make any difference.
Regards