| Description | This article describes the situation when the FortiGate was replaced after restoring the configuration and the IPsec site-to-site tunnel was still not up. |
| Scope |
FortiGate. |
| Solution |
When the devices are replaced, and the configuration is restored after a factory reset or cables are plugged back into an already running modem.
Running the debugs shows the following output:
diagnose debug console timestamp enable diagnose debug application ike -1 diagnose debug enable
To stop the debug, run the following commands:
diagnose debug disable diagnose debug reset
2022-09-22 13:05:12.378979 ike 0:A:411492: sent IKE msg (P1_RETRANSMIT): 192.168.110.12:500->172.16.111.12:500 len=192, id=9432dc4305ddcb99/6f78bfef400060ec
Initially was getting the error request is in the queue and now getting the error of ike shrank, the sniffer on the remote shows:
22-09-22 13:03:08.312637 port2 out 192.168.110.12.500 -> 172.16.111.12.500: udp 192 8010100080300002801010000800B0001000C00040001518080010007800E00808003000 Line 132: 2022-09-22 12:34:40.068828 ike 0:B:1597: negotiation timeout, deleting
From the ike daemon’s perspective, there was no response from the wan1 of site A.
The sniffer on both sides shows that port 2 and wan1 were being used on site A and site B, respectively:
B_400E (root) # diagnose sniffer packet any 'host 172.16.111.12 and port 500' 4 0 l
A_60E # diagnose sniffer packet any 'host 192.168.110.12 and port 500' 4 0 l
The MAC address of Site A was E8:1C:BA:03:B7:72:
The PCAP showed the MAC being used was E8:1C:BA:03:B6:AA:
Thus, the endpoint was forced to drop because of which the IKE response packet was never sent to the Ike daemon and the tunnel was never up and working. As the device was replaced and cables were plugged into an already running modem, the old ARP entry was stuck in the arp-cache due to which the tunnel was not working. So, after rebooting the modem, the tunnels were up and traffic was passing. |
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 2026 Fortinet, Inc. All Rights Reserved.