Community discussions

MikroTik App
 
Totor
just joined
Topic Author
Posts: 2
Joined: Wed Nov 14, 2018 12:21 pm

L2TP two providers

Wed Nov 14, 2018 12:45 pm

Hi,
I stack in configuring spare ipsec\l2tp tunnel.
Details:
I have two providers on remote site. It is need to connect to main site over ipsec\l2tp.

Ipsec`s are working well.
vnovg-sankt-ipsec_l2tp.png
L2TP over first provider and ipsec is running normally.
L2TP through second provider is constantly trying to reconnect without any success.
l2tp,ppp,info Vympel-Avel-L2TP: initializing...
13:35:55 l2tp,ppp,info Vympel-Avel-L2TP: connecting...
13:35:55 l2tp,debug tunnel 6275 entering state: wait-ctl-reply
13:35:55 l2tp,debug,packet sent control message to xxx.xxx.xxx.xxx:1701 from 0.0.0.0:1701
13:35:55 l2tp,debug,packet tunnel-id=0, session-id=0, ns=0, nr=0
13:35:55 l2tp,debug,packet (M) Message-Type=SCCRQ
13:35:55 l2tp,debug,packet (M) Protocol-Version=0x01:00
13:35:55 l2tp,debug,packet (M) Framing-Capabilities=0x1
13:35:55 l2tp,debug,packet (M) Bearer-Capabilities=0x0
13:35:55 l2tp,debug,packet Firmware-Revision=0x1
13:35:55 l2tp,debug,packet (M) Host-Name="Name_one"
13:35:55 l2tp,debug,packet Vendor-Name="MikroTik"
13:35:55 l2tp,debug,packet (M) Assigned-Tunnel-ID=6275
13:35:55 l2tp,debug,packet (M) Receive-Window-Size=4
13:35:56 l2tp,debug,packet sent control message to xxx.xxx.xxx.xxx:1701 from 0.0.0.0:1701
13:35:56 l2tp,debug,packet tunnel-id=0, session-id=0, ns=0, nr=0
13:35:56 l2tp,debug,packet (M) Message-Type=SCCRQ
13:35:56 l2tp,debug,packet (M) Protocol-Version=0x01:00
13:35:56 l2tp,debug,packet (M) Framing-Capabilities=0x1
13:35:56 l2tp,debug,packet (M) Bearer-Capabilities=0x0
13:35:56 l2tp,debug,packet Firmware-Revision=0x1
13:35:56 l2tp,debug,packet (M) Host-Name="Name_one"
13:35:56 l2tp,debug,packet Vendor-Name="MikroTik"
13:35:56 l2tp,debug,packet (M) Assigned-Tunnel-ID=6275
13:35:56 l2tp,debug,packet (M) Receive-Window-Size=4
13:35:57 l2tp,debug,packet sent control message to xxx.xxx.xxx.xxx:1701 from 0.0.0.0:1701
13:35:57 l2tp,debug,packet tunnel-id=0, session-id=0, ns=0, nr=0
13:35:57 l2tp,debug,packet (M) Message-Type=SCCRQ
13:35:57 l2tp,debug,packet (M) Protocol-Version=0x01:00
13:35:57 l2tp,debug,packet (M) Framing-Capabilities=0x1
13:35:57 l2tp,debug,packet (M) Bearer-Capabilities=0x0
13:35:57 l2tp,debug,packet Firmware-Revision=0x1
13:35:57 l2tp,debug,packet (M) Host-Name="Name_one"
13:35:57 l2tp,debug,packet Vendor-Name="MikroTik"
13:35:57 l2tp,debug,packet (M) Assigned-Tunnel-ID=6275
13:35:57 l2tp,debug,packet (M) Receive-Window-Size=4
13:35:59 l2tp,debug,packet sent control message to xxx.xxx.xxx.xxx:1701 from 0.0.0.0:1701
13:35:59 l2tp,debug,packet tunnel-id=0, session-id=0, ns=0, nr=0
13:35:59 l2tp,debug,packet (M) Message-Type=SCCRQ
13:35:59 l2tp,debug,packet (M) Protocol-Version=0x01:00
13:35:59 l2tp,debug,packet (M) Framing-Capabilities=0x1
13:35:59 l2tp,debug,packet (M) Bearer-Capabilities=0x0
13:35:59 l2tp,debug,packet Firmware-Revision=0x1
How to make second l2tp to operating normally?
You do not have the required permissions to view the files attached to this post.
 
Totor
just joined
Topic Author
Posts: 2
Joined: Wed Nov 14, 2018 12:21 pm

Re: L2TP two providers  [SOLVED]

Thu Nov 15, 2018 1:50 pm

I`ve updated microcode on my devices and trouble wasn`t gone.
Finally I`ve found solution.
L2TP connection traffic starts somewhere in that place - LOCAL Procces OUT block accordingly the table of traffic flow.

Image

L2TP outbounf traffic never reaches mangling block. It goes directly to Routing Decision.
More details are there: viewtopic.php?t=40751

Solution will be to add simple routes:
/ip route add dst-address=L2TP_server_over_ISP2 pref-src=ISP2_wan_IP distance=1 gateway=ISP2_gateway
/ip route add dst-address=L2TP_server_over_ISP2 pref-src=ISP1_wan_IP distance=2 gateway=ISP1_gateway

Who is online

Users browsing this forum: inna and 36 guests