Description | This article explains how to mitigate packet loss when FEC is used. |
Scope | FortiOS. |
Solution |
FEC does not support NPU offloading but traffic that does not require FEC can be identified and offloaded. This is improving the performance for traffic that can be offloaded. Therefore this is suggested to enable offloading under phase1:
config vpn ipsec phase1-interface
This can cause packet loss caused by anti-replay. The behavior is expected when npu-offloading and FEC are enabled. To avoid experiencing packet loss offloading or anti-replay, enable these options. To disable offloading:
config vpn ipsec phase1-interface
To disable anti replay:
config vpn ipsec phase2-interface
Additional recommended measure is to make sure there is a dedicated firewall policy for traffic sensitive to packet loss where FEC is enabled to separate it from other traffic that will not have FEC applied to it:
config firewall policy edit <id> ......... set fec enable next end
|