Load Balancing
From MikroTik Wiki
Contents
Introduction
Load Balancing is methology with aim to spread traffic across multiple links. This can be done one per-packet or per-connection basis.
Methods
Firewall marking
This method use firewall packet marking to select one from multiple gateways.
- Per-Traffic Load Balancing
- Load Balancing over Multiple Gateways
- Manual:Load balancing multiple same subnet links
- Improved Load Balancing over Multiple Gateways
- Improved Load Balancing over Multiple Gateways Failover Script
ECMP
This method use multiple gateway with same cost.
PCC
Nth
- NTH load balancing with masquerade
- NTH load balancing with masquerade (another approach)
- Nth
- Manual:NTH in RouterOS 3.x
Bonding
OSPF
Two or more links are setup with dynamic routing protocol OSPF with equal cost. Then equal multipath routing is used.
- #ECMP
- Manual:Routing/OSPF
- Manual:Route Selection Algorithm in RouterOS#Load balancing and dynamic routing protocols