• DrayOS 4, imported, route_policy, load_balance, wan_failover, default_route

Change the default route by Route Policy (DrayOS4)

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