CN114338397B - Cloud platform network configuration method, device, server, storage medium and system - Google Patents

Cloud platform network configuration method, device, server, storage medium and system Download PDF

Info

Publication number
CN114338397B
CN114338397B CN202111612758.7A CN202111612758A CN114338397B CN 114338397 B CN114338397 B CN 114338397B CN 202111612758 A CN202111612758 A CN 202111612758A CN 114338397 B CN114338397 B CN 114338397B
Authority
CN
China
Prior art keywords
network
virtual
addresses
server
resource pool
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.)
Active
Application number
CN202111612758.7A
Other languages
Chinese (zh)
Other versions
CN114338397A (en
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.)
China United Network Communications Group Co Ltd
Unicom Cloud Data Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Unicom Cloud Data 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 China United Network Communications Group Co Ltd, Unicom Cloud Data Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202111612758.7A priority Critical patent/CN114338397B/en
Publication of CN114338397A publication Critical patent/CN114338397A/en
Application granted granted Critical
Publication of CN114338397B publication Critical patent/CN114338397B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a cloud platform network configuration method, a device, a server, a storage medium and a system, wherein the method comprises the following steps: receiving a networking instruction carrying network information to be configured, wherein the network information to be configured comprises a first subnet resource pool and a second subnet resource pool; configuring external interface addresses of N virtual routers and network addresses of physical routers according to the first subnet resource pool, configuring network addresses of all virtual machines and gateway addresses of M subnets according to the second subnet resource pool, and configuring internal interface addresses of N virtual routers according to the gateway addresses of M subnets; and controlling the virtual router to operate the ndppd component, so that the virtual router generates a confirmation message according to a destination address contained in the communication message after receiving the communication message, and sends the confirmation message to the physical router, so that the physical router communicates with the virtual router according to the confirmation message.

Description

