Sub topic 11
SD-WAN: the problems it targets
This chapter explains why organizations moved from MPLS-only WANs toward software-defined WAN (SD-WAN). It covers the pressures behind the change and the common mistakes in evaluating it. It does not cover the architecture or the policy engine in detail. Later chapters do that.
Prerequisites assumed: you know the CE/PE model, you have read how MPLS L3VPNs carry customer traffic, and you understand what an IPsec VPN over the internet provides. You can read short router configurations and a few lines of Python.
The traditional WAN and where it strained
A traditional enterprise WAN has a hub-and-spoke shape. Branch sites connect over MPLS (or leased lines) to one or more data centers. Almost all application traffic goes to the data center. Internet-bound traffic is carried across the WAN to a central firewall and then out to the internet.
This design worked when applications lived in the data center. Several changes put pressure on it.
- Cloud and SaaS applications. Traffic for Microsoft 365, Salesforce, or video conferencing no longer ends in the corporate data center. Backhauling it over MPLS to a central internet exit adds latency and consumes expensive bandwidth.
- Cost per megabit. Provider MPLS bandwidth costs much more than commodity broadband or LTE, and upgrades are slow and priced in large steps.
- Slow provisioning. A new MPLS circuit often takes weeks to months because the provider must build or lease the local access. A broadband line can often be installed much sooner.
- Per-device configuration. Policies such as QoS, routing, and security are configured router by router through the CLI. Consistency across hundreds of sites depends on scripts and discipline.
- Limited visibility into applications. Classic routing chooses paths by destination prefix and routing metrics. It does not know whether a flow is a voice call or a software download, and it does not know whether a path is currently degraded.
The core idea
SD-WAN addresses these problems with three changes:
- Use several transports at once. A site connects to MPLS, broadband, LTE, or any mix, and treats them as interchangeable underlay links.
- Build an overlay on top. Encrypted tunnels run across whatever underlay exists, so the WAN's behavior no longer depends on which provider carries the packets.
- Centralize control and policy. Operators define intent once, such as "voice must use a path with under 150 ms latency", and a controller distributes it to every site.
Problem 1: Cloud traffic and backhaul
In the hub-and-spoke model, a branch user opening a SaaS application sends packets over MPLS to the data center, through the central firewall, then to the internet. The return path is the same. Latency grows with the distance to the hub. The hub's internet link and security stack must be sized for the traffic of every branch.
SD-WAN allows direct internet access (DIA) or local breakout at the branch. SaaS traffic leaves through the local broadband link, and private application traffic still travels the overlay to the data center. The edge device must then provide security locally, for example a built-in firewall or a cloud security service. Moving traffic out of the central path moves the security burden with it.
Problem 2: Cost and transport dependence
MPLS gives predictable service levels, but at a high price. Broadband is cheap and fast but has no guarantee. Before SD-WAN, mixing the two was awkward. A common approach was an IPsec VPN over broadband as a backup, which usually sat idle until MPLS failed. Failover relied on routing protocol timers, which are slow to detect partial degradation such as a link that stays up but drops 5% of packets.
SD-WAN uses all links actively. It measures each path continuously and sends each application over a path that meets its needs. The idea can be sketched in a few lines of Python. This is the model from the chapter plan, simplified:
# Simplified model of SD-WAN application-aware path selection.
paths = {
"mpls": {"latency_ms": 35, "loss_pct": 0.1, "jitter_ms": 5},
"broadband": {"latency_ms": 60, "loss_pct": 0.8, "jitter_ms": 20},
"lte": {"latency_ms": 90, "loss_pct": 1.5, "jitter_ms": 35},
}
sla = {"latency_ms": 150, "loss_pct": 1.0, "jitter_ms": 30} # voice-class SLA
preference = ["broadband", "mpls", "lte"] # cheapest first
def meets_sla(metrics, sla):
return all(metrics[k] <= sla[k] for k in sla)
def choose_path(paths, sla, preference):
for name in preference:
if meets_sla(paths[name], sla):
return name
return None # no path qualifies; a real policy would fall back
print(choose_path(paths, sla, preference)) # broadbandHere broadband is preferred because it is cheapest, and it meets the voice SLA, so voice uses it. If broadband loss rose to 2%, the function would return mpls. That is the cost benefit and the resilience benefit together: cheap transport is used until it stops being good enough.
Problem 3: Slow, manual operations
In a CLI-driven WAN, adding a branch means a skilled engineer configures the router, often before it ships, or on site. Changing a QoS policy means editing many devices. Errors in one device are hard to see.
SD-WAN platforms generally use a template or policy model. The administrator defines configuration centrally and the controller pushes it to devices. Many products also support zero-touch provisioning (ZTP). A new edge device is shipped to the branch, powered on, and contacts a cloud-hosted service. It then learns which controller to join and receives its configuration. Non-expert staff can install it.
Problem 4: Limited application awareness
Traditional routing sends all traffic to a destination along the best route for that prefix. Policy-based routing and QoS can classify traffic, but they are static. They do not react when a path degrades unless an administrator wrote an explicit tracking rule.
SD-WAN edges send small probe packets over each tunnel to measure latency, loss, and jitter. They also classify applications, using port numbers, signatures, or DNS data. A policy then links the application class to an SLA. Voice might require low jitter, while bulk backup might simply use the cheapest link.
What stays the same
SD-WAN does not remove the underlay. Every tunnel still crosses a real network built from circuits, and the quality of those circuits still limits performance. Some details also remain unchanged:
- Routing is still needed. Edges exchange prefixes with the LAN (often through OSPF or BGP) and with each other through the overlay.
- IPsec or an equivalent encryption mechanism still protects traffic on public links.
- A site still needs enough bandwidth. SD-WAN chooses among paths. It cannot create capacity.
Common errors in evaluating SD-WAN
Other frequent errors:
- Ignoring last-mile diversity. Two broadband links from the same provider on the same cable or pole fail together. Path choice is only useful if the paths fail independently.
- Forgetting local security. Local breakout removes the central firewall from the path. Without a branch firewall or cloud security service, branches are exposed.
- Assuming probes tell the whole story. Probes measure the path at a point in time and at a certain interval. A short burst of loss between probes may be missed, and the default interval and thresholds may react too slowly for voice. Tune these values to the application.
- Over-trusting vendor claims. The term "SD-WAN" covers products with different architectures, feature sets, and security models. Compare the specific features you need.
- Underestimating the controller dependency. Existing tunnels generally keep forwarding if a controller is unreachable, but new policy changes and new sites cannot be set up until it returns. Understand how each product behaves during a controller outage.
Summary of drivers
| Driver | Traditional WAN behavior | SD-WAN response |
|---|---|---|
| Cloud applications | Backhaul to the data center | Local internet breakout |
| Transport cost | Mostly MPLS, with idle backup links | Active use of broadband and LTE |
| Provisioning time | Weeks to months per circuit | Zero-touch deployment on any available link |
| Operations | Per-device CLI changes | Central templates and policy |
| Degraded links | Detected by routing timers or not at all | Continuous probing and path steering |
Exercises
Exercise
A branch has MPLS and a broadband link. Its video-conferencing traffic requires loss under 1% and jitter under 30 ms. Broadband currently measures 1.2% loss and 18 ms jitter. MPLS measures 0.1% loss and 5 ms jitter. Using a "cheapest first" preference, which transport carries the video traffic, and why?
Show answer
MPLS carries it. Broadband is preferred because it is cheaper, but its 1.2% loss exceeds the 1% limit, so it fails the SLA. MPLS meets both limits, so the policy selects it.
Exercise
A company enables local internet breakout at 200 branches and removes the central internet exit from the path. Name one new risk this creates and one way to address it.
Show answer
Branches no longer pass through the central firewall, so they lose its inspection and filtering. Address it by running a firewall or secure web gateway function on each edge device, or by sending internet traffic to a cloud security service.