Community discussions

MikroTik App
 
krasi9220
newbie
Topic Author
Posts: 29
Joined: Sat Feb 19, 2011 5:45 pm

Two external ISP with same gateway no remote access with winbox

Wed Mar 28, 2018 11:48 pm

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.
 
Sob
Forum Guru
Forum Guru
Posts: 9188
Joined: Mon Apr 20, 2009 9:11 pm

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

Thu Mar 29, 2018 1:32 am

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
 
samsung172
Forum Guru
Forum Guru
Posts: 1193
Joined: Sat Apr 04, 2009 3:45 am
Location: Østfold - Norway
Contact:

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

Thu Mar 29, 2018 1:33 am

[Codebox=html4strict file=https://wiki.mikrotik.com/wiki/Load_Balancing[/Codebox]
 
krasi9220
newbie
Topic Author
Posts: 29
Joined: Sat Feb 19, 2011 5:45 pm

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

Thu Mar 29, 2018 10:48 am

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.

Who is online

Users browsing this forum: michalczysz and 20 guests