Cloud platform network configuration method, device, server, storage medium and system
Technical Field
The present application relates to the field of cloud computing technologies, and in particular, to a cloud platform network configuration method, device, server, storage medium, and system.
Background
The cloud computing platform is converted into service products through tangible products such as network equipment, servers, storage equipment and various software, and the like, and people remotely use the service products online through a network, so that ownership and use rights of the products are separated, and effective utilization of computing resources is realized. The cloud computing management platform Openstack is used as a mature open source cloud platform and is widely applied to public cloud, private cloud and mixed cloud scenes at home and abroad.
When deploying the internet protocol version 6 (Internet Protocol version, IPv 6) network scheme in Openstack, IPv6 networks are typically deployed by means of border gateway protocol (border gateway protocol, BGP). And the BGP dynamic route consists of a service plug-in and an agent, wherein the service plug-in realizes network service expansion, and the agent manages BGP peer-to-peer session. Specifically, a network administrator creates and configures a BGP speaker using a command-line interface (CLI) or an application programming interface (Application Programming Interface, API) and manually dispatches it to one or more hosts running the agent.
However, when implementing and deploying IPv6 in the cloud computing management platform Openstack by utilizing BGP dynamic routing, the technical requirements on network management and operation and maintenance personnel are higher, and the network deployment efficiency of the cloud platform is affected.
Disclosure of Invention
The application provides a cloud platform network configuration method, a device, a server, a storage medium and a system, which realize external communication between a virtual router and a physical router by controlling the virtual router to operate an ndppd component, and improve the deployment efficiency of the cloud platform IPv6 network.
In a first aspect, the present application provides a cloud platform network configuration method, including:
receiving a networking instruction carrying network information to be configured, wherein the network information to be configured comprises a first subnet resource pool and a second subnet resource pool, and the first subnet resource pool and the second subnet resource pool belong to the same IPv6 address pool; configuring external interface addresses of N virtual routers and network addresses of physical routers according to the first subnet resource pool, configuring network addresses of all virtual machines and gateway addresses of M subnets according to the second subnet resource pool, and configuring internal interface addresses of N virtual routers according to the gateway addresses of M subnets, wherein M and N are positive integers; and controlling the virtual router to run an ndppd component, so that the virtual router generates a confirmation message according to a destination address contained in the communication message after receiving the communication message, and sends the confirmation message to a physical router, so that the physical router communicates with the virtual router according to the confirmation message, wherein the confirmation message contains a local area network address of the virtual router.
In one possible design, after the configuring the internal interface addresses of the N virtual routers according to the gateway addresses of the M subnets, the method further includes: controlling the virtual router to operate the radvd component, and enabling the virtual router to send route announcements to corresponding subnets according to network addresses of internal interfaces, wherein the route announcements identify that gateway addresses of the subnets are network addresses of the internal interfaces of the virtual router.
In one possible design, the configuring network addresses of all virtual machines according to the second subnet resource pool includes: receiving a configuration request sent by a dynamic host configuration protocol client on a virtual machine, and acquiring a corresponding IPv6 network address from a second subnet resource pool according to the configuration request; and sending the IPv6 network address to a virtual machine, so that the virtual machine deploys a network according to the IPv6 network address.
In one possible design, the communication message is an external neighbor solicitation message, and the destination address is an IPv6 network address.
In a second aspect, the present application provides a cloud platform network configuration device, including: the network configuration module is used for receiving a networking instruction carrying network information to be configured, wherein the network information to be configured comprises a first subnet resource pool and a second subnet resource pool, and the first subnet resource pool and the second subnet resource pool belong to the same IPv6 address pool; the configuration module is used for configuring the external interface addresses of N virtual routers and the network addresses of the physical routers according to the first subnet resource pool, configuring the network addresses of all virtual machines and the gateway addresses of M subnets according to the second subnet resource pool, and configuring the internal interface addresses of N virtual routers according to the gateway addresses of M subnets, wherein M and N are positive integers; the first control module is used for controlling the virtual router to run the ndppd component, so that the virtual router generates a confirmation message according to a destination address contained in the communication message after receiving the communication message, and sends the confirmation message to the physical router, so that the physical router communicates with the virtual router according to the confirmation message, wherein the confirmation message contains a local area network address of the virtual router.
In one possible design, the apparatus further includes a second control module configured to control the virtual router to operate the radvd component such that the virtual router sends a route advertisement to a corresponding subnet according to a network address of the internal interface, where the route advertisement identifies that a gateway address of the subnet is a network address of the internal interface of the virtual router.
In a third aspect, the present application provides a network server comprising: at least one processor and memory; the memory stores computer-executable instructions; the at least one processor executes the computer-executable instructions stored by the memory, such that the at least one processor performs the cloud platform network configuration method as described above in the first aspect and the various possible designs of the first aspect.
In a fourth aspect, the present application provides a computer storage medium, where computer execution instructions are stored, and when executed by a processor, implement the cloud platform network configuration method according to the first aspect and the various possible designs of the first aspect.
In a fifth aspect, the present application provides a cloud platform system, comprising: at least one control server, at least one network server, and at least one computing server; the network server is used for realizing the cloud platform network configuration method according to the first aspect and various possible designs of the first aspect; the control server is used for controlling the network server and the calculation server; and the computing server is responsible for running the virtual machine in the cloud platform.
According to the cloud platform network configuration method, device, server, storage medium and system, the virtual router is controlled to operate the ndppd component, so that external communication between the virtual router and the physical router is realized, the flow of the physical router can be sent to the virtual machine of the cloud platform according to the IPv6 network address, IPv6 network communication of the cloud platform is realized, and the deployment efficiency of the cloud platform IPv6 network is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it will be obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is a schematic structural diagram of a cloud platform system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a cloud platform network configuration method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a cloud platform network according to an embodiment of the present application;
fig. 4 is a schematic flow chart II of a cloud platform network configuration method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a cloud platform network configuration device according to an embodiment of the present application;
fig. 6 is a schematic hardware structure of a network server according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Based on the next generation internet of internet protocol version 6 (Internet Protocol version, IPv 6), the address length is 128 bits, and the IPv6 address space is a "power of 96" multiple of 2 of the number of IPv4 addresses. At present, the root domain name server has realized supporting IPv6, the distribution speed of IPv6 addresses by a global Internet management organization is increasingly accelerated, and IPv6 has a widely applied foundation. The cloud computing management platform Openstack is used as a mature open source cloud platform and is widely applied to public cloud, private cloud and mixed cloud scenes at home and abroad. When an IPv6 network scheme is deployed in the cloud computing management platform Openstack, the IPv6 network is typically deployed by a BGP manner. And the BGP dynamic route consists of a service plug-in and an agent, wherein the service plug-in realizes network service expansion, and the agent manages BGP peer-to-peer session. Specifically, a network administrator creates and configures a BGPspeaker using a command-line interface (CLI) or application programming interface (Application Programming Interface, API) and manually dispatches it to one or more hosts running the agent. However, when implementing and deploying IPv6 in the cloud computing management platform Openstack by utilizing BGP dynamic routing, the technical requirements on network management and operation and maintenance personnel are higher, and the network deployment efficiency of the cloud platform is affected.
In order to solve the technical problems, the embodiment of the application provides the following technical scheme: and configuring the external interface addresses of the N virtual routers and the network addresses of the physical routers according to the first subnet resource pool, configuring the network addresses of all virtual machines and the gateway addresses of the M subnets according to the second subnet resource pool, and configuring the internal interface addresses of the N virtual routers according to the gateway addresses of the M subnets. According to the cloud platform system method provided by the embodiment of the application, the ndppd component is operated by controlling the virtual router, so that the virtual router generates the confirmation message according to the destination address contained in the communication message after receiving the communication message, and sends the confirmation message to the physical router, so that the physical router communicates with the virtual router according to the confirmation message, and the deployment efficiency of the cloud platform IPv6 network is improved.
Fig. 1 is a schematic structural diagram of a cloud platform system according to an embodiment of the present application. In the embodiment of the application, the cloud platform system comprises a control server, a network server and a computing server. The number of control servers, network servers, and computing servers is not limited. The control node, the network node and the computing node in the cloud computing management platform OpenStack architecture can be configured on one server or can be respectively deployed on different servers. In the embodiment of the application, the control node, the network node and the computing node are deployed on different servers, namely the cloud platform network configuration framework provided by the embodiment of the application comprises the control server, the network server and the computing server. As shown in fig. 1, a cloud platform network configuration architecture based on the OpenStack implementation of a cloud computing management platform provided by the embodiment of the present application includes a control server, a network server, and a computing server. Specifically, the computing server is responsible for the operation of the virtual machine. The control server is responsible for controlling the network nodes and the computing nodes, including virtual machine establishment, migration, network allocation, storage allocation, and the like. The control server in the embodiment of the application realizes the network topology management of the network nodes mainly by providing network management service. The network server comprises a Neutron service component and is responsible for communication between an external network and an internal network of the cloud platform. Specifically, the network server is responsible for managing communications between private network segments and public network segments, managing communications/topology between virtual machine networks, managing fire protection on virtual machines, and the like. In the embodiment of the application, the network server realizes the IPv6 network configuration of the cloud platform virtual machine node by running the radvd process and the ndppd process.
Fig. 2 is a schematic flow chart of a cloud platform network configuration method according to an embodiment of the present application, where an execution body of the embodiment may be a network server in the embodiment shown in fig. 1. As shown in fig. 2, the method includes:
s201: and receiving a networking instruction carrying network information to be configured, wherein the network information to be configured comprises a first subnet resource pool and a second subnet resource pool, and the first subnet resource pool and the second subnet resource pool belong to the same IPv6 address pool.
In the embodiment of the application, the IPv6 address range allocated for the cloud platform is stored in a database in the control server. Specifically, when the cloud platform applies for the IPv6 address from the operator, an IPv6 address range with a specified mask bit number is obtained, and the IPv6 address range is used as an IPv6 address pool of the cloud platform, for example, 2008:db8:0:1:1/48. This IPv6 address range can be divided into a number of networks to the power of 16 of 2, depending on the specific needs of the service. In the embodiment of the application, in order to realize IPv6 communication of a cloud platform, all subnets in an IPv6 address pool are divided into a first subnet resource pool and a second subnet resource pool, network data of the allocated first subnet resource pool and network data of the allocated second subnet resource pool are stored in a database, a Neutron server in a control server sends a networking instruction to a network server according to an IPv6 address range stored in the database, and the networking instruction carries network information to be configured, wherein the network information to be configured comprises information of the first subnet resource pool and the second subnet resource pool. The subnet addresses in the first subnet resource pool are used for configuring an external network of the virtual router, and the subnet addresses in the second subnet resource pool are used for configuring an internal network of the virtual router.
S202: and configuring the external interface addresses of the N virtual routers and the network addresses of the physical routers according to the first subnet resource pool, configuring the network addresses of all virtual machines and the gateway addresses of M subnets according to the second subnet resource pool, and configuring the internal interface addresses of the N virtual routers according to the gateway addresses of the M subnets, wherein M and N are positive integers.
Fig. 3 is a schematic diagram of a cloud platform network according to an embodiment of the present application. As shown in fig. 3, the proxy in the Neutron service component configures the external interface addresses of the N virtual routers and the network address of the physical router according to the first subnet resource pool, that is, configures the network address of the Gateway (GW) to 2008:db8:0:1:1/48. Specifically, an IPv6 subnet is allocated to the physical router in the first subnet resource pool, and the specific address is 2008:db8:0:1:1:64, but the mask of the network address of the physical router interface needs to be set to 48, that is, 2008:db8:0:1:1:1/64 is set, and all data packets of the network are transmitted from the interface of the physical router. The external interface addresses of virtual router VR0 and virtual router VR1 are configured to be 2008:db8:0:1:2/48 and 2008:db8:0:1:3/48, respectively. According to the second subnet resource pool, network addresses of all virtual machines and gateway addresses of M subnets are configured, namely, IPv6 network addresses are allocated for virtual machines VM according to IPv6 contained in the second subnet resource pool, the gateway addresses of subnet1 and subnet2 under VR0 are respectively configured to be 2008:db8:0:2::1/64 and 2008:db8:0:3:64, and the gateway addresses of subnet1 and subnet2 under VR1 are configured to be 2008:db8:0:4:64 and 2008:db8:0:5:64.
In the embodiment of the present application, the subnet1, the subnet2 and the VR0 are bound, and in order to implement data between the subnet1 and the subnet2 and the VR0 through internal interfaces, an address of the internal interface is configured as a network address of the VR 0. In the embodiment of the application, the virtual router is controlled to operate the radvd component, so that the virtual router sends a route notification to the corresponding subnet according to the network address of the internal interface, wherein the route notification identifies that the gateway address of the subnet is the network address of the internal interface of the virtual router. By controlling VR0 to start a radvd process, VR0 listens to the internal interface between subnet1 and subnet2 and sends route announcements to all VMs under subnet1 and subnet2 at regular time. The advertisement is a dynamic host configuration protocol (Dynamic Host Configuration Protocol, DHCP) IPv6 routing advertisement for informing all VMs under subnet1 and subnet2 that the default gateway address is the internal interface address of VR 0.
S203: and controlling the virtual router to operate the ndppd component, so that the virtual router generates a confirmation message according to a destination address contained in the communication message after receiving the communication message, and sends the confirmation message to the physical router, so that the physical router communicates with the virtual router according to the confirmation message, wherein the confirmation message contains a local area network address of the virtual router.
In the embodiment of the application, the communication message is an external neighbor request message, and the destination address is an IPv6 network address. In the embodiment of the application, on the basis of the cloud platform network configuration provided in fig. 3, when a physical router receives a data packet belonging to the network of 2008:db8:0:1:1:1/48 from outside, a neighbor discovery message is sent to all virtual machine routers through an interface of 2008:db8:0:1:1:1:48, namely, a GW sends a communication message to VR0 and VR1 through an interface of 2008:db8:0:1:1:48, wherein the communication message is the neighbor discovery message. After the neighbor discovery message is sent in a group, the virtual machine router is controlled to run the ndppd component. The ndppd component is used for generating a confirmation message by the virtual router and sending the confirmation message to the physical router if the virtual router determines that the target network address contained in the communication message belongs to the network segment of the virtual router after receiving the neighbor discovery message. Specifically, the virtual router generates a confirmation message, namely a reply message of the neighbor discovery message, wherein the reply message of the neighbor discovery message contains the local area network address of the virtual router, so that the physical router establishes external communication with the virtual router according to the local area network address of the virtual router after receiving the confirmation message.
According to the cloud platform network configuration method, external communication between the virtual router and the physical router is achieved by controlling the virtual router to operate the ndppd component, so that traffic of the physical router can be sent to the virtual machine of the cloud platform according to the IPv6 network address, and IPv6 network communication of the cloud platform is achieved.
Fig. 4 is a schematic flow chart of a cloud platform network configuration method according to an embodiment of the present application. In the embodiment of the present application, on the basis of the embodiment provided in fig. 2, a specific implementation method for configuring network addresses of all virtual machines according to the second subnet resource pool in S202 is described in detail. As shown in fig. 4, the method includes:
s401: and receiving a configuration request sent by a Dynamic Host Configuration Protocol (DHCP) client on the virtual machine, and acquiring a corresponding IPv6 network address from a second subnet resource pool according to the configuration request.
In a cloud platform realized based on the cloud computing management platform OpenStack, a Neutron service component is provided in a network server, and the Neutron service component comprises a DHCP component of a dynamic host configuration protocol. In the cloud platform network configuration method provided by the embodiment of the application, in order to realize the IPv6 network communication of the cloud platform, the IPv6 network is required to be configured for all the virtual machines in the cloud platform. Specifically, when creating a virtual machine, the computing server may configure the virtual machine in the cloud platform to support an IPv6 communication protocol. In the embodiment of the application, the IPv6 network address is allocated to the virtual machine according to the IPv6 network address in the second subnet resource pool. Specifically, after receiving a configuration request sent by a DHCP client on the virtual machine, a corresponding IPv6 network address is obtained from the second subnet resource pool according to an identifier of the virtual machine included in the configuration request.
S402: and sending the IPv6 network address to the virtual machine, so that the virtual machine deploys the network according to the IPv6 network address.
In the embodiment of the application, after the IPv6 network address corresponding to the virtual machine is obtained, the distributed IPv6 network address is sent to the virtual machine according to the DHCP protocol, so that the virtual machine configures the network address according to the IPv6 network address.
According to the cloud platform network configuration method, the IPv6 network address is allocated to the virtual machine according to the IPv6 network address in the reserved second subnet resource pool, so that the virtual machine in the cloud platform deploys a network according to the second subnet resource pool, the first subnet resource pool and the second subnet resource pool belong to the same IPv6 address pool, the virtual machine in the cloud platform communicates with the virtual machine route and the physical router through the IPv6 communication protocol, and the IPv6 network deployment of the cloud platform is realized.
Fig. 5 is a schematic structural diagram of a cloud platform network configuration device according to an embodiment of the present application. As shown in fig. 5, the cloud platform network configuration device includes: a receiving module 501, a configuring module 502 and a first control module 503.
A receiving module 501, configured to receive a networking instruction carrying network information to be configured, where the network information to be configured includes a first subnet resource pool and a second subnet resource pool, and the first subnet resource pool and the second subnet resource pool belong to the same IPv6 address pool;
a configuration module 502, configured to configure external interface addresses of N virtual routers and network addresses of the physical routers according to the first subnet resource pool, configure network addresses of all virtual machines and gateway addresses of M subnets according to the second subnet resource pool, and configure internal interface addresses of N virtual routers according to the gateway addresses of M subnets, where M and N are positive integers;
the first control module 503 is configured to control the virtual router to operate the ndppd component, so that after the virtual router receives the communication packet, the virtual router generates a confirmation packet according to a destination address included in the communication packet, and sends the confirmation packet to the physical router, so that the physical router communicates with the virtual router according to the confirmation packet, where the confirmation packet includes a local area network address of the virtual router.
In one possible implementation manner, the cloud platform network configuration device further includes a second control module, where the second control module is configured to control the virtual router to operate the radvd component, so that the virtual router sends a route advertisement to a corresponding subnet according to a network address of the internal interface, where the route advertisement identifies that a gateway address of the subnet is a network address of the internal interface of the virtual router.
The device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
Fig. 6 is a schematic hardware structure of a network server according to an embodiment of the present application. As shown in fig. 6, the web server of the present embodiment includes: a processor 601 and a memory 602; wherein the method comprises the steps of
A memory 602 for storing computer-executable instructions;
the processor 601 is configured to execute computer-executable instructions stored in the memory to implement the steps performed by the network server in the above embodiment. Reference may be made in particular to the relevant description of the embodiments of the method described above.
Alternatively, the memory 602 may be separate or integrated with the processor 601.
When the memory 602 is provided separately, the network server further comprises a bus 603 for connecting said memory 602 and the processor 601.
The embodiment of the application also provides a computer storage medium, wherein computer execution instructions are stored in the computer storage medium, and when a processor executes the computer execution instructions, the cloud platform network configuration method is realized.
The embodiment of the application also provides a computer program product, which comprises a computer program, wherein the computer program realizes the cloud platform network configuration method when being executed by a processor.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.
In addition, each functional module in the embodiments of the present application may be integrated in one processing unit, or each module may exist alone physically, or two or more modules may be integrated in one unit. The units formed by the modules can be realized in a form of hardware or a form of hardware and software functional units.
The integrated modules, which are implemented in the form of software functional modules, may be stored in a computer readable storage medium. The software functional modules described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or processor to perform some of the steps of the methods described in the various embodiments of the application.
It should be understood that the above processor may be a central processing unit (Central Processing Unit, abbreviated as CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, abbreviated as DSP), application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile memory NVM, such as at least one magnetic disk memory, and may also be a U-disk, a removable hard disk, a read-only memory, a magnetic disk or optical disk, etc.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
The storage medium may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). It is also possible that the processor and the storage medium reside as discrete components in an electronic device or a master device.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (8)

