CN105162897A - System and method for allocating IP address for virtual machine and network virtual machine - Google Patents

System and method for allocating IP address for virtual machine and network virtual machine Download PDF

Info

Publication number
CN105162897A
CN105162897A CN201510588923.8A CN201510588923A CN105162897A CN 105162897 A CN105162897 A CN 105162897A CN 201510588923 A CN201510588923 A CN 201510588923A CN 105162897 A CN105162897 A CN 105162897A
Authority
CN
China
Prior art keywords
virtual machine
network
address
service
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510588923.8A
Other languages
Chinese (zh)
Inventor
吕广杰
刘正伟
朱波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Group Co Ltd
Original Assignee
Inspur Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Group Co Ltd filed Critical Inspur Group Co Ltd
Priority to CN201510588923.8A priority Critical patent/CN105162897A/en
Publication of CN105162897A publication Critical patent/CN105162897A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供一种虚拟机IP地址分配的系统、方法及网络虚拟机,该系统包括:网络管理模块、管理网、至少一个网络虚拟机、至少一个业务网及至少一个业务虚拟机;网络管理模块通过管理网与至少一个网络虚拟机相连;每一个网络虚拟机与至少一个业务网相连,每一个业务网连接有至少一个业务虚拟机;网络管理模块,用于根据外部IP地址分配指令,通过管理网发出管理指令;每一个网络虚拟机,用于在接收到管理指令时,确定与其相连的业务网,并为与该业务网相连的各个业务虚拟机分配IP地址,形成分配指令,并通过业务网发送分配指令;业务虚拟机,用于根据接收到的分配指令,获取对应的IP地址。本方案能够提高虚拟机IP地址分配工作的效率。

The present invention provides a virtual machine IP address allocation system, method and network virtual machine, the system comprising: a network management module, a management network, at least one network virtual machine, at least one service network and at least one service virtual machine; a network management module Connected to at least one network virtual machine through the management network; each network virtual machine is connected to at least one service network, and each service network is connected to at least one service virtual machine; the network management module is used to assign instructions according to the external IP address, through the management The network issues management instructions; each network virtual machine is used to determine the service network connected to it when receiving the management instruction, and assign IP addresses to each service virtual machine connected to the service network to form an allocation instruction, and pass the service The network sends allocation instructions; the service virtual machine is used to obtain the corresponding IP address according to the received allocation instructions. This solution can improve the efficiency of virtual machine IP address assignment.

Description

一种虚拟机IP地址分配的系统、方法及网络虚拟机System and method for virtual machine IP address allocation and network virtual machine

技术领域technical field

本发明涉及计算机技术领域,特别涉及一种虚拟机IP地址分配的系统、方法及网络虚拟机。The invention relates to the field of computer technology, in particular to a system and method for allocating virtual machine IP addresses and a network virtual machine.

背景技术Background technique

随着云计算技术的迅猛发展,国内外各大厂商的云计算服务平台也开始纷纷投入到科学、教育、文化、卫生、政府、高性能计算、电子商务、物联网等多个领域进行使用。虚拟机是云计算技术的基础,用户通过虚拟机使用云计算服务平台的计算资源,随着云计算服务平台用户的不断增加,需要创建大批量的虚拟机以满足用户的使用需求。With the rapid development of cloud computing technology, cloud computing service platforms of major manufacturers at home and abroad have also begun to be used in many fields such as science, education, culture, health, government, high-performance computing, e-commerce, and the Internet of Things. The virtual machine is the foundation of cloud computing technology. Users use the computing resources of the cloud computing service platform through the virtual machine. With the continuous increase of users of the cloud computing service platform, it is necessary to create a large number of virtual machines to meet the needs of users.

虚拟机创建完成后,需要在虚拟机上部署相应的应用程序,以供用户执行对应的业务,在部署应用程序之前,需要为虚拟机配置IP地址,以使虚拟机连接网络。After the virtual machine is created, the corresponding application program needs to be deployed on the virtual machine for users to perform corresponding services. Before deploying the application program, it is necessary to configure an IP address for the virtual machine so that the virtual machine can connect to the network.

目前,配置虚拟机IP地址的方法,主要是通过管理员手动配置各个虚拟机的IP地址,当虚拟机创建完成之后,管理员登入虚拟机,设定该虚拟机的IP地址。At present, the method for configuring the IP address of a virtual machine is mainly to manually configure the IP address of each virtual machine by an administrator. After the virtual machine is created, the administrator logs in to the virtual machine and sets the IP address of the virtual machine.

由于虚拟机用户数量巨大,一般在创建虚拟机时都会同时创建很多个虚拟机,如果采用管理员手动配置虚拟机IP地址的方法,需要管理员依次登入各个虚拟机,分别设定每一个虚拟机的IP地址,通过手动配置虚拟机IP地址的方法,需要花费管理员大量的时间,虚拟机IP地址分配工作的效率较低。Due to the huge number of virtual machine users, many virtual machines are generally created at the same time when creating a virtual machine. If the administrator manually configures the IP address of the virtual machine, the administrator needs to log in to each virtual machine in turn and set each virtual machine separately. The IP address of the virtual machine needs a lot of time for the administrator to manually configure the IP address of the virtual machine, and the efficiency of the IP address assignment of the virtual machine is low.

发明内容Contents of the invention

本发明提供一种虚拟机IP地址分配的系统、方法及网络虚拟机,能够提高虚拟机IP地址分配工作的效率。The invention provides a virtual machine IP address allocation system, method and network virtual machine, which can improve the efficiency of the virtual machine IP address allocation work.

本发明实施例提供了一种虚拟机IP地址分配的系统,包括:网络管理模块、管理网、至少一个网络虚拟机、至少一个业务网及至少一个业务虚拟机;An embodiment of the present invention provides a virtual machine IP address allocation system, including: a network management module, a management network, at least one network virtual machine, at least one service network, and at least one service virtual machine;

所述网络管理模块通过所述管理网与所述至少一个网络虚拟机相连;The network management module is connected to the at least one network virtual machine through the management network;

每一个网络虚拟机与至少一个业务网相连,每一个业务网连接有至少一个业务虚拟机;Each network virtual machine is connected to at least one service network, and each service network is connected to at least one service virtual machine;

所述网络管理模块,用于根据外部IP地址分配指令,发出管理指令;The network management module is configured to issue a management command according to an external IP address allocation command;

所述管理网,用于传输所述管理指令;The management network is used to transmit the management instruction;

每一个所述网络虚拟机,用于在接收到所述管理指令时,根据所述管理指令,确定与其相连的所述业务网,并为与所确定的所述业务网相连的各个所述业务虚拟机分配IP地址,形成分配指令,并发送所述分配指令;Each of the network virtual machines is configured to, when receiving the management instruction, determine the service network connected to it according to the management instruction, and provide each of the services connected to the determined service network The virtual machine allocates an IP address, forms an allocation instruction, and sends the allocation instruction;

每一个所述业务网,用于传输所述分配指令;Each of the service networks is used to transmit the allocation instruction;

所述业务虚拟机,用于根据接收到的所述分配指令,获取对应的IP地址。The service virtual machine is configured to obtain a corresponding IP address according to the received allocation instruction.

优选地,所述每一个网络虚拟机通过自身的以太网管理端口、管理网与所述网络管理模块相连,并且,通过自身不同的以太网业务端口与不同的业务网相连;Preferably, each network virtual machine is connected to the network management module through its own Ethernet management port and management network, and is connected to different service networks through its own different Ethernet service ports;

所述网络管理模块,用于在接收到所述IP地址分配指令后,确定目标网络虚拟机,通过管理网、目标网络虚拟机的以太网管理端口,将管理指令发送给目标网络虚拟机;The network management module is configured to determine the target network virtual machine after receiving the IP address allocation instruction, and send the management instruction to the target network virtual machine through the management network and the Ethernet management port of the target network virtual machine;

每一个网络虚拟机,用于根据管理指令,确定与其相连的目标业务网,通过与目标业务网相连的以太网业务端口及目标业务网,将分配指令发送给对应的各个业务虚拟机。Each network virtual machine is used to determine the target service network connected to it according to the management instruction, and send the allocation instruction to each corresponding service virtual machine through the Ethernet service port connected to the target service network and the target service network.

优选地,所述网络管理模块,进一步用于在接收到所述IP地址分配指令后,判断是否存在以太网业务端口个数未达到饱和状态的网络虚拟机,如果是,向该网络虚拟机发送所述管理指令,如果否,创建一个新的网络虚拟机,通过管理网与该网络虚拟机的以太网管理端口相连,并向该网络虚拟机发送所述管理指令。Preferably, the network management module is further configured to, after receiving the IP address allocation instruction, determine whether there is a network virtual machine whose number of Ethernet service ports has not reached saturation, and if so, send the IP address to the network virtual machine The management instruction, if not, create a new network virtual machine, connect to the Ethernet management port of the network virtual machine through the management network, and send the management instruction to the network virtual machine.

