Movatterモバイル変換


[0]ホーム

URL:


CN111510367A - VPC network cross-cluster intercommunication realization method and system based on VX L AN tunnel - Google Patents

VPC network cross-cluster intercommunication realization method and system based on VX L AN tunnel
Download PDF

Info

Publication number
CN111510367A
CN111510367ACN202010303333.7ACN202010303333ACN111510367ACN 111510367 ACN111510367 ACN 111510367ACN 202010303333 ACN202010303333 ACN 202010303333ACN 111510367 ACN111510367 ACN 111510367A
Authority
CN
China
Prior art keywords
router
network
vpc
vpc network
tunnel
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
CN202010303333.7A
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.)
Shanghai Sixun Information Technology Co ltd
Original Assignee
Shanghai Sixun Information Technology 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 Shanghai Sixun Information Technology Co ltdfiledCriticalShanghai Sixun Information Technology Co ltd
Priority to CN202010303333.7ApriorityCriticalpatent/CN111510367A/en
Publication of CN111510367ApublicationCriticalpatent/CN111510367A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The invention provides a method and a system for realizing cross-cluster intercommunication of a VPC network based on a VX L AN tunnel, wherein a VX L AN tunnel is established between routers associated with a first VPC network and a second VPC network, AN OpenStack platform establishes a Vxlan network model through a network module, ports of two Vxlan network types are established and bound to a target router, the first VPC network is associated with a first router, the first router is any one or more routers in the target router, the second VPC network is associated with a second router, the second router is any one or more routers in the target router, and routing tables of the first router and the second router are updated, wherein the routing tables comprise a target address and a next hop address, so that communication between the first VPC network and the second VPC network is realized according to the routing tables.

Description

