Description | This article describes how is the IPsec Tunnel ID behavior. |
Scope | FortiOS 7.0.1 and above. |
Solution |
In FortiOS 7.0.1 and above, each IPsec tunnel is identified by the tunnel id. The tunnel id is automatically assigned with the remote gateway IP address in phase 1 configuration.
For example :
Myvi-kvm13 # show vpn ipsec phase1-interface
Myvi-kvm13 # diagnose vpn ike gateway list vd: root/0
If there is any change in the configuration of the remote gateway in phase1, the tunnel id will remain as first configured.
For example, the gateway of the same tunnel is now changed:
Myvi-kvm13 # show vpn ipsec phase1-interface
Myvi-kvm13 # diagnose vpn ike gateway list vd: root/0
Noticed that tun_id remained as 10.47.2.140. Flushing the tunnel will not make any difference. However, the tunnel should be working as intended as the tunnel id is only used as an identifier.
In case there is a need to change the tun_id to reflect the new gateway IP:
1) Reconfigure a new tunnel.
2) Reboot the FortiGate. |
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 2024 Fortinet, Inc. All Rights Reserved.