1. The cloud platform network configuration method is characterized by comprising the following steps that a cloud platform system comprises a control server, a network server and a computing server, and the method is applied to the network server and comprises the following steps:
receiving a networking instruction carrying network information to be configured, wherein the network information to be configured comprises a first subnet resource pool and a second subnet resource pool, the first subnet resource pool and the second subnet resource pool belong to the same IPv6 address pool, and the networking instruction is sent to the network server by a Neutron server in the control server according to an IPv6 address range stored in a database;
configuring external interface addresses of N virtual routers and network addresses of physical routers according to the first subnet resource pool, configuring network addresses of all virtual machines and gateway addresses of M subnets according to the second subnet resource pool, and configuring internal interface addresses of N virtual routers according to the gateway addresses of M subnets, wherein M and N are positive integers;
controlling the virtual router to run an ndppd component, so that the virtual router generates a confirmation message according to a destination address contained in a communication message after receiving the communication message, and sends the confirmation message to a physical router, so that the physical router communicates with the virtual router according to the confirmation message, wherein the confirmation message contains a local area network address of the virtual router;
after the internal interface addresses of the N virtual routers are configured according to the gateway addresses of the M subnets, the method further includes:
controlling the virtual router to operate the radvd component, and enabling the virtual router to send route announcements to corresponding subnets according to network addresses of internal interfaces, wherein the route announcements identify that gateway addresses of the subnets are network addresses of the internal interfaces of the virtual router.
2. The method of claim 1, wherein said configuring network addresses of all virtual machines from said second pool of subnet resources comprises:
receiving a configuration request sent by a dynamic host configuration protocol client on a virtual machine, and acquiring a corresponding IPv6 network address from a second subnet resource pool according to the configuration request;
and sending the IPv6 network address to a virtual machine, so that the virtual machine deploys a network according to the IPv6 network address.
3. The method according to any one of claims 1 to 2, wherein the communication message is an external neighbor solicitation message and the destination address is an IPv6 network address.
4. A cloud platform network configuration device, a cloud platform system comprising a control server, a network server and a computing server, the device being applied to the network server, the cloud platform network configuration device comprising:
a receiving module, configured to receive a networking instruction carrying network information to be configured, where the network information to be configured includes a first subnet resource pool and a second subnet resource pool, where the first subnet resource pool and the second subnet resource pool belong to the same IPv6 address pool, and the networking instruction is sent to the network server by a Neutron server in the control server according to an IPv6 address range stored in a database;
the configuration module is used for configuring the external interface addresses of N virtual routers and the network addresses of the physical routers according to the first subnet resource pool, configuring the network addresses of all virtual machines and the gateway addresses of M subnets according to the second subnet resource pool, and configuring the internal interface addresses of N virtual routers according to the gateway addresses of M subnets, wherein M and N are positive integers;
the first control module is used for controlling the virtual router to run an ndppd component, so that the virtual router generates a confirmation message according to a destination address contained in the communication message after receiving the communication message, and sends the confirmation message to a physical router, so that the physical router communicates with the virtual router according to the confirmation message, wherein the confirmation message contains a local area network address of the virtual router;
the device also comprises a second control module, wherein the second control module is used for controlling the virtual router to operate the radvd component, so that the virtual router sends a route notice to a corresponding subnet according to the network address of the internal interface, and the route notice identifies that the gateway address of the subnet is the network address of the internal interface of the virtual router.
5. A web server, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the cloud platform network configuration method of any of claims 1 to 3.
6. A computer storage medium having stored therein computer executable instructions which, when executed by a processor, implement the cloud platform network configuration method of any of claims 1 to 3.
7. A cloud platform system, comprising: at least one control server, at least one network server, and at least one computing server;
the network server is used for executing the cloud platform network configuration method according to any one of claims 1 to 3;
the control server is used for controlling the network server and the calculation server;
and the computing server is responsible for running the virtual machine in the cloud platform.
8. The cloud platform system of claim 7, wherein said computing server is further configured to configure virtual machines in the cloud platform to support IPv6 communication protocols.
CN202111612758.7A 2021-12-27 2021-12-27 Cloud platform network configuration method, device, server, storage medium and system Active CN114338397B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111612758.7A CN114338397B (en) 2021-12-27 2021-12-27 Cloud platform network configuration method, device, server, storage medium and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111612758.7A CN114338397B (en) 2021-12-27 2021-12-27 Cloud platform network configuration method, device, server, storage medium and system