优选地,每一个所述网络虚拟机,进一步用于在确定与其相连的业务网后,为所述确定与其相连的业务网添加至少一个虚拟机端口组,将不同的所述虚拟机端口组与不同的业务虚拟机的网卡相连。Preferably, each of the network virtual machines is further configured to add at least one virtual machine port group to the service network determined to be connected to it after determining the business network connected to it, and combine different virtual machine port groups with The network cards of different service virtual machines are connected.

优选地,每一个所述网络虚拟机,用于获取通过业务网与其相连的各个所述业务虚拟机的网卡的MAC地址,为每一个所述MAC地址分配不同的IP地址,形成MAC地址与IP地址绑定的分配指令,并将各个所述分配指令发送至MAC地址对应的所述业务虚拟机。Preferably, each of the network virtual machines is used to obtain the MAC address of the network card of each of the service virtual machines connected to it through the service network, and assign a different IP address to each of the MAC addresses to form a MAC address and an IP address. An allocation instruction for address binding, and sending each of the allocation instructions to the service virtual machine corresponding to the MAC address.

优选地,所述管理网与所述业务网被隔离为不同的网段;Preferably, the management network and the service network are separated into different network segments;

或,or,

所述管理网与所述业务网使用同一段子网。The management network and the service network use the same segment of subnet.

本发明实施例还提供了一种网络虚拟机,包括:接收单元、确定单元、分配单元及发送单元;The embodiment of the present invention also provides a network virtual machine, including: a receiving unit, a determining unit, an allocating unit, and a sending unit;

所述接收单元,用于接收管理指令;The receiving unit is configured to receive management instructions;

所述确定单元,用于根据所述接收单元接收到的管理指令,确定目标业务网;The determining unit is configured to determine the target service network according to the management instruction received by the receiving unit;

所述分配单元,用于对与所述确定单元确定的目标业务网相连的各个业务虚拟机分配IP地址,形成对应的分配指令;The allocation unit is configured to allocate IP addresses to each service virtual machine connected to the target service network determined by the determination unit, and form a corresponding allocation instruction;

所述发送单元,用于将所述分配单元形成的各个所述分配指令发送至对应的所述业务虚拟机。The sending unit is configured to send each of the allocation instructions formed by the allocation unit to the corresponding service virtual machine.

优选地,该网络虚拟机进一步包括:添加单元;Preferably, the network virtual machine further includes: an adding unit;

所述添加单元,用于在所述确定单元确定目标业务网后,为所述目标业务网添加至少一个虚拟机端口组,通过不同的所述虚拟机端口组与不同的业务虚拟机的网卡相连。The adding unit is configured to add at least one virtual machine port group to the target service network after the determining unit determines the target service network, and connect to network cards of different service virtual machines through different virtual machine port groups .

优选地,所述分配单元,用于获取各个所述业务虚拟机的网卡的MAC地址,为每一个所述MAC地址分配不同的IP地址,形成MAC地址与IP地址绑定的分配指令;Preferably, the allocation unit is configured to acquire the MAC addresses of the network cards of each of the service virtual machines, allocate different IP addresses to each of the MAC addresses, and form an allocation instruction for binding MAC addresses and IP addresses;

所述发送单元,用于将各个所述分配指令发送至MAC地址对应的所述业务虚拟机。The sending unit is configured to send each of the allocation instructions to the service virtual machine corresponding to the MAC address.

本发明实施例还提供了一种虚拟机IP地地址分配的方法,包括:The embodiment of the present invention also provides a method for allocating virtual machine IP addresses, including:

获取外部IP地址分配指令;Obtain an external IP address allocation instruction;

根据所述IP地址分配指令,发出管理指令;issuing a management instruction according to the IP address allocation instruction;

根据所述管理指令,确定目标业务网;Determine the target service network according to the management instruction;

为与所述目标业务网相连的各个业务虚拟机分配IP地址,形成分配指令;Allocating IP addresses for each service virtual machine connected to the target service network to form an allocation instruction;

将所述分配指令发送至对应的所述业务虚拟机;sending the allocation instruction to the corresponding service virtual machine;

所述业务虚拟机根据所述分配指令,获取对应的IP地址。The service virtual machine obtains a corresponding IP address according to the allocation instruction.

优选的,在所述根据所述管理指令,确定目标业务网之后,并在所述为与所述目标业务网相连的各个业务虚拟机分配IP地址,形成分配指令之前,进一步包括:为所述目标业务网添加至少一个虚拟机端口组,将不同的所述业务虚拟机的网卡与不同的其所述虚拟机端口组相连。Preferably, after the target service network is determined according to the management instruction, and before allocating IP addresses to each service virtual machine connected to the target service network to form an allocation instruction, it further includes: The target service network adds at least one virtual machine port group, and connects network cards of different service virtual machines to different virtual machine port groups.

优选地,所述为与所述目标业务网相连的各个虚拟机分配IP地址,形成分配指令包括:获取各个所述业务虚拟机的网卡的MAC地址,为每一个所述MAC地址分配不同的IP地址,形成MAC地址与IP地址绑定的分配指令;Preferably, assigning IP addresses to each virtual machine connected to the target service network, and forming an assignment instruction includes: obtaining the MAC addresses of the network cards of each of the service virtual machines, and assigning different IP addresses to each of the MAC addresses. Address, forming an allocation instruction for binding the MAC address and the IP address;

所述将所述分配指令发送子至对应的所述业务虚拟机包括:将各个所述分配指令发送至MAC地址对应的所述业务虚拟机。The sending the allocation instruction to the corresponding service virtual machine includes: sending each allocation instruction to the service virtual machine corresponding to the MAC address.

本发明实施例提供了一种虚拟机IP地址分配的系统、方法及网络虚拟机,网络管理模块通过管理网与至少一个网络虚拟机相连,每一个网络虚拟机与至少一个业务网相连,每一个业务网连接有至少一个业务虚拟机,当网络管理模块接收到分虚拟机IP地址的指令后,通过管理网向网络虚拟机发送管理指令,网络虚拟机在接收到管理指令后,确定与其相连的业务网,各个业务虚拟机连接于该业务网上,网络虚拟机为连接于该业务上的各个业务虚拟机分配IP地址,形成分配指令,网络虚拟机通过业务网将分配指令发送至各个业务虚拟机,各个业务虚拟机根据接收到的分配指令,获取对应的IP地址,从而完成业务虚拟机IP地址的分配,这样,当接收到IP地址分配指令后,实现自动为各个虚拟机分配IP地址,无需人工依次登入各个虚拟机进行设置,提高了虚拟机IP地址分配工作的效率。Embodiments of the present invention provide a system and method for assigning virtual machine IP addresses and a network virtual machine. The network management module is connected to at least one network virtual machine through a management network, and each network virtual machine is connected to at least one service network. There is at least one service virtual machine connected to the service network. After the network management module receives the instruction of assigning the IP address of the virtual machine, it sends a management instruction to the network virtual machine through the management network. After receiving the management instruction, the network virtual machine determines the Service network, each service virtual machine is connected to the service network, and the network virtual machine allocates IP addresses for each service virtual machine connected to the service to form an allocation instruction, and the network virtual machine sends the allocation instruction to each service virtual machine through the service network , each business virtual machine obtains the corresponding IP address according to the received allocation instruction, so as to complete the allocation of the IP address of the business virtual machine, so that after receiving the IP address allocation instruction, the IP address is automatically assigned to each virtual machine without Manually log in to each virtual machine in turn to set up, which improves the efficiency of virtual machine IP address assignment.

附图说明Description of drawings

图1是本发明一个实施例提供的一种虚拟机IP地址分配的系统示意图;FIG. 1 is a schematic diagram of a virtual machine IP address allocation system provided by an embodiment of the present invention;

图2是本发明一个实施例提供的一种网络虚拟机的示意图;Fig. 2 is a schematic diagram of a network virtual machine provided by an embodiment of the present invention;

图3是本发明一个实施例提供的一种虚拟机IP地址分配的方法流程图;FIG. 3 is a flowchart of a method for assigning a virtual machine IP address according to an embodiment of the present invention;

图4是本发明另一个实施例提供的一种虚拟机IP地址分配的方法流程图。Fig. 4 is a flowchart of a method for assigning a virtual machine IP address according to another embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

如图1所示,本发明一个实施例提供了一种虚拟机IP地址分配的系统,包括:网络管理模块101、管理网102、至少一个网络虚拟机103、至少一个业务网104及至少一个业务虚拟机105;As shown in Figure 1, an embodiment of the present invention provides a system for assigning virtual machine IP addresses, including: a network management module 101, a management network 102, at least one network virtual machine 103, at least one service network 104, and at least one service network virtual machine 105;

所述网络管理模块101通过所述管理网102与所述至少一个网络虚拟机103相连;The network management module 101 is connected to the at least one network virtual machine 103 through the management network 102;

每一个网络虚拟机103与至少一个业务网104相连,每一个业务网104连接有至少一个业务虚拟机105;Each network virtual machine 103 is connected to at least one service network 104, and each service network 104 is connected to at least one service virtual machine 105;

