Difference between revisions of "Load Balancing"

From MikroTik Wiki
Jump to: navigation, search
(Introduction)
(Third person of the verb "use" will be "uses" and other grammatical mistakes)
Line 1: Line 1:
 
=Introduction=
 
=Introduction=
  
Load Balancing is methology with aim to spread traffic across multiple links to get better links usage. This can be done one per-packet or per-connection basis.
+
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.
  
 
{| class="styled_table"
 
{| class="styled_table"
Line 25: Line 25:
 
==Firewall marking==
 
==Firewall marking==
  
This method use firewall packet marking to select one from multiple gateways.
+
This method uses firewall packet marking to select one from multiple gateways.
  
 
* [[Per-Traffic Load Balancing]]
 
* [[Per-Traffic Load Balancing]]
Line 35: Line 35:
 
==ECMP (Equal Cost Multi-Path)==
 
==ECMP (Equal Cost Multi-Path)==
  
This method use multiple gateway with same cost.  
+
This method uses multiple gateway with same cost.  
  
 
* [[ECMP load balancing with masquerade]]
 
* [[ECMP load balancing with masquerade]]

Revision as of 09:04, 9 May 2016

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.

ECMP (Equal Cost Multi-Path)

This method uses multiple gateway with same cost.

PCC (Per Connection Classifier)

Nth

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.

BGP

External links