Publications (2)

Publication Number Publication Date
CN114338397A CN114338397A (en) 2022-04-12
CN114338397B true CN114338397B (en) 2023-11-03

Family

ID=81013553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111612758.7A Active CN114338397B (en) 2021-12-27 2021-12-27 Cloud platform network configuration method, device, server, storage medium and system

Country Status (1)

Country Link
CN (1) CN114338397B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277639A (en) * 2022-05-30 2022-11-01 紫光建筑云科技(重庆)有限公司 Method for realizing VPC supporting IPv6
CN114866472B (en) * 2022-07-11 2022-09-30 广东省新一代通信与网络创新研究院 Method and system for realizing open source community access in multi-mode network
CN115334036B (en) * 2022-08-11 2023-07-07 安超云软件有限公司 Method and device for intelligently controlling source address conversion, electronic equipment and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741824A (en) * 2008-11-14 2010-06-16 华为技术有限公司 IPv6 address resolution method, device and neighbor discovery message processing method
WO2012051872A1 (en) * 2010-10-18 2012-04-26 中兴通讯股份有限公司 Method for expanding layer 2 network and expanded layer 2 network
CN103346900A (en) * 2013-05-31 2013-10-09 华为技术有限公司 Route configuration method and gateway after thermal migration of virtual machine in large two-layer network
CN103731820A (en) * 2014-01-12 2014-04-16 绵阳师范学院 Method for access control based on MAC address conversion in IPv6 wireless router
WO2015021629A1 (en) * 2013-08-15 2015-02-19 华为技术有限公司 Resource allocation method
WO2015069157A1 (en) * 2013-11-07 2015-05-14 Telefonaktiebolaget L M Ericsson (Publ) Setting up a virtual machine for an ip device
CN104660479A (en) * 2015-02-13 2015-05-27 南京华讯方舟通信设备有限公司 Networking method and network system
CN105207853A (en) * 2015-10-12 2015-12-30 深圳市万网博通科技有限公司 Local area network monitoring management method
CN105813055A (en) * 2014-12-30 2016-07-27 华为技术有限公司 Roaming method based on IP and roaming device
WO2017032300A1 (en) * 2015-08-25 2017-03-02 华为技术有限公司 Data transmission method, virtual network management apparatus, and data transmission system
CN106487695A (en) * 2015-08-25 2017-03-08 华为技术有限公司 A kind of data transmission method, virtual network managing device and data transmission system
CN108600415A (en) * 2018-05-28 2018-09-28 郑州云海信息技术有限公司 A kind of virtual network accesses method, system and the SDN controllers of outer net
CN109688241A (en) * 2018-12-25 2019-04-26 武汉烽火信息集成技术有限公司 IPv4/IPv6 dual stack conversion method and system based on SDN

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101202873B1 (en) * 2006-01-04 2012-11-19 삼성전자주식회사 APPARATUS AND METHOD FOR SUPPORTING IPv6 IN TERMINAL
CN113438329B (en) * 2020-03-23 2023-02-10 华为技术有限公司 MAC address sending method, device and system
WO2021196080A1 (en) * 2020-04-01 2021-10-07 Vmware Information Technology (China) Co., Ltd. Auto deploying network elements for heterogeneous compute elements

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741824A (en) * 2008-11-14 2010-06-16 华为技术有限公司 IPv6 address resolution method, device and neighbor discovery message processing method
WO2012051872A1 (en) * 2010-10-18 2012-04-26 中兴通讯股份有限公司 Method for expanding layer 2 network and expanded layer 2 network
CN103346900A (en) * 2013-05-31 2013-10-09 华为技术有限公司 Route configuration method and gateway after thermal migration of virtual machine in large two-layer network
WO2015021629A1 (en) * 2013-08-15 2015-02-19 华为技术有限公司 Resource allocation method
WO2015069157A1 (en) * 2013-11-07 2015-05-14 Telefonaktiebolaget L M Ericsson (Publ) Setting up a virtual machine for an ip device
CN103731820A (en) * 2014-01-12 2014-04-16 绵阳师范学院 Method for access control based on MAC address conversion in IPv6 wireless router
CN105813055A (en) * 2014-12-30 2016-07-27 华为技术有限公司 Roaming method based on IP and roaming device
CN104660479A (en) * 2015-02-13 2015-05-27 南京华讯方舟通信设备有限公司 Networking method and network system
WO2017032300A1 (en) * 2015-08-25 2017-03-02 华为技术有限公司 Data transmission method, virtual network management apparatus, and data transmission system
CN106487695A (en) * 2015-08-25 2017-03-08 华为技术有限公司 A kind of data transmission method, virtual network managing device and data transmission system
CN105207853A (en) * 2015-10-12 2015-12-30 深圳市万网博通科技有限公司 Local area network monitoring management method
CN108600415A (en) * 2018-05-28 2018-09-28 郑州云海信息技术有限公司 A kind of virtual network accesses method, system and the SDN controllers of outer net
CN109688241A (en) * 2018-12-25 2019-04-26 武汉烽火信息集成技术有限公司 IPv4/IPv6 dual stack conversion method and system based on SDN

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Tao Zhang ; Zhilong Wang.Research on IPv6 Neighbor Discovery Protocol (NDP) security.2016 2nd IEEE International Conference on Computer and Communications (ICCC).2017,全文. *
局域网中的IPv6;柯林;;数字技术与应用(01);全文 *
私有云研究与设计;孙彩兰;;好家长(59);全文 *

