Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: New table

Table of Contentschildren

Introduction

Network load balancing is the ability to balance traffic across two or more WAN links without using routing protocols like BGP.

Load Balancing's aim is to spread traffic across multiple links to get better link usage. This can be done on one per-packet or per-connection basis.

MethodPer-connectionPer-packet


With the Firewall features

Firewall markingYesYes
ECMP (Equal Cost Multi-Path)YesNo
PCC (Per Connection Classifier)YesNo
NthYesYes
BondingNoYes
OSPFYesNo
BGPYesNo


Route Failover

This example explains how to use multiple gateways with one taking over when first fails. It begins with adding the gateways. Configure larger distance value for the secondary one, and check-gateway for the first one:

...

The first gateway will begin as it's its distance is smaller (default 1); the check-gateway will make sure it is up. When the ping will fail, it will disable the first gateway and the second will take over and when the first one comes up, it will return to its function.