Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Ajay_M
New Contributor

Forward Error Correction (FEC) in Fortigate VM

Hi Fortinet Community

 

I need some clarification on Forward Error Correction.

 

Does FortiGate VMs support Forward Error Correction (FEC)?

 

As per understanding NP, SOC3 or SOC4 one of the chips should be present in the FortiGate device to enable FEC and FEC can be enabled only on FortiGate physical devices as the mentioned chip will be present in physical devices.

 

Thanks.

Thanks,
Ajay M
Thanks,Ajay M
1 Solution
Shilpa1

Hello Ajay,

When FEC is enabled, FortiGate needs to generate and process these redundant packets, which requires additional CPU resources. Additionally, the increased number of packets being processed can also impact memory usage.

To mitigate the impact on CPU and memory, you can consider the following options:

  1. Adjust the FEC settings: FortiGate provides various FEC settings that can be adjusted based on your specific requirements. These settings include the amount of redundancy added to the packets and the FEC algorithm used. Experimenting with different settings can help find a balance between data reliability and resource consumption.

  2. Evaluate network conditions: The need for FEC depends on the network conditions and the reliability of your network links. If you have stable and high-quality connections, you might reassess the necessity of enabling FEC. Disabling FEC in scenarios where it's not required can help reduce the resource consumption.

  3. Load balancing: If your FortiGate is utilizing an SD-WAN or load balancing configuration, you can distribute the traffic across multiple WAN links. By doing so, the load caused by FEC can be spread across different interfaces, reducing the strain on a single CPU.

It's important to note that the impact of enabling FEC can vary depending on factors such as network traffic volume, specific FortiGate model, and firmware version. Therefore, it's advisable to consult the Fortinet documentation for guidance specific to your FortiGate appliance and configuration.

regards,
Shilpa C P

View solution in original post

7 REPLIES 7
srajeswaran
Staff
Staff

As per the below document in order to be able to enable forward error correction, the npu-offload has to be disabled first. Which means you don't need an NP and ideally it should work with VM device. Are you facing any issues?

# config vpn ipsec phase1-interface
    edit <name>
        set npu-offload disable
    end   

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Forward-Error-Correction-for-IPsec-VPN/ta-...

Regards,
Suraj
- Have you found a solution? Then give your helper a "Kudos" and mark the solution.
Ajay_M

Hi @srajeswaran 

 

When we enable Forward Error Correction (FEC) in FortiGate, it will utilize lots of CPU as redundant packets gets generated and memory. That why I raised the query.

Thanks,
Ajay M
Thanks,Ajay M
Shilpa1

Hello Ajay,

When FEC is enabled, FortiGate needs to generate and process these redundant packets, which requires additional CPU resources. Additionally, the increased number of packets being processed can also impact memory usage.

To mitigate the impact on CPU and memory, you can consider the following options:

  1. Adjust the FEC settings: FortiGate provides various FEC settings that can be adjusted based on your specific requirements. These settings include the amount of redundancy added to the packets and the FEC algorithm used. Experimenting with different settings can help find a balance between data reliability and resource consumption.

  2. Evaluate network conditions: The need for FEC depends on the network conditions and the reliability of your network links. If you have stable and high-quality connections, you might reassess the necessity of enabling FEC. Disabling FEC in scenarios where it's not required can help reduce the resource consumption.

  3. Load balancing: If your FortiGate is utilizing an SD-WAN or load balancing configuration, you can distribute the traffic across multiple WAN links. By doing so, the load caused by FEC can be spread across different interfaces, reducing the strain on a single CPU.

It's important to note that the impact of enabling FEC can vary depending on factors such as network traffic volume, specific FortiGate model, and firmware version. Therefore, it's advisable to consult the Fortinet documentation for guidance specific to your FortiGate appliance and configuration.

regards,
Shilpa C P

Ajay_M
New Contributor

Hi @Shilpa11,

 

Thanks for your reply. I have understood how to configure the FEX in fortigate but how does FEC work in FortiGate (Workflow)? Is there any document to refer else can you tell it?

 

Once FEC Enabled in VPN tunnels - All the traffic passing through that tunnel is treated as FEC packets or

 

When we enable FEC in firewall policy for that particular source and destination only FEC will be applied?

 

Can you tell me the working flow of a packet with FEC for both VPN and firewall policy?

Thanks,
Ajay M
Thanks,Ajay M
Ajay_M

Hi @srajeswaran,

 

Thanks for your swift reply. Basically, FortiGate utilize lots of resources of it when FEC or Packet duplication is enabled. 

 

Thanks,
Ajay M
Thanks,Ajay M
srajeswaran

Hi Ajay,

 

May I know how many tunnels are configured with FEC and what's the traffic rate on these tunnels?

Also it would be a good idea to modify the current values configured under FEC and monitor.

 

 

 

Regards,
Suraj
- Have you found a solution? Then give your helper a "Kudos" and mark the solution.
Ajay_M

Hi @srajeswaran,

 

There are totally 4 dial-up VPN tunnels between hub and spoke. Is there any data sheet available to be consider while enabling FEC with information of minimum CPU, RAM ?

Thanks,
Ajay M
Thanks,Ajay M
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors