- 1 About WAN Balancer
- 2 Settings
- 3 Reports
- 4 Related Topics
- 5 WAN Balancer FAQs
- 5.1 I installed and configured WAN Balancer, but nothing is happening. What should I do?
- 5.2 Are the bandwidth settings percentages?
- 5.3 Why is some of my internet traffic being stopped?
- 5.4 If a route rule specifics that certain traffic should always use one WAN, what happens when that WAN is down?
- 5.5 Does WAN Balancer bond my connections?
About WAN Balancer
WAN Balancer works in conjunction with multiple ISPs to distribute your traffic across multiple connections. It will decide dynamically which WAN connection to send traffic over, maximizing your bandwidth usage.
You may also consider using WAN Failover in your network as well - it automatically reroutes traffic over working WAN links when one fails. If WAN Failover is running and detects a WAN as being down WAN Balancer will not balance traffic to that WAN.
This section reviews the different settings and configuration options available for WAN Balancer.
This tab displays information and statistics for each WAN interface.
On the Traffic Allocation tab, you set the weighs for each WAN connection. If you only have one WAN defined, you will only see one interface listed here. Simply enter the weighting you desire, check that you are good with the percentages assigned to each WAN, and hit save.
As each WAN Balancer processes each new session it decides which WAN it will use to send this traffic if there is no local route for the traffic. If traffic between these two IPs has taken place recently then there is likely a route already in the cache. If so, this route will be used to send this new session. This is to assure that all traffic between two IPs uses the same WAN consistently to avoid issues with cloud services.
If there is no route in the cache, then a WAN will be chosen based on the hash of the source and destination and the weights given in the Traffic Allocation settings. Not that the traffic allocation weights don't determine exactly the percentages of traffic over the various WANs, only how sessions will be assigned to various WANs.
Route Rules determine which WAN will be used for traffic going to the internet (traffic with no local route). As described in the rules documentation, the Route Rules are evaluated in order for new sessions and the first matching rule will determine which WAN interface is used. If no matching rule is found or the first matching rule has a Destination WAN set to Balance then the session will be randomly assigned a route based on Traffic Allocation settings. A limited set of conditions are available to WAN Balancer Route Rules which include source, destination, port and protocol.
This allows you to specify which WAN is used for certain traffic based on a variety of conditions. For example:
- To put all one server's traffic on a specific WAN add a rule with condition "Source Address is server_ip" and the Destination WAN is the WAN to be used.
- To put all SMTP to go out a specific WAN, add a rule with "Destination Port is 25" and the Destination WAN is the WAN to be used.
This can also be useful if you have one connection with less throughput but lower latency. In this case you can specify that all VOIP or latency sensitive traffic use the lower latency connection.
Note: Unlike Routes, Route Rules that route traffic to a WAN that is down will automatically balance traffic to one of the active WANs. For example, if a rule says to send all port 25 traffic to WAN2, but WAN Failover knows WAN2 is down, this rule will effectively mean Balance which means the session will be put on one of the other active WANs.
Note: Routes and routes based on the network configuration always override Route Rules. Route Rules only apply to sessions that have no local route based on configuration on routes in Routes. Route Rules are basically a suggestion that the traffic be routed out a specific WAN if no other route says where to send it.
The Reports tab provides a view of all reports and events for all traffic handled by WAN Balancer.
This applications reports can be accessed via the Reports tab at the top or the Reports tab within the settings. All pre-defined reports will be listed along with any custom reports that have been created.
Reports can be searched and further defined using the time selectors and the Conditions window at the bottom of the page. The data used in the report can be obtained on the Current Data window on the right.
Pre-defined report queries:
|WAN Balancer Summary||A summary of WAN Balancer actions.|
|Sessions By Interface||The number of sessions destined to each interface.|
|Bytes By Interface||The number of bytes destined to each interface.|
The tables queried to render these reports:
WAN Balancer FAQs
I installed and configured WAN Balancer, but nothing is happening. What should I do?
Make sure each ISP's interface has is WAN Interface? checked at Config > Network > Interfaces and has all of the required information properly entered. You'll also need to verify WAN Failover has tests set up for each WAN connection. If you're only using WAN Failover, you'll need to disconnect your primary WAN to get traffic to flow over the secondary. Also verify your interface weights are set properly.
Are the bandwidth settings percentages?
No - enter bandwidth numbers for each connection that are relative to each other and Untangle will determine the proper percentages. The percentages will be displayed as numbers are entered to help you determine the proper weighting.
Why is some of my internet traffic being stopped?
Check the status of your WAN Failover service. If it has been uninstalled, is turned off or is not functioning normally and you have lost one of your internet connections, WAN Balancer may still be pushing traffic out of the down WAN.
If a route rule specifics that certain traffic should always use one WAN, what happens when that WAN is down?
If that WAN is down (and you're using WAN Failover) the traffic will be pushed out any other WANs that are still online. When those WANs come back up the route cache is flushed and they will return to their WAN.
Does WAN Balancer bond my connections?
No. A bonded connection combines the bandwidth of multiple internet connections from a single ISP into a single physical connection, often requiring additional hardware at each end of the connection.