Difference between Underlay Network and Overlay Network

Google ADs

Underlay Network is the physical infrastructure (like routers, switches, and links) that provides the foundational connectivity. Overlay Network is a virtual network built on top of the underlay, enabling abstracted or logical communication paths (e.g., VPNs, SD-WAN). This blog discusses the differences between the 2 types network overlay technologies in detail.

Introduction to Underlay Network and Overlay Network

IT industry is making great strides towards efficiency and scalability to meet the virtualization demand. The key ask is for the demand of multitenancy and virtualization features like VM mobility as turnkey projects.

Underlay Networl and Overlay Network

Related – HLD and LLD

Google ADs

Network Overlays

Network overlays is the latest solution to meet these demands, in fact, this technology can speed configuration of new or existing services. Overlays solve several problems in modern networking like:

  • Scalability: Easily create and tear down networks without touching the hardware.
  • Multi-tenancy: Isolate networks for different users or applications.
  • Mobility: Move workloads without reconfiguring physical networks.
  • Security: Control traffic flow with segmentation and encryption.

Underlay Network

Underlay Network is different from Underlay Network which IT industry has known for years. Underlay Network is physical infrastructure above which overlay network is built. It is the underlying network responsible for delivery of packets across networks. Depicted in blue color in the diagram.

Components

  • Physical routers and switches
  • Cables and wireless links
  • Routing protocols (e.g., OSPF, BGP)
  • IP addresses and subnets

Overlay Network

An Overlay Network is a virtual network that is built on top of underlying network infrastructure (Underlay Network). Actually, “Underlay” provides a “service” to the overlay. Overlay networks are used to provide segmentation, isolation, or abstraction, in complex environments like data centers or multi-tenant clouds. Depicted in red color in the diagram.

Components

  • Virtual routers and switches
  • Tunneling protocols (e.g., VXLAN, GRE)
  • Encapsulation mechanisms
  • SDN controllers (for management)

Related- Networking Scenario Based Interview Questions

Comparison Table: Underlay Network vs Overlay Network

Below table enumerates the difference between Underlay Network and Overlay Network:

PARAMETERUNDERLAY NETWORKOVERLAY NETWORK
PhilosophyUnderlay Network is physical infrastructure above which overlay network is built.An Overlay network is a virtual network that is built on top of an underlying Network infrastructure/Network layer (the underlay).
Related protocolsEthernet Switching, VLAN , Routing etc.VXLAN , OTV , VPLS
ScalabilityLess Scalable due to technology limitationDesigned to provide more scalability than underlay network. For e.g. – VXLAN (underlay Network) provides 4096 VLAN support while VXLAN (Overlay Network) provides upto 16 million identifiers.
Packet controlHardware orchestratedSoftware orchestrated
Packet deliveryResponsible for delivery of packetsOffloaded from delivery of packets
Packet encapsulation and overheadPacket delivery and reliability occurs at layer 3 and Layer 4Needs to encapsulate packets across source and destination, hence incurs additional overhead.
Managing multitenancyNAT or VRF based segregation required which may face challenge in big environmentsAbility to manage overlapping IP addresses between multiple tenants.
Multipath forwardingLess scalable options of multipath forwarding. Infact using multiple paths can have associated overhead and complexity.Support for multi-path forwarding within virtual networks.
Deployment timeLess scalable and time consuming activity to setup new services and functionsAbility to rapidly and incrementally deploy new functions through edge-centric innovations
Traffic flowTransmits packets which traverse over network devices like Switches and Routers.Transmits packets only along the virtual links between the overlay nodes.

Download the comparison table underlay vs overlay network

Final Words

The underlay network is the physical infrastructure or say backbone, and the overlay is the smart layer that helps us use that backbone more effectively. Both are essential, but they serve different roles. As networks continue to evolve, especially with cloud and SDN adoption, understanding this distinction becomes even more critical.

Continue Reading

Difference between VxLAN and OTV

Know more about Cloud Overlay network in this video:

ABOUT THE AUTHOR


Leave a Comment

Your email address will not be published. Required fields are marked *

Shopping Cart