Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Tunnels & Overlays

Direct answer

GRE and VXLAN wrap packets or frames in an outer IP header so they can cross another network.

When to use this

Use them when a tunnel is down, encapsulated traffic is dropped or large packets fail through the overlay.

First 30 seconds

1. Tunnels and overlays: GRE, IPsec, VTI, DMVPN, VXLAN, LISP.

2. Overlay depends on underlay.

3. MTU overhead.

4. Avoid recursive routing.

5. Verify control and data plane.

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Underlay MTU too small for the overlay.
  • Recursive routing: the tunnel destination learned through the tunnel itself.
  • Firewalls blocking UDP 4789 or GRE (protocol 47).
Platform / version applicability
Protocol behaviour per standard; Cisco IOS / IOS XE command examples.
Applicability is projected only from persisted Topic profile and Command metadata.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol behaviour per standard; Cisco IOS / IOS XE command examples.
Key commandshow interface Tunnel0
Scope / prerequisiteUse them when a tunnel is down, encapsulated traffic is dropped or large packets fail through the overlay.
What next?1 suggested next step
Child topics (this level)4
Evidence0
On this pageJump to a specific section
Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Key points
  • Encapsulation overhead reduces the usable MTU.
  • The tunnel destination must be reachable outside the tunnel.
  • VXLAN uses UDP 4789 between VTEPs.
Key checks
  • show interfaces tunnel <n> — tunnels
  • show crypto session — IPsec
  • show nve peers — VXLAN
ReferenceWhat it is1 section · depth on demand

What this group covers

VXLAN (VNI, VTEP, header fields) and GRE tunnels with header evidence. Use them to calculate overhead and MTU, and to read encapsulated traffic in captures.

ReferenceImportant terms & boundaries3 sections · depth on demand

Where to look

QuestionReference
How much overhead does VXLAN add?*VXLAN Header & VNI Evidence*
Why are VTEPs not learning?*VXLAN, VNI & VTEP*
Why does the GRE tunnel flap?*GRE Tunnels*
What is in the GRE header?*GRE Header Evidence*

Tunnels and overlays carry one network's traffic across another by adding headers: to connect sites over the internet, to encrypt traffic, or to build virtual networks on a routed fabric. Every technology in the table adds overhead, so tunnel problems often show up as large packets failing while small ones work.

Tunnels and overlays quick reference:

TechnologyEncapsulationTypical use
GREIP proto 47Simple site tunnels, multicast transport
IPsec (VTI)ESP / UDP 4500Encrypted site-to-site
DMVPNmGRE + IPsec + NHRPDynamic spoke-to-spoke
VXLANUDP 4789Data-centre L2/L3 overlay
LISPUDP 4341/4342Locator/ID separation, SD-Access

Every overlay reduces effective MTU — set ip mtu/adjust-mss on tunnels or raise underlay MTU.

Overhead summary

EncapsulationAdded bytes (IPv4 underlay)
GRE24
GRE + IPsec (tunnel mode, GCM)~80
VXLAN50
LISP36
Geneve50+ (options vary)

In depth

Tunnels and overlays carry traffic across a network it was not designed for, by encapsulating packets inside new headers: GRE for simple point-to-point tunnels, IPsec for encryption, VXLAN for Layer 2 segments over Layer 3, and LISP or SD-WAN overlays for location-independent routing.

TechnologyUse
GREMulticast/routing protocols across IP
IPsec / VTIEncrypted site-to-site VPN
VXLANData centre and campus fabrics
LISPEndpoint identity vs location (SD-Access)
SD-WAN overlayPolicy-driven WAN tunnels

Every encapsulation adds overhead; plan MTU and TCP MSS so large packets are not dropped.

ReferenceConfiguration & state1 section · depth on demand

Key commands

show interface Tunnel0
show nve peers
show nve vni
ping <remote-vtep> df-bit size 1550

Most overlay problems are underlay reachability or MTU.

Confirmation

Confirm action

Continue?