VM IP Synchronization via Switch Snooping

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing virtual machine migration tools fail to dynamically synchronize IP addresses, leading to network service disruptions during virtual machine migrations, as they rely on time-consuming DHCP server requests and are prone to packet loss.

Innovation Solution

A method and apparatus that proactively record IP and connection information of virtual machines within a subnet, allowing for immediate updates during migrations without re-sending requests to the DHCP server, thus avoiding network disruptions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If DHCP server requests are used to obtain IP addresses during virtual machine migration, then IP address assignment is achieved, but network service disruption occurs due to time-consuming requests and packet loss

Engineering Contradiction:
Improvenetwork service continuityVSAvoidmigration downtime
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The switch proactively records IP relevant information (IP address, MAC address, connecting port, VLAN identity, lease time) of virtual machines in advance by snooping DHCP messages between virtual machines and DHCP servers. When migration occurs, the switch can immediately update the trust list with the new connecting port information without waiting for DHCP requests, thus maintaining network service continuity and reducing migration downtime

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The switch acts as an intermediary between virtual machines and DHCP servers by caching IP relevant information locally. This intermediary mechanism allows the switch to independently handle migration scenarios by updating the trust list based on its cached information, avoiding the need for real-time DHCP server communication during migration and thus preventing packet loss and service disruption

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If DHCP snooping is used to build trust lists, then security is improved, but network service disruption occurs when virtual machines migrate because the trust list cannot be dynamically updated

Engineering Contradiction:
Improvenetwork securityVSAvoiddynamic configuration capability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The trust list is transformed from a static configuration to a dynamic one. The switch continuously monitors for virtual machine migration events and automatically updates the trust list by modifying the connecting port information for migrated virtual machines. This dynamic update mechanism maintains both security (by preserving the trust list structure) and adaptability (by allowing real-time updates during migration)

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The switch implements a feedback mechanism by monitoring DHCP messages to detect virtual machine migration events. When migration is detected, the switch automatically triggers trust list updates with the new connecting port information. This feedback loop ensures that the trust list remains synchronized with the actual network state, maintaining both security and dynamic adaptability

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS10771431B2Synchronizing IP information of virtual machines
Publication Date: 2020.09.08 LENOVO GLOBAL TECHNOLOGIES SWITZERLAND INTERNATIONAL GMBH
  • US10771431B2 patent drawing
  • US10771431B2 patent drawing
  • US10771431B2 patent drawing

AI summary

One embodiment discloses a method and apparatus for synchronizing IP information of virtual machines. The method includes: obtaining an IP relevant message of at least one virtual machine within a subnet, recording IP information and connection information of the at least one virtual machine based on the IP relevant message, and modifying connection information of a specific virtual machine in response to migration of the specific virtual machine. The apparatus corresponds to the method. With the method and apparatus above, IP information and connection information of respective virtual machines within the subnet are recorded regularly and routinely. Once a certain virtual machine is migrated, updating and modifying connection information of the migrated virtual machine is only needed, but without a need for resending a request to the Dynamic Host Configuration Protocol (DHCP) server. Thus, network disruptions caused by non-synchronization of IP information when the virtual machine is migrated are avoided.