5.6.1. Static Routes

This section describes how to specify a route to a network that is behind a specific router. For example, a local network can have a router that combines several IP subnets. The route is applied locally to the specific cluster node and virtual router where it is created.

To add a route, follow these steps:

Task

Description

Step 1. Select a virtual router.

If there are several virtual routers, select the desired one.

Step 2. Provide a name and description for the route.

In the Network --> Virtual routers section, select Static routes in the menu and click Add. Provide a name for the new route. Optionally, you can also provide a description for the route.

Step 3. Select the route type.

The following route types are available:

  • Unicast: the standard route type. Forwards the traffic destined for the specified address via the specified gateway.

  • Blackhole: drops the traffic without informing the source that the data did not reach the addressee.

  • Unreachable: drops the traffic and sends the "Host unreachable" (type 3 code 1) ICMP message to the source.

  • Prohibit: drops the traffic and sends the "Host unreachable" (type 3 code 13) ICMP message to the source.

Step 4. Specify the destination address.

Specify the subnet where the route will point to, such as 172.16.20.0/24 or 172.16.20.5/32.

Step 5. Specify the gateway.

Specify the IP address of the gateway through which the above subnet will be accessible. This IP address must be reachable from the UserGate server.

Step 6. Specify the network interface.

Specify the network interface through which the route will be added. If you keep the default value, Automatically, UserGate will determine the interface based on the IP address settings of the available network interfaces.

Step 7. Specify the metric.

Specify the metric for the route. The lower the metric value, the higher the route's priority, if there are multiple routes to this network.