Hypervisor vNIC Validation Prevents Virtual Network Loops

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Virtual network topologies with virtual switches and virtual machines are prone to loops when virtual machines forward traffic between multiple virtual network interface cards, as existing methods like MAC pinning and distance vector logic are insufficient, and spanning tree protocol is not effective in preventing loops in such scenarios.

Innovation Solution

A method is implemented where the hypervisor manages virtual machines to prevent the creation or addition of virtual network interface cards (vNICs) that would connect to the same VLAN segment, thereby preventing loops by failing requests that would result in multiple connections to the same VLAN segment, and generating an error message to inform users of potential looping frames.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If virtual machines are allowed to forward traffic between multiple vNICs connected to the same VLAN segment, then network versatility and appliance functionality are improved, but network loops are introduced causing instability

Engineering Contradiction:
Improvenetwork appliance functionalityVSAvoidnetwork stability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The hypervisor checks the network topology in advance before allowing vNIC creation or configuration changes. It determines whether adding a vNIC would create a loop by analyzing the existing network graph, and prevents the configuration change before it can be applied, thus avoiding loops proactively while allowing versatile network appliance functionality

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary validation layer between the user/configuration system and the actual network topology. This intermediary checks proposed configurations against the current network state and only allows changes that maintain loop-free topology, enabling both versatility and reliability

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If spanning tree protocol is implemented to prevent loops, then network reliability is improved, but device complexity and protocol overhead increase

Engineering Contradiction:
Improveloop preventionVSAvoidprotocol implementation complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the loop prevention function from complex protocols like spanning tree and implements it directly in the hypervisor's configuration validation logic. This removes the need for running spanning tree protocol while maintaining loop prevention, reducing device complexity and protocol overhead

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent replaces the dynamic protocol-based loop prevention mechanism (spanning tree) with a static configuration validation approach. Instead of using protocol messages and dynamic state changes, the system uses deterministic graph analysis during configuration to prevent loops, simplifying the mechanism

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Reliability

If MAC pinning and distance vector logic are used in virtual switches, then loop prevention is improved for endpoint VMs, but adaptability is reduced for network appliance VMs

Engineering Contradiction:
Improveloop prevention for endpoint VMsVSAvoidnetwork appliance support
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent creates a universal loop prevention mechanism in the hypervisor that works for all VM types regardless of their network role. The configuration validation approach applies the same loop detection logic whether the VM is an endpoint or a network appliance, making the system universally applicable without needing different mechanisms for different VM types

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS8665747B2Preventing loops on network topologies built with virtual switches and VMS
Publication Date: 2014.03.04 CISCO TECHNOLOGY INC
  • US8665747B2 patent drawing
  • US8665747B2 patent drawing
  • US8665747B2 patent drawing

AI summary

A method and apparatus is disclosed for preventing loops on a network topology which includes virtual switches and virtual machines. For example, a virtualization management application may prevent loops from being introduced into a network topology where a virtual machine forwards traffic between any two (or more) virtual network interface cards (vNICs). A method to prevent loops may include receiving a request to create a virtual network interface (vNIC) for a virtual machine (VM) instance on a computing system, and in response to determining that the requested vNIC is to be connected to the same network segment as an existing vNIC of the VM instance, failing the request to generate the requested vNIC.