Unlock instant, AI-driven research and patent intelligence for your innovation.

A virtual machine IP management method based on address monitoring

A management method and virtual machine technology, which is applied in the field of virtual machine IP management based on address monitoring, can solve problems such as IP address conflicts and susceptibility to interference, and achieve the effect of resisting Dos attacks

Active Publication Date: 2018-08-28
G CLOUD TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The technical problem solved by the present invention is to provide a virtual machine IP management method based on address monitoring, which can solve problems such as IP address conflicts in virtual machine IP allocation and easy interference

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
  • A virtual machine IP management method based on address monitoring
  • A virtual machine IP management method based on address monitoring

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] There are many ways to realize the present invention, one of which will be introduced as a reference by taking KVM virtualization technology and DNSmasq server as examples below. like figure 1 As shown, the basic process is as follows:

[0031] 1. Create a virtual machine in a bridged manner

[0032]

[0033] 2. Allocate a network segment for the physical machine

[0034] 10.251.255.241~10.251.255.256

[0035] subnet mask / 28

[0036] Gateway 10.251.255.241

[0037] DNS 114.114.114.114

[0038] 3. Obtain the bridge address of the physical machine

[0039] #ifconfig br0

[0040] Displayed as follows:

[0041] br0 Link encap: Ethernet HWaddr 00:A0:D1:EB:63:B4

[0042] inet addr: 10.251.255.240 Bcast: 10.251.255.255 Mask: 255.255.252.0

[0043] inet6 addr:fe80::2a0:d1ff:feeb:63b4 / 64 Scope:Link

[0044] UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric: 1

[0045] RX packets: 932317 errors: 0 dropped: 0 overruns: 0 frames: 0

[0046] TX packets: 299819 errors: ...

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 technical field of cloud computing, in particular to a virtual machine IP management method based on address monitoring. The present invention first configures a network bridge on the physical machine, and the network card of the virtual machine is connected to the local area network by bridging to the bridge; then a network segment is allocated for each physical machine, as the IP address distribution range of the virtual machine on the physical machine; then try Obtain the configured IP address of the bridge on the physical machine. If it can be obtained, the listening address is the IP address of the bridge; then check whether the physical machine uses NAT mapping for internal and external network address translation. If so, obtain the address in the allocated network segment. The network address to be monitored is the network address; then the IP address of the bridge is configured as the IP address of the NAT gateway, and the address to be monitored is the IP address of the gateway; finally, a DHCP service is run on the physical machine, and the address range is set to a network segment. And set the DHCP listening address as the listening address obtained above. The invention solves the conflict problem in IP distribution of the virtual machine and can be used for IP management of the virtual machine.

Description

technical field [0001] The invention relates to the technical field of cloud computing, in particular to a virtual machine IP management method based on address monitoring. Background technique [0002] Under the cloud platform, assigning IP addresses to virtual machines generally uses two methods of assigning physical machine IP addresses, static addresses and DHCP. In the static address mode, the IP address is maintained by a third-party program. After the IP address is allocated, the IP configuration is generally realized in the following two ways: [0003] 1. After the administrator logs in to the virtual machine through a remote desktop client such as VNC, he modifies the network configuration file; [0004] 2. An agent program needs to be installed in the virtual machine, and the third-party program calls the relevant interface of the agent program for network configuration. [0005] The above method has the following disadvantages: [0006] 1. It is easy to cause I...

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 Patents(China)
IPC IPC(8): H04L29/12H04L29/06H04L29/08
CPCH04L61/2575H04L67/10H04L61/5014
Inventor 莫展鹏杨松季统凯
Owner G CLOUD TECH