How to configure redundant static routes

  • Article ID: 120239
  • Rating:
  • 1 customers rated this article 4.0 out of 6
  • Updated: 30 Mar 2016

This article explains how to setup multiple redundant static routes to a single destination network using different paths.

Known to apply to the following Sophos product(s) and version(s) 

 Sophos UTM

Basic Information

In UTM9, it is not possible to configure multiple static routes to the same destination network, regardless of the assigned metric. If you attempt to do so, you'll get an error stating that the network is already in use by the existing route.

However, it is possible to create redundant gateway routes to a single destination network (using different paths), by using Availability Groups.

What To Do

First, create an Availability Group consisting of the gateway addresses of each route:

  1. Login to the WebAdmin and go to Definitions & Users | Network Definitions
  2. Click New network definition...
  3. Add an appropriate name.
  4. Choose type: Availability Group.
  5. Under Members, add a host object consisting of the IP address of the remote gateway of each route you want to add.
    • Availability groups resolve to hosts on the Members list in top-down order.
    • Please ensure that the primary gateway is at the top of the list.
  6. Under Advanced, choose a monitoring interval/timeout.
    • These settings control how often a keep-alive is set to the configured remote gateways.
  7. Click Save.

For example: if you want to reach the remote network, and you have 2 links to that network where the addresses of the next hops to reach it are and, you would add host objects consisting of those two addresses into the Availability Group host list. 

Next, configure a static gateway route where the destination gateway address is the Availability Group:

  1. Login to the WebAdmin and go to Interfaces & Routing | Static Routing | Standard Static Routes 
  2. Click New static route...
  3. Choose Route Type: Gateway route.
  4. Under Network, add the network object for the network you want to reach.
  5. Under Gateway, add the object for your recently created Availability Group.
  6. Click Save.

Finally, activate the static route. Your UTM will now have a route to the specified remote network, via the interface connected to the first gateway on the list in your Availability Group. If that gateway is no longer reachable, but the next one is, the route will automatically switch over to the interface associated with the next gateway. If the first gateway on the list becomes reachable again, the route will switch back to utilize the first interface. 

The amount of time it takes for the UTM to switch the route from one link to the next if the first one fails is controlled by the Interval setting in the Availability Group > Advanced section. If you set the interval to 15, then the UTM will attempt to contact the first host on the list every 15 seconds. If that host does not respond in the time period specified under Timeout, the UTM will then attempt to contact the next host on the list, and so on.

If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent