Multi-WAN with reachability checks

Several uplinks with metric-ordered routes, ICMP probes, automatic route withdrawal and destination-based routing.

Several exits to the internet, in order of preference

Each uplink is defined by an interface, a gateway and a metric. Argos installs a default route for each one; the kernel uses the one with the lowest metric and moves to the next if the link goes down. The metrics of the active uplinks must differ, so the order of preference is always unambiguous. An interface that is already an uplink cannot also have a manual gateway, so a route never has two owners.

On the routing page each uplink shows a state: active (the lowest metric), standby, down, probe pending, link state only, or disabled.

The reachability check

A connected cable does not prove the other end answers: think of a bridged modem whose internet access has failed. So each uplink can have an address to check, reached with a ping through its own interface, at an interval from 2 seconds to one hour (10 seconds by default).

  • After three consecutive failed checks the uplink’s default route is withdrawn and traffic moves to the next one.
  • At the first success the route comes back. So that the check still works while the route is withdrawn, Argos keeps a dedicated path for the check packets only.
  • The last default route is never withdrawn, so the appliance always keeps an exit to the internet.
  • An uplink with no address to check follows only the physical link state.
  • Saving another uplink does not bring back one the check has declared down.

Routing by destination

With two or more active uplinks an extra section appears: you can name a destination address or network and pin the uplink used to reach it, for example a service that only accepts a given provider’s public address. Each uplink has a routing table of its own, and the rules take effect immediately, without going through the firewall apply.

Address translation

Translation toward the internet (masquerade) on the WAN zone covers all its interfaces, so traffic leaves with the address of whichever uplink carries it.

The check is run by a dedicated service on the appliance; each uplink’s state is kept on disk and survives restarts.

LET’S TALK INFRASTRUCTURE

Control starts with a conversation.

Tell us about your infrastructure. Let’s start with what you actually need.

Talk to an engineer