FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
436 views 0 comments
by

Hi

I have successfully connected my rut950 to our mikrotik router os pptp server.

I am now struggled with routing metric weight with existing routes .

I would like that all the traffic is going over this pptp link

Successive traceroute commands are showing different network paths according this

root@TELTO2:~# traceroute 192.168.24.110
traceroute to 192.168.24.110 (192.168.24.110), 30 hops max, 38 byte packets
 1  192.168.250.247 (192.168.250.247)  0.236 ms  192.168.107.252 (192.168.107.252)  0.039 ms  192.168.250.247 (192.168.250.247)  0.201 ms
 2  192.168.111.247 (192.168.111.247)  0.580 ms  192.168.24.110 (192.168.24.110)  0.612 ms  192.168.111.247 (192.168.111.247)  0.033 ms
root@TELTO2:~# traceroute 192.168.24.110
traceroute to 192.168.24.110 (192.168.24.110), 30 hops max, 38 byte packets
 1  192.168.107.252 (192.168.107.252)  0.487 ms  192.168.250.247 (192.168.250.247)  0.283 ms  192.168.107.252 (192.168.107.252)  0.438 ms
 2  192.168.24.110 (192.168.24.110)  0.801 ms  192.168.111.247 (192.168.111.247)  1.034 ms  192.168.24.110 (192.168.24.110)  0.860 ms

routing table according

root@TELTO2:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.107.252 255.255.255.255 UGH   0      0        0 pptp-mqtt
default         192.168.250.247 0.0.0.0         UG    0      0        0 eth1
default         192.168.107.252 0.0.0.0         UG    0      0        0 pptp-mqtt
default         192.168.5.247   0.0.0.0         UG    10     0        0 wlan0
10.32.11.0      *               255.255.255.0   U     0      0        0 br-lan
192.168.5.0     192.168.5.247   255.255.255.0   UG    100    0        0 wlan0
192.168.107.252 *               255.255.255.255 UH    0      0        0 pptp-mqtt
192.168.250.0   *               255.255.255.0   U     0      0        0 eth1
192.168.250.247 *               255.255.255.255 UH    0      0        0 eth1
xxx.xxx.xxx.xxx    192.168.250.247 255.255.255.255 UGH   0      0        0 eth1

What is the best way to achieve pptp link only ?

Thanks in adavance for your support

Stéphane

1 Answer

0 votes
by anonymous

Hello,

If you want to send all traffic over PPTP link, set it “Use as default gateway” under PPTP settings (WebUI -> Services -> VPN -> PPTP). This will automatically change router metric.