"> ">

Change the default route by Route Policy

By default (Automatic Load Balancing), all the active WAN interfaces will join the load balance pool when they are connected. Then Routers will automatically assign one of the online WANs to be a path of outgoing traffic, therefore, the traffic load is shared across the WAN interfaces.
Route Policy feature provides solutions to adjust various routing strategies for network administrators. By using Route Policy, routers will follow the particular requests such as security, load balance, address mapping and other routing decisions. Therefore, this article will demonstrate how to specify WAN interface for packets on the basis of Route Policy. a screenshot of topology

1. Go to Routing >> Load-Balance/Route Policy, enable Advance Mode. Click Index 1 to create a new policy for the Vigor Router.

a screenshot of routing policy list

2. To specify WAN interface for traffic, we need to:

  1. Enable this profile
  2. Enter the comment
  3. Leave Protocol, Source, Destination, and Destination Port as Any
  4. Select WAN2 or the other interfaces (In this case, we specify WAN2 as interface for packets.)
  5. Enable Failover to, then select Default WAN (When the applied interface gets disconnected, packet will be transferred via the original default WAN of the load balance pool.)
  6. (Optional) Adjust Priority. The priority range is from 0 to 250 for Route Policy, where a smaller number gives higher Priority to this policy, and vice versa.
  7. Click OK
a screenshot of Policy Route settings

3. After finishing the above configuration, packets will follow the criteria of this Route Policy, which will always go through the applied interface. Once the applied interface is disconnected, routers will make the traffic pass through the default WAN of the load balance pool.

a screenshot of DrayOS connections

(Before) Without specifying an interface by Route Policy:

a screenshot of Policy Route result

(After) Specifying an interface by Route Policy:

a screenshot of Policy Route result

1. Go to Routing >> Policy Route, click Add.

a screenshot of Policy Route settings

2. On the new Policy Route profile,

  1. Enable this profile
  2. Enter the profile name
  3. (Optional) Adjust Priority, and the priority range is from Normal to Top.
  4. Select WAN2 or the other interfaces at Load Balance Rule (In this case, we specify WAN2 as interface for packets.)
  5. Click Apply

Note: Leave Source Type, Destination Type as "Any"

a screenshot of Policy Route settings

3. After finishing the above configuration, packets will follow the criteria of this Route Policy, which will always go through the applied interface. Once the applied interface is disconnected, routers will make the traffic pass through the default WAN of the load balance pool.

a screenshot of Policy Route settings

(Before) Without specifying an interface by Route Policy:

a screenshot of Policy Route result

(After) Specifying an interface by Route Policy:

a screenshot of Policy Route result

Published On: 2021-01-25 

Was this helpful?     


Related Articles