Also Published As

Publication number Publication date
CN114338397A (en) 2022-04-12

Similar Documents

Publication Publication Date Title
CN114338397B (en) Cloud platform network configuration method, device, server, storage medium and system
US11909586B2 (en) Managing communications in a virtual network of virtual machines using telecommunications infrastructure systems
CN109155799B (en) Subnet extension via layer three communication
CN108347493B (en) Hybrid cloud management method and device and computing equipment
US9973379B1 (en) Managing integration of external nodes into provided computer networks
US9037691B1 (en) Managing use of intermediate destination computing nodes for provided computer networks
US9491002B1 (en) Managing communications involving external nodes of provided computer networks
US9736016B2 (en) Managing failure behavior for computing nodes of provided computer networks
US9485147B2 (en) Method and device thereof for automatically finding and configuring virtual network
CN113574835A (en) System and method for flow-based on-demand policy enforcement in a multi-cloud environment
US9356860B1 (en) Managing external communications for provided computer networks
CN112583710B (en) Assisted replication in software defined networks
US20130024553A1 (en) Location independent dynamic IP address assignment
US20050027778A1 (en) Automatic configuration of an address allocation mechanism in a computer network
CN110063045B (en) Message processing method and device in cloud computing system
CN101753460B (en) Method and device for processing internet protocol version 6(IPV6) routing prefix
CN105359458A (en) Network device communication method and network device
CN108270878A (en) Method, the VTEP equipment of ARP messages are sent in VXLAN
WO2018045992A1 (en) Address management method and apparatus
JP2019510406A (en) Addressing for customer premises LAN expansion
CN104104749B (en) The distribution method and device of a kind of tunnel IP address
CN111277506B (en) Method for improving reliability of SLAAC (slow ranging Access control) distribution IPv6 address
JP7278349B2 (en) Route processing method and network device
CN115766431A (en) Virtual platform bare metal management network and service network port multiplexing implementation method
CN108429822A (en) Communication system, IPv6 address distribution methods, device and distributed network gate

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant