7951 questions

9404 answers

15104 comments

12979 members

0 votes
144 views 3 comments
by
Static routes for L2TP/PPTP VPN doesn't work for a long time! When it''ll be fixed?

We have more then one hundred device RUTX12 with latest FW - RUTX_R_00.02.06.1, and now we need to change VPN topology from SSTP/DMVPN to L2TP with static routes for core subnets.

We have config like this.

root@Teltonika-RUTX12:~# cat /etc/config/network

config interface 'client_LINK'

        option _name 'LINK'

        option checkup_interval '20'

        option proto 'l2tp'

        option buffering '1'

        option server 'A.B.C.D'

        option username 'LOGIN'

        option password 'PASSWORD'

        option defaultroute '0'

config route

        option table '254'

        option target '10.0.1.0'

        option netmask '255.255.255.0'

        option gateway '10.1.254.254'

        option interface 'LINK'

But, routing table doesn't have this route!

root@Teltonika-RUTX12:~# ip r

default dev qmimux0 proto static scope link src 10.46.32.224 metric 1

default dev qmimux8 proto static scope link src 10.67.177.248 metric 2

10.0.26.0/24 dev br-lan proto kernel scope link src 10.0.26.1

10.1.254.254 dev l2tp-client_LIN proto kernel scope link src 10.1.3.99

10.46.32.224 dev qmimux0 proto static scope link metric 1

10.67.177.248 dev qmimux8 proto static scope link metric 2

10.254.251.0/24 dev eth1 proto kernel scope link src 10.254.251.180

I can add this route manualy and everything work fine, BUT i can't do it for hundreds devices.

root@Teltonika-RUTX12:~# route add -net 10.0.1.0/24 gw 10.1.254.254

root@Teltonika-RUTX12:~# ip r

default dev qmimux0 proto static scope link src 10.46.32.224 metric 1

default dev qmimux8 proto static scope link src 10.67.177.248 metric 2

10.0.1.0/24 via 10.1.254.254 dev l2tp-client_LIN

10.0.26.0/24 dev br-lan proto kernel scope link src 10.0.26.1

10.1.254.254 dev l2tp-client_LIN proto kernel scope link src 10.1.3.99

10.46.32.224 dev qmimux0 proto static scope link metric 1

10.67.177.248 dev qmimux8 proto static scope link metric 2

10.254.251.0/24 dev eth1 proto kernel scope link src 10.254.251.180

When it will be fixed? We really need it.

P.S. Default route in L2TP/PPTP VPN doesn't work too ;)))

P.P.S. OSPF and EIGRP with DMVPN doesn't work too ;))

P.P.P.S. Mobile status in RMS for two active SIM devices doesn't work too ;))

P.P.P.P.S. WAN interface priority with failover doesn't work too :(

1 Answer

0 votes
by
Hello,

From 'config route' the route that seems to be missing is in table 254, you can check it with "ip route show table 254".

Regards,
by

Hello, it is so old problem for teltonika device.

This

https://community.teltonika-networks.com/27073/rut950-static-route-issue?show=27073#q27073

and this

https://community.teltonika-networks.com/29904/rutx11-vpn-static-route

and output of the command too

root@Teltonika-RUTX12:~# ip r show table 254

default dev qmimux0 proto static scope link src 10.46.32.224 metric 1 

default dev qmimux8 proto static scope link src 100.86.1.172 metric 2 

10.0.26.0/24 dev br-lan proto kernel scope link src 10.0.26.1 

10.1.254.254 dev l2tp-client_LIN proto kernel scope link src 10.1.3.99 

10.46.32.224 dev qmimux0 proto static scope link metric 1 

10.254.251.0/24 dev eth1 proto kernel scope link src 10.254.251.180 

100.86.1.172 dev qmimux8 proto static scope link metric 2 

by

Could you try to set the route manually :

ip route add table 254 10.0.1.0/24 via 10.1.254.254 dev l2tp-client_LIN

Does that work ?

by
Yes, it works. I wrote it in the first message.