Troubleshooting Tip: Troubleshooting intermittent traffic issues in FortiGate Session Life Support Protocol (FGSP)
| Description | This article describes common symptoms, root causes, and verification steps when encountering intermittent traffic issues in a FortiGate Session Life Support Protocol (FGSP) deployment, with UTM inspection enabled, such as traffic hairpinning, Layer-2 flapping, or unexpected session timeouts. |
| Scope | This article applies to FortiGate devices configured in FGSP, with UTM inspection enabled (both NAT and transparent modes) that run identical hardware/VM models and firmware versions. |
| Solution | This behavior is commonly observed in the FGSP setup, with UTM inspection is enabled. The following issues may be observed intermittently or consistently in an FGSP environment (in both NAT and Transparent modes):
These issues are commonly caused by heartbeat communication problems between FGSP peers. Contributing factors may also include:
If heartbeat packets from FGT‑1 to FGT‑2 are delayed while FGT‑2 continues to send heartbeats, FGT‑2 may reach the configured hb-lost-threshold and incorrectly determine that FGT‑1 is down. As a result, FGSP devbase information for the peer may be removed, leading to inconsistent FGSP behavior.
Verify the session synchronization and heartbeat configuration as shown below:
config system session-sync edit 1 set down-intfs-before-sess-sync <interfaces> set hb-interval <integer> # Range: 1–10 seconds set hb-lost-threshold <integer> # Range: 1–10 next end config system standalone-cluster config cluster-peer edit 1 set hb-interval 2 set hb-lost-threshold 10 next edit 2 set hb-interval 2 set hb-lost-threshold 10 next end end Ensure that the heartbeat interval and heartbeat loss threshold values are appropriate for the network latency and stability between FGSP peers. Run the following command on both FGSP peers to check the standalone peer status:
diagnose system ha standalone-peers
Both FortiGates should display Kernel standalone dev_base entries for all standalone member ID values. This confirms that each peer has correctly learned and retained devbase information for the other peer.
Example output (FGT-1):
Group=3, ID=6 standalone_id=1:
Example output (FGT-2):
diagnose sys ha standalone-peers standalone_id=1:
In this scenario:
If a peer’s devbase information is missing, it indicates that the FortiGate has deleted the FGSP devbase entry, typically because it considered the peer to be down. In this case, FGT-2 is missing standalone-member-id=0, which indicates that FGT-2 assumes that FGT-1 is dead for one of the following reasons.
This may occur due to:
As a result, FGSP behavior becomes inconsistent, leading to traffic hairpinning, L2 bouncing, or session timeouts.
Recommended actions.
|
