
Software-Defined Networking (SDN)
Traditional network infrastructures can be rigid and complex, making it difficult to adapt to the ever-changing needs of modern IT environments. This is where Software-Defined Networking (SDN) comes in. Network virtualization has several key advantages that make it crucial for modern IT: increased agility and flexibility, enhanced scalability, improved security, automation and orchestration, and better visibility and control. In summary, SDN empowers businesses to create more responsive, efficient, and secure network infrastructures that can keep pace with the demands of today’s dynamic IT landscape.
To appreciate the benefits of the SDN paradigm and its role in modern infrastructures, understand its evolution from the first prototypes to what we have available now with VMware NSX, and be fully equipped for our journey into network virtualization, some background information may be beneficial. To get started, in this post we’re going to provide an overview of network virtualization and a brief historical perspective on NSX evolution since the acquisition of Nicira by VMware back in 2012. In the second part of this introductory module, we will dive into overlay network protocol advancements from VXLAN to GENEVE.
In this module, we’re going to cover the following main topics:
- Part 1:
- Part 2:
By the end of this module, you’ll have a solid understanding of the core concepts of network virtualization, including the distinctions between underlay and overlay networks. You’ll also learn how major network virtualization players have influenced the development of overlay networking protocols. Additionally, you’ll understand the evolution of VMware’s code from vShield, prior to the Nicira acquisition, to the current state of NSX, and how NSX integrates seamlessly into the VMware ecosystem.
Overview of network virtualization
Imagine a sprawling data center, a labyrinth of cables snaking between rows of servers and switches. This intricate physical network serves as the backbone of our digital world, carrying the lifeblood of information: data. However, as technology evolves and our dependence on IT grows, these traditional networks are reaching a turning point. They struggle to quickly adapt to changing demands, making it difficult to provision new resources or efficiently implement adequate security measures. Think, for example, about how long it takes to get new VLANs assigned and configured across the whole data center every time a new network is needed, or how difficult it would be to implement microsegmentation in a physical environment.
This is where the concept of network virtualization steps in. It’s a paradigm shift, moving away from the rigid constraints of physical hardware and towards a software-defined approach. Network virtualization creates a layer of abstraction, essentially separating the functionality of a network from the underlying physical devices.
The abstraction layer
Network virtualization requires hardware virtualization, and guess who (besides IBM, who, since the 1960s, with the CP/CMS OS family for their mainframe computers, defined the virtual machine, or VM, architecture) pioneered hardware virtualization some twenty-five years ago? You named it: VMware.
The network virtualization abstraction layer’s role is to decouple the hardware implementing the data plane forwarding functions from the management and control plane functions. This way, the virtualized CPU, memory, storage, and network hardware resources spanning a highly scalable and distributed infrastructure can be administratively programmed at any time to implement the various virtual network functions needed: switches, routers, firewalls, advanced threat prevention features, and so on.
Benefits
SDN has several key benefits:
- Increased agility and flexibility: SDN separates the control plane (network intelligence) from the data plane (physical network devices) using software. This allows administrators to make changes to the network programmatically, enabling quicker response to evolving business needs.
- Enhanced scalability: Adding new resources or services to a traditional network can be cumbersome. SDN simplifies this process by allowing administrators to provision and manage network resources from a central location.
- Improved security: SDN enables network segmentation, isolating different parts of the network and making it harder for security breaches to spread. Additionally, it allows the centralized enforcement of security policies.
- Automation and orchestration: Repetitive network tasks can be automated with SDN, freeing up IT staff to focus on more strategic initiatives. It also allows the orchestration of different network services, improving overall efficiency.
- Better visibility and control: SDN provides a centralized view of the entire network, giving administrators greater visibility into traffic flows and network performance. This allows better troubleshooting and improved decision-making.
Up next, we will look into the difference between traditional and logical networking.
Comparison of traditional and logical networking
While traditional and logical networks must function in exactly the same way – think of unicast, multicast, and broadcast traffic, for example – from our workloads’ point of view, what happens in the backend and where it happens is a completely different story.
Traditional networks
When relying on traditional networks, VMs connected to (and communicating over) the same VLAN yet running on different hypervisors – which are sometimes even located in different racks – need to have their broadcast domain stretched across all the hosts and all the racks where the VMs are (or, if migrated, may end up) running. Network administrators must configure each related trunk port on every Top-of-the-Rack (ToR) switch with the required VLAN.
When dealing with too many VLANs/PVLANs and/or large broadcast domains, we may experience several negative side effects:
- Administrative overhead and lead time: To obtain a unique VLAN ID for each new network we are going to create in our virtual infrastructure, someone in the network team must identify and allocate that VLAN ID and configure it on the physical switches that carry East-West traffic. The time required to accomplish this task depends on multiple factors: internal policies and change management procedures – some organizations have rigid change management windows scheduled a few times a year – and the number of physical devices to reconfigure.
- Scalability issues: The IEEE 802.1Q networking standard defines a 12-bit VLAN identifier field specifying the VLAN to which the frame belongs. Out of the possible 4,096 IDs, values of 0 and 4,095 are reserved, allowing a maximum of 4,094 usable IDs, which is not a huge number of VLANs in a large organization.
- Performance issues: Excessive broadcast traffic can negatively affect network and VM operations. Networks may be slowed down by the significant amount of traffic broadcasted to all stations; VMs must accept and process each incoming broadcast packet, consuming processing time.
- CAM and TCAM tables limits: While these tables are designed to speed up Layer 2 and Layer 3 switching, their size isn’t unlimited; the larger the broadcast domains, the higher the number of entries in the table that will have to be accommodated.
- Spanning tree reconvergence time: The Spanning Tree Protocol (STP) aims for loop avoidance in an Ethernet network by creating a logical topology of single active paths between any two network nodes, including backup links to failover to for fault tolerance in case an active path fails. STP achieves its goal by processing the Bridge Protocol Data Unit (BPDU) messages that are constantly exchanged between switches. When there is a change in the topology due to any active path failing, STP must reconverge. The larger the topology, the longer STP may take to reconverge.
Logical networks
When using SDN to create logical networks instead, we can benefit from some fundamental advantages:
- Administrative offload: Overlay tunnels, acting as a backplane between the virtual switches running in the hypervisors, encapsulate VM frames as payloads and transport them East-West through the physical network across hosts and racks. Being encapsulated, the logical network IDs the VMs frames belong to are not visible to the physical network devices – switches and routers looking, respectively, at outer Ethernet and IP headers – thus decoupling the overlay (logical) from the underlay (physical) networks. Logical networks can now be created at any time without requiring any configuration change in the physical devices. One VLAN ID for all the overlay traffic, irrespective of how many logical networks it supports, will generally be enough.
- Scalability: Modern encapsulation protocols used by SDN solutions use a 24- bit Virtual Network Identifier (VNI), allowing a maximum of 16,777,216 logical unique broadcast domains to be created. This is way more than you get using VLANs/PVLANs.
- Automation and orchestration: Logical network components are instantiated in the management plane based on an intent declared via the UI or a REST API call. Cloud Management Platforms (CMP) such as VMware Cloud Foundation, VMware Aria Automation, and VMware Cloud Director, as well as any REST-capable client (such as curl or Postman), can be used to automate and orchestrate the creation and configuration of logical networks via REST API calls as a result of a script, task, or workflow run that can range from the simplest to the most complex activity.
At this stage, a brief historical overview of the origins of the technology that eventually evolved into NSX, may help us better understanding the product we have now.
Brief history of NSX
The history of the SDN technology we now know as NSX has its origins deeply rooted in the same academic environment – Stanford University, though in two different moments in time – from which emerged two distinct organizations, VMware and Nicira, which then eventually merged into one.
VMware begins
VMware was co-founded in 1998 by Dr. Mendel Rosenblum, who was, at that time, an associate professor of computer science at Stanford University, where he led a group focused on operating systems research; two of his graduate students, Scott Devine and Edouard Bugnion; Diane Greene, who joined them as CEO; and Dr. Edward Wang, who studied at Berkeley University with both Rosenblum and Green.
With the first release in 2001 of its ESX bare-metal hypervisor, VMware introduced the vSwitch, a software Layer-2-only virtual switch that works much like a physical Ethernet switch, laying the foundations for network virtualization.
Another important milestone around 2009 – before the advent of NSX – was the introduction of the VMsafe API and vShield, a suite of security virtual appliances and services for the vSphere platform. You can consider vShield as conceptually the ancestor of the baseline security features in NSX. vShield consisted of the following:
- vShield Manager: A virtual appliance providing centralized management.
- vShield Apps: A hypervisor-based firewall protecting network communications between VMs.
- vShield Edge: Provides network edge security and gateway services such as DHCP, VPN, NAT, and load balancing.
- vShield Endpoint: Offloads antivirus and anti-malware agent processing to a dedicated secure virtual appliance.
For those of you already exposed to NSX: don’t some of the feature names above remind you of anything familiar? vShield components eventually evolved into vCloud Networking and Security (vCNS), provided as part of the vCloud Suite, to abstract networking and security into a generalized pool of capacity and separate the consumption of these services from the underlying physical infrastructure. vCNS was already making use of VXLAN as an overlay transport protocol to provide network abstraction, elasticity, and scale across data centers.
Nicira begins
Nicira was co-founded in 2007 by Martin Casado – building on his work as a graduate student at Stanford University on the theory of a Secure Architecture for the Networked Enterprise (SANE), which eventually evolved into a real-life implemented alternative, Ethane, that has run and supported hundreds of hosts in Stanford University networks – and his two doctoral advisors, Nick McKeown at Stanford University and Scott Schenker at Berkeley University.
While still a researcher at the Lawrence Livermore National Laboratory, Martin Casado’s work attracted a US intelligence agency that wished, from time to time, to temporarily restrict parts of their network to secure sensitive communications. The agency engaged him to conceive a solution that soon proved impossible to implement in a flexible way, given the rigid architecture of the existing technologies. Gripped by the challenge, Martin Casado entered graduate school at Stanford University to research a better solution. The work on his PhD thesis led to the foundational concepts that Nicira – meaning “vigilant” in Sanskrit – was built upon.
In the initial startup funding rounds, Nicira raised a lot of interest from venture capital firms and private investors, including Diane Greene (co-founder and VMware CEO until 2008). In 2012, Nicira announced its Network Virtualization Platform (NVP), a software solution based on OpenFlow and Open vSwitch to create distributed network functions independent from the underlying network hardware. Soon after, that same year, VMware acquired Nicira for $1.26 billion and integrated its R&D teams. One year later, VMware launched the first NSX product.
Nicira’s NVP and VMware’s vCNS come together
When it was launched in 2013, NSX brought together the best of Nicira’s NVP and VMware’s vCloud Network and Security (vCNS) into one unified network and security virtualization platform. It provided a simple migration path for customers that were already using NVP and vCNS.
The first iteration of NSX was called VMware NSX for vSphere [v6.0]. As the name suggests, it was designed to support the vSphere platform only, in contrast to its Nicira NVP counterpart. Support included those deployments controlled by a cloud management platform such as vCloud Director or vRealize Automation. It had a GUI integrated with vCenter Server as a vSphere Web Client plug-in.
In the meantime, the VMware and Nicira development teams kept developing the original NVP multi-hypervisor design concept. This led, in February 2017, to the release of VMware NSX-T [V1.1] supporting vSphere 6 and KVM (on Red Hat Enterprise Linux 7 and Ubuntu 14 and 16).
For quite some time, VMware kept two separate development teams simultaneously working on the two NSX product lines. This duplication of efforts was required to let NSX-T reach feature parity with NSX for vSphere and then eventually take over.
NSX-T begins to take over
In August 2018, VMware decided on a name adjustment, calling the two products:
- VMware NSX Data Center for vSphere starting with version 6.4.2
- VMware NSX-T Data Center starting with version 2.3.
It was clear at that point that NSX Data Center for vSphere would have remained at release 6.4.x – with its code being just maintained and fixed. NSX-T Data Center was set to begin receiving its load of brand-new SDN features conceived by VMware engineering and development from that moment onward.
In February 2019, with NSX-T Data Center 2.4, VMware introduced support for a cluster of Manager Nodes to achieve high availability of the UI and API. A new intent-driven declarative API – called the Policy API – was added to reduce the number of configuration steps. The Policy API enabled administrators to declare their desired configuration goal, while letting the management plane figure out how to best achieve it with the Manager API.
NSX-T maturity
Starting with the April 2020 release of NSX-T Data Center 3.0, VMware introduced a great deal of new cloud-grade features. From NSX Federation, VRF, EVPN, and Distributed Intrusion Detection to tighter integration with vSphere 7. vSphere Distributed Virtual Switches (DVS) were now able to back both vSphere virtual and NSX-T logical networking side by side. As a result, VMware announced the beginning of deprecation of N-VDS support on ESXi hypervisor transport nodes. Continuing in version 3.1, VMware announced support for OSPFv2 and VMware NSX Advanced Load Balancer (formerly known as Avi Networks, which was acquired in June 2019).
In February 2021, with version 6.4.10, VMware announced that End of General Support (EoGS) for NSX Data Center for vSphere was scheduled for January 16, 2022, with technical guidance ending 365 days later. From that day onward, VMware began recommending that customers migrate to NSX-T Data Center.
The December 2021 NSX-T Data Center release 3.2 was another milestone, introducing features such as the brand new NSX Application Platform. A container-based solution, running on a Kubernetes cluster, added advanced management and threat prevention features such as NSX Intelligence, NSX Metrics, NSX Network Detection and Response (NDR), and NSX Malware Prevention. Additionally, classic and behaviour-based IDS/IPS, TLS Inspection, and Antrea Network Policies to NSX-T integration for Kubernetes environments exemplify VMware’s efforts towards multi-cloud security.
VMware also announced the intention to deprecate the NSX Manager API and the related NSX Advanced UI in an upcoming NSX-T major or minor release.
Just one NSX
With the August 2022 NSX 4.0 release, the product name was finally rationalized from VMware NSX-T Data Center to just VMware NSX. There was now only one SDN product in the VMware range, and there was therefore no more need for long and complex names to differentiate product variants. NSX 4.0 set off the definitive end of support for N-VDS host switches on ESXi hypervisors. Additionally, support for KVM- based hypervisors and OpenStack distributions from third-party vendors was dropped, while support for VMware Integrated OpenStack (VIO) remained.
In February 2023, NSX 4.1 added production-grade support (it was initially made available as a Tech Preview six months earlier) for DPU-based acceleration. These SmartNICs are network interface cards with a built-in processor – known as a Data Processing Unit (DPU). DPUs can be managed separately from the host CPU and provide hardware-based offload and fastpath acceleration to NSX networking, security, and monitoring features. Another important feature promoted to production-grade support in this release was multi-tenancy. The NSX UI now enabled the Enterprise Admin (provider) and the Project users (tenants) to manage tenanted objects and their configurations. The multi-tenancy capability was further enhanced in version 4.1.1 with NSX Virtual Private Clouds (VPC) and multi-tenant distributed IDS/IPS.
The last major release
In July 2024, NSX 4.2 introduced an array of innovative features, enhancing virtualized networking and security across private, public, and multi-cloud environments. It made virtual networking adoption simpler for VLAN-connected virtual machines and added IPv6-only access to NSX Manager and Edge Nodes. Network connectivity was bolstered with dual DPU support, TEP grouping, and improved failure detection, prioritizing critical packets. The update also included enhanced event and alarm support, multi-tenancy and VPC improvements, and increased Firewall Rule and Group scalability at both Local and Global Managers. Additionally, IDS/IPS functionality was made available on T0 Gateway Firewall, with Distributed Malware Prevention on stretched vSAN Clusters and Packet Capture for advanced threat triaging in Network Detection and Response (NDR).
On the feature deprecation front, this release marked the end of overlay networking support on physical servers, though security remains fully supported on VLANs. It also announced the discontinuation of the Network Introspection for Security feature following the final NSX 4.x release. Rounding out the list is the deprecation announcement for NSX Embedded (NSXe), a component that integrates NSX with a plugin into VMware vCenter. NSXe was enabling the installation, configuration, and consumption of virtual networking and security features directly from VMware vCenter.
At the time of writing, NSX 4.2.1.3, dated February 10, 2025, is the latest available release.
Continue to Part 2…
As we’ve explored the evolving landscape of network virtualization, it’s clear that the journey is far from over; continue to the second part of this module, where we’ll dive into overlay network protocols like VXLAN and GENEVE, and uncover the pivotal role of NSX in VMware’s virtualization ecosystem.