所述网络管理模块101,用于根据外部IP地址分配指令,发出管理指令;The network management module 101 is configured to issue a management command according to an external IP address allocation command;

所述管理网102,用于传输所述管理指令;The management network 102 is configured to transmit the management instruction;

每一个所述网络虚拟机103,用于在接收到所述管理指令时,根据所述管理指令,确定与其相连的所述业务网104,并为与所确定的所述业务网104相连的各个所述业务虚拟机105分配IP地址,形成分配指令,并发送所述分配指令;Each of the network virtual machines 103 is configured to, when receiving the management instruction, determine the service network 104 connected to it according to the management instruction, and provide information for each service network 104 connected to the determined service network 104 The service virtual machine 105 allocates an IP address, forms an allocation instruction, and sends the allocation instruction;

每一个所述业务网104,用于传输所述分配指令;Each of the service networks 104 is configured to transmit the allocation instruction;

所述业务虚拟机105,用于根据接收到的所述分配指令,获取对应的IP地址。The service virtual machine 105 is configured to obtain a corresponding IP address according to the received allocation instruction.

本发明实施例提供了一种虚拟机IP地址分配的系统,网络管理模块通过管理网与至少一个网络虚拟机相连,每一个网络虚拟机与至少一个业务网相连,每一个业务网连接有至少一个业务虚拟机,当网络管理模块接收到分虚拟机IP地址的指令后,通过管理网向网络虚拟机发送管理指令,网络虚拟机在接收到管理指令后,确定与其相连的业务网,各个业务虚拟机连接于该业务网上,网络虚拟机为连接于该业务上的各个业务虚拟机分配IP地址,形成分配指令,网络虚拟机通过业务网将分配指令发送至各个业务虚拟机,各个业务虚拟机根据接收到的分配指令,获取对应的IP地址,从而完成业务虚拟机IP地址的分配,这样,当接收到IP地址分配指令后,实现自动为各个虚拟机分配IP地址,无需人工依次登入各个虚拟机进行设置,提高了虚拟机IP地址分配工作的效率。The embodiment of the present invention provides a virtual machine IP address allocation system, the network management module is connected to at least one network virtual machine through the management network, each network virtual machine is connected to at least one service network, and each service network is connected to at least one For the service virtual machine, when the network management module receives the command of the IP address of the virtual machine, it sends a management command to the network virtual machine through the management network. After receiving the management command, the network virtual machine determines the business network connected to it, and each business virtual machine connected to the service network, the network virtual machine assigns IP addresses to each service virtual machine connected to the service to form an allocation instruction, and the network virtual machine sends the allocation instruction to each service virtual machine through the service network, and each service virtual machine according to The received allocation command obtains the corresponding IP address, thereby completing the allocation of the IP address of the business virtual machine. In this way, when the IP address allocation command is received, the IP address is automatically allocated to each virtual machine, and there is no need to manually log in to each virtual machine in turn. After setting, the efficiency of virtual machine IP address assignment is improved.

在本发明一个实施例中,每一个网络虚拟机包括一个以太网管理端口和多个以太网业务端口,网络虚拟机通过自身的以太网管理端口与管理网相连,进而与网络管理模块相连,并且,网络虚拟机通过自身不同的以太网业务端口与不同的业务网相连,当网络管理模块接收到IP地址分配指令后,确定一个目标网络虚拟机,通过管理网及目标网络虚拟机的以太网管理端口,将管理指令发送给目标网络虚拟机,目标网络虚拟机在接收到管理指令后,确定一个通过以太网业务端口与其相连的目标业务网,该目标业务网与各个待分配IP地址的业务虚拟机相连,目标网络虚拟机通过目标业务网向各个待分配IP地址的业务虚拟机发送分配指令,通过这种方式创建星型网络拓扑,实现多个业务网上的虚拟机的统一管理,并且易于扩展更多的虚拟机,提高了虚拟及IP地址分配的总体控制能力。In one embodiment of the present invention, each network virtual machine includes an Ethernet management port and multiple Ethernet service ports, and the network virtual machine is connected to the management network through its own Ethernet management port, and then connected to the network management module, and , the network virtual machine is connected to different service networks through its own different Ethernet service ports. When the network management module receives the IP address allocation command, it determines a target network virtual machine, and manages the target network virtual machine through the management network and the Ethernet of the target network virtual machine. port, to send the management command to the target network virtual machine. After receiving the management command, the target network virtual machine determines a target service network connected to it through the Ethernet service port. The target network virtual machine sends allocation instructions to each service virtual machine to be assigned an IP address through the target service network. In this way, a star network topology is created to realize unified management of virtual machines on multiple service networks, and it is easy to expand More virtual machines increase overall control over virtual and IP address allocation.

在本发明一个实施例中,为每个网络虚拟机的以太网业务端口个数设置一个最大值,当以太网业务端口达到该最大值时,网络虚拟机的以太网业务端口个数达到饱和状态,当网络管理模块接收到IP地址分配指令后,网络管理模块判断当前通过管理网与其相连的各个网络虚拟机中是否存在以太网业务端口个数没有达到饱和状态的网络虚拟机,如果存在,将管理指令发送给该以太网业务端口个数没有达到饱和状态的网络虚拟机,由该网络虚拟机为业务虚拟机分配IP地址,如果不存在,则由网络管理模块创建一个新的网络虚拟机,将该新创建的网络虚拟机自身的以太网管理端口与管理网相连,网络管理模块将管理指令发送给该新创建的网络虚拟机,这样避免一个网络虚拟机连接过多的业务网时,由于网络阻塞导致虚拟机IP地址分配异常的情况发生,提高了虚拟机IP地址分配的稳定性。In one embodiment of the present invention, a maximum value is set for the number of Ethernet service ports of each network virtual machine, and when the Ethernet service port reaches the maximum value, the number of Ethernet service ports of the network virtual machine reaches a saturated state , when the network management module receives the IP address allocation instruction, the network management module judges whether there is a network virtual machine whose number of Ethernet service ports has not reached the saturation state in each network virtual machine connected to it through the management network. If it exists, it will The management instruction is sent to the network virtual machine whose number of Ethernet service ports has not reached the saturation state, and the network virtual machine allocates an IP address for the service virtual machine. If it does not exist, a new network virtual machine is created by the network management module. The Ethernet management port of the newly created network virtual machine itself is connected with the management network, and the network management module sends management instructions to the newly created network virtual machine, so as to prevent a network virtual machine from being connected to too many service networks. Network congestion leads to abnormal allocation of virtual machine IP addresses, which improves the stability of virtual machine IP address allocation.

在本发明一个实施例中,在网络虚拟机确定与其相连的业务网后,网络虚拟机为该业务网添加虚拟机端口组,虚拟机端口组的个数与待分配IP地址的业务虚拟机的网卡的个数相同,虚拟机端口组添加完成后,将不同的虚拟机端口组与不同的业务虚拟机的网卡相连,这样,实现网络虚拟机与业务虚拟机的相连,并保证资源的有效利用。In one embodiment of the present invention, after the network virtual machine determines the service network connected to it, the network virtual machine adds a virtual machine port group for the service network. The number of network cards is the same. After the virtual machine port group is added, connect different virtual machine port groups to the network cards of different business virtual machines. .

在本发明一个实施例中,网络虚拟机通过业务网获取与其相连的各个业务虚拟机的网卡的MAC地址,为每一个MAC地址分配不同的IP地址,形成MAC地址与IP地址绑定的分配指令,并将各个分配指令发送至与MAC地址对应的业务虚拟机上,这样,保证分配给每个虚拟机的IP地址都是不同的,避免虚拟机IP地址冲突的情况发生,提高了虚拟机IP地址分配的准确性。In one embodiment of the present invention, the network virtual machine obtains the MAC address of the network card of each service virtual machine connected to it through the service network, and assigns a different IP address to each MAC address to form an allocation instruction for binding the MAC address and the IP address , and send each allocation command to the business virtual machine corresponding to the MAC address, so that the IP address assigned to each virtual machine is guaranteed to be different, avoiding the occurrence of virtual machine IP address conflicts, and improving the IP address of the virtual machine. Accuracy of address assignment.

在本发明一个实施例中,管理网与业务网可以隔离为不同的网段,即管理网与业务网不相连,也可以使用同一段子网,即管理网与业务网相连,这样可以满足不同的网络连接方式,以适应不同的使用领域,扩大了该虚拟机IP地址分配系统的使用范围。In one embodiment of the present invention, the management network and the service network can be separated into different network segments, that is, the management network and the service network are not connected, or the same subnet can be used, that is, the management network and the service network are connected, so that different requirements can be satisfied. The network connection mode is adapted to different fields of use, and the scope of use of the virtual machine IP address allocation system is expanded.

如图2所示,本发明一个实施例提供了一种网络虚拟机,包括:接收单元201、确定单元202、分配单元203及发送单元204;As shown in FIG. 2, an embodiment of the present invention provides a network virtual machine, including: a receiving unit 201, a determining unit 202, an allocating unit 203, and a sending unit 204;

所述接收单元201,用于接收管理指令;The receiving unit 201 is configured to receive a management instruction;

