Free tech learning for everyone, from basics to pro

SD-WANNetworking SecurityBeginner

SD-WAN overlay and underlay: how tunnels ride on top of any transport

In short: Every SD-WAN has two layers. The underlay is the set of real transports, such as MPLS, broadband and 4G or 5G. The overlay is a mesh of encrypted tunnels that the SD-WAN edges build across those transports. Applications and policies use the overlay, but problems in the underlay still show up as loss, delay or tunnel failures, so engineers must understand both.

Two networks in one

An SD-WAN edge device at a branch might have a fibre broadband line, an MPLS circuit and a 5G modem. Each of these is part of the underlay: the real networks run by carriers. On top of them, the edges build overlay tunnels, usually IPsec, to the hub, data centres, cloud gateways and sometimes directly to other branches.

SD-WAN layersPolicybusiness intent: apps, usersOverlayencrypted tunnels between sitesUnderlayMPLS, broadband, 4G/5GPhysicalcircuits, fibre, radio
Figure 1. The overlay hides the differences between transports so policy can treat them as a pool.

The underlay

  • Provides basic IP reachability between edge devices' transport interfaces.
  • Can be private (MPLS, private line) or public (internet broadband, cellular).
  • Has its own addressing, often from the carrier, sometimes behind NAT.
  • Carries the tunnels, not the users' traffic directly (except local internet breakout).

The overlay

  • Tunnels are formed between tunnel endpoints. In Cisco Catalyst SD-WAN these are called TLOCs (transport locators): the combination of device, transport colour and encapsulation.
  • Each transport gets a label or colour (for example "mpls", "biz-internet", "lte") so policy can choose between them.
  • Tunnels are encrypted and authenticated; keys are distributed by the controller instead of being configured by hand.
  • Routing for user networks (the LAN subnets behind each edge) runs in the overlay, often via the controller.

Tunnel formation

Edges learn about each other's tunnel endpoints from the controller, then try to build tunnels across every allowed pair of transports. Policies can restrict this, for example "LTE only builds tunnels to the hubs" to save data, or "MPLS colours only talk to MPLS colours" when the MPLS network cannot reach the internet.

Why both layers matter in troubleshooting

A user reports slow video calls. The overlay shows the tunnel is up but has 3 percent loss. The cause is in the underlay: the broadband line is congested or has a faulty modem. Good SD-WAN monitoring shows tunnel statistics and lets you test the underlay directly (ping the carrier gateway, check interface errors, run speed tests). Remember too that overlay encapsulation adds headers, so MTU must be planned.

Real-world example: MPLS colour that could not reach the internet

A company enabled SD-WAN on its MPLS and broadband links and found that many tunnels stayed down. Edges were trying to build tunnels from MPLS interfaces to other sites' broadband addresses, but the MPLS network had no route to the internet. Restricting MPLS tunnels to MPLS-coloured endpoints removed the failed tunnels and simplified monitoring.

Practice

What is the underlay in SD-WAN?
The real transport networks, such as MPLS, broadband and cellular, that carry the overlay tunnels.
What is a transport colour or label used for?
To identify a transport type so policies can choose or restrict which transports tunnels and traffic use.
Why can a tunnel be up but performance still poor?
The underlay may have loss, delay or congestion that affects traffic inside the tunnel.

Key takeaways

  • The underlay is the set of real transports; the overlay is encrypted tunnels across them.
  • Tunnel endpoints and transport colours let policy select paths.
  • Restrict tunnel formation where transports cannot reach each other.
  • Troubleshoot both layers: overlay statistics and underlay health.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: