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 PDFInfo
- Publication number
- CN111510367A CN111510367A CN202010303333.7A CN202010303333A CN111510367A CN 111510367 A CN111510367 A CN 111510367A CN 202010303333 A CN202010303333 A CN 202010303333A CN 111510367 A CN111510367 A CN 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
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
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 as vruter 1 and vruter 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 with vruter 1, vruter 2 may communicate with vruter 1, vruter 3 may communicate with vruter 2, or other communication manners, and embodiments of the present invention are not limited in particular.
When four vruters are included, such as vruter 1, vruter 2, vruter 3, and vruter 4, as shown, vruter 3 may communicate with vruter 1 and vruter 2, vruter 2 communicates with vruter 1, vruter 4 communicates with vruter 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)
1. A method for realizing cross-cluster intercommunication of VPC network based on VX L AN tunnel is characterized in that the method 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.
2. A system for realizing VPC network cross-cluster intercommunication based on VX L AN tunnel is characterized by comprising:
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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010303333.7A CN111510367A (en) | 2020-04-17 | 2020-04-17 | VPC network cross-cluster intercommunication realization method and system based on VX L AN tunnel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010303333.7A CN111510367A (en) | 2020-04-17 | 2020-04-17 | VPC network cross-cluster intercommunication realization method and system based on VX L AN tunnel |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111510367A true CN111510367A (en) | 2020-08-07 |
Family
ID=71870995
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010303333.7A Pending CN111510367A (en) | 2020-04-17 | 2020-04-17 | VPC network cross-cluster intercommunication realization method and system based on VX L AN tunnel |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111510367A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113067860A (en) * | 2021-03-16 | 2021-07-02 | 北京百度网讯科技有限公司 | Method, apparatus, device, medium and product for synchronizing information |
CN114679441A (en) * | 2022-03-03 | 2022-06-28 | 杭州玳数科技有限公司 | Big data task scheduling system based on VPC network and control method thereof |
CN115150224A (en) * | 2022-06-29 | 2022-10-04 | 济南浪潮数据技术有限公司 | Inter-cluster network two-layer communication method, device, equipment and storage medium |
CN115499434A (en) * | 2022-07-29 | 2022-12-20 | 天翼云科技有限公司 | Cross-VPC flow forwarding method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105591955A (en) * | 2015-10-30 | 2016-05-18 | 杭州华三通信技术有限公司 | Message transmission method and device |
CN106789367A (en) * | 2017-02-23 | 2017-05-31 | 郑州云海信息技术有限公司 | The construction method and device of a kind of network system |
CN107465590A (en) * | 2016-06-02 | 2017-12-12 | 阿里巴巴集团控股有限公司 | Network infrastructure system, the method for route network traffic and computer-readable medium |
CN110351135A (en) * | 2019-06-28 | 2019-10-18 | 新华三技术有限公司合肥分公司 | Method for configuring network equipment and device in more DC |
CN110401588A (en) * | 2019-07-15 | 2019-11-01 | 浪潮云信息技术有限公司 | VPC peer to peer connection method and system are realized in publicly-owned cloud platform based on openstack |
-
2020
- 2020-04-17 CN CN202010303333.7A patent/CN111510367A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105591955A (en) * | 2015-10-30 | 2016-05-18 | 杭州华三通信技术有限公司 | Message transmission method and device |
CN107465590A (en) * | 2016-06-02 | 2017-12-12 | 阿里巴巴集团控股有限公司 | Network infrastructure system, the method for route network traffic and computer-readable medium |
CN106789367A (en) * | 2017-02-23 | 2017-05-31 | 郑州云海信息技术有限公司 | The construction method and device of a kind of network system |
CN110351135A (en) * | 2019-06-28 | 2019-10-18 | 新华三技术有限公司合肥分公司 | Method for configuring network equipment and device in more DC |
CN110401588A (en) * | 2019-07-15 | 2019-11-01 | 浪潮云信息技术有限公司 | VPC peer to peer connection method and system are realized in publicly-owned cloud platform based on openstack |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113067860A (en) * | 2021-03-16 | 2021-07-02 | 北京百度网讯科技有限公司 | Method, apparatus, device, medium and product for synchronizing information |
CN113067860B (en) * | 2021-03-16 | 2022-11-11 | 北京百度网讯科技有限公司 | Method, apparatus, device, medium and product for synchronizing information |
CN114679441A (en) * | 2022-03-03 | 2022-06-28 | 杭州玳数科技有限公司 | Big data task scheduling system based on VPC network and control method thereof |
CN114679441B (en) * | 2022-03-03 | 2024-04-12 | 杭州玳数科技有限公司 | Big data task scheduling system based on VPC network and control method thereof |
CN115150224A (en) * | 2022-06-29 | 2022-10-04 | 济南浪潮数据技术有限公司 | Inter-cluster network two-layer communication method, device, equipment and storage medium |
CN115499434A (en) * | 2022-07-29 | 2022-12-20 | 天翼云科技有限公司 | Cross-VPC flow forwarding method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111510367A (en) | VPC network cross-cluster intercommunication realization method and system based on VX L AN tunnel | |
US8730793B2 (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 | |
KR100680888B1 (en) | Virtual multicast routing for a cluster having state synchronization | |
CN102710432B (en) | System and method for managing virtual network in cloud computation data center | |
JP2023527999A (en) | Loop prevention of virtual L2 network | |
CN108737272B (en) | High-performance route forwarding method in cloud computing | |
CN109474627B (en) | Virtual tenant network isolation method and system based on SDN | |
CN100435530C (en) | Method for realizing two-way load equalizing mechanism in multiple machine servicer system | |
CN105262667A (en) | Method and device for controlling multicast transmission in Overlay network | |
CN104660479A (en) | Networking method and network system | |
CN110417665B (en) | EVPN networking system and method for multiple Fabric scenes of data center | |
WO2018214817A1 (en) | Packet forwarding method, device and apparatus, and storage medium | |
CN111556110A (en) | Automatic adaptation method for different physical service networks of private cloud system | |
JP2022507436A (en) | Data center traffic sharing methods, equipment, devices and storage media | |
CN113783781A (en) | Method and device for interworking between virtual private clouds | |
CN111371608B (en) | Method, device and medium for deploying SFC service chain | |
CN112187633A (en) | Link fault convergence method and device, electronic equipment and storage medium | |
CN111030932B (en) | Method, device and system for anchoring data message | |
CN115955456A (en) | IPv 6-based enterprise campus network and networking method | |
CN111884863B (en) | VPC service chain implementation method and system for cloud computing environment | |
CN114650290A (en) | Network connection method, processing device, terminal and storage medium | |
CN107566238A (en) | A kind of method of User space configuration physical interface automatic identification vlan frames and non-vlan frames | |
CN111277500A (en) | Data center EVPN networking multi-outlet design method and system | |
WO2020181733A1 (en) | Vpc-based multi-data center intercommunication method and related device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200807 |
|
RJ01 | Rejection of invention patent application after publication |