D
D
Decker2016-04-19 00:00:38
System administration
Decker, 2016-04-19 00:00:38

Mikrotik. Load balancing. PPPoE + L2TP how to set up?

Good day to all. The following question arose, how to properly configure load balancing for a PPPoE + L2TP connection.
Initial data:
1. ISP1 - Rostelecom. PPPoE. Channel - 100 Mbit. (dml-internet)
2. ISP2 - Beeline. L2TP. Channel - 100 Mbit. (bee-internet)
You need to set up load balancing to maximize the use of two channels as "torrent downloaders" at 200 Mbit. Those. either ECMP or using Nth rules in prerouting. I read a wonderful article on this topic on Habré - Mikrotik. Failover. Load Balancing, but there are some nuances. The article describes the option where both ISPs are connected via Static IP, i.e. there is a fixed gateway for each ISP and we add routes manually for each ISP. Then, depending on the marking of the connection or route, it goes to either ISP1 or ISP2. Here everything is very clear and understandable.
In the case of PPPoE and L2TP, a default gateway is automatically created for each of the connections. If we remove the "Default routing" checkbox in the PPPoE and L2TP client, then we lose the Remote Address through which traffic should go. Those. if you remove the addition of the Default Route in PPPoE and L2TP connections and just make the default route, in which you specify two connections in turn as gateway, like this:

/ip route add disabled=yes distance=1 gateway=bee-internet,dml-internet

Then it still does not work as expected (or I misunderstand something, which is more likely). If someone has configured balancing PPPoE + L2TP or two PPPoE on Mikrotik, I will be glad if you share the implementation details.
ps And another question, is it possible in any way to use the automatically created routes (Default Route) for connections in conjunction with marking?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
G
Gregory, 2016-04-19
@Decker

in order not to lose the Remote Address, you can force it to be specified in PPP> Profiles. Then, for the desired connection, for example, PPPOE, select it in the Profile column.

N
Nadz Goldman, 2016-04-19
@nadz

I suggest you take a look here .

D
Dmitry, 2016-04-19
@BuHToPe3

Have you tried google?
There are a bunch of manuals for setting up both the first and second.

K
Kirill Vasiliev, 2016-04-21
@vasilevkirill

since PPPoe and l2tp are point-to-point, no one bothers you to put the addresses and the network on your own on the interface.
If the torento downloader is ECMP but only the torrent downloader, if WEB then there will be problems due to NAT, remove WEB into a separate routing table.

I
IceTony, 2017-01-27
@IceTony

How did you end up solving this issue?
I also faced the difficulty of setting up ECMP balancing on Mikrotik, having two PPPoE providers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question