Underlay · VXLAN
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Layered verification and original-test closure Verify boundary
Step 2 Observation → implication → next check Narrow the fault
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
ReferenceHow it works1 section · depth on demand
Operational mechanics and ownership
Underlay — The VXLAN underlay must provide IP reachability between VTEP source addresses and enough MTU for the additional encapsulation overhead; it need not know tenant MAC addresses. Routing and FIB state own outer-packet delivery, while VXLAN owns the inner frame. An underlay ping with small packets can succeed even when the effective MTU breaks encapsulated tenant traffic.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
The underlay: the routed IP network that carries the overlay
The Catalyst 9300 BGP EVPN VXLAN guide describes the underlay as a Layer 3 IP network that carries VXLAN-encapsulated packets between VTEPs and provides reachability between them. It also states that BGP EVPN VXLAN doesn't support GRE in the underlay.
Underlay design
| Element | Typical choice |
|---|---|
| Topology | Leaf-spine: every leaf connected to every spine |
| Links | Routed point-to-point (/31 or unnumbered) |
| IGP | OSPF or IS-IS, single area or level; or eBGP |
| Addresses to advertise | Loopbacks: router ID, VTEP source, BGP peering |
| Load sharing | ECMP across all spines; RFC 7348's hashed UDP source port gives the entropy |
| BUM transport | PIM sparse mode with a multicast group per VNI, or ingress replication |
| MTU | Large enough for the 50-byte VXLAN overhead; 9100 or more is common |
SPINE1(config)# interface TenGigabitEthernet1/0/1
SPINE1(config-if)# no switchport
SPINE1(config-if)# ip address 10.0.1.0 255.255.255.254
SPINE1(config-if)# ip ospf network point-to-point
SPINE1(config-if)# mtu 9198
SPINE1(config)# router ospf 1
SPINE1(config-router)# router-id 10.255.0.101
SPINE1(config-router)# network 10.0.0.0 0.0.255.255 area 0
SPINE1(config-router)# network 10.255.0.0 0.0.255.255 area 0
LEAF1# show ip route 10.255.255.2
Routing entry for 10.255.255.2/32
Known via "ospf 1", distance 110, metric 3, type intra area
* 10.0.1.0, via TenGigabitEthernet1/0/49
10.0.2.0, via TenGigabitEthernet1/0/50
LEAF1# ping 10.255.255.2 source Loopback1 size 9000 df-bit
The remote VTEP loopback is reachable over two equal-cost paths, and a 9000-byte ping with DF set confirms the MTU.
Why the underlay must be stable and simple
| Property | Reason |
|---|---|
| Only loopbacks and links | Endpoint routes stay in the overlay; the underlay table is small and converges fast |
| ECMP everywhere | Bandwidth and resilience without spanning tree |
| Consistent MTU | VTEPs must not fragment (RFC 7348); an MTU drop anywhere silently breaks large packets |
| Fast failure detection | BFD on the IGP so VTEP reachability recovers quickly |
Troubleshooting order
Check the underlay first: VTEP loopbacks reachable with ECMP, MTU end to end, and (if used) PIM neighbours and RPs. Most overlay faults that look like EVPN problems turn out to be underlay reachability or MTU.
Documented example, not captured output.
Quick reference
The underlay is the physical, routed network that carries VXLAN traffic. Its only job is to deliver packets between VTEP addresses quickly and reliably, ideally across many equal-cost paths. Because every overlay problem ultimately depends on it, underlay health — routing, MTU and link stability — should be verified before investigating the overlay.
The underlay is the routed IP network carrying VXLAN between VTEP loopbacks — typically a leaf-spine fabric running OSPF, IS-IS or eBGP, with ECMP.
Requirements:
- MTU at least 1550 (9216 jumbo recommended end to end).
- Reachability between all VTEP and anycast loopbacks.
- Multicast (PIM) only if BUM replication uses multicast instead of ingress replication.
- Fast failure detection (BFD).
Underlay problems show up as overlay symptoms, so verify ping <remote-vtep> source loopback1 size 1600 df-bit first.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Virtualization & Overlays → VXLAN → Underlay. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc7348.html · confidence 94%