Open zorun opened 8 years ago
Could you post your full configuration please ? XL2TP does not even sends ZLB after SCCCN in my setup, hence preventing session establish.
For the record, I set up an L2TP connection to a Mikrotik server device from xl2tpd client and had the same issue - until I added:
/ip pool
add name=vpn ranges=172.16.22.100-172.16.22.199
/ppp profile
set [find name=default-encryption] local-address=172.16.22.1 remote-address=vpn
To the Mikrotik L2TP server. (Also took me a few minutes to remember that the server command needs and extra server parameter to configure: /int l2tp-server server print). My L2TP server uses the default-encryption profile, of course, but needed the pool added.
Running xl2tpd -D helped a lot, of course.
Lol @ this being an issue that only receives responses every December. Hurray for hobby coding and networking and github.
I managed to solve this problem with this:
but I got this error
I reported here in #156
I want to connect from a Raspberry Pi running Raspbian running 1.3.8+dfsg-1 armhf. Can't get passed the avp is incorrect size error. The server is a Mikrotik, connection works from other clients. Any news? Is this a non-standard usage of the package? Or is it related only to Mikrotik?
I could connect from debian to mikrotik using this configuration https://gitlab.com/guifi-exo/wiki/blob/master/howto/l2tp-client-configuration/README.md#configuraci%C3%B3-de-t%C3%BAnels-l2tp-per-debian-i-derivats (translate from Catalan to English). Let me know if it works for you
Lot of time that we are not dealing anymore with a l2tp mikrotik server (phew!) and we are happy with the current x2ltpd client configuration, this time, I give you a more eternal link to our docs http://web.archive.org/web/20200822181242/https://gitlab.com/guifi-exo/wiki/-/blob/master/howto/l2tp-client-configuration/README.md
same to me routerOs 6.49.6 ubuntu 20 , all up to date
When using
xl2tpd
as server and a Mikrotik device as client, the server regularly disconnects the client, and then reconnects it immediately (by launching a new instance ofpppd
). The error on the server side isresult_code_avp: avp is incorrect size. 8 < 10
.This happens with xl2tp 1.3.6 as server on Debian jessie (without kernel support), and RouterOS 6.33 as client. The exact same setup with RouterOS 6.15 works fine.
The condition triggering this bug is unclear. When a small amount of traffic is forwarded on the tunnel, everything works fine. When artificially loading the link with 150 Mbps of large UDP packets, everything works fine. However, when production traffic (about 80 Mbps) is forwarded on the tunnel, the bug occurs every few minutes, at irregular intervals.
Here are the logs of the server when the condition triggers:
Here is the corresponding log on the client side (Mikrotik). Sorry, there is no accurate time synchronisation.
This is annoying, because the new ppp interface is created immediately on the server, while the old ppp interface lingers for more than two minutes (see the last line in the logs of the server). This causes OSPF to keep trying to use the old interface, which doesn't work anymore, until the neighbouring relation timeouts.
It seems to be the same issue as #44, which was apparently resolved on the client side (Android). Any idea on what could go wrong? The RouterOS changelog mentions several changes in the ppp client between versions 6.15 and 6.33, which could explain this new behaviour.
Below are the configuration of the server and clients. Server side:
Client side: