Community discussions

 
beh0ld
just joined
Topic Author
Posts: 5
Joined: Fri Feb 15, 2019 12:30 pm

L2tp over 3G

Fri Mar 29, 2019 1:29 pm

Hi all! Help me please to resolve small problem. I can ping l2tp server public ip X.X.X.X from branch mikrotik(hap-ac) with 3g modem (ppp-out1), but l2tp-out1 client cant connect. If i change 3g modem connection on ipoe internet connection(public static) - all works fine. I disable firewall on both sides, but nothing changes.

interface l2tp-client print
Flags: X - disabled, R - running
0 name="l2tp-out1" max-mtu=1450 max-mru=1450 mrru=disabled
connect-to=XXXXXXXX user="XXXXXXXX" password="XXXXXXX"
profile=default keepalive-timeout=60 use-ipsec=no ipsec-secret=""
allow-fast-path=no add-default-route=no dial-on-demand=no allow=chap
, R - running

interface ppp-client print
Flags: X - disabled, R - running
0 R name="ppp-out1" max-mtu=1500 max-mru=1500 mrru=disabled port=usb1
data-channel=0 info-channel=1 apn="internet" pin="" user="" password=""
profile=default phone="" dial-command="ATDT" modem-init="" null-modem=no
dial-on-demand=no add-default-route=yes default-route-distance=3
use-peer-dns=yes keepalive-timeout=30 allow=pap,chap,mschap1,mschap2



Routing table:
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADS 0.0.0.0/0 ppp-out1 3
3 ADC 10.112.148.153/32 100.107.44.243 ppp-out1 0


Some logs:

14:18:51 l2tp,debug,packet sent control message to X.X.X.X:1701 from 0.0.0.0
:1701
14:18:51 l2tp,debug,packet tunnel-id=0, session-id=0, ns=0, nr=0
14:18:51 l2tp,debug,packet (M) Message-Type=SCCRQ
14:18:51 l2tp,debug,packet (M) Protocol-Version=0x01:00
14:18:51 l2tp,debug,packet (M) Framing-Capabilities=0x1
14:18:51 l2tp,debug,packet (M) Bearer-Capabilities=0x0
14:18:51 l2tp,debug,packet Firmware-Revision=0x1
14:18:51 l2tp,debug,packet (M) Host-Name="MK1-TEST"
14:18:51 l2tp,debug,packet Vendor-Name="MikroTik"
14:18:51 l2tp,debug,packet (M) Assigned-Tunnel-ID=2412
14:18:51 l2tp,debug,packet (M) Receive-Window-Size=4
14:18:59 l2tp,debug tunnel 2412 received no replies, disconnecting
14:18:59 l2tp,debug tunnel 2412 entering state: dead
14:18:59 l2tp,debug session 1 entering state: dead
14:18:59 l2tp,ppp,debug l2tp-out1: CCP close
14:18:59 l2tp,ppp,debug l2tp-out1: BCP close
14:18:59 l2tp,ppp,debug l2tp-out1: IPCP close
14:18:59 l2tp,ppp,debug l2tp-out1: IPV6CP close
14:18:59 l2tp,ppp,debug l2tp-out1: MPLSCP close
14:18:59 l2tp,ppp,info l2tp-out1: terminating... - session closed

Who is online

Users browsing this forum: Bing [Bot] and 38 guests