Overlay vs Underlay Networking
Underlay is the real physical network. Overlay is a virtual network built on top using encapsulation (VXLAN, GRE, Geneve). VXLAN most widely used in Kubernetes CNI, SDN, and cloud.
Overview
Underlay Network The underlay is the real physical network infrastructure — the actual switches, routers, cables, and IP addressing that physically exists. It provides basic IP connectivity between nodes. The underlay only needs to route IP packets between endpoints; it has no knowledge of the virtual networks running on top.
Key concepts
- Underlay
- Overlay
- VXLAN
- VTEP (VXLAN Tunnel Endpoint)
- VNI (VXLAN Network Identifier)
- MTU considerations
Interview questions
- What is the difference between overlay and underlay networking?
- How does VXLAN work and why is it used in Kubernetes?
- What are the tradeoffs between VXLAN overlay and BGP-based underlay routing for Kubernetes?
Sign up free to read the full topic
More Networking topics
Start free on Cariara · Coding problems · System design studio