FortiGate Route Lookup Practice

Practise how FortiGate picks the way out for a packet in FortiOS 7.6: policy routes first, then SD-WAN rules, then the routing table by prefix, distance and priority. Each problem gives a packet, four routes, two policy routes and two SD-WAN rules. You tap the interface the packet leaves by, and Check my answer names your slip, such as priority compared before distance.

How the drill is set up: wan1 and wan2 are SD-WAN members and port3 is not; policy routes set only the outgoing interface; SD-WAN rules use the manual strategy, members in the order listed, and at most one rule matches a packet.

Exam practice

Routing is 10 to 15% of the Fortinet NSE 4 FortiOS 7.6 Administrator exam, including the routing table on FortiGate, route redundancy and load balancing, and routing behavior in an SD-WAN context. Start with the free real exam questions, then get the full pack.

Fortinet NSE4_FGT_AD-7.694 real exam questions · US$39
Free: 20 questionsGet the full pack

Route lookup FAQ

In what order does FortiGate look up a route?

Policy routes first: FortiGate starts at the top of the policy route list, and if a policy route matches and forwards, the packet goes where it says. Among policy routes the order of precedence is policy-based routes, then ISDB routes, then SD-WAN routes. If nothing matches, FortiGate uses the routing table, and with no match there the packet is dropped.

How does FortiGate choose between routes to the same destination?

The most specific route always wins. On the same prefix, only the routes with the lowest distance go into the routing table. If those distances are equal, the route with the lower priority number takes precedence, and if the priorities are equal too, FortiGate uses ECMP over all of them. A static route has distance 10 and priority 1 by default.

Why does a DHCP default route win over my static default route?

FortiGate adds the default route it gets by DHCP with a distance of 5 by default, which takes precedence over a default static route with a distance of 10. You can turn off Retrieve default gateway from server or change the distance when you edit the interface.

Why is my policy route not used?

A policy route that sets only the outgoing interface still needs the routing table: FortiGate looks for a route on that interface, and if it cannot find one, the policy route does not match and FortiGate continues down the list, then uses the routing table. A route that loses on distance is not in the routing table, while routes with equal distance all are, with priority deciding between them.

When does FortiGate skip an SD-WAN rule?

SD-WAN rules are matched only if the best route to the destination points to an SD-WAN member, any member. Inside a matching rule, a member is used only if it has a route to the destination, not necessarily the best one, otherwise the next member is checked. If no rule can forward the packet, normal routing decides (the implicit rule).

What does the drill leave out?

ISDB routes, SD-WAN rule options that bypass the route look-up, strategies other than manual, sessions that already exist, gateways in policy routes and dynamic routing protocols. At most one SD-WAN rule matches a packet, and the priority of the DHCP route never decides an answer.

Sources
  • Fortinet, FortiOS 7.6.6 Administration Guide, Routing concepts: the look-up order (policy routes, then the kernel routing table), the most specific route, distance, priority and ECMP, static defaults (distance 10, priority 1) and the DHCP default route at distance 5.
  • Fortinet, FortiOS 7.6.6 Administration Guide, Policy routes: the list from the top, a policy route with only an outgoing interface needs a route on it, the routing table when nothing matches, and policy-based routes before SD-WAN routes.
  • Fortinet, SD-WAN routing logic (FortiOS 7.6.0, SD-WAN Architecture for Enterprise): SD-WAN rules only when the best route points to an SD-WAN member, a member only with a route to the destination, and conventional routing otherwise.
  • Fortinet, FortiOS 7.6.6 Administration Guide, Manual strategy (members in the order listed) and Implicit rule (no rule matched).
  • Fortinet Training Institute, FortiOS Administrator exam page: Fortinet NSE 4 FortiOS 7.6 Administrator, Routing (10 to 15%).
  • Checked 22 November 2026: the drill reproduces the rules these pages state (26 cases, among them DHCP 5 beating static 10, a policy route without a route on its interface and an SD-WAN rule skipped because the best route is not an SD-WAN member). It was tested on 35,000 generated problems against a separate Python re-solver. This is an independent practice tool, not made or endorsed by Fortinet.

Checked 22 November 2026 against the FortiOS 7.6 Administration Guide (routing concepts, policy routes, manual strategy, implicit rule) and Fortinet's SD-WAN routing logic page.

More free tools

All free tools