S
S
Sergey Klenov2016-01-27 21:52:51
Mikrotik
Sergey Klenov, 2016-01-27 21:52:51

Mikrotik Dual WAN without default route?

Essence of the question:
We have two providers and a Mikrotik router.
ether1 - Provider 1, ip: 1.1.1.1
ether2 - Provider 2, ip: 2.2.2.2
You need to go to the router by 1.1.1.1 and go to the router by 2.2.2.2.
The local network is not interested yet.
As a result, I set up the mangles:

0    chain=input action=mark-connection new-connection-mark=from_ether1 passthrough=no in-interface=ether1 connection-mark=no-mark
1    chain=input action=mark-connection new-connection-mark=from_ether2 passthrough=no in-interface=ether2 connection-mark=no-mark
2    chain=output action=mark-routing new-routing-mark=to_ether1 passthrough=no connection-mark=from_ether1
3    chain=output action=mark-routing new-routing-mark=to_ether2 passthrough=no connection-mark=from_ether2

Next, I add two routes:
0.0.0.0/0 GW=1.1.1.1 routing-mark=to_ether1
0.0.0.0/0 GW=2.2.2.2 routing-mark=to_ether2
and try to open the router page from another device outside the network using both ips.
nothing opens...
if you add a default third route without routing-mark on any of the two gateways, then everything starts working.
Tell me how so? What is this third route for if the packet comes in from outside, then is tagged and sent along the tagged route?
How to make it work without a third default route without a label?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
LESHIY_ODESSA, 2016-01-29
@LESHIY_ODESSA

To be honest, there is no time to re-read and look for your case.
Here is my collection, look for the answer yourself:
Mikrotik and two providers are just a combination, sensible and verified.
Mikrotik RouterOS; two providers - balancing, routing, firewall (without scripts)
Uniform distribution of channels of two providers and access to their local resources on the Mikrotik router
Reserve channel + Two providers - Mikrotik. Failover. Load Balancing g. (Very clear, all options considered).
Organization of a backup communication channel without scripts.
Fault-tolerant scenario
Two offices with two redundant channels , round-robin redundancy. - from here, there is in the textupdated script

D
Diman89, 2016-01-28
@Diman89

Mikrotik has its own wiki, it was there

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question