The Two Layers Every SD-WAN Has
SD-WAN has two distinct layers that people mix up all the time. The underlay is the physical transport , your MPLS circuits, broadband internet connections, LTE links, and 5G. These are the pipes. You do not control them; you contract with carriers for them.
The overlay is the SD-WAN fabric itself. IPsec tunnels run on top of whatever underlay links you have. The SD-WAN edge device at each site builds tunnels over all available transports simultaneously. All tunnels are active at the same time, not failover-only.
That distinction matters. The underlay carries the bits. The overlay makes the routing decisions. They are separate concerns managed by different teams.
How the IPsec Overlay Works
Each SD-WAN edge device establishes encrypted IPsec tunnels to other sites. The tunnels run over every available transport at that site. So a branch with MPLS + broadband builds two tunnels to every remote site: one over MPLS, one over broadband.
These tunnels terminate at the edge devices, not in the cloud controller. Control goes through the controller, but data travels directly between sites (or through a regional gateway for cloud access). Full-mesh connectivity is common at smaller scales; hub-and-spoke or regional hub models are more common at hundreds of sites.
The controller does not see production traffic. It handles policy distribution, monitoring, and orchestration. The edge devices forward packets using local policy tables received from the controller.
Measuring Path Quality with BFD
The edge device does not guess which path is better. It measures. BFD (Bidirectional Forwarding Detection) probes flow over every tunnel continuously, measuring latency, jitter, and packet loss in real time, typically every 100-500ms.
These measurements feed into the path selection engine. If the MPLS path shows latency spiking from 10ms to 80ms, the edge device knows immediately. It can reroute traffic to broadband before users notice degradation.
This is fundamentally different from traditional routing. BGP waits for a prefix to be withdrawn before rerouting. SD-WAN reroutes based on quality degradation before the circuit fails. That matters for real-time applications where a 10-second failover interval is too long.
Application-Aware Routing in Practice
Policies in SD-WAN are application-based, not destination-based. You configure rules like: "Microsoft Teams video requires latency under 80ms, jitter under 30ms, and loss under 1%. Prefer MPLS. If MPLS does not meet those thresholds, fail over to broadband."
The edge device identifies applications using deep packet inspection, flow signatures, and in some vendors, integration with cloud access security brokers. It can tell Teams video from Teams file sync and apply different policies to each.
Bulk traffic like backups gets a different policy: "use whatever is cheapest and not congested." Critical traffic gets quality-based steering. The result is that MPLS bandwidth is reserved for traffic that needs it, reducing your required MPLS circuit size.
Direct Internet Access at the Branch
DIA (Direct Internet Access) is one of the highest-value SD-WAN use cases. Instead of backhauling all internet-bound traffic from a branch through HQ, the branch breaks out directly to the internet for SaaS applications.
SD-WAN handles the security concern: the edge device applies firewall policies and optionally integrates with a cloud security service (like Zscaler or Netskope) for SaaS-bound traffic. Traffic that needs central inspection (internal apps, sensitive flows) still goes through HQ. Teams, Salesforce, and O365 go direct.
DIA typically reduces MPLS bandwidth requirements by 40-60% for enterprises with high SaaS adoption. That is the cost savings that shows up in SD-WAN business cases.
The SD-WAN Controller: Where Policy Lives
The controller is the management and control plane. Major vendors: Cisco Viptela (SD-WAN originally), VMware VeloCloud (now Broadcom), HPE Aruba EdgeConnect, Fortinet Secure SD-WAN, Palo Alto Prisma SD-WAN.
Controllers are hosted in the cloud (most common today), on-premises (for air-gapped environments), or co-managed. The edge devices check in with the controller for policy updates. If the controller goes unreachable, the edge device operates on its last-received policy , data plane continues even if control plane is interrupted.
Centralized management means you push a policy change once and it propagates to every site. No logging into 500 routers. That operational simplification is as valuable as the cost savings for large enterprises.
Zero-Touch Provisioning
A new branch router ships from the vendor to the site. A non-technical person plugs it in. The router dials home to the controller, authenticates using a serial number or certificate, downloads its full configuration, and comes up with working tunnels , without anyone logging into it manually.
This is a real operational win. Traditional MPLS branch deployments required a network engineer on-site or a staged configuration process. SD-WAN ZTP eliminates that for routine deployments. It also makes replacing failed hardware straightforward: ship a new device, plug it in, it comes up with the same config.
Failure Scenarios
When the MPLS circuit drops: BFD detects the path as down within seconds. The edge device moves all traffic to the broadband tunnel. Users see a brief interruption on existing sessions, then connectivity resumes. For TCP, most sessions survive the switchover depending on application timeout settings.
When both circuits drop: the site is isolated. Some deployments add LTE/5G as a tertiary transport for this scenario. LTE-based failover has become standard in business-critical branch deployments even if it only carries management traffic during outages.
When the controller is unreachable: data continues flowing using the last received policy. You lose visibility and cannot push policy changes, but the network keeps running. This is by design , the data plane is decoupled from the control plane.
Watch the video
This topic has a full video on YouTube.
Comments (0)
Please sign in to comment.