所述确定单元202;用于根据所述接收单元201接收到的管理指令,确定目标业务网;The determining unit 202 is configured to determine the target service network according to the management instruction received by the receiving unit 201;

所述分配单元203,用于对与所述确定单元202确定的目标业务网相连的各个业务虚拟机分配IP地址,形成对应的分配指令;The allocation unit 203 is configured to allocate an IP address to each service virtual machine connected to the target service network determined by the determination unit 202, and form a corresponding allocation instruction;

所述发送单元204,用于将所述分配单元203形成的各个所述分配指令发送至对应的所述业务虚拟机。The sending unit 204 is configured to send each of the allocation instructions formed by the allocation unit 203 to the corresponding service virtual machine.

本发明实施例提供了一种网络虚拟机,由接收单元接收管理指令,接收到管理指令后,由确定单元创建一个与发送单元相连的目标业务网,为与该目标业务网相连的各个业务虚拟机配置IP地址,形成对应的分配指令,发送单元将形成的分配指令发送至与目标业务网相连的各个业务虚拟机,通过这种方式,实现为虚拟机自动分配IP地址,无需通过人工逐个对虚拟机进行设置,提高了虚拟机IP地址分配工作的效率。The embodiment of the present invention provides a network virtual machine. The receiving unit receives the management instruction, and after receiving the management instruction, the determination unit creates a target service network connected to the sending unit, and serves as a virtual network for each service connected to the target service network. Configure the IP address of the virtual machine to form a corresponding allocation instruction, and the sending unit sends the formed allocation instruction to each service virtual machine connected to the target service network. The virtual machine is configured to improve the efficiency of the virtual machine IP address allocation work.

在本发明一个实施例中,网络虚拟机进一步还包括添加单元,在确定单元创建目标业务网完成后,添加单元为目标业务网添加虚拟机端口组,其中虚拟机端口组的数量与业务虚拟机的数量相同,将虚拟机端口组与业务虚拟机的网卡相连,其中一个虚拟机端口组对应一个虚拟机的网卡,这样通过业务网将各个业务虚拟机与网络虚拟机相连,并且保证每个业务虚拟机对应一个虚拟机端口组,实现资源的合理利用。In one embodiment of the present invention, the network virtual machine further includes an adding unit. After the determination unit completes creating the target service network, the adding unit adds a virtual machine port group for the target service network, wherein the number of virtual machine port groups is the same as that of the service virtual machine The number of virtual machine ports is the same, and the virtual machine port group is connected to the network card of the service virtual machine. One of the virtual machine port groups corresponds to the network card of a virtual machine. In this way, each service virtual machine is connected to the network virtual machine through the service network, and each service A virtual machine corresponds to a virtual machine port group to realize reasonable utilization of resources.

在本发明一个实施例中,分配单元获取与目标业务网相连的各个业务虚拟机的网卡的MAC地址,为每一个MAC地址分配一个IP地址,每个MAC地址对应不同的IP地址,将MAC地址与IP地址绑定,形成多个分配指令,发送单元将各个分配指令发送至MAC地址对应的业务虚拟机,进而业务虚拟机根据分配指令获取IP地址,完成虚拟机IP地址的分配,这样,可以保证每一个虚拟机的网卡对应一个IP地址,避免虚拟机网卡IP地址相同,导致虚拟机联网错误的情况出现,提高了虚拟机IP地址分配的准确性。In one embodiment of the present invention, the assignment unit acquires the MAC addresses of the network cards of the service virtual machines connected to the target service network, and assigns an IP address to each MAC address, each MAC address corresponds to a different IP address, and the MAC address Bind with the IP address to form multiple allocation instructions, and the sending unit sends each allocation instruction to the service virtual machine corresponding to the MAC address, and then the service virtual machine obtains the IP address according to the allocation instruction, and completes the allocation of the virtual machine IP address. In this way, it can Ensure that the network card of each virtual machine corresponds to an IP address, avoiding the same IP address of the network card of the virtual machine, resulting in a virtual machine networking error, and improving the accuracy of the IP address allocation of the virtual machine.

如图3所示,本发明一个实施例提供了一种虚拟机IP地址分配的方法流程图,包括:As shown in Figure 3, an embodiment of the present invention provides a flow chart of a method for assigning a virtual machine IP address, including:

步骤301:获取外部IP地址分配指令;Step 301: Obtain an external IP address allocation instruction;

步骤302:根据所述IP地址分配指令,发出管理指令;Step 302: Issue a management instruction according to the IP address assignment instruction;

步骤303:根据所述管理指令,确定目标业务网;Step 303: Determine the target service network according to the management instruction;

步骤304:为与所述目标业务网相连的各个业务虚拟机分配IP地址,形成分配指令;Step 304: assigning IP addresses to each service virtual machine connected to the target service network, and forming an assignment instruction;

步骤305:将所述分配指令发送至对应的所述业务虚拟机;Step 305: Send the allocation instruction to the corresponding service virtual machine;

步骤306:所述业务虚拟机根据所述分配指令,获取对应的IP地址。Step 306: The service virtual machine obtains the corresponding IP address according to the allocation instruction.

本发明实施例提供了一种虚拟机IP地址分配的方法,接收到分配IP地址的指令后,生成管理指令,根据管理指令,为业务虚拟机确定一个业务网,通过业务网为与该业务网相连的各个业务虚拟机分配IP地址,将分配的结果形成分配指令,通过业务网将各个分配指令发送至对应的业务虚拟机,业务虚拟机根据接收到的分类指令,获取对应的IP地址,从而实现虚拟机IP地址的自动分配,无需人工逐个对虚拟机进行配置,提高了虚拟机IP地址分配工作的效率。The embodiment of the present invention provides a method for assigning a virtual machine IP address. After receiving the instruction for assigning an IP address, a management instruction is generated. According to the management instruction, a service network is determined for the service virtual machine, and the service network is connected to the service network through the service network. Each connected service virtual machine allocates an IP address, forms the allocation result into an allocation instruction, and sends each allocation instruction to the corresponding service virtual machine through the service network, and the service virtual machine obtains the corresponding IP address according to the received classification instruction, thereby Realize the automatic allocation of virtual machine IP addresses, without manually configuring virtual machines one by one, which improves the efficiency of virtual machine IP address allocation.

在本发明一个实施例中,在创建好对应的目标业务网之后,在该目标业务网上添加虚拟机端口组,虚拟机端口组的数量与待分配IP地址的业务虚拟机的网卡的个数相同,每个虚拟机端口对应一个业务虚拟机的网卡,与业务虚拟机的网卡相连,实现与业务虚拟机的连接,保证资源的合理利用。In one embodiment of the present invention, after creating the corresponding target service network, add a virtual machine port group on the target service network, the number of virtual machine port groups is the same as the number of network cards of the service virtual machines to be assigned IP addresses , each virtual machine port corresponds to a network card of a service virtual machine, and is connected to the network card of the service virtual machine to realize the connection with the service virtual machine and ensure the rational utilization of resources.

在本发明一个实施例中,通过目标业务网获取各个待分配IP地址业务虚拟机的网卡的MAC地址,为每个MAC地址分配一个IP地址,其中每个MAC地址对应的IP地址均不相同,形成MAC地址与IP地址绑定的分配指令,将各个分配指令通过目标业务网发送至MAC地址对应的业务虚拟机,业务虚拟机根据接收到的分配指令获取对应的IP地址,从而实现虚拟机IP地址的分配,这样,可以保证每个虚拟机的网卡的IP地址均不相同,避免由于IP地址相同导致虚拟机联网异常的情况出现,提高了虚拟机IP地址分配的准确性。In one embodiment of the present invention, the MAC addresses of the network cards of the service virtual machines to be assigned IP addresses are obtained through the target service network, and an IP address is allocated to each MAC address, wherein the IP addresses corresponding to each MAC address are different. Form the allocation instruction binding MAC address and IP address, and send each allocation instruction to the service virtual machine corresponding to the MAC address through the target service network, and the service virtual machine obtains the corresponding IP address according to the received allocation instruction, so as to realize the virtual machine IP The allocation of addresses, in this way, can ensure that the IP addresses of the network cards of each virtual machine are different, avoiding the occurrence of abnormal networking of virtual machines due to the same IP address, and improving the accuracy of IP address allocation of virtual machines.

为使本发明的目的、技术方案和优点更加清楚,下面结合图1所示的本发明实施例提供的虚拟机IP地址分配的系统,对虚拟机IP地址分配的方法作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present invention more clear, the method for allocating virtual machine IP addresses will be further described in detail below in conjunction with the system for allocating virtual machine IP addresses provided by the embodiment of the present invention shown in FIG. 1 .

如图4所示,本发明一个实施例提供了一种虚拟机IP地址分配的方法,包括:As shown in Figure 4, an embodiment of the present invention provides a method for assigning a virtual machine IP address, including:

步骤401:网络管理模块接收外部IP地址分配指令;Step 401: the network management module receives an external IP address assignment instruction;