VPC network cross-cluster intercommunication realization method and system based on VX L AN tunnel
Technical Field
The invention relates to the technical field of VPC (virtual private network) cross-cluster communication, in particular to a method for realizing VPC cross-cluster intercommunication based on a VX L AN tunnel.
Background
Currently, the cloud in enterprises becomes a trend, the requirement for communication of virtual machines among different OpenStack clusters is more and more, and in order to meet the network requirement of the enterprises, a scheme for realizing cross-cluster virtual machine communication based on a VX L AN network model is designed.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method for realizing cross-cluster intercommunication of a VPC network based on a VX L AN tunnel, aiming at realizing the intercommunication of a VPC network on the basis of OpenStack open source without additional component support.
The invention is realized by the following steps:
the invention provides a method for realizing VPC network cross-cluster intercommunication based on VX L AN tunnel, which comprises the following steps:
a VX L AN tunnel is established between routers associated with a first VPC network and a second VPC network, and a VXlan network model is established by AN OpenStack platform through a network module, wherein the first VPC network and the second VPC network are any two virtual networks;
a Vxlan network type port is created and bound to a target router;
associating the first VPC network with a first router, wherein the first router is any one or more of the target routers;
associating the second VPC network with a second router, wherein the second router is any one or more of the target routers;
and updating routing tables of the first router and the second router, wherein the routing tables comprise destination addresses and next hop addresses, so that the communication between the first VPC network and the second VPC network is realized according to the routing tables.
In addition, the invention also discloses a system for realizing VPC network cross-cluster intercommunication based on VX L AN tunnel, which comprises:
VX L AN tunnel;
the target router comprises a first router and a second router;
a first VPC network;
a second VPC network;
the VX L AN tunnel is established between a first VPC network and a second VPC network, and the OpenStack platform establishes a Vxlan network model through a network module, wherein the first VPC network and the second VPC network are any two virtual networks;
the target router is a router which is bound after a Vxlan network type port is created;
associating the first VPC network with a first router, wherein the first router is any one or more of the target routers;
associating the second VPC network with a second router, wherein the second router is any one or more of the target routers;
and updating routing tables of the first router and the second router, wherein the routing tables comprise destination addresses and next hop addresses, so that the communication between the first VPC network and the second VPC network is realized according to the routing tables.
The method for realizing VPC network cross-cluster intercommunication based on VX L AN tunnel has the following beneficial effects:
(1) the method realizes the intercommunication of the vpc network on the basis of the open source of the OpenStack without the support of an additional component;
(2) the intercommunication of the vpc network is realized through the VX L AN tunnel, the requirement of hardware support on the network intercommunication is reduced, and the cost input of hardware is reduced;
(3) a VX L AN tunnel is quickly established, and the deployment mode is simple and convenient;
(4) with the advantage that VX L AN can penetrate through a three-layer network to expand a two-layer network, cross-data center level vpc network communication is realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for implementing cross-cluster interworking of a VPC network based on a VX L AN tunnel according to AN embodiment of the present invention;
fig. 2 is a specific application diagram of the method for implementing cross-cluster interworking of VPC networks based on a VX L AN tunnel according to AN embodiment of the present invention.
Fig. 3 is a schematic diagram of another specific application of the method for implementing cross-cluster interworking of a VPC network based on a VX L AN tunnel according to AN embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, AN embodiment of the present invention provides a method for implementing a VPC network cross-cluster interworking based on a VX L AN tunnel, where the method includes:
s101, a VX L AN tunnel is established between a first VPC network and a second VPC network, and a VXlan network model is established by AN OpenStack platform through a network module, wherein the first VPC network and the second VPC network are any two virtual networks.
It should be noted that VX L AN is a network virtualization technology, and is AN extension of V L AN, and can extend through a three-layer network to a two-layer network.
As shown in fig. 2, the first VPC network is VPC1, and the second VPC network is VPC2, which may be virtual private networks, and the user may define the network by himself, such as an intranet.
And S102, creating a port of the Vxlan network type and binding the port to the target router.
It should be noted that a VX L AN tunnel is established between the network nodes of the two clusters through the OVS and provided for the target router to use for vruter connection, and the OpenStack platform creates a Vxlan network model through a network module to connect the two vruters for interworking.
And creating a port of the Vxlan network type and binding to the vRouter, and creating a vpc network and associating the vRouter.
S103, associating the first VPC network with a first router, wherein the first router is any one or more of the target routers.
And S104, associating the second VPC network with a second router, wherein the second router is any one or more routers in the target routers.
As shown in fig. 3, the vroters implement interworking based on the VX L AN tunnel, which shows that 2, 3, and 4 vroters implement interworking, the dotted line represents the VX L AN tunnel, each vroter is opened through VX L AN, the arrow indicates the data transmission direction, and the interworking of the vpc network is implemented based on the intercommunication of the vroters, including the specific configuration of the vpc network.
Where two vruters are involved, such asvruter 1 andvruter 2, the two interactions are directly implemented.
When three vruters are included, for example,vruter 1,vruter 2, and vruter 3, as shown in the figure, vruter 3 may communicate withvruter 1,vruter 2 may communicate withvruter 1, vruter 3 may communicate withvruter 2, or other communication manners, and embodiments of the present invention are not limited in particular.
When four vruters are included, such asvruter 1,vruter 2, vruter 3, and vruter 4, as shown, vruter 3 may communicate withvruter 1 andvruter 2,vruter 2 communicates withvruter 1, vruter 4 communicates withvruter 1,vruter 2, and vruter 3, respectively, or other communication manners, and embodiments of the present invention are not limited in particular.
And S105, updating routing tables of the first router and the second router, wherein the routing tables comprise a target address and a next hop address, so as to realize the communication between the first VPC network and the second VPC network according to the routing tables.
And calling the neutron api to update the target address and the next hop address of the vRouter routing table, so as to realize communication according to the target address and the next hop address.
In addition, the invention also discloses a system for realizing VPC network cross-cluster intercommunication based on VX L AN tunnel, which comprises:
VX L AN tunnel;
the target router comprises a first router and a second router;
a first VPC network;
a second VPC network;
a VX L AN tunnel is established between routers associated with a first VPC network and a second VPC network, and AN OpenStack platform establishes a Vxlan network model through a network module, wherein the first VPC network and the second VPC network are any two virtual networks;
the target router is a router which is bound after the Vxlan network type port is established;
associating the first VPC network with a first router, wherein the first router is any one or more routers in the target router;
associating the second VPC network with a second router, wherein the second router is any one or more routers in the target router;
and updating routing tables of the first router and the second router, wherein the routing tables comprise target addresses and next hop addresses so as to realize the communication between the first VPC network and the second VPC network according to the routing tables.
The foregoing embodiments are merely illustrative of the principles of the invention and its efficacy, and are not to be construed as limiting the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (2)

CN202010303333.7A2020-04-172020-04-17VPC network cross-cluster intercommunication realization method and system based on VX L AN tunnelPendingCN111510367A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010303333.7ACN111510367A (en)2020-04-172020-04-17VPC network cross-cluster intercommunication realization method and system based on VX L AN tunnel

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010303333.7ACN111510367A (en)2020-04-172020-04-17VPC network cross-cluster intercommunication realization method and system based on VX L AN tunnel

Publications (1)

Publication NumberPublication Date
CN111510367Atrue CN111510367A (en)2020-08-07

Family

ID=71870995

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010303333.7APendingCN111510367A (en)2020-04-172020-04-17VPC network cross-cluster intercommunication realization method and system based on VX L AN tunnel

Country Status (1)

