Load Balance"use upload from ISP and download from other ISP

Hi to all

i have two ISPs and need to use the uplink from ISP1 and downlink from ISP2 , i have search in wike but didn’t found anything helpful.

i do appreciate if any one past me any weki example or advice how to do the above config.


Regards

sorry, but i don’t think that than can be done. you would have a different source/destination address to start with. you could however “load balance” so half connections go through one and half use the other. someone correct me if I am wrong.

Ok, you are finished. As in fired. As in given a task that is impossible to do. Game over.

You can not do that, never ever. Only totally idiot ispä#s will accept packets not from their own address (so you can not send to isp 1 with the soruce address from isp2) and isp2 will not even get the return packets for the upload via isp1.

One address, one routing, one tcp link.

Not saying it is possible but if one wanted to do this, they would set their default route to use the default gateway for ISP 1 and then create a source NAT rule using the IP of the ISP 2 connection.

It’s also possible with your own IP space tied to your own AS via BGP.

Ah, no. WIll not work. YOu can not establish a TCP connection when half of the connection is NATted. Incoming connections will not establish like this.

I was actually able to do it (on accident) with two modems on the same IP segment. IE the MikroTik will do it. Ended up fixing the issue and sending things where they needed to go properly, but it was working for a while.

there is 2 possible methods:

  1. as Fewi mentioned, you need to have own AS and IP block
  2. to put mikrotik router in datacenter with good connection and from your local router to establish 2 separate tunneled connection to it, one trough ISP1 and other trough ISP2 and to load-balance traffic over them.
    In the 2nd way your clients Internet connection will exit from IP address of mikrotik router in the datacenter .
    My second example is not best practice but it will work :slight_smile: and will be expansive because u will pay for server in datacenter :frowning:
    Better pay for high speed connection from one ISP :slight_smile:

sure they will: you may send outgoing packets of incoming connection via another gateway, if your’re NATting on the same device; the main requirement is that uplink ISP not blocking your packets with wrong addresses. that’s because NAT catches only new connection, and response packets is already established connection, so they won’t be affected by src-nat

Hello
i exactly need to setup option 2, to connect two machines via router OS, the first machine is datacenter server with Static IP, the second is local machine that will use two or more 4g modems with dynamic IP, and use vpn to send traffic to router os in the data center. i need to be able to do both load balancing, or upload on a wan link an download on another link. the purpose of my usage is VOIP.
where can i find a freelancer to seutup this for me?

http://www.mikrotik.com/consultants

thank you.