Created on 
    
	
		
		
		07-24-2023
	
		
		01:37 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
  Edited on 
    
	
		
		
		03-13-2024
	
		
		10:28 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 By  
				
		
		
			markdr_FTNT
		
		
		
		
		
		
		
		
	
			 
		
| Description | This article describes why the route cache is removed from FortiGates running the latest kernel version. A workaround is provided. | 
| Scope | FortiGates running on Kernel Version 4.19 and above. | 
| Solution | Route cache is a linux kernel component that is consulted prior to the actual route lookup. If the lookup into this cache does not produce a match, the packet is forwarded based on a FIB lookup. The cache is a hash table and a lookup into this table is performed based on a key constructed from the tuples seen in the IP packet header such as its source IP, destination IP, and related information. 
 Linux Kernel stopped using the route cache routing component starting from version 3.6 onwards, due to slowness and security reasons. The 'old' routing cache has been replaced with newer techniques such as Fib Trie/ LC Trie algorithms. 
 
 To view the Kernel version running on the FortiGate, run the following command. 
 The following FortiGate has the old route cache table: 
 fnsysctl cat /proc/version diag ip rtcache list family=02 tab=254 vrf=0 vf=0 type=01 tos=0 flag=00000200 family=02 tab=254 vrf=0 vf=0 type=01 tos=0 flag=04000200 
 
 fnsysctl cat /proc/version 
 diag ip rtcache list 
 In general, F series FortiGates running on FortiOS 7.x will contain the new kernel. However, it is recommended to double-check the version by executing the command mentioned above. | 
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.