2

Is it possible to load balance with a mikrotik routerOS between 2 ISPs and the mikrotik is in a LAN?

1
  • Load balancing is a bit too wide definition. What do you want to do exactly?
    – Istvan
    Aug 30, 2010 at 15:39

2 Answers 2

2

From my own workbench: http://www.mikrotik-routeros.com/?p=12

This config shows you how to use the RouterOS PCC mangle rules setup a basic load balancing system that holds static connections between IP addresses once established and also forces inbound traffic on any WAN interface to pass back out the same (stopping any triangular routing issues).

1
  • +1. Bvest yo ucan get - norte that this is not doubling bandwidth for one download or a set of downlaods that result on beign routed to the same external iterface.
    – TomTom
    Oct 12, 2011 at 12:53
0

There are various forms of load balancing and the answer depends very much on the topology of your network, but the short answer your question yes it is possible to load balance between two ISPs if the MikroTik is on the LAN.

In the following example, I am assuming a RouterBOARD or a PC with at least three network card interfaces.

LAN Interface = 192.168.0.1/24

ADSL router to ISP1 = 192.168.1.1/24

ADSL router to ISP2 = 192.168.2.1/24

Gateway for all PCs is the LAN router, 192.168.0.1. When packets hit the router, depending on your chosen load balancing methodology (ECMP, NTH, or PCC) you would forward the packets to either ISP1 via the IP for ISP1 or forward the packets to ISP2 via the IP for ISP2.

As an alternative to forwarding the load balanced packets to the IP itself for example when you are using PPPoE interfaces configured on the MikroTik router, you could forward packets to the interface instead.

If you give us some hints about your topology we can answer the question better.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.