Mikrotik Load Balancing Setup

Hi There.

Can anyone provide us with a proper setup to load balance 2 internet feeds.

1st Senario:
Mikroitik load balancing two gateways


2nd Senario:
Mikrotik Load Balances over two PPPoE connections where the Mikrotik is the PPPoE client running through two ADSL Modems set to ATM-to-Ethernet Bridge only.

Thx in advance

Hi,

Are the both links equal, or one has higher capacity than the other.


Regards.

Yes they are.

Found out ECMP can help for multiple gateways. But need help for the second senario.

Thx

Where’s the difference? PPPoE sets a Gateway too. Read it from /ip route print and set it. See scripting examples in the manual.

something like:

 :local DefGw1 ""
 :local DefGw2 ""

 :set DefGw1 [/ip route get [find /ip route prefsrc=<ip-isp1>] dst-address]
 :set DefGw2 [/ip route get [find /ip route prefsrc=<ip-isp2>] dst-address]

 /ip route set [/ip route find dst-address=0.0.0.0/0] gateway=($DefGw1.,.$DefGw2)