Created on
‎09-20-2023
02:40 PM
Edited on
‎08-28-2025
11:26 PM
By
Jean-Philippe_P
Description | This article describes the issue if the IPSec tunnel has Phase 1 and Phase 2 selectors as up but the route related to the tunnel shows inactive in the routing table. |
Scope | FortiGate v7.0+. |
Solution |
This article goes over troubleshooting for a route for the IPSec tunnel, showing inactive even though the IPSec tunnel is up.
In this example, the remote IP is 192.168.1.1, so the command for that would be:
If it shows as ‘inactive’, then check the link-monitor using the following command:
If a link monitor related to the tunnel is visible, it can be an issue with the route showing inactive.
Other causes: This will be the same behavior if the interface is a part of the SD-WAN zone and if the interface is mentioned in the performance SLA. If the performance SLA is down, the route for that interface will become inactive as well.
For Example:
edit "mgmt" set vdom "root" set ip 172.16.0.1 255.255.255.0 set type physical set dedicated-to management set role lan next end
config vpn ipsec phase1-interface edit Dialup-Tunnel set type iprange set start-ip 172.16.0.1 set end-ip 172.16.0.20 next end
Below are routes when having the user's IP part of the MGMT IP subnet range:
get router info routing-table details 172.16.0.1 Routing table for VRF=0 * via Dialup-Tunnel tunnel 10.10.10.2 inactive
After changing the iprange from 172.16.0.x to 192.168.10.x it shows the active best route now.
config vpn ipsec phase1-interface edit Dialup-Tunnel set type iprange set start-ip 192.168.10.1 set end-ip 192.168.10.20 next
get router info routing-table details 192.168.10.1 Routing table for VRF=0
Related articles: Technical Tip: How to identify Inactive Routes in the Routing Table |
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.