IP setting and detecting method supporting multi-VLAN virtual machine

A detection method and virtual machine technology, applied in the field of cloud computing, can solve problems such as heavy load, difficult management, and long time

Inactive Publication Date: 2013-12-25
G CLOUD TECH
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem solved by the present invention is to provide an IP setting and detection method of a virtual machine supporting multiple VLANs, which solves the problem of long time and heavy load of virtual machine network configuration and detection in the multi-VLAN environment and non-VLAN environment in the field of cloud computing , Difficult to manage and other complex issues

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • IP setting and detecting method supporting multi-VLAN virtual machine
  • IP setting and detecting method supporting multi-VLAN virtual machine
  • IP setting and detecting method supporting multi-VLAN virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Please refer to the accompanying drawings, the method for network configuration and address detection of a virtual machine supporting multiple VLANs proposed by the present invention uses DNSmasq to locally assign an IP address to the host computer.

[0025] DNSmasq is a small and convenient tool for configuring DNS and DHCP, suitable for small networks, which provides DNS functions and optional DHCP functions. It serves domain names that are only available locally. The DHCP server is combined with the DNS server, and allows the addresses assigned by DHCP to be resolved normally in DNS, and these addresses and related commands assigned by DHCP can be configured in each host or in a core device (such as a router) , DNSmasq supports both static and dynamic DHCP configuration methods.

[0026] Configure the host and virtual machine system environment, first install the DNSmasq program dnsmasq-2.48-13.e16.x86_64 on the host, start the virtual machine and set the internal n...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the field of Cloud computing, in particular to an IP setting and detecting method supporting a multi-VLAN virtual machine. According to the method, firstly, environment of the virtual machine and a host machine is correctly allocated; then on the host machine, a virtual machine IP configuration file is prepared, an IP setting callback function is programmed, an operation log file is assigned, and network bridges corresponding to all VLANs on the host machine are obtained; then a DNSmasq monitoring service process is operated for each VLAN; virtual machine IP information is managed through sending a signal to the DNSmasq monitoring service processes; finally, the log file assigned by the callback function is read to verify whether IP management is successful. The method solves the complex problems that network allocation and detection of the virtual machine is long in time, large in load and difficult to manage, can be applied to IP allocation and detection of the virtual machine in the multi-VLAN environment, and can also be used in a non-VLAN environment.

Description

technical field [0001] The invention relates to the field of cloud computing, in particular to an IP setting and detection method of a virtual machine supporting multiple VLANs. Background technique [0002] In a cloud computing environment, virtual machines need to be properly configured on the network to be externally connected or provide external services, and cloud computing management software also needs to regularly detect the usage of the virtual network. Currently, there are two methods for virtual machine network configuration and address detection. [0003] The first is to install agent software that does not depend on the network in the virtual machine, such as a virtual serial port tool, and the agent software calls the command of the virtual machine operating system to set and obtain network configuration and return to the cloud computing management software. This method has the following problems: 1. It is necessary to install agent software in the virtual mac...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24H04L12/26H04L12/46H04L29/12
Inventor 熊梦杨松莫展鹏季统凯
Owner G CLOUD TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products