How can I route some or all WAN traffic through a backup WAN?
06/08/2022 632 People found this article helpful 517,491 Views
Description
This article explains how to route the Internet traffic for a specific IP or subnet to use the secondary WAN.
If you would like to configure WAN Failover, the article is: How to configure Failover when there are two or more WAN Interfaces?
Static Routes are used to push traffic to the right gateway device/interface. When a SonicWall has two or more Internet Service Provider WAN Links, and you want to force only certain IP Addresses or types of traffic through one specific ISP, you must create a policy-based route to push that traffic as per requirement.
Resolution
Let's consider WAN X1 as the Primary and WAN X2 as the Secondary ISP. There is a new subnet on X3. The requirement is that all devices on the X3 subnet should use the secondary WAN X2. The same steps can be used if instead of a subnet, you only need a specific IP or group of IPs.
Resolution for SonicOS 7.X
This release includes significant user interface changes and many new features that are different from the SonicOS 6.5 and earlier firmware. The below resolution is for customers using SonicOS 7.X firmware.
CAUTION: Remember when creating a Route that it will take effect immediately. Always make sure to have your Gateway and Interface set properly to avoid problematic routing.
- Login to the SonicWall management GUI
- Click Policy on the top bar, navigate to Rules and Policies and click Routing Rules
- Click Add to create a Static Route. In the pop-up window, there are several options available to you, all of which are important to understand.
- The Source field refers to where the traffic will be coming from. In the below example we want to apply this Route to any traffic coming from X3 subnet.
- Now, if you only need a specific IP or group of IPs to use X2 WAN, then create an address group with all the IPs needed and use it as the Source
---- Route with custom address group
- Click Add to save the settings
If you would like the Route to work/disable upon a successful probe, Probe-Enabled Policy Based Routing Configuration please refer to Enabling Probing on Static Routes
Resolution for SonicOS 6.5
This release includes significant user interface changes and many new features that are different from the SonicOS 6.2 and earlier firmware. The below resolution is for customers using SonicOS 6.5 firmware.
CAUTION: Remember when creating a Route that it will take effect immediately. Always make sure to have your Gateway and Interface set properly to avoid problematic routing.
- Login to the SonicWall management GUI.
- Click MANAGE on the top bar, navigate to Network, and click Routing.
- Click Add to create a Static Route. In the pop-up window, there are several options available to you, all of which are important to understand.
- Now, if you only need a specific IP or group of IPs to use X2 WAN, then create an address group with all the IPs needed and use it as the Source
If you would like the Route to work/disable upon a successful probe, Probe-Enabled Policy Based Routing Configuration please refer to Enabling Probing On Static Routes.
Related Articles
Categories
Was This Article Helpful?
YESNO