Created on 
    
	
		
		
		10-13-2020
	
		
		11:10 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
  Edited on 
    
	
		
		
		10-21-2025
	
		
		07:57 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 By  
				
		
		
			rp1996
		
		
		
		
		
		
		
		
	
			 
		
Description
This article describes how FortiGate performs route lookup and selects the outgoing interface.
Scope
FortiGate.
Solution
By design and by default FortiGate performs two routing lookups for any session:
No more route lookups done unless the session is impacted by a routing or configuration change, in which case the existing session is marked dirty and route information on the session is flushed and new route lookups are performed. This mechanism helps the FortiGate to revalidate routes, interfaces and associated Gateways.
How does FortiGate decide routes? FortiGate has multiple routing module blocks shown in the below flow diagram.
Related articles:
Technical Tip: Multiple default routes where SD-WAN rules are not preferred
Troubleshooting Tip: Route cache is removed from FortiGates running new kernel version 
Technical Tip: Creating a static route for Predefined Internet Services (ISDB)
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.