nerdexam
Fortinet

NSE4 · Question #453

The exhibit shoes three static routes. Which routes will be used to route the packets to the destination IP address 172.20.168.1?

The correct answer is D. Only the route with the ID number 1. FortiGate routing decisions are based on the longest prefix match, meaning the most specific route to a destination IP address will always be chosen.

Submitted by tarun92· Apr 18, 2026Routing and SD-WAN

Question

The exhibit shoes three static routes. Which routes will be used to route the packets to the destination IP address 172.20.168.1?

Exhibit

NSE4 question #453 exhibit

Options

  • AThe route with the ID number 2 and 3.
  • BOnly the route with the ID number 3.
  • COnly the route with the ID number 2.
  • DOnly the route with the ID number 1.

How the community answered

(62 responses)
  • A
    3% (2)
  • B
    13% (8)
  • C
    5% (3)
  • D
    79% (49)

Why each option

FortiGate routing decisions are based on the longest prefix match, meaning the most specific route to a destination IP address will always be chosen.

AThe route with the ID number 2 and 3.

Routes 2 (172.20.168.0/22) and 3 (172.20.0.0/16) are less specific than route 1 (172.20.168.0/24) for the destination 172.20.168.1, and thus will not be chosen.

BOnly the route with the ID number 3.

Route 3 (172.20.0.0/16) is the least specific of the options and would only be chosen if no more specific route existed for the destination 172.20.168.1.

COnly the route with the ID number 2.

Route 2 (172.20.168.0/22) is less specific than route 1 (172.20.168.0/24) and would not be selected for the destination 172.20.168.1.

DOnly the route with the ID number 1.Correct

The route with ID number 1 (172.20.168.0/24) is the most specific route matching the destination IP address 172.20.168.1 because its /24 prefix is longer than /22 or /16, ensuring it will be used according to the longest prefix match rule.

Concept tested: Longest prefix match routing (FortiGate)

Source: https://docs.fortinet.com/document/fortigate/7.4.0/administration-guide/994432/static-routes

Topics

#Static Routing#Routing Decisions#Longest Prefix Match#FortiGate Routing

Community Discussion

No community discussion yet for this question.

Full NSE4 Practice