Load balancing over multiple gateways

 

Load balancing is the ability to balance traffic across two or more WAN links by using basic routing. When connections are initiated for session like Web, email, video streaming etc, the traffic is distributed over all WAN links. For example, if you have internet service from two ISPs 10Mbps and 5Mbps respectively, you will now have a total bandwidth of 15Mbps. When browsing the internet your browser will open multiple connections to the website, each connection will download a different part of the page, some for images and others for text which makes websites load faster.

Also, network load balancing is mostly used to provide network redundancy so that in the event of an outage on one of the WAN link, access to network resources is still available via the secondary link(s). Link redundancy is a key requirement for business continuity plans and is largely used in combination with critical applications like VPNs and VoIP.

This feature makes it easier for WISP to increase bandwidth and at the same time add redundancy.

Modify the script below to match your router’s WAN interface name and gateway IP addresses.