在本发明一个实施例中,当创建新虚拟机完成后,需要对新创建的虚拟机分配IP地址时,用户向网络管理模块发出IP地址分配指令。例如,新创建了100个虚拟机,分别为虚拟机1至虚拟机100,用户向网络管理模块发出为这100个虚拟机分配IP地址的指令。In one embodiment of the present invention, when the new virtual machine needs to be allocated an IP address after the creation of the new virtual machine is completed, the user sends an IP address allocation instruction to the network management module. For example, 100 virtual machines are newly created, namely virtual machine 1 to virtual machine 100, and the user sends an instruction to the network management module to allocate IP addresses for the 100 virtual machines.

步骤402:网络管理模块判断是否存在以太网业务端口个数未达到饱和状态的网络虚拟机,如果是,执行步骤403,否则执行步骤404;Step 402: The network management module judges whether there is a network virtual machine whose number of Ethernet service ports has not reached the saturation state, if yes, execute step 403, otherwise execute step 404;

在本发明一个实施例中,设置每个网络虚拟机对应以太网业务端口的最大个数,当网络虚拟机对应的以太网业务端口的个数达到最大个数时,该网络虚拟机对应的以太网业务端口个数达到饱和状态,由网络管理模块判断是否存在以太网业务端口个数未达到饱和状态的网络虚拟机,如果存在,说明现有网络虚拟机上还能够设置以太网业务端口,可以在现有网络虚拟机上创建业务网,相应的执行步骤403,如果不存在,说明现有网络虚拟机不能再设置以太网业务端口,需要创建新的网络虚拟机,相应的执行步骤404。例如,设置网络虚拟机对应以太网业务端口的最大个数为5个,当前共有2个网络虚拟机通过管理网与网络管理模块相连,分别为网络虚拟机1和网络虚拟机2,如果网络虚拟机1和网络虚拟机2上均设置有5个以太网业务端口,由于网络虚拟机1和网络虚拟机2对应的以太网业务端口个数均达到饱和状态,当前网络虚拟机无法在设置以太网业务端口,相应的执行步骤404,如果网络虚拟机1上设置的以太网业务端口的个数为5个,网络虚拟机2上设置的以太网业务端口的个数为3个,由于网络虚拟机2对应的以太网业务端口个数未达到饱和状态,可以在网络虚拟机2上继续设置以太网业务端口,相应的执行步骤403。In one embodiment of the present invention, the maximum number of Ethernet service ports corresponding to each network virtual machine is set, and when the number of Ethernet service ports corresponding to the network virtual machine reaches the maximum number, the Ethernet service ports corresponding to the network virtual machine If the number of network service ports reaches saturation, the network management module judges whether there is a network virtual machine whose number of Ethernet service ports has not reached saturation. To create a service network on the existing network virtual machine, correspondingly execute step 403. If it does not exist, it means that the existing network virtual machine cannot be configured with an Ethernet service port, and a new network virtual machine needs to be created, and correspondingly execute step 404. For example, set the maximum number of Ethernet service ports corresponding to the network virtual machine to 5. There are currently two network virtual machines connected to the network management module through the management network, namely network virtual machine 1 and network virtual machine 2. If the network virtual machine There are five Ethernet service ports on both machine 1 and network virtual machine 2. Since the number of Ethernet service ports corresponding to network virtual machine 1 and network virtual machine 2 is saturated, the current network virtual machine cannot Service ports, correspondingly execute step 404, if the number of Ethernet service ports set on the network virtual machine 1 is 5, and the number of Ethernet service ports set on the network virtual machine 2 is 3, because the network virtual machine 2. The number of corresponding Ethernet service ports has not reached the saturation state, and the Ethernet service ports can be continued to be set on the network virtual machine 2, and step 403 is executed correspondingly.

步骤403:将以太网业务端口个数未达到饱和状态的网络虚拟机作为目标网络虚拟机,网络管理模块向目标网络虚拟机发送管理指令,并执行步骤405;Step 403: Taking the network virtual machine whose number of Ethernet service ports is not saturated as the target network virtual machine, the network management module sends a management instruction to the target network virtual machine, and executes step 405;

在本发明一个实施例中,如果当前与网络管理模块相连的各个网络虚拟机中包括对应以太网业务端口个数未达到饱和状态的网络虚拟机,将以太网业务端口个数未达到饱和状态的网络虚拟机作为目标网络虚拟机,网络管理模块根据接收到的外部IP地址分配指令,向目标网络虚拟机发送管理指令,并相应的执行步骤405。例如,网络虚拟机2上设置的以太网业务端口的个数为3个,网络虚拟机2对应的以太网业务端口个数未达到饱和状态,将网络虚拟机2作为目标网络虚拟机,网络管理模块向网络虚拟机2发送为100个虚拟机分配IP地址的管理指令。In one embodiment of the present invention, if each network virtual machine currently connected to the network management module includes a network virtual machine whose number of corresponding Ethernet service ports has not reached a saturated state, the network virtual machine whose number of Ethernet service ports has not reached a saturated state The network virtual machine serves as the target network virtual machine, and the network management module sends a management command to the target network virtual machine according to the received external IP address assignment command, and executes step 405 accordingly. For example, the number of Ethernet service ports set on the network virtual machine 2 is 3, and the number of Ethernet service ports corresponding to the network virtual machine 2 is not saturated, and the network virtual machine 2 is used as the target network virtual machine. The module sends a management instruction to allocate IP addresses for 100 virtual machines to the network virtual machine 2.

步骤404:网络管理模块创建一个新的网络虚拟机,将新创建的网络虚拟机作为目标网络虚拟机,向目标网络虚拟机发送管理指令。Step 404: the network management module creates a new network virtual machine, uses the newly created network virtual machine as a target network virtual machine, and sends a management instruction to the target network virtual machine.

在本发明一个实施例中,如果当前与网络管理模块相连的各个网络虚拟机对应的以太网业务端口个数均达到饱和状态,网络管理模块创建一个新的网络虚拟机作为目标网络虚拟机,该新创建的网络虚拟机通过自身的以太网管理端口及管理网,与网络管理模块相连,在创建完成后,网络管理模块向该目标网络虚拟机发送管理指令。例如,网络虚拟机1和网络虚拟机2上均设置有5个以太网业务端口,网络虚拟机1和网络虚拟机2对应的以太网业务端口个数均达到饱和状态,无法在网络虚拟机1或网络虚拟机2上设置新的以太网业务端口,网络管理模块创建一个新的网络虚拟机3作为目标网络虚拟机,网络虚拟机3通过自身的以太网管理端口与管理网相连,进而与网络管理模块相连,网络虚拟机3创建完成后,网络管理模块向网络虚拟机3发送为100虚拟机分配IP地址的管理指令。In one embodiment of the present invention, if the number of Ethernet service ports corresponding to each network virtual machine currently connected to the network management module reaches a saturated state, the network management module creates a new network virtual machine as the target network virtual machine, which The newly created network virtual machine is connected to the network management module through its own Ethernet management port and management network. After the creation is completed, the network management module sends a management command to the target network virtual machine. For example, five Ethernet service ports are set on both network virtual machine 1 and network virtual machine 2, and the number of Ethernet service ports corresponding to network virtual machine 1 and network virtual machine Or set a new Ethernet service port on the network virtual machine 2, and the network management module creates a new network virtual machine 3 as the target network virtual machine, and the network virtual machine 3 is connected to the management network through its own Ethernet management port, and then connected to the network The management modules are connected, and after the network virtual machine 3 is created, the network management module sends a management command to the network virtual machine 3 to allocate IP addresses for 100 virtual machines.

步骤405:目标网络虚拟机根据管理指令,创建与其以太网业务端口相连的目标业务网。Step 405: The target network virtual machine creates a target service network connected to its Ethernet service port according to the management instruction.

在本发明一个实施例中,当目标网络虚拟机接收到网络管理模块发送的管理指令后,根据管理指令,创建一个与其相连的目标业务网,并在自身上设置一个新的以太网业务端口,新创建的目标业务网通过新设置的以太网业务端口与目标网络虚拟机相连。例如,为方便描述,后文将以太网业务端口个数未达到饱和状态的网络虚拟机2和新创建的网络虚拟机3统称为网络虚拟机4,由网络虚拟机4创建一个新的业务网1,网络虚拟机4在其自身上设置一个新的以太网业务端口,业务网1通过该以太网业务端口与网络虚拟机4相连。In one embodiment of the present invention, after the target network virtual machine receives the management instruction sent by the network management module, according to the management instruction, create a target service network connected to it, and set a new Ethernet service port on itself, The newly created target service network is connected to the target network virtual machine through the newly set Ethernet service port. For example, for the convenience of description, the network virtual machine 2 whose number of Ethernet service ports has not reached saturation and the newly created network virtual machine 3 are collectively referred to as network virtual machine 4, and a new service network created by network virtual machine 4 1. The network virtual machine 4 sets a new Ethernet service port on itself, and the service network 1 is connected to the network virtual machine 4 through the Ethernet service port.