CountryLink
CN (1)CN111510367A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113067860A (en)*2021-03-162021-07-02北京百度网讯科技有限公司 Method, apparatus, apparatus, medium and product for synchronizing information
CN114679441A (en)*2022-03-032022-06-28杭州玳数科技有限公司Big data task scheduling system based on VPC network and control method thereof
CN115150224A (en)*2022-06-292022-10-04济南浪潮数据技术有限公司Inter-cluster network two-layer communication method, device, equipment and storage medium
CN115499434A (en)*2022-07-292022-12-20天翼云科技有限公司Cross-VPC flow forwarding method
CN115834290A (en)*2022-11-042023-03-21济南浪潮数据技术有限公司Method, device, equipment and medium for dynamically establishing tunnel

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105591955A (en)*2015-10-302016-05-18杭州华三通信技术有限公司Message transmission method and device
CN106789367A (en)*2017-02-232017-05-31郑州云海信息技术有限公司The construction method and device of a kind of network system
CN107465590A (en)*2016-06-022017-12-12阿里巴巴集团控股有限公司Network infrastructure system, the method for route network traffic and computer-readable medium
CN110351135A (en)*2019-06-282019-10-18新华三技术有限公司合肥分公司Method for configuring network equipment and device in more DC
CN110401588A (en)*2019-07-152019-11-01浪潮云信息技术有限公司VPC peer to peer connection method and system are realized in publicly-owned cloud platform based on openstack

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105591955A (en)*2015-10-302016-05-18杭州华三通信技术有限公司Message transmission method and device
CN107465590A (en)*2016-06-022017-12-12阿里巴巴集团控股有限公司Network infrastructure system, the method for route network traffic and computer-readable medium
CN106789367A (en)*2017-02-232017-05-31郑州云海信息技术有限公司The construction method and device of a kind of network system
CN110351135A (en)*2019-06-282019-10-18新华三技术有限公司合肥分公司Method for configuring network equipment and device in more DC
CN110401588A (en)*2019-07-152019-11-01浪潮云信息技术有限公司VPC peer to peer connection method and system are realized in publicly-owned cloud platform based on openstack

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113067860A (en)*2021-03-162021-07-02北京百度网讯科技有限公司 Method, apparatus, apparatus, medium and product for synchronizing information
CN113067860B (en)*2021-03-162022-11-11北京百度网讯科技有限公司Method, apparatus, device, medium and product for synchronizing information
CN114679441A (en)*2022-03-032022-06-28杭州玳数科技有限公司Big data task scheduling system based on VPC network and control method thereof
CN114679441B (en)*2022-03-032024-04-12杭州玳数科技有限公司Big data task scheduling system based on VPC network and control method thereof
CN115150224A (en)*2022-06-292022-10-04济南浪潮数据技术有限公司Inter-cluster network two-layer communication method, device, equipment and storage medium
CN115499434A (en)*2022-07-292022-12-20天翼云科技有限公司Cross-VPC flow forwarding method
CN115834290A (en)*2022-11-042023-03-21济南浪潮数据技术有限公司Method, device, equipment and medium for dynamically establishing tunnel

Similar Documents

PublicationPublication DateTitle
CN111510367A (en)VPC network cross-cluster intercommunication realization method and system based on VX L AN tunnel
EP2640013B1 (en)Method And Apparatus Providing Network Redundancy And High Availability To Remote Network Nodes
CN110401588B (en)Method and system for realizing VPC (virtual private network) peer-to-peer connection in public cloud platform based on openstack
CN103825954B (en)A kind of OpenFlow control methods and corresponding plug-in unit, platform and network
KR100680888B1 (en) Virtual Multicast Routing for Clusters with State Synchronization
CN106936777B (en)Cloud computing distributed network implementation method and system based on OpenFlow
CN106953788B (en)virtual network controller and control method
CN109905251B (en) Network management method, apparatus, electronic device and storage medium
CN105262667A (en)Method and device for controlling multicast transmission in Overlay network
CN115277349B (en)Method for configuring distributed gateway, open virtual network and storage medium
CN111556110B (en)Automatic adaptation method for different physical service networks of private cloud system
CN113783781A (en)Method and device for interworking between virtual private clouds
CN113992577B (en)Network intercommunication method, device, equipment and medium
CN103905325B (en)Double layer network data transferring method and network node
CN103051538A (en)Method, control equipment and system for generating ARP (Address Resolution Protocol) table entry
CN114866467A (en) A cluster communication method, apparatus, system, device and readable storage medium
CN106453088B (en)A kind of static routing configuration method and terminal
US20240160496A1 (en)Address management in gpu super cluster
CN113037655A (en)Method for realizing intercommunication between multi-CPU architecture container and virtual machine network
CN115987778A (en)Container communication method based on Kubernetes cluster
CN116155650B (en)Data message forwarding method and equipment and electronic equipment
CN114157668B (en)Multi-tenant cross-cluster networking method, communication system and readable storage medium
CN111030932B (en)Method, device and system for anchoring data message
WO2021042674A1 (en)Method for configuring port state and network device
CN111371608A (en) A method, device and medium for deploying SFC service chain

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20200807

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp