Page 1 of 1

Two external ISP with same gateway no remote access with winbox

Posted: Wed Mar 28, 2018 11:48 pm
by krasi9220
Hello, guys

I have two isp ports:
ISP1: 192.168.2.1 /16
ISP2: 192.168.1.1/16

Gateway for those two connection: 192.168.0.1

How to configure route table? Because now I have two external ISP connections created loop.
When I try to access 8291 I can see in firewall connection that the packet came but after that the packet which should come back to the same port not going to the right port.

Re: Two external ISP with same gateway no remote access with winbox

Posted: Thu Mar 29, 2018 1:32 am
by Sob
There are two things. One is overlapping subnets and gateways with same address, which is not the best thing to have. But you can add two routes like this:
/ip route
add distance=1 dst-address=0.0.0.0/0 gateway=192.168.0.1%etherX routing-mark=isp1
add distance=1 dst-address=0.0.0.0/0 gateway=192.168.0.1%etherY routing-mark=isp2
The rest should be the same as with any other dual-WAN config. Mark new incoming connections and then mark routing for reply packets. Example of that can be seen here: https://wiki.mikrotik.com/wiki/Manual:PCC

Re: Two external ISP with same gateway no remote access with winbox

Posted: Thu Mar 29, 2018 1:33 am
by samsung172
[Codebox=html4strict file=https://wiki.mikrotik.com/wiki/Load_Balancing[/Codebox]

Re: Two external ISP with same gateway no remote access with winbox

Posted: Thu Mar 29, 2018 10:48 am
by krasi9220
I have problem with icmp too.I can see in the firewall connection that TCP state is empty. I try PCC, but there is there is still problem with remote access.