步骤406:目标网络虚拟机为目标业务网添加虚拟机端口组,并将待分配IP地址的业务虚拟机的网卡与虚拟机端口组相连。Step 406: The target network virtual machine adds a virtual machine port group to the target service network, and connects the network card of the service virtual machine to be assigned an IP address to the virtual machine port group.

在本发明一个实施例中,目标网络虚拟机将目标业务网创建完成后,目标网络虚拟机根据网络管理模块发送的管理指令,在目标业务网上添加虚拟机端口组,虚拟机端口组的个数与业务虚拟机的个数相同,在虚拟机端口组添加完成之后,将虚拟机端口组与业务虚拟机的网卡相连,一个虚拟机端口组对应一个业务虚拟机的网卡。例如,网络虚拟机4根据网络管理模块发送来的为100个虚拟机分配IP地址的管理指令,在业务网1上添加100个虚拟机端口组,分别为虚拟机端口组1至虚拟机端口组100,虚拟机1至虚拟机100每个虚拟机上都包括一个网卡,将虚拟机端口组1至虚拟机端口组100分别与虚拟机1至虚拟机100的网卡相连,每个虚拟机端口组对应一个虚拟机,将100个虚拟机通过各自的网卡及对应的虚拟机端口组与业务网相连。In one embodiment of the present invention, after the target network virtual machine has created the target service network, the target network virtual machine adds a virtual machine port group on the target service network according to the management instruction sent by the network management module, and the number of virtual machine port groups The number of service virtual machines is the same. After the virtual machine port group is added, connect the virtual machine port group to the network card of the service virtual machine. A virtual machine port group corresponds to a network card of a service virtual machine. For example, network virtual machine 4 adds 100 virtual machine port groups to service network 1 according to the management instruction sent by the network management module to assign IP addresses to 100 virtual machines, which are respectively virtual machine port group 1 to virtual machine port group 100. Each virtual machine from virtual machine 1 to virtual machine 100 includes a network card. Connect virtual machine port group 1 to virtual machine port group 100 to the network cards of virtual machine 1 to virtual machine 100 respectively. Each virtual machine port group Corresponding to one virtual machine, connect 100 virtual machines to the service network through their respective network cards and corresponding virtual machine port groups.

步骤407:网络管理模块从自身的IP地址库中选取对应数量的未被占用IP地址发送给目标网络虚拟机,并将选中的未被占用IP地址标识为已被占用。Step 407: The network management module selects a corresponding number of unoccupied IP addresses from its own IP address library and sends them to the target network virtual machine, and marks the selected unoccupied IP addresses as occupied.

在本发明一个实施例中,网络管理模块上包括IP地址库,IP地址库中包括所有已被占用IP地址和未被占用IP地址,网络管理模块从IP地址库中选择与待分配IP地址虚拟机的网卡个数相同的未被占用IP地址,将被选中的各个IP地址通过管理网发送给目标网络虚拟机,在发送完成后,网络管理模块将被选中的各个未被占用IP标识为已被占用。例如,网络管理模块从IP地址库中选出100个未被占用IP地址,分别为IP地址1至IP地址100,将这100个未被占用IP地址发送给网络虚拟机4,在发送完成之后,网络管理模块将这100个未被占用IP地址标识为已被占用。In one embodiment of the present invention, the network management module includes an IP address library, and the IP address library includes all occupied IP addresses and unoccupied IP addresses, and the network management module selects from the IP address library the IP address virtual address to be allocated. The number of unoccupied IP addresses with the same number of network cards on the machine will be sent to the target network virtual machine through the management network. After the sending is completed, the network management module will mark the selected unoccupied IP addresses as occupied Occupied. For example, the network management module selects 100 unoccupied IP addresses from the IP address library, which are IP address 1 to IP address 100, and sends these 100 unoccupied IP addresses to the network virtual machine 4. After the sending is completed , the network management module identifies the 100 unoccupied IP addresses as already occupied.

步骤408:目标网络虚拟机获取各个业务虚拟机的网卡的MAC地址,为每一个MAC地址分配一个IP地址,形成MAC地址与IP地址绑定的分配指令。Step 408: The target network virtual machine obtains the MAC addresses of the network cards of each service virtual machine, and assigns an IP address to each MAC address, forming an assignment instruction for binding the MAC address and the IP address.

在本发明一个实施例中,目标网络虚拟机通过目标业务网获取各个业务虚拟机的网卡的MAC地址,将网络管理模块发送来的IP地址分配给各个MAC地址,每个MAC地址对应一个IP地址,将每个MAC地址及与其配对的IP地址进行绑定,形成MAC地址与IP地址绑定的分配指令。例如,网络虚拟机4通过目标业务网获取虚拟机1至虚拟机100上各个网卡的MAC地址,共获取到100个MAC地址,分别为MAC地址1至MAC地址100,分别对应于虚拟机1至虚拟机100上的网卡,将网络管理模块发送来的100个IP地址分配各这100个MAC地址,MAC地址1至MAC地址100分别对应IP地址1至IP地址100,将配对后的MAC地址与IP地址进行绑定,形成MAC地址与IP地址绑定的分配指令,MAC地址1与IP地址1绑定形成分配指令1,MAC地址2与IP地址2绑定形成分配指令2,……,MAC地址100与IP地址100绑定形成分配指令100。In one embodiment of the present invention, the target network virtual machine obtains the MAC address of the network card of each service virtual machine through the target service network, and distributes the IP address sent by the network management module to each MAC address, and each MAC address corresponds to an IP address , binding each MAC address and its paired IP address to form an allocation instruction for binding the MAC address to the IP address. For example, network virtual machine 4 obtains the MAC addresses of each network card on virtual machine 1 to virtual machine 100 through the target service network, and obtains a total of 100 MAC addresses, which are respectively MAC address 1 to MAC address 100, corresponding to virtual machines 1 to 100 respectively. The network card on the virtual machine 100 assigns the 100 IP addresses sent by the network management module to each of the 100 MAC addresses. MAC addresses 1 to 100 correspond to IP addresses 1 to 100 respectively. The paired MAC addresses and IP addresses are bound to form an allocation instruction binding MAC address and IP address, MAC address 1 is bound to IP address 1 to form allocation instruction 1, MAC address 2 is bound to IP address 2 to form allocation instruction 2, ..., MAC Address 100 is bound with IP address 100 to form allocation instruction 100 .

步骤409:目标网络虚拟机将各个分配指令发送至对应业务虚拟机。Step 409: the target network virtual machine sends each allocation instruction to the corresponding service virtual machine.

在本发明一个实施例中,目标网络虚拟机根据各个分配指令对应的MAC地址,将各个分配指令通过目标业务网发送至MAC地址对应的网卡所在的业务虚拟机。例如,网络虚拟机4通过目标业务网,将分配指令1发送至MAC地址1对应的网卡所在的虚拟机1,将分配指令2发送至MAC地址2对应的网卡所在的虚拟机2,……,将分配指令100发送至MAC地址100对应的网卡所在的虚拟机100。In an embodiment of the present invention, the target network virtual machine sends each allocation command to the service virtual machine where the network card corresponding to the MAC address is located through the target service network according to the MAC address corresponding to each allocation command. For example, the network virtual machine 4 sends the allocation instruction 1 to the virtual machine 1 where the network card corresponding to the MAC address 1 is located through the target service network, and sends the allocation instruction 2 to the virtual machine 2 where the network card corresponding to the MAC address 2 is located, ..., The allocation instruction 100 is sent to the virtual machine 100 where the network card corresponding to the MAC address 100 is located.

步骤410:业务虚拟机根据目标网络虚拟机发送的分配指令,获取对应的IP地址。Step 410: The service virtual machine obtains the corresponding IP address according to the allocation instruction sent by the target network virtual machine.

在本发明一个实施例中,各个业务虚拟机在接收到目标虚拟机发送来的分配指令后,根据分配指令获取区中的IP地址,将该IP地址设置为对应网卡的IP地址。例如,虚拟机1在接收到网络虚拟机4发送来的分配指令1后,从中获取IP地址1,将IP地址1设置为虚拟机1上网卡的IP地址;虚拟机2在接收到网络虚拟机4发送来的分配指令2后,从中获取IP地址2,将IP地址2设置为虚拟机2上网卡的IP地址;……;虚拟机100在接收到网络虚拟机4发送来的分配指令100后,从中获取IP地址100,将IP地址100设置为虚拟机100上网卡的IP地址。In one embodiment of the present invention, each service virtual machine obtains the IP address in the area according to the allocation instruction after receiving the assignment instruction sent by the target virtual machine, and sets the IP address as the IP address of the corresponding network card. For example, virtual machine 1 obtains IP address 1 after receiving allocation instruction 1 sent by network virtual machine 4, and sets IP address 1 as the IP address of the network card of virtual machine 1; 4 After the allocation command 2 is sent, obtain the IP address 2 from it, and set the IP address 2 as the IP address of the network card of the virtual machine 2; ...; after the virtual machine 100 receives the allocation command 100 sent by the network virtual machine 4 , obtain the IP address 100 from it, and set the IP address 100 as the IP address of the network card of the virtual machine 100.

