Layer-2 Virtual Switch Emulation in Cloud Networks
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current cloud virtual networks operate primarily at Layer 3, lacking Layer 2 capabilities needed by certain applications, which hinders the migration of legacy applications to cloud environments without rearchitecting or reengineering.
Innovation Solution
Implementing Layer 2 virtual local area networks (VLANs) within virtualized cloud environments, using network virtualization devices to create an emulated single switch that connects compute instances, supporting Layer 2 networking features like MAC address forwarding and switch statistics, in conjunction with existing Layer 3 functionality.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If Layer 3 networking is used in virtualized cloud environments, then routing and connectivity are provided, but Layer 2 capabilities such as broadcast, multicast, and low latency communication are lost
Solution Approach 1:
The networking functionality is segmented into separate Layer 2 and Layer 3 components. The Layer 2 virtual switch handles broadcast, multicast, and low latency communication, while the Layer 3 virtual router handles routing. This segmentation allows each layer to optimize for its specific requirements without compromising the other, enabling legacy applications to migrate to cloud environments while maintaining their original networking behavior.
Solution Approach 2:
The virtualized networking system provides multi-functionality by integrating both Layer 2 and Layer 3 capabilities in a single platform. The virtual switch can emulate physical switch behavior for Layer 2 protocols while simultaneously supporting IP routing for Layer 3 communication. This universal approach allows diverse networking needs of different applications to be met within the same cloud environment.
2Productivity
If Layer 2 virtual switch is implemented as distributed switch, then scalability is improved, but system complexity increases
Solution Approach 1:
Instead of implementing a single monolithic virtual switch, the system creates multiple simplified virtual switch instances distributed across different hosts. Each virtual switch instance handles local traffic and replicates only necessary state information to other instances. This copying approach maintains scalability by distributing the workload while reducing individual component complexity through replication and modularization.
Solution Approach 2:
The distributed virtual switch is segmented into multiple independent virtual switch instances, each running on separate hosts. This segmentation allows the system to scale by adding more instances without increasing the complexity of any single instance. Each virtual switch instance manages its own forwarding decisions locally, reducing the complexity burden on individual components while maintaining overall system scalability.
3Adaptability or versatility
If virtual network interface card (VNIC) is used for each compute instance, then virtualization is achieved, but performance overhead increases
Solution Approach 1:
The VNIC is extracted as a separate virtualized network interface component that can be independently managed. By separating the VNIC from the compute instance, the system can optimize network traffic paths and reduce the overhead associated with virtualization. The extracted VNIC can be directly connected to the virtual switch, eliminating unnecessary processing steps and improving data transmission speed while maintaining virtualization capabilities.
Data Source
AI summary
Techniques are described for communications in an L2 virtual network of a customer. In an example, the L2 virtual network includes a plurality of L2 compute instances hosted on a set of host machines and a plurality of L2 virtual network interfaces and L2 virtual switches hosted on a set of network virtualization devices. An L2 virtual network interface emulates an L2 port of the L2 virtual network. Information associated with the L2 virtual switches is collected and provided to the customer.


