Created on
‎03-28-2023
09:14 PM
Edited on
‎06-30-2025
01:01 AM
By
Jean-Philippe_P
Description | This article describes how FortiOS manages route overlap (when two or more dialup clients advertise the same protected network/subnet to the HUB). |
Scope | FortiGate v7.0.2 and above. |
Solution |
FortiOS uses an add-route to announce the network has been encrypted by a spoke or dialup client to the HUB and eventually adds this route to the FortiGate FIB. This takes place during the dynamic tunnel negotiation.
If there is a network setup or design where the same subnet can be reached through two different phase1s, like the dual link or ECMP to the same network, this can be an issue in a dial-up VPN environment unless there is the right setting under VPN.
If not, only one of these two links (phase1s) will be installed at a time.
The configuration required is:
config vpn ipsec phase2-interface edit name set route-overlap allow <----- The default configuration is 'use-new'. end
use-old : Use the old route and do not add the new route.
With the above config, the same subnet can be learned and installed in FIB by IKE through different phase1s.
Here is the output:
10.10.10.0/24 via phase1_a via phase1_b
It is also possible to check with:
diagnose vpn ike route list When using ike debug, the following messages could be shown when the setting is configured as 'use-new', due to only the most recent VPN tunnel will be associated with the IKE route, while the old one will be deleted: 2025-04-30 19:17:25.719079 ike V=root:0:VPN-IEMX-PP1_1:10270:SPOKE-ZAC:2733: add dynamic IPsec SA selectors 283
Old VPN tunnel: 2025-04-30 19:17:25.719103 ike V=root:0:VPN-IEMX-PP2:2728: moving route 10.97.58.0/255.255.255.0 oif VPN-IEMX-PP2(49) metric 15 priority 1 to 0:VPN-IEMX-PP1:2733
New VPN tunnel: Static route for network 10.97.58.0/24 is now installed on the new tunnel 'VPN-IEMX-PP1'. 2025-04-30 19:17:25.719565 ike V=root:0:VPN-IEMX-PP1:2733: add route 10.97.58.0/255.255.255.0 gw 287.201.181.202 oif VPN-IEMX-PP1(48) metric 15 priority 1
The 'route-overlap allow' setting should be configured on both VPN tunnels. Otherwise, it is possible to get the following error when the new route is tried to be installed:
ike V=root:0:VPN-IEMX-PP2_0:10399:3082: added dynamic IPsec SA proxyids new 1 283
If the 'route-overlap allow' setting is configured on both VPN tunnels, and still the error 'route configuration mismatch with "VPN_name' is shown, it could be necessary to restart the VPN tunnels to apply this configuration properly.
Troubleshooting Tip: Connectivity issue between Dialup hub FortiGate and multiple Dial-in client For... Troubleshooting Tip: IPsec flapping or packet loss after upgrade FortiGate to v7.0.13, v7.2.6, v7.4.... Technical Tip: Dial-up IPsec flapping issues after upgrading v7.2.6 and v7.0.13 Technical Tip: How to add automatic route towards the remote subnets when there are multiple Dial-Up... |
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.