Description:
In scenarios with multiple Internet connections, it may be necessary to route certain traffic over a particular Internet connection. This can be realized with policy-based routing.
However, if the associated Internet connection fails, the data will continue to be routed over a connection that no longer exists. The communication therefore fails.
This document describes how the routing tag of a policy-based routing rule is automatically rewritten to a different route if the associated Internet connection fails, and how to revert to the original tag when the affected Internet connection is established again.
This procedure is suitable for scenarios where a failure of the Internet connection used by policy-based routing prevents communication over the default route with routing tag 0. A typical scenario would feature a load balancer operating more than two Internet connections.
In scenarios where the failure of an Internet connection sees the continuation of communication via the routing entry with routing tag 0 (for example, where only two Internet connections are used), an alternative to rewriting the routing tag would be to deactivate the rule and reactivate it again when the connection is re-established. This is described in the following article: |