Difference between revisions of "Load Balancing"
From MikroTik Wiki
Dgonzalezh (talk | contribs) (Third person of the verb "use" will be "uses" and other grammatical mistakes) |
(→Firewall marking) |
||
Line 30: | Line 30: | ||
* [[Load Balancing over Multiple Gateways]] | * [[Load Balancing over Multiple Gateways]] | ||
* [[Manual:Load balancing multiple same subnet links]] | * [[Manual:Load balancing multiple same subnet links]] | ||
− | |||
− | |||
==ECMP (Equal Cost Multi-Path)== | ==ECMP (Equal Cost Multi-Path)== |
Revision as of 11:13, 16 May 2019
Contents
Introduction
Load Balancing is method aiming to spread traffic across multiple links to get better link usage. This can be done one per-packet or per-connection basis.
Method | Per-connection | Per-packet |
---|---|---|
Firewall marking | Yes | Yes |
ECMP | Yes | No |
PCC | Yes | No |
Nth | Yes | Yes |
Bonding | No | Yes |
OSPF | Yes | No |
BGP | Yes | No |
Methods
Firewall marking
This method uses 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
ECMP (Equal Cost Multi-Path)
This method uses multiple gateway with same cost.
PCC (Per Connection Classifier)
Nth
- NTH load balancing with masquerade
- NTH load balancing with masquerade (another approach)
- Nth
- Manual:NTH in RouterOS 3.x
Bonding
Can combine multiple links to get link with higher speed.
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