Knowledge Base

How to Configure a Trunk for WAN Load Balancing with a Static or Dynamic IP Address?

Scenario

This is an example of using ZyWALL/USG Trunk for two WAN connections to the Internet. The available bandwidth for the connections is 1000 kbps (wan1 with static IP address) and 512 Kbps (wan2 with dynamic IP address) respectively. As these connections have different bandwidths, we will use the Weighted Round Robin (WRR) algorithm to send traffic to wan1 and wan2 in a 2:1 ratio.

Step

Set Up the Available Bandwidth on WAN1 Interfaces on the ZyWALL/USG

1. In the ZyWALL/USG, go to CONFIGURATION > Interface > Ethernet > WAN1 > Egress Bandwidth and enter the available bandwidth (1000 kbps) in the Egress Bandwidth field. Click OK

Set Up the Available Bandwidth on WAN2 Interfaces on the ZyWALL/USG

1. In the ZyWALL/USG, go to CONFIGURATION > Interface > Ethernet > WAN2 > Egress Bandwidth and enter the available bandwidth (512 kbps) in the Egress Bandwidth field. Click OK

Set Up the WAN Trunk on the ZyWALL/USG

1. In the ZyWALL/USG, go to CONFIGURATION > Interface > Trunk > User Configuration > Add Trunk. Configure a Name for you to identify the Trunk profile and set the Load Balancing Algorithm field to be the Weighted Round Robin.

Add WAN1 and enter 2 in the Weight column. Add WAN2 and enter 1 in the Weight column. Click OK to return to the Configuration screen.

2. In the Configuration screen, go to Default WAN Trunk section, select User Configured Trunk and select the newly created Trunk from the list box. Click Apply.

 

Verification

1. Browse any website to test the result.

2. The Weighted Round Robin (WRR) algorithm is best suited for situations where the bandwidths set for the two WAN interfaces are different. An interface with a larger weight (WAN1) gets more chances to transmit traffic than an interface with a smaller weight (WAN2).

What Can Go Wrong?

1. If there is no traffic passing through either WAN1 or WAN2 interfaces, check that the Mode of both WAN1 & WAN2 should be Active. If a trunk is in Passive mode, the ZyWALL/USG will use this connection only when all of the connections set to Active mode are down. 



YES NO

Please leave your comment:

SUBMIT

Question Profile

LANGUAGE:
ARTICLE ID:015529
TYPE:Application / Configuration Example
FIRMWARE:4.13 and above
VIEWS:13008
VOTES:22
TECHNOLOGY:
MODEL:USG110,USG1100,USG1900 (view more model name)

Still have trouble with your device? Contact Zyxel technology support team directly!

Contact Zyxel Support