Description |
This article describes the behavior and benefits of packet duplication with SD-WAN |
Scope | FortiGate. |
Solution |
Packet duplication is an SD-WAN feature to reduce data loss over any underlay and overlay SD-WAN. It enables the sending of duplicate packets through up to 3 additional members of any kind, provided the best route to the destination is an SD-WAN member and the links used for duplication have a route to the destination. These duplicate packets are verbatim copies of the original packet.
This way the duplicate packets can be used for data loss protection, and for out-of-band inspection or packet capture.
It is also possible to enable packet de-duplication on the receiving FortiGate. When enabled, the receiving FortiGate accepts only the first copy of the packet received and drops the additional copies.
The goal is to save resources at the receiving end by instructing the FortiGate to forward one copy only, instead of forwarding all the copies and letting the next hop discard additional packets.
In the topology below, 2 FortiGates are connected through 3 IPSec overlays, which are members of the overlay zone.
Spoke CLI configuration:
config system sdwan set duplication-max-num 3 edit 1 set srcaddr "10.0.1.0/24" set dstaddr "10.1.0.0/24" set srcintf "port5" set dstintf "overlay" set service "ALL" set packet-duplication force next end end
On the Spoke FortiGate, duplication-max-num is set to 3. This indicates that FortiGate will forward up to three copies of each packet: the original packet plus two duplicates. Each copy is sent through a different SD-WAN member.
Hub CLI configuration: edit 1 set srcaddr "10.0.1.0/24" set dstaddr "10.1.0.0/24" set srcintf "overlay" set dstintf "port5" set service "ALL" set packet-de-duplication enable next end end
On the hub side, packet-de-duplication is enabled to instruct the FortiGate to accept only one copy of the packet. The first packet to arrive will be accepted, and additional copies will be dropped.
Packet capture on the Spoke side:
Packet capture on the Hub Side:
In v7.6.0 and earlier, the expected max latency difference of two channels in one way is hard-set to 250ms for packet de-duplication. Starting in v7.6.1, this value is customizable using duplication-max-discrepancy.
config system sdwan set duplication-max-discrepancy <latency> [Enter an integer value from <250> to <1000> (default = <250>] end
Example Scenario:
This can be remedied by configuring a larger duplication-max-discrepancy value suiting the use case (for example, 1000 ms) in v7.6.1 and later.
Note:
|
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 2025 Fortinet, Inc. All Rights Reserved.