D
D
Dzamba112015-05-10 20:30:43
Mikrotik
Dzamba11, 2015-05-10 20:30:43

Mikrotik. How to divide 2 providers (pppoe, beeline (l2tp)) into 2 local networks?

I am new to setting up mikrotik. There was a need to raise 2 pppoe connections and Beeline l2tp on 1 and 2 interfaces, respectively. There are 2 more local networks 3 and 4 port, and so for each local network there should be a provider. How can this be implemented? I believe there should be 2 routing tables, and tagged traffic. I tried to create something, but did not lead to success. I will be grateful for help.
fix
In general, I did it like this. The pchelailovsky cable is not inserted, so there are few routes. But the bottom line is that it seems to work, but it does not let you into some sites. Particularly for the speedtest. Pings pass, but does not open.
4f509eb933e34afc87c3722055459e0c.jpgf64949b8279e431f8cbc404e9dac20ea.jpg

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dmitry Luponos, 2015-05-10
@Bessome

VLAN?

A
Alexander, 2015-05-11
@forever31337

I would try to do this:
- we forward the Internet through NAT, so that means there should be 2 rules: the first scrnat from the pppoe interface to interface 3, the second from the l2tp interface to interface 4.
- at least 2 routing rules, for example: pref. source 192.168.0.1/24 pppoe and pref. source 192.168.0.2/24 l2tp
PS If anything, I'm not familiar with Mikrotik and I don't have it at hand right now, so I wrote in general terms.

T
tolteq, 2016-02-05
@tolteq

VRF?

H
HawK, 2016-07-28
@HawK3D

Set default routes for each provider gateway, placing them in different routing tables, specifying different routing marks (by default, all routes are in the main table) and create routing rules - /ip routes rules - for local subnets, thus directing traffic from certain local source addresses through the appropriate routing tables. In this particular case, this option is preferable to traffic marking via mangle.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question