需要说明的是,当业务虚拟机停止使用并释放IP地址时,网络虚拟机解除要释放IP地址虚拟机的网卡的MAC地址与IP地址的绑定,网络管理模块将解除了绑定的IP地址标识为未被使用。It should be noted that when the service virtual machine stops using and releases the IP address, the network virtual machine releases the binding between the MAC address and the IP address of the network card of the virtual machine whose IP address is to be released, and the network management module releases the bound IP address Identified as unused.

进一步需要说明的是,管理网和业务网可以隔离为不同的网段,也可以使用同一段子网。It should be further noted that the management network and the service network may be separated into different network segments, or may use the same segment of subnet.

根据上述方案,本发明的实施例所提供的一种虚拟机IP地址分配的系统、方法及网络虚拟机,至少具有如下有益效果:According to the above solution, a system and method for assigning a virtual machine IP address and a network virtual machine provided in the embodiments of the present invention have at least the following beneficial effects:

1、本发明实施例中,网络管理模块通过管理网与至少一个网络虚拟机相连,每一个网络虚拟机与至少一个业务网相连,每一个业务网连接有至少一个业务虚拟机,当网络管理模块接收到分虚拟机IP地址的指令后,通过管理网向网络虚拟机发送管理指令,网络虚拟机在接收到管理指令后,确定与其相连的业务网,各个业务虚拟机连接于该业务网上,网络虚拟机为连接于该业务上的各个业务虚拟机分配IP地址,形成分配指令,网络虚拟机通过业务网将分配指令发送至各个业务虚拟机,各个业务虚拟机根据接收到的分配指令,获取对应的IP地址,从而完成业务虚拟机IP地址的分配,这样,当接收到IP地址分配指令后,实现自动为各个虚拟机分配IP地址,无需人工依次登入各个虚拟机进行设置,提高了虚拟机IP地址分配工作的效率。1. In the embodiment of the present invention, the network management module is connected to at least one network virtual machine through the management network, each network virtual machine is connected to at least one service network, and each service network is connected to at least one service virtual machine. When the network management module After receiving the instruction of sub-virtual machine IP address, the management instruction is sent to the network virtual machine through the management network. After receiving the management instruction, the network virtual machine determines the service network connected to it, and each service virtual machine is connected to the service network. The virtual machine allocates IP addresses for each service virtual machine connected to the service to form an allocation instruction. The network virtual machine sends the allocation instruction to each service virtual machine through the service network, and each service virtual machine obtains the corresponding IP address according to the received allocation instruction. In this way, after receiving the IP address assignment command, the IP address is automatically assigned to each virtual machine, and there is no need to manually log in to each virtual machine to set up, which improves the IP address of the virtual machine. Efficiency of address allocation work.

2、本发明实施例中,通过管理网、业务网将网络管理模块、网络虚拟机及业务虚拟机连接起来,形成星型网络拓扑,由总到分的管理构架,通过添加网络虚拟机和业务网可以扩展更多的业务虚拟机,便于对虚拟机IP地址的管理,提高对虚拟机IP地址管理的掌控性。2. In the embodiment of the present invention, the network management module, the network virtual machine and the service virtual machine are connected through the management network and the service network to form a star network topology, and the management framework from the total to the branch, by adding the network virtual machine and business The network can expand more business virtual machines, facilitate the management of virtual machine IP addresses, and improve the control of virtual machine IP address management.

3、本发明实施例中,每个网络虚拟机连接业务网的个数存在一个最大值,当达到该最大值时,网络虚拟机不能再继续连接业务网,需要创建新的网络虚拟机,这样,控制每一个网络虚拟机的数据流量,避免连接业务网个数太多,造成网络虚拟机IO数据阻塞,应用虚拟机IP地址分配工作的正常执行,提高了虚拟机IP地址分配的稳定性。3. In the embodiment of the present invention, there is a maximum value for the number of each network virtual machine connected to the service network. When the maximum value is reached, the network virtual machine cannot continue to connect to the service network, and a new network virtual machine needs to be created. , control the data flow of each network virtual machine, avoid too many connections to the business network, and cause network virtual machine IO data blockage, apply the normal execution of virtual machine IP address allocation, and improve the stability of virtual machine IP address allocation.

4、本发明实施例中,通过获取每个虚拟机网卡的MAC地址,为每个MAC地址分配不同的IP地址,由于MAC地址是虚拟机网卡唯一的标识,通过这种分配IP地址的方式,保证分配给每个虚拟机网卡的IP地址都是不同的,避免由于虚拟机网卡IP地址相同造成冲突,导致虚拟机联网异常的情况出现,提高了虚拟机IP地址分配的准确性。4. In the embodiment of the present invention, by obtaining the MAC address of each virtual machine network card, a different IP address is assigned to each MAC address. Since the MAC address is the unique identifier of the virtual machine network card, through this method of assigning an IP address, Ensure that the IP address assigned to each virtual machine network card is different, avoiding conflicts caused by the same virtual machine network card IP address, resulting in abnormal virtual machine networking, and improving the accuracy of virtual machine IP address allocation.

5、本发明实施例中,当网络管理模块将IP地址分配给虚拟机后,将分配出去的IP地址标识为已被使用,避免同一IP地址被重复使用造成IP地址冲突的情况发生,并且在虚拟机释放IP地址后,再次将IP地址标识为未被使用,这样可以实现IP地址的重复使用,合理利用资源。5. In the embodiment of the present invention, after the network management module assigns the IP address to the virtual machine, the assigned IP address is marked as being used, so as to avoid the occurrence of IP address conflicts caused by the repeated use of the same IP address, and After the virtual machine releases the IP address, it marks the IP address as unused again, so that the IP address can be reused and resources can be used reasonably.

6、本发明实施例中,管理网与业务网可以隔离为不同的网段,即管理网与业务网不相连,也可以使用同一段子网,即管理网与业务网相连,这样可以满足不同的网络连接方式,以适应不同的使用领域,扩大了该虚拟机IP地址分配系统的使用范围。6. In the embodiment of the present invention, the management network and the service network can be separated into different network segments, that is, the management network and the service network are not connected, or the same subnet can be used, that is, the management network and the service network are connected, so that different network segments can be satisfied. The network connection mode is adapted to different fields of use, and the scope of use of the virtual machine IP address allocation system is expanded.

需要说明的是,在本文中,诸如第一和第二之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个······”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同因素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or sequence. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional same elements in the process, method, article or apparatus comprising said element.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储在计算机可读取的存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质中。Those of ordinary skill in the art can understand that all or part of the steps to realize the above method embodiments can be completed by program instructions related hardware, and the aforementioned programs can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

最后需要说明的是:以上所述仅为本发明的较佳实施例,仅用于说明本发明的技术方案,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所做的任何修改、等同替换、改进等,均包含在本发明的保护范围内。Finally, it should be noted that: the above descriptions are only preferred embodiments of the present invention, and are only used to illustrate the technical solutions of the present invention, and are not used to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (10)

