Concepts / Tunnels and overlays

Tunnels and overlays

Underlay and overlay

Also called underlay, overlay, fabric, network fabric, tunnel

The physical routed network (underlay) and the virtual networks built on top of it with tunnels (overlay).

The overlay rides inside the underlay's packets
The overlay rides inside the underlay's packets

The hosts see one virtual network. The routers underneath see only packets between the two tunnel ends, with the hosts' own packet carried inside as data, so neither layer needs to know the other's addresses.

The underlay is the real routed network; an overlay is a virtual network built on top of it with tunnels (VXLAN, GRE, IPsec, SD-WAN). The underlay only routes the tunnels' outer packets between their endpoints; the overlay's own addresses ride inside, and neither knows the other's addresses. A fabric is the whole system run as one: the underlay, the overlays, and usually a controller or EVPN that sets them up.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab