Multi-Site SD-WAN Architecture & Impairment Core
Dual-Hub, multi-spoke topology interconnecting Headquarters, Disaster Recovery Datacenter, and regional branches across dual-carrier underlays (MPLS and Broadband) with an inline Linux tc netem impairment engine.
1. Multi-Site SD-WAN Fabric & WAN Overlays
Figure 1: Dual-Hub SD-WAN overlay showing dynamic Spoke-to-Spoke ADVPN shortcuts, BGP Route Reflection, and dual-transport IPsec overlays.
2. Dynamic ADVPN Spoke-to-Spoke Shortcuts
Figure 2: NHRP redirect and shortcut generation bypassing the central Hub for direct spoke-to-spoke inter-branch traffic.
| Node | Interface Roles | Subnet Addressing | Network & Routing Role |
|---|---|---|---|
| Fortinet-HQ (Hub 1) | port1: LANport2: MPLS WANport3: Broadband WAN |
10.10.10.1/2410.0.1.2/3010.0.2.2/30 |
Central SD-WAN Hub 1 & Primary BGP Route Reflector (AS 65000, LocPrf 200) |
| Fortinet-Hub-2 (Hub 2) | port1: LANport2: MPLS WANport3: Broadband WAN |
10.40.40.1/2410.0.1.14/3010.0.2.14/30 |
Disaster Recovery Hub 2 & Secondary BGP Route Reflector (AS 65000, LocPrf 100) |
| Fortinet-Branch-1 | port1: LANport2: MPLS WANport3: Broadband WAN |
10.20.20.1/2410.0.1.6/3010.0.2.6/30 |
Edge SD-WAN Spoke 1 & ADVPN Shortcut Initiator/Receiver |
| Fortinet-Branch-2 | port1: LANport2: MPLS WANport3: Broadband WAN |
10.30.30.1/2410.0.1.10/3010.0.2.10/30 |
Edge SD-WAN Spoke 2 & ADVPN Shortcut Receiver |
| Impairment Engine | eth0 (WAN), eth1 (LAN) |
Bridged inline between ISP-A and HQ port2 | Alpine Linux appliance running Linux kernel tc netem for controlled latency/jitter/loss injection |
15-Project Master Implementation Matrix
Master progression from foundational link health checks to zero-touch routing and NetDevOps automation.
SLA-Based Failover
- Real-time ICMP Performance SLA probes monitoring jitter, latency, and packet loss
- Automated route withdrawal from FIB upon SLA threshold breach
- Sub-second failover with only 1-2 dropped pings before complete link migration
- Sustained zero TCP session resets verified via continuous ping and video evidence
Application-Aware SaaS Steering
- FortiGate DNS proxy resolution with dynamic cache-ttl 30 enforcement
- Granular cloud application steering based on domain metadata without static IPs
- Kernel policy routing tables continuously updated with resolved cloud addresses
- Seamless SaaS breakout without triggering client connection resets or timeouts
Active/Active Load Balancing
- Dual-WAN active/active Round-Robin flow balancing eliminating single-link bottlenecks
- Concurrent circuit utilization achieving ~190 Mbps aggregate throughput
- Simultaneous link saturation across MPLS and Broadband verified via iPerf3
- Wire-level packet sniffer proof confirming balanced stream distribution across ports
Traffic Shaping & Granular QoS
- Decoupled path steering from QoS rate enforcement to protect mission-critical flows
- Clamped unthrottled 10 Mbps burst traffic to a hard 2.0 Mbps rate ceiling
- Committed vs. Maximum bandwidth rate profiles enforced per interface
- Tail-drop verification on low-priority bulk queues documented via IO graphs
IPsec Overlay on SD-WAN Zone
- Dual IPsec tunnels bound to a unified SD-WAN Zone across physical circuits
- Deterministic crypto Security Association (SA) failover during circuit cuts
- Floating blackhole safety routes preventing unencrypted egress during outages
- Packet-level verification confirming 100% encrypted ESP payload encapsulation
Composite VoIP SLA Monitoring
- Composite SLA thresholds monitoring latency (<70ms), jitter (<25ms), and loss (<3%)
- Controlled brownout injection via inline Alpine Linux appliance running tc netem
- Sub-second detection triggering path failover at exact ICMP sequence borders
- Live stream cut off on port 2 at seq 99 and cleanly resumed on port 3 at seq 100
ADVPN & Dynamic Shortcuts
- Hub BGP Route Reflection (AS 65000) with BGP Additional-Paths (adv-additional-path 4)
- Automated NHRP redirect triggers on transit routing detection
- On-demand spoke-to-spoke IPsec child shortcuts bypassing Hub datacenter entirely
- Packet counters confirmed shortcut forwarding (964 to 984 packets) with 50% latency drop
Packet Duplication (Zero-Loss Voice)
- Simultaneous outbound frame replication across both MPLS and Broadband overlays
- Receiving Hub kernel buffer de-duplicates packets and drops redundant copies
- Delivered pristine 0.0% voice packet loss under active 15%-33% network degradation
- Proved contrast: un-duplicated stream suffered 17% drop while duplicated achieved 0%
Multi-VRF Segmentation (MP-BGP VPNv4)
- Segregated Corporate (VRF 10) and Guest/IoT (VRF 20) over a single SD-WAN overlay
- MP-BGP VPNv4 address family with Route Distinguishers, Route Targets, and ESP vpn-id
- 100% lateral tenant isolation at the FIB layer without multi-tunnel overhead
- Zero packet leakage verified: cross-VRF ping and port sweep attempts completely dropped
Direct Internet Access (DIA) Steering
- Split-tunnel policy routing on branch edge spokes separating internet from internal WAN
- Trusted FQDN cloud targets break out locally via Broadband with Source NAT enabled
- Internal corporate traffic securely backhauled over encrypted IPsec overlay to HQ
- Wireshark verified 100% of DIA egressed port 3 with zero private circuit leakage
BGP Community to Route-Tag Steering
- Metadata-driven path steering automated directly from the BGP routing control plane
- HQ attaches BGP Community 65000:100 via route-maps; edge spokes match and write Route-Tag 100
- SD-WAN service rules dynamically compile target subnets from tags without manual IP objects
- Modifying rule member dynamically shifted live wire traffic between MPLS and Broadband
Multi-Hub Dual-Region ADVPN (DR)
- 4-tunnel spoke architecture peering with Primary Hub 1 (HQ) and Secondary Hub 2 (DR)
- BGP Route Reflection advertising Local-Preference 200 on Hub 1 and Local-Preference 100 on Hub 2
- Inter-hub Data Center Interconnect (DCI) IPsec tunnel syncing state
- Primary hub blackout resulted in automated promotion and 0% loss on active branch shortcuts
Inbound BGP SLA Path Control
- Extended SD-WAN intelligence to inbound return traffic to prevent asymmetric routing drops
- Dynamic BGP AS-Path prepending and Local-Preference adjustments based on probe metrics
- Upstream ISP routers automatically prefer optimal path matching branch outbound choice
- Verified stateful firewall inspection table symmetry during circuit degradation
Sub-Second BFD Convergence
- Bidirectional Forwarding Detection (BFD) deployed across BGP overlay peers
- Reduced circuit failure detection and convergence from 180 seconds to sub-second
- Hardware-assisted timer negotiation detecting silent intermediate carrier drops
- Live packet sniffer verified instant BFD teardown and FIB route withdrawal
NetDevOps SD-WAN Automation
- Python automation pipeline using Netmiko and Jinja2 templates for zero-touch provisioning
- Automated branch deployment and configuration generation driven by JSON inventory
- Post-deployment CLI diff verification and structured execution logging
- Eliminated manual syntax errors and standardized deployment across multi-site fabric
Key Engineering Highlights
| Capability | Empirical Measurement / Verification | Operational Impact |
|---|---|---|
| Packet Duplication (Voice/Video) | 0.0% loss under active 15-33% link degradation (vs 17% loss un-duplicated) | Maintains pristine call quality over commodity internet circuits |
| Active/Active Balancing | ~190 Mbps aggregate throughput across dual WAN providers | Doubles available branch bandwidth by utilizing idle backup circuits |
| Dynamic ADVPN Shortcuts | Spoke-to-spoke packet counters: 964 ➔ 984 pkts bypassing Hub | Cuts inter-branch latency by 50%+ and frees datacenter WAN capacity |
| Dual-Hub Disaster Recovery | 0% loss on inter-branch shortcuts during complete Hub 1 blackout | Full datacenter outage resilience with automated control plane failover |
| Multi-VRF Segmentation | 100% block between VRF 10 & VRF 20 over single IPsec overlay | PCI-DSS / guest isolation without building redundant overlay fabrics |
Engineering Troubleshooting & Lessons Learned
Field-Tested Problem Resolutions
| Challenge Encountered | Root Cause | Engineering Resolution |
|---|---|---|
| ADVPN shortcuts failed to spawn between branches. | Hub lacked BGP Additional-Paths; only advertised its own best path to spokes. | Configured additional-path both and adv-additional-path 4 on Hub BGP reflector. |
| Packet duplication caused echo & jitter on backend host. | Receiver host lacked de-duplication logic; processed duplicate UDP packets. | Enabled FortiOS kernel de-duplication buffer on receiving Hub before packets egress to LAN. |
| Asymmetric routing caused stateful firewall drops. | Outbound traffic took low-latency MPLS while return traffic routed via Broadband. | Implemented Inbound BGP SLA Control matching route tags and applying dynamic AS-Path prepending. |