1. a system for virtual machine IP address assignment, is characterized in that, comprising: network management module, managerial grid, at least one network virtual machine, at least one service network and at least one business virtual machine;
Described network management module is connected with at least one network virtual machine described by described managerial grid;
Each network virtual machine is connected with at least one service network, and each service network is connected with at least one business virtual machine;
Described network management module, for according to outside ip address distribution instruction, sends supervisory instruction;
Described managerial grid, for transmitting described supervisory instruction;
Network virtual machine described in each, for when receiving described supervisory instruction, according to described supervisory instruction, determine coupled described service network, and for be connected with determined described service network each described in business virtual machine distributing IP address, form distribution instruction, and send described distribution instruction;
Service network described in each, for transmitting described distribution instruction;
Described business virtual machine, for according to the described distribution instruction received, obtains corresponding IP address.
2. system according to claim 1, it is characterized in that, each network virtual machine described is connected with described network management module by self ethernet management port, managerial grid, and, be connected from different service networks by self different Ethernet service port;
Described network management module, for after receiving described IP address assignment instruction, determines objective network virtual machine, by the ethernet management port of managerial grid, objective network virtual machine, supervisory instruction is sent to objective network virtual machine;
Each network virtual machine, for according to supervisory instruction, determines coupled target service net, by the Ethernet service port that is connected with target service net and target service net, distribution instruction is sent to each corresponding business virtual machine.
3. system according to claim 2, is characterized in that,
Described network management module, be further used for after receiving described IP address assignment instruction, judge whether to exist Ethernet service port number not reach capacity the network virtual machine of state, if, send described supervisory instruction to this network virtual machine, if not, create a new network virtual machine, be connected by the ethernet management port of managerial grid with this network virtual machine, and send described supervisory instruction to this network virtual machine.
4. system according to claim 1, is characterized in that,
Network virtual machine described in each, be further used for after determining coupled service network, determine that coupled service network adds at least one virtual machine port set for described, different described virtual machine port set is connected from the network interface card of different business virtual machines.
5. system according to claim 4, is characterized in that,
Network virtual machine described in each, for obtaining the MAC Address of the network interface card by business virtual machine described in coupled each of service network, for MAC Address described in each distributes different IP addresses, form the distribution instruction of MAC Address and IP address binding, and distribution instruction described in each is sent to described business virtual machine corresponding to MAC Address.
6., according to the arbitrary described system of claim 1 to 5, it is characterized in that,
Described managerial grid is isolated into the different network segments from described service network;
Or,
Described managerial grid and described service network use same cross-talk net.
7. a network virtual machine, is characterized in that, comprising: receiving element, determining unit, allocation units and transmitting element;
Described receiving element, for receiving management instruction;
Described determining unit, for the supervisory instruction received according to described receiving element, determines target service net;
Described allocation units, for each business virtual machine distributing IP address be connected with the target service net that described determining unit is determined, form corresponding distribution instruction;
Described transmitting element, for described allocation units are formed each described in distribution instruction be sent to corresponding described business virtual machine.
8. network virtual machine according to claim 7, is characterized in that, comprise further: adding device;
Described adding device, for after described determining unit determination target service net, for described target service net adds at least one virtual machine port set, is connected from the network interface card of different business virtual machines by different described virtual machine port set;
And/or,
Described allocation units, for obtaining the MAC Address of the network interface card of business virtual machine described in each, for MAC Address described in each distributes different IP addresses, form the distribution instruction of MAC Address and IP address binding;
Described transmitting element, for being sent to described business virtual machine corresponding to MAC Address by distribution instruction described in each.
9. a method for virtual machine IP address assignment, is characterized in that, comprising:
Obtain outside ip address distribution instruction;
According to described IP address assignment instruction, send supervisory instruction;
According to described supervisory instruction, determine target service net;
For each business virtual machine distributing IP address be connected with described target service net, form distribution instruction;
Described distribution instruction is sent to corresponding described business virtual machine;
Described business virtual machine, according to described distribution instruction, obtains corresponding IP address.
10. method according to claim 9, is characterized in that,
Described according to described supervisory instruction, after determining target service net, and described be each business virtual machine distributing IP address be connected with described target service net, before forming distribution instruction, comprise further: for described target service net adds at least one virtual machine port set, the network interface card of different described business virtual machines is connected from virtual machine port set described in different its;
And/or,
Described is each virtual machine distributing IP address be connected with described target service net, formation distribution instruction comprises: the MAC Address obtaining the network interface card of business virtual machine described in each, for MAC Address described in each distributes different IP addresses, form the distribution instruction of MAC Address and IP address binding;
The described described business virtual machine that described distribution instruction is sent son extremely corresponding comprises: distribution instruction described in each is sent to the described business virtual machine that MAC Address is corresponding.
CN201510588923.8A 2015-09-16 2015-09-16 System and method for allocating IP address for virtual machine and network virtual machine Pending CN105162897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510588923.8A CN105162897A (en) 2015-09-16 2015-09-16 System and method for allocating IP address for virtual machine and network virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510588923.8A CN105162897A (en) 2015-09-16 2015-09-16 System and method for allocating IP address for virtual machine and network virtual machine

Publications (1)

Publication Number Publication Date
CN105162897A true CN105162897A (en) 2015-12-16

Family

ID=54803649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510588923.8A Pending CN105162897A (en) 2015-09-16 2015-09-16 System and method for allocating IP address for virtual machine and network virtual machine

Country Status (1)

Country Link
CN (1) CN105162897A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713520A (en) * 2016-11-29 2017-05-24 上海斐讯数据通信技术有限公司 Method for configuring network addresses in batches, and terminal management system
CN107360041A (en) * 2017-08-18 2017-11-17 郑州云海信息技术有限公司 A kind of network management and device
CN108259634A (en) * 2017-07-14 2018-07-06 新华三云计算技术有限公司 A kind of virtual machine MAC Address multiplexing method and device
CN109697109A (en) * 2018-12-27 2019-04-30 深信服科技股份有限公司 A kind of method, system, device and the storage medium of Division identification conflict virtual machine
CN109729182A (en) * 2017-10-31 2019-05-07 中国电信股份有限公司 Network address assignment method, system and the VNFM of virtual network function
CN113162944A (en) * 2021-04-29 2021-07-23 杭州安恒信息安全技术有限公司 Network communication method, device and equipment for security operation platform and security component
US20230370453A1 (en) * 2022-05-13 2023-11-16 Cisco Technology, Inc. Authentication and enforcement of differentiated policies for a bridge mode virtual machine behind a wireless host in a mac based authentication network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102315968A (en) * 2011-09-19 2012-01-11 华中科技大学 Network configuration method in virtual machine environment
CN102710814A (en) * 2012-06-21 2012-10-03 奇智软件(北京)有限公司 Method and device for controlling Internet protocol (IP) address of virtual machine
WO2015009318A1 (en) * 2013-07-19 2015-01-22 Hewlett-Packard Development Company, L.P. Virtual machine resource management system and method thereof
CN104796469A (en) * 2015-04-15 2015-07-22 北京中油瑞飞信息技术有限责任公司 Method and device for configuring cloud computing platforms

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102315968A (en) * 2011-09-19 2012-01-11 华中科技大学 Network configuration method in virtual machine environment
CN102710814A (en) * 2012-06-21 2012-10-03 奇智软件(北京)有限公司 Method and device for controlling Internet protocol (IP) address of virtual machine
WO2015009318A1 (en) * 2013-07-19 2015-01-22 Hewlett-Packard Development Company, L.P. Virtual machine resource management system and method thereof
CN104796469A (en) * 2015-04-15 2015-07-22 北京中油瑞飞信息技术有限责任公司 Method and device for configuring cloud computing platforms

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713520A (en) * 2016-11-29 2017-05-24 上海斐讯数据通信技术有限公司 Method for configuring network addresses in batches, and terminal management system
CN108259634A (en) * 2017-07-14 2018-07-06 新华三云计算技术有限公司 A kind of virtual machine MAC Address multiplexing method and device
CN107360041A (en) * 2017-08-18 2017-11-17 郑州云海信息技术有限公司 A kind of network management and device
CN109729182A (en) * 2017-10-31 2019-05-07 中国电信股份有限公司 Network address assignment method, system and the VNFM of virtual network function
CN109729182B (en) * 2017-10-31 2022-01-18 中国电信股份有限公司 Network address allocation method and system of virtual network function and VNFM
CN109697109A (en) * 2018-12-27 2019-04-30 深信服科技股份有限公司 A kind of method, system, device and the storage medium of Division identification conflict virtual machine
CN109697109B (en) * 2018-12-27 2023-09-05 深信服科技股份有限公司 A method, system, device and storage medium for distinguishing and identifying conflicting virtual machines
CN113162944A (en) * 2021-04-29 2021-07-23 杭州安恒信息安全技术有限公司 Network communication method, device and equipment for security operation platform and security component
CN113162944B (en) * 2021-04-29 2022-08-02 杭州安恒信息安全技术有限公司 Network communication method, device and device for security operation platform and security component
US20230370453A1 (en) * 2022-05-13 2023-11-16 Cisco Technology, Inc. Authentication and enforcement of differentiated policies for a bridge mode virtual machine behind a wireless host in a mac based authentication network
US12069051B2 (en) * 2022-05-13 2024-08-20 Cisco Technology, Inc. Authentication and enforcement of differentiated policies for a bridge mode virtual machine behind a wireless host in a MAC-based authentication network

Similar Documents

Publication Publication Date Title
US11714671B2 (en) Creating virtual machine groups based on request
CN105162897A (en) System and method for allocating IP address for virtual machine and network virtual machine
CN107135134B (en) Private network access method and system based on virtual switch and SDN technology
CN108924268B (en) A container cloud service system and pod creation method and device
US10700947B2 (en) Life cycle management method and device for network service
CN105939290B (en) A kind of method and device for distributing resource
CN103703724B (en) A method of distributing resources
CN105284080B (en) The virtual network management method and data center systems of data center
CN104468574B (en) A kind of method, system and device of virtual machine dynamic access IP address
CN102932174A (en) Method, device and physical host for managing physical network card
CN102316043B (en) Port virtualization method, switch and communication system
CN108989110A (en) Construction method of VPC network model and related equipment thereof
CN112448831B (en) Network management method and equipment
CN109474443B (en) Configuration method, device and system of newly added server and communication equipment
CN106209562A (en) In a kind of network VLAN ID distribution method and controller
CN106919435A (en) The creation method of virtual machine, the management method of resource and device
WO2015154458A1 (en) Node logic id allocation device, method and communication system
CN104486299A (en) ACL (Access Control List) issuing method and equipment
CN113127144A (en) Processing method, processing device and storage medium
CN103259813A (en) Method of automatically expanding virtual machines
WO2017215381A1 (en) Method and device for indicating virtual expansion port, and storage medium
KR102409460B1 (en) Apparatus and method for automatically generating network slice
CN107659643A (en) Cloud platform construction method and device
CN107783822A (en) A kind of method for managing resource and device
CN111404712B (en) NFV network element deployment system, method, device, medium and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151216