Explicador de seleção de rotas do FortiGate

Informe um destino e um conjunto de rotas e veja quais instalam, qual é selecionada, e quais são rotas flutuantes de reserva ausentes da tabela de encaminhamento.

Redes

Roda inteiramente no seu navegador. Nada é enviado.

Como o FortiOS seleciona uma rota

  • A policy route is consulted BEFORE the routing table and overrides it. If the table says one thing and traffic does another, look for a policy route first — this tool models the table, not policy routes.
  • DISTANCE decides which route is INSTALLED. Routes to the same destination compete, the lowest distance wins, and the loser is absent from the table rather than merely deprioritised.
  • PRIORITY decides which of several ALREADY-INSTALLED routes is preferred. It never resurrects a route that lost on distance.
  • Same prefix and same distance means both install and priority chooses. Different distances means one installs and the other is a floating backup.
  • Forwarding takes the LONGEST matching prefix among installed routes. True ties on prefix, distance and priority are load shared by ECMP.
  • destination: 10.2.5.10
  • route: prefix=0.0.0.0/0, gw=192.0.2.1, dev=wan1, distance=10, priority=0
  • route: prefix=10.2.0.0/16, gw=10.1.1.1, dev=port3, distance=10, priority=0
Endpoint da APIGEThttps://ronutz.com/api/v1/fortigate-route-selection-explainerDocumentado, não servido. Abre a especificação.

Referências