Glossary
Overlay Network

Overlay Network

Alex Khazanovich

When you're working with complex networks, sometimes the physical infrastructure alone isn't enough to meet your needs, so you go implement a concept called overlay network. 

They allow you to build flexible, scalable, and efficient networks on top of your existing infrastructure, enabling advanced capabilities without being tied down by the limitations of the underlying physical network. 

What is an Overlay Network?

Imagine you're building a house. The land you build on is like the underlay network—it's the foundation, the physical part that holds everything together. But, just as you'd add walls, floors, and a roof on top of that foundation to create the house itself, you also have something that sits on top of your underlay network: this is your overlay network.

An overlay network is essentially a virtual network that is built on top of another network (the underlay). It doesn't replace the underlay; instead, it adds an additional layer that can be used for various purposes, such as improving security, optimizing traffic, or enabling new types of services. 

Think of it as a smart layer that helps you manage and optimize your network resources more efficiently. Approximately 1.6 billion people globally use VPNs, which are a type of overlay network, to enhance security and access restricted content. 

History of Overlay Networks

Here are the core milestones in the development and adoption of overlay networks:

Year Milestone/Event Description
1980s Early VPN Development The concept of virtual private networks (VPNs) begins to emerge, primarily for secure corporate communications over public networks.
1990s Introduction of MPLS Multiprotocol Label Switching (MPLS) is introduced, enabling efficient and scalable network traffic management, often considered an early form of overlay networking.
2000s Emergence of Peer-to-Peer (P2P) Networks Peer-to-peer networks gain popularity, particularly in file-sharing applications like Napster and BitTorrent, showcasing early large-scale overlay network use cases.
2004 Launch of Virtual Extensible LAN (VXLAN) VXLAN is introduced, significantly enhancing the scalability of virtual networks in data centers by enabling up to 16 million logical networks.
2008 Rise of Software-Defined Networking (SDN) SDN begins gaining traction, laying the groundwork for more flexible and programmable overlay networks that decouple control from the physical network.
2013 Introduction of GENEVE GENEVE (Generic Network Virtualization Encapsulation) is introduced as a more flexible tunneling protocol, designed to support the evolving needs of network virtualization.
2015 Growth of Cloud-Native and Hybrid Architectures The rise of cloud-native applications and hybrid cloud architectures drives the adoption of overlay networks for seamless integration across diverse environments.
2020s Integration with Identity and Security Overlays New types of overlay networks, such as Identity Overlay Networks (IONs), emerge, focusing on security, identity management, and user access control.

Technical Components of Overlay Networks

When you're dealing with an overlay network, there are a few key components that you should be aware of:

  1. Virtual Links: These are the connections within the overlay network. Unlike physical cables, virtual links are created using software and can connect any two points in the network, no matter where they are physically located.
  2. Tunnels: These are like secret passageways within your overlay network. They encapsulate data packets and allow them to travel securely and efficiently across the underlying network. You might have heard of tunneling in the context of VPNs, where it’s used to secure data transmission.
  3. Nodes: These are the devices or endpoints in the network. In an overlay network, nodes can be anything from servers to routers, and even virtual machines. They help in routing the data from one point to another within the network.
  4. Control Protocols: These are the rules that govern how data is routed and managed within the overlay network. They ensure that the data gets where it needs to go, and that it does so securely and efficiently.

Overlay Network Monitoring and Mapping 

The table below presents a view of how different segments within an overlay network are configured and monitored. 

Overlay Segment ID (VNI, etc.) Encapsulation Protocol Tenant/Customer ID Associated Virtual Machines/Containers Traffic Volume (Mbps) Latency (ms) Packet Loss (%)
101 VXLAN Tenant_A VM1, VM2 120 1.5 0.01
102 NVGRE Tenant_B VM3, VM4 300 2 0.05
103 VXLAN Tenant_C VM5 150 1.8 0.02
104 STT Tenant_D VM6, VM7 200 1.2 0.03

Types of Overlay Networks in CDNs

If you're working with a CDN, you're likely already using an overlay network without even realizing it. CDNs rely on overlay networks to deliver content quickly and reliably to users around the world. 

There are a few different types of overlay networks that are commonly used in CDNs:

  1. Peer-to-Peer (P2P) Overlay Networks: These networks rely on the cooperation of multiple nodes (or peers) to share and distribute content. It’s like a team effort, where each node helps to spread the load.
  2. Application-Layer Overlay Networks: These are networks that operate at the application layer, meaning they’re closely tied to the software that you’re using. For example, certain streaming services use application-layer overlays to ensure smooth video playback.
  3. Service Overlay Networks: These are more specialized overlays that are designed to provide specific services, such as enhanced security or optimized routing. They’re often used in enterprise settings where performance and reliability are critical.

Advanced Overlay Networks

There are two interesting forms of overlay networks:

  1. VXLAN (Virtual Extensible LAN): a network virtualization technology that extends the limitations of traditional VLANs by supporting up to 16 million virtual networks, compared to the 4,096 provided by VLANs. It achieves this by encapsulating Ethernet frames in UDP packets, allowing Layer 2 networks to be extended across Layer 3 networks. 
  2. GENEVE (Generic Network Virtualization Encapsulation): GENEVE is a flexible and extensible tunneling protocol designed to support a wide range of network virtualization environments. Unlike VXLAN, GENEVE's architecture allows for the addition of new features without redesigning the protocol, making it ideal for evolving SDN environments. 

Naturally, this is not the end of overlay networks, there are countless types, operating in different parts of your network. 

Overlay Network Technologies

When you're diving into the world of overlay networks, you'll come across several technologies that make everything possible. Here are a few that you should know about:

  1. Virtual Private Network (VPN): You’re probably familiar with VPNs, which use tunneling protocols to create a secure, private overlay network on top of a public or shared network. This is a prime example of how overlay networks can be used to enhance security.
  2. Software-Defined Networking (SDN): SDN allows you to manage and configure your network through software rather than hardware. It’s like having a remote control for your network, giving you the power to optimize and adjust your overlay network as needed. Organizations that implement SDN-based overlay networks report a scalability increase of up to 60%
  3. Identity Overlay Networks (IONs): These are a newer type of overlay network that focuses on managing identities and access across different networks. They’re particularly useful in environments where security and user access control are paramount.

Fun-Fact: Overlay networks such as VXLAN and GENEVE, commonly used in SDN, can reduce latency by up to 30%

Conclusion

In essence, if you’re involved in managing or optimizing modern networks, overlay networks need to be your bread and butter. By adding a virtual layer on top of your existing network infrastructure, you can unlock a range of benefits—from improved security to more efficient data routing. 

Published on:
August 29, 2024
This is some text inside of a div block.