CN110557316A - Message transmission method, system, device and computer readable storage medium - Google Patents
Message transmission method, system, device and computer readable storage medium Download PDFInfo
- Publication number
- CN110557316A CN110557316A CN201810536126.9A CN201810536126A CN110557316A CN 110557316 A CN110557316 A CN 110557316A CN 201810536126 A CN201810536126 A CN 201810536126A CN 110557316 A CN110557316 A CN 110557316A
- Authority
- CN
- China
- Prior art keywords
- local area
- area network
- message
- data center
- virtual
- 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.)
- Granted
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 61
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000003860 storage Methods 0.000 title claims description 14
- 239000000284 extract Substances 0.000 claims abstract description 11
- 238000005538 encapsulation Methods 0.000 claims description 12
- 238000004891 communication Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 18
- 238000004590 computer program Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000004927 fusion Effects 0.000 description 3
- 230000006872 improvement Effects 0.000 description 3
- 238000004806 packaging method and process Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000001737 promoting effect Effects 0.000 description 2
- 230000004888 barrier function Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
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/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/26—Systems using multi-frequency codes
- H04L27/2601—Multicarrier modulation systems
- H04L27/2614—Peak power aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/745—Address table lookup; Address filtering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
- H04L61/2592—Translation of Internet protocol [IP] addresses using tunnelling or encapsulation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/06—Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
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 disclosure provides a message transmission method and a message transmission system, and relates to the technical field of data communication. The message transmission method comprises the following steps: the first data center gateway extracts the MAC address of a target tenant, virtual network identification information and the IP address of a tunnel endpoint of a virtual extended local area network corresponding to the target tenant from the received virtual extended local area network message, and encapsulates the MAC address, the virtual network identification information and the IP address in a segmented routing message; the first data center gateway sends the segmented routing message to a second data center gateway corresponding to a target tenant; the second data center gateway extracts the MAC address, the virtual network identification information and the IP address of the target tenant from the segmented routing message and encapsulates the MAC address, the virtual network identification information and the IP address in a second virtual extended local area network message; and the second data center gateway sends the second virtual extended local area network message to the destination tenant by using the MAC address, the virtual network identification information and the IP address of the destination tenant. Therefore, the large two-layer interconnection of the virtual expanded local area network across the segmented routing domain is realized.
Description
Technical Field
The present disclosure relates to the field of data communication technologies, and in particular, to a method, a system, an apparatus, and a computer-readable storage medium for transmitting a packet.
Background
VxLAN (Virtual Extensible LAN, Virtual Extensible local area network) extends through UDP (User Datagram Protocol), realizes cross-three-layer transmission of message two-layer information, is a representative of current Overlay network implementation, is applied to cloud multi-tenant service and two-layer private line service, and is a technical direction of two-layer Overlay network.
SR (Segment Routing) is a source Routing technology for implementing label-based forwarding, and is a direction of a three-layer Overlay network Overlay technology.
VxLAN and SR technology have advantages and disadvantages under different scenes, VxLAN is good at providing multi-tenant isolation and two-layer intercommunication capability under the scene in a data center DC, SR is good at providing specific path forwarding under the wide area scene, but two-layer encapsulation is needed for realizing cross-wide-area end-to-end interconnection.
Disclosure of Invention
The technical problem solved by the present disclosure is how to implement large two-layer interconnection of virtual extended local area networks across segment routing domains.
according to an aspect of the embodiments of the present disclosure, a method for transmitting a packet is provided, including: the first data center gateway extracts the MAC address of a target tenant, virtual network identification information and the IP address of a tunnel endpoint of a virtual extended local area network corresponding to the target tenant from the received first virtual extended local area network message, and encapsulates the MAC address, the virtual network identification information and the IP address in a segmented routing message; the first data center gateway sends the segmented routing message to a second data center gateway related to a virtual extended local area network tunnel endpoint corresponding to a target tenant; the second data center gateway extracts the MAC address of the destination tenant, the virtual network identification information and the IP address of the tunnel endpoint of the virtual extended local area network corresponding to the destination tenant from the segmented routing message and encapsulates the MAC address, the virtual network identification information and the IP address in the second virtual extended local area network message; and the second data center gateway sends the second virtual extended local area network message to the target tenant by using the MAC address of the target tenant, the virtual network identification information and the IP address of the virtual extended local area network tunnel endpoint corresponding to the target tenant.
In some embodiments, the message transmission method further includes: the first data center gateway queries a routing table by using the IP address to obtain a second data center gateway related to a virtual extended local area network tunnel endpoint corresponding to a target tenant; the first data center gateway packages the virtual network identification information of the target tenant at the stack bottom of the segment routing label stack of the segment routing message, and then packages the segment routing label from the first data center gateway to the second data center gateway in the segment routing label stack of the segment routing message.
In some embodiments, the sending, by the first data center gateway, the segment routing packet to the second data center gateway associated with the virtual extended local area network tunnel endpoint corresponding to the destination tenant includes: and the first data center gateway sends the segmented routing message to the second data center gateway through the segmented routing domain path represented by the segmented routing label stack.
In some embodiments, the message transmission method further includes: the second data center gateway queries a routing table by using the IP address to obtain the next hop transmission node address of the second virtual extended local area network message; and the second data center gateway encapsulates the address of the next-hop transmission node in a second virtual extended local area network message.
In some embodiments, the sending, by the second data center gateway, the second virtual extended local area network packet to the destination tenant using the MAC address of the destination tenant, the virtual network identification information, and the IP address of the virtual extended local area network tunnel endpoint corresponding to the destination tenant includes: the second data center gateway sends the second virtual expansion local area network message to a virtual expansion local area network tunnel endpoint corresponding to the target tenant by using the IP address; and the tunnel endpoint of the virtual extended local area network corresponding to the target tenant decapsulates the second virtual extended local area network message by using the virtual extended local area network, and sends the decapsulated two-layer message to the target tenant by using the MAC address of the target tenant and the virtual network identification information.
In some embodiments, the message transmission method further includes: the first data center gateway receives a first virtual extended local area network message from a virtual extended local area network tunnel endpoint corresponding to a source tenant, and the virtual extended local area network tunnel endpoint corresponding to the source tenant can perform virtual extended local area network encapsulation on a two-layer message sent by the source tenant.
according to another aspect of the embodiments of the present disclosure, there is provided a message transmission system, including: a first data center gateway configured to: extracting the MAC address of a target tenant, virtual network identification information and the IP address of a tunnel endpoint of a virtual extended local area network corresponding to the target tenant from a received first virtual extended local area network message, and encapsulating the MAC address, the virtual network identification information and the IP address in a segmented routing message; sending the segmented routing message to a second data center gateway associated with a virtual extended local area network tunnel endpoint corresponding to a target tenant; a second data center gateway configured to: the second data center gateway extracts the MAC address of the destination tenant, the virtual network identification information and the IP address of the tunnel endpoint of the virtual extended local area network corresponding to the destination tenant from the segmented routing message and encapsulates the MAC address, the virtual network identification information and the IP address in the second virtual extended local area network message; and the second data center gateway sends the second virtual extended local area network message to the target tenant by using the MAC address of the target tenant, the virtual network identification information and the IP address of the virtual extended local area network tunnel endpoint corresponding to the target tenant.
In some embodiments, the first data center gateway is further configured to: inquiring a routing table by using the IP address to obtain a second data center gateway associated with a virtual extended local area network tunnel endpoint corresponding to a target tenant; and encapsulating the virtual network identification information of the target tenant at the stack bottom of a segment routing label stack of the segment routing message, and then encapsulating the segment routing label from the first data center gateway to the second data center gateway in the segment routing label stack of the segment routing message.
in some embodiments, the first data center gateway is configured to: and sending the segmented routing message to a second data center gateway through the segmented routing domain path represented by the segmented routing label stack.
In some embodiments, the second data center gateway is further configured to: inquiring a routing table by using the IP address to obtain the next hop transmission node address of the second virtual extended local area network message; and encapsulating the address of the next-hop transmission node in a second virtual extended local area network message.
in some embodiments, the second data center gateway is further configured to: sending the second virtual extended local area network message to a virtual extended local area network tunnel endpoint corresponding to the target tenant by using the IP address; the message transmission system further comprises a virtual extended local area network tunnel endpoint corresponding to the destination tenant, and the virtual extended local area network tunnel endpoint is configured to: and de-encapsulating the second virtual expanded local area network message by using the virtual expanded local area network, and sending the de-encapsulated two-layer message to the target tenant by using the MAC address of the target tenant and the virtual network identification information.
In some embodiments, the message transmission system further includes a virtual extended local area network tunnel endpoint corresponding to the source tenant; the first data center gateway is further configured to receive a first virtual extended local area network message from a virtual extended local area network tunnel endpoint corresponding to a source tenant, and the virtual extended local area network tunnel endpoint corresponding to the source tenant can perform virtual extended local area network encapsulation on a layer two message sent by the source tenant.
According to another aspect of the embodiments of the present disclosure, there is provided a message transmission apparatus, including: a memory; and a processor coupled to the memory, the processor configured to execute the foregoing message transmission method based on instructions stored in the memory.
According to still another aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, in which computer instructions are stored, and when executed by a processor, the instructions implement the foregoing message transmission method.
According to the VxLAN cross-SR domain large-two-layer interconnection, VNI information in a user two-layer VxLAN domain is carried in an SR message.
Other features of the present disclosure and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart illustrating a message transmission method according to an embodiment of the present disclosure.
Fig. 2 shows a schematic diagram of virtual extended local area network encapsulation performed on a layer two packet sent by a source tenant by a virtual extended local area network tunnel endpoint VTEP1 corresponding to the source tenant.
Fig. 3 shows a schematic diagram of a first data center gateway encapsulating a segment routing packet.
Fig. 4 shows a schematic diagram of a network involved in the message transmission process.
Fig. 5 is a schematic structural diagram of a message transmission system according to an embodiment of the present disclosure.
fig. 6 is a schematic structural diagram of a message transmission apparatus according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
the invention provides a novel fusion connection method based on VxLAN and Segment Routing, which is based on the technical characteristics of VxLAN and Segment Routing, breaks through the technical barrier between VxLAN and Segment Routing and can realize the bearing of the cloud network fusion service between wide-area-crossing large DCs, aiming at the difficult problems that the existing VxLAN large-scale networking management means is lack and the large-scale user management domain cannot be constructed. Service-Segment carrying VxLAN user identification is constructed and packaged in a Segment Routing label stack, so that cross-wide-area end-to-end two-layer interconnection is realized, and Service bearing efficiency is improved.
A message transmission method according to an embodiment of the present disclosure is described below with reference to fig. 1.
fig. 1 is a flowchart illustrating a message transmission method according to an embodiment of the present disclosure. In the process of message transmission, a source tenant sends a message to a destination tenant through a virtual extended local area network tunnel endpoint VTEP1, a first data center gateway DCGW1, a second data center gateway DCGW2 and a virtual extended local area network tunnel endpoint VTEP2 respectively. As shown in fig. 1, the message transmission method in this embodiment includes steps S102 to S114.
In step S102, the first data center gateway receives a first virtual extended local area network packet from a virtual extended local area network tunnel endpoint corresponding to a source tenant, where the virtual extended local area network tunnel endpoint corresponding to the source tenant can perform virtual extended local area network encapsulation on a layer two packet sent by the source tenant.
Fig. 2 shows a schematic diagram of virtual extended local area network encapsulation performed on a layer two packet sent by a source tenant by a virtual extended local area network tunnel endpoint VTEP1 corresponding to the source tenant. The encapsulated VxLAN message includes an ethernet header, payload, and a frame check sequence FCS. The Ethernet header comprises an outer MAC address, an outer IP address, a UDP header, a VxLAN header, an inner MAC address and a load.
Wherein, the inner MAC address is the MAC address of the target tenant; the outer MAC address points to the next hop node until forwarded to the gateway DC GW 1; the outer IP address is the IP address of a VxLAN tunnel opposite end VTEP 2; VNI (instance id) in VxLAN header is the VNI instance where the destination tenant is located. When the system is initialized, VNI attribute distribution of multi-tenant services is realized in the DC1 and DC2 domains by adopting VxLAN technology.
In step S104, the first data center gateway extracts the MAC address of the destination tenant, the virtual network identification information, and the IP address of the virtual extended local area network tunnel endpoint corresponding to the destination tenant from the received first virtual extended local area network packet, and encapsulates the MAC address, the virtual network identification information, and the IP address in the segmented routing packet.
Fig. 3 shows a schematic diagram of a first data center gateway encapsulating a segment routing packet. The segment routing packet includes the MAC address of the destination tenant, a segment field, an outer IP address, a payload, and a frame check sequence FCS. A Service Segment Service-Segment field is defined in the Segment field for carrying a VNI (VxLAN Instance ID). When the tenant puts forward the cross-domain DC mutual access Service requirement, the first data center gateway DCGW1 starts the Service-Segment function and carries VNI information.
in step S106, the first data center gateway queries the routing table by using the IP address, and obtains a second data center gateway associated with the virtual expansion local area network tunnel endpoint corresponding to the destination tenant.
the DC GW1 analyzes the VxLAN message, and inquires a routing table according to the outer layer IP address (the destination IP is VTEP2) to know that the destination host needs to be sent to the DC GW2 first.
In step S108, the first data center gateway sends the segment routing packet to a second data center gateway associated with a virtual extended local area network tunnel endpoint corresponding to the destination tenant.
In step S110, the second data center gateway extracts the MAC address of the destination tenant, the virtual network identification information, and the IP address of the virtual extended local area network tunnel endpoint corresponding to the destination tenant from the segment routing message, and encapsulates the MAC address, the virtual network identification information, and the IP address in the second virtual extended local area network message.
DCGW2 encapsulates the MAC address of the target tenant in the SR message into the inner MAC address of the VxLAN message; packaging the IP address in the SR message into an outer layer MAC address of the xLAN message, wherein the outer layer IP address points to VTEP 2; and extracting a search-Segment field in the segmented label and packaging the field into VNI.
In step S112, the second data center gateway queries the routing table by using the IP address, obtains the next-hop transmission node address of the second virtual extended lan packet, and encapsulates the next-hop transmission node address in the second virtual extended lan packet.
Fig. 4 shows a schematic diagram of a network involved in the message transmission process.
in step S114, the second data center gateway sends the second virtual extended local area network packet to the destination tenant by using the MAC address of the destination tenant, the virtual network identification information, and the IP address of the virtual extended local area network tunnel endpoint corresponding to the destination tenant.
Specifically, the second data center gateway sends the second virtual extended local area network packet to the virtual extended local area network tunnel endpoint corresponding to the destination tenant by using the IP address. And then, the tunnel endpoint of the virtual extended local area network corresponding to the target tenant decapsulates the second virtual extended local area network message through the virtual extended local area network, and sends the decapsulated two-layer message to the target tenant by using the MAC address of the target tenant and the virtual network identification information.
The embodiment provides a fusion connection method based on VxLAN and Segment Routing, which is characterized in that a Segment Routing message is expanded to carry VNI information identifying users in the VxLAN message, large-layer and two-layer interconnection of a virtual expanded local area network cross-Segment Routing domain can be realized through SR encapsulation improvement, and technical conditions are provided for OTT cross-region service deployment. And simultaneously, the method is beneficial to promoting the cooperative application of VxLAN and Segment Routing and improving the bearing capacity of network services.
Optionally, in step S104, the first data center gateway encapsulates the virtual network identification information of the destination tenant at the bottom of the segment routing label stack of the segment routing packet. And then, encapsulating the segmented routing label from the first data center gateway to the second data center gateway in a segmented routing label stack of the segmented routing message.
when the system is initialized, the IP backbone network optimally distributes Segment labels of all nodes according to the path. After extracting VNI information in the VNI information, the DCGW1 removes a VxLAN header and pushes a forwarding label stack packaging SR header, wherein a label at the bottom of the stack is a section-section field, and the label at the second last is a label of the DCGW 2.
In step S108, the first data center gateway sends the segment routing packet to the second data center gateway through the segment routing domain path represented by the segment routing label stack.
The segment in the SR message is a label of the network node. In the SR network, each node is allocated with a global label and a plurality of adjacent labels, and when SR encapsulation is carried out, the labels of the corresponding nodes are pressed into a label stack according to the optimal forwarding path. And the SR searches a path based on the label, and the label of the corresponding network node is popped out every time the message passes through one node until the last hop of the message reaches the segmented label popped out of DCGW2, and the VNI at the bottom of the label stack is remained. And in the IP backbone network, forwarding the message according to the SR optimal path, popping up the VNI at the bottom of the Service Segment label stack when the message reaches the DCGW2 at the opposite end, restoring VxLAN information, and realizing cross-region and large-range Service deployment.
In the above embodiment, on the basis of the SR domain message transmission mechanism, the Service-Segment field is encapsulated at the bottom of the SR label stack, so that the wide-area-spanning multi-tenant Service interworking can be realized based on the SR with as little change as possible to the existing network.
The structure of a message transmission system according to an embodiment of the present disclosure is described below with reference to fig. 5.
Fig. 5 is a schematic structural diagram of a message transmission system according to an embodiment of the present disclosure. As shown in fig. 5, the message transmission system 50 of this embodiment includes:
A first data center gateway 502 configured to: extracting the MAC address of a target tenant, virtual network identification information and the IP address of a tunnel endpoint of a virtual extended local area network corresponding to the target tenant from a received first virtual extended local area network message, and encapsulating the MAC address, the virtual network identification information and the IP address in a segmented routing message; sending the segmented routing message to a second data center gateway 504 associated with a virtual extended local area network tunnel endpoint corresponding to a destination tenant;
A second data center gateway 504 configured to: the second data center gateway extracts the MAC address of the destination tenant, the virtual network identification information and the IP address of the tunnel endpoint of the virtual extended local area network corresponding to the destination tenant from the segmented routing message and encapsulates the MAC address, the virtual network identification information and the IP address in the second virtual extended local area network message; and the second data center gateway sends the second virtual extended local area network message to the target tenant by using the MAC address of the target tenant, the virtual network identification information and the IP address of the virtual extended local area network tunnel endpoint corresponding to the target tenant.
In some embodiments, the first data center gateway 502 is further configured to: inquiring a routing table by using the IP address to obtain a second data center gateway associated with a virtual extended local area network tunnel endpoint corresponding to a target tenant; and encapsulating the virtual network identification information of the target tenant at the stack bottom of a segment routing label stack of the segment routing message, and then encapsulating the segment routing label from the first data center gateway to the second data center gateway in the segment routing label stack of the segment routing message.
in some embodiments, the first data center gateway 502 is configured to: the segment routing packet is sent to the second data center gateway 504 via the segment routing domain path represented by the segment routing label stack.
In some embodiments, the second data center gateway 504 is further configured to: inquiring a routing table by using the IP address to obtain the next hop transmission node address of the second virtual extended local area network message; and encapsulating the address of the next-hop transmission node in a second virtual extended local area network message.
In some embodiments, the second data center gateway 504 is further configured to: sending the second virtual extended local area network message to the virtual extended local area network tunnel endpoint 506 corresponding to the target tenant by using the IP address; the message transmission system 50 further includes a virtual extended local area network tunnel endpoint 506 corresponding to the destination tenant, and configured to: and de-encapsulating the second virtual expanded local area network message by using the virtual expanded local area network, and sending the de-encapsulated two-layer message to the target tenant by using the MAC address of the target tenant and the virtual network identification information.
in some embodiments, the message transmission system 50 further includes a virtual extended local area network tunnel endpoint 500 corresponding to the source tenant; the first data center gateway 502 is further configured to receive a first virtual extended local area network packet from the virtual extended local area network tunnel endpoint 500 corresponding to the source tenant, where the virtual extended local area network tunnel endpoint 500 corresponding to the source tenant can perform virtual extended local area network encapsulation on a layer two packet sent by the source tenant.
The embodiment enables the Segment Routing message to carry VNI information identifying the user in the VxLAN message by extending the Segment Routing message, can realize wide-area-crossing multi-tenant Service intercommunication based on SR under the condition of changing the current network as little as possible by encapsulating the Service-Segment field at the bottom of the SR label stack on the basis of the SR domain message transmission mechanism, can realize large-layer and two-layer interconnection of a virtual extended local area network crossing Segment Routing domain through SR encapsulation improvement, and provides technical conditions for OTT cross-region Service deployment. And simultaneously, the method is beneficial to promoting the cooperative application of VxLAN and Segment Routing and improving the bearing capacity of network services.
Fig. 6 is a schematic structural diagram of a message transmission apparatus according to an embodiment of the present disclosure. As shown in fig. 6, the message transmission apparatus 60 of this embodiment includes: a memory 610 and a processor 620 coupled to the memory 610, wherein the processor 620 is configured to execute the message transmission method in any of the embodiments based on instructions stored in the memory 610.
Memory 610 may include, for example, system memory, fixed non-volatile storage media, and the like. The system memory stores, for example, an operating system, an application program, a Boot Loader (Boot Loader), and other programs.
The message transmitting apparatus 60 may further include an input-output interface 630, a network interface 640, a storage interface 650, and the like. These interfaces 630, 640, 650 and the connections between the memory 610 and the processor 620 may be, for example, via a bus 660. The input/output interface 630 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 640 provides a connection interface for various networking devices. The storage interface 650 provides a connection interface for external storage devices such as an SD card and a usb disk.
The present disclosure also includes a computer readable storage medium having stored thereon computer instructions that, when executed by a processor, implement the message transmission method in any of the foregoing embodiments.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, so that any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.
Claims (14)
1. A message transmission method comprises the following steps:
The first data center gateway extracts the MAC address of a target tenant, virtual network identification information and the IP address of a tunnel endpoint of a virtual extended local area network corresponding to the target tenant from the received first virtual extended local area network message, and encapsulates the MAC address, the virtual network identification information and the IP address in a segmented routing message;
the first data center gateway sends the segmented routing message to a second data center gateway associated with a virtual extended local area network tunnel endpoint corresponding to a target tenant;
The second data center gateway extracts the MAC address of the destination tenant, the virtual network identification information and the IP address of the tunnel endpoint of the virtual extended local area network corresponding to the destination tenant from the segmented routing message, and encapsulates the MAC address, the virtual network identification information and the IP address in the second virtual extended local area network message;
And the second data center gateway sends the second virtual extended local area network message to the target tenant by using the MAC address of the target tenant, the virtual network identification information and the IP address of the virtual extended local area network tunnel endpoint corresponding to the target tenant.
2. The message transmission method according to claim 1, wherein the message transmission method further comprises:
The first data center gateway queries a routing table by using the IP address to obtain a second data center gateway related to a virtual extended local area network tunnel endpoint corresponding to a target tenant;
and the first data center gateway encapsulates the virtual network identification information of the target tenant at the stack bottom of the segment routing label stack of the segment routing message, and then encapsulates the segment routing label from the first data center gateway to the second data center gateway in the segment routing label stack of the segment routing message.
3. The message transmission method according to claim 2, wherein the sending, by the first data center gateway, the segment routing message to a second data center gateway associated with a virtual extended local area network tunnel endpoint corresponding to a destination tenant comprises:
And the first data center gateway sends the segmented routing message to the second data center gateway through the segmented routing domain path represented by the segmented routing label stack.
4. the message transmission method according to claim 1, wherein the message transmission method further comprises:
The second data center gateway queries a routing table by using the IP address to obtain the next hop transmission node address of the second virtual extended local area network message;
and the second data center gateway encapsulates the next hop transmission node address in the second virtual extended local area network message.
5. The message transmission method according to claim 1, wherein the sending, by the second data center gateway, the second virtual extended local area network message to the destination tenant using the MAC address of the destination tenant, the virtual network identification information, and the IP address of the virtual extended local area network tunnel endpoint corresponding to the destination tenant comprises:
The second data center gateway sends the second virtual extended local area network message to a virtual extended local area network tunnel endpoint corresponding to the target tenant by using the IP address;
And the virtual extended local area network tunnel endpoint corresponding to the target tenant decapsulates the second virtual extended local area network message and sends the decapsulated two-layer message to the target tenant by using the MAC address of the target tenant and the virtual network identification information.
6. The message transmission method according to claim 1, wherein the message transmission method further comprises:
The first data center gateway receives a first virtual extended local area network message from a virtual extended local area network tunnel endpoint corresponding to a source tenant, and the virtual extended local area network tunnel endpoint corresponding to the source tenant can perform virtual extended local area network encapsulation on a two-layer message sent by the source tenant.
7. a message transmission system comprising:
A first data center gateway configured to: extracting the MAC address of a target tenant, virtual network identification information and the IP address of a tunnel endpoint of a virtual extended local area network corresponding to the target tenant from a received first virtual extended local area network message, and encapsulating the MAC address, the virtual network identification information and the IP address in a segmented routing message; sending the segmented routing message to a second data center gateway associated with a virtual extended local area network tunnel endpoint corresponding to a target tenant;
A second data center gateway configured to: the second data center gateway extracts the MAC address of the destination tenant, the virtual network identification information and the IP address of the tunnel endpoint of the virtual extended local area network corresponding to the destination tenant from the segmented routing message, and encapsulates the MAC address, the virtual network identification information and the IP address in the second virtual extended local area network message; and the second data center gateway sends the second virtual extended local area network message to the target tenant by using the MAC address of the target tenant, the virtual network identification information and the IP address of the virtual extended local area network tunnel endpoint corresponding to the target tenant.
8. The messaging system of claim 7, wherein the first data center gateway is further configured to:
Inquiring a routing table by using the IP address to obtain a second data center gateway associated with a virtual extended local area network tunnel endpoint corresponding to a target tenant;
And encapsulating the virtual network identification information of the target tenant at the stack bottom of the segment routing label stack of the segment routing message, and then encapsulating the segment routing label from the first data center gateway to the second data center gateway in the segment routing label stack of the segment routing message.
9. The messaging system of claim 8, wherein the first data center gateway is configured to:
And sending the segmented routing message to a second data center gateway through the segmented routing domain path represented by the segmented routing label stack.
10. The messaging system of claim 7, wherein the second data center gateway is further configured to:
Inquiring a routing table by using the IP address to obtain the next hop transmission node address of the second virtual extended local area network message;
And encapsulating the address of the next hop transmission node in the second virtual extended local area network message.
11. The messaging system of claim 7, wherein,
The second data center gateway is further configured to: sending the second virtual extended local area network message to a virtual extended local area network tunnel endpoint corresponding to a target tenant by using the IP address;
the message transmission system further includes a virtual extended local area network tunnel endpoint corresponding to the destination tenant, and is configured to: and de-encapsulating the second virtual extended local area network message by using a virtual extended local area network, and sending the de-encapsulated two-layer message to a target tenant by using the MAC address of the target tenant and the virtual network identification information.
12. The messaging system of claim 7, wherein the messaging system further comprises a virtual extended local area network tunnel endpoint corresponding to a source tenant;
The first data center gateway is further configured to receive a first virtual extended local area network message from a virtual extended local area network tunnel endpoint corresponding to a source tenant, and the virtual extended local area network tunnel endpoint corresponding to the source tenant can perform virtual extended local area network encapsulation on a layer two message sent by the source tenant.
13. A message transmission apparatus, comprising:
A memory; and
A processor coupled to the memory, the processor configured to perform the message transmission method of any of claims 1-6 based on instructions stored in the memory.
14. a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions which, when executed by a processor, implement the message transmission method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810536126.9A CN110557316B (en) | 2018-05-30 | 2018-05-30 | Message transmission method, system, device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810536126.9A CN110557316B (en) | 2018-05-30 | 2018-05-30 | Message transmission method, system, device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110557316A true CN110557316A (en) | 2019-12-10 |
CN110557316B CN110557316B (en) | 2021-06-04 |
Family
ID=68734745
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810536126.9A Active CN110557316B (en) | 2018-05-30 | 2018-05-30 | Message transmission method, system, device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110557316B (en) |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111181856A (en) * | 2019-12-31 | 2020-05-19 | 江苏省未来网络创新研究院 | System and method for realizing virtual router service chain based on segment routing |
CN112737915A (en) * | 2020-12-29 | 2021-04-30 | 优刻得科技股份有限公司 | Intranet tunnel cross-domain gateway forwarding method, system, equipment and medium based on intelligent network card |
CN113055240A (en) * | 2019-12-27 | 2021-06-29 | 中国电信股份有限公司 | Message transmission method and device and computer readable storage medium |
CN113422729A (en) * | 2021-04-29 | 2021-09-21 | 全球能源互联网研究院有限公司 | Virtual power plant targeted communication system and control method |
CN113489646A (en) * | 2021-07-01 | 2021-10-08 | 北京网聚云联科技有限公司 | Segmented routing transmission method based on VXLAN, server, source node and storage medium |
CN113595891A (en) * | 2021-08-18 | 2021-11-02 | 北京金山云网络技术有限公司 | Data communication method and device and electronic equipment |
CN113992577A (en) * | 2021-09-24 | 2022-01-28 | 广东浪潮智慧计算技术有限公司 | Network intercommunication method, device, equipment and medium |
CN114500162A (en) * | 2020-10-23 | 2022-05-13 | 中国移动通信有限公司研究院 | SD-WAN (secure digital-to-Wide area network) system and data forwarding method |
CN114553770A (en) * | 2022-02-25 | 2022-05-27 | 网络通信与安全紫金山实验室 | Cloud data forwarding device, system and method |
CN114666270A (en) * | 2020-12-23 | 2022-06-24 | 中国移动通信有限公司研究院 | Data transmission method, network equipment and system |
CN114944952A (en) * | 2022-05-20 | 2022-08-26 | 深信服科技股份有限公司 | Data processing method, device, system, equipment and readable storage medium |
CN115102921A (en) * | 2022-05-30 | 2022-09-23 | 苏州浪潮智能科技有限公司 | Method, device, equipment and medium for allowing VXLAN to penetrate NAT |
WO2022199486A1 (en) * | 2021-03-25 | 2022-09-29 | 中兴通讯股份有限公司 | Traceroute method and device, and storage medium |
CN115442184A (en) * | 2022-08-29 | 2022-12-06 | 天翼云科技有限公司 | Access system and method, access server, system and storage medium |
WO2023005620A1 (en) * | 2021-07-28 | 2023-02-02 | 中国电信股份有限公司 | Message processing method and apparatus, and communication system |
CN115804237A (en) * | 2020-12-15 | 2023-03-14 | 华为技术有限公司 | Communication method and communication device |
US20230164059A1 (en) * | 2021-11-24 | 2023-05-25 | Amazon Technologies, Inc. | Metadata-based cross-region segment routing |
CN116266823A (en) * | 2021-12-16 | 2023-06-20 | 中国电信股份有限公司 | Message conversion method and device, storage medium and electronic equipment |
WO2023125774A1 (en) * | 2021-12-31 | 2023-07-06 | 华为技术有限公司 | Vxlan packet transmission method, network device, and system |
CN117376061A (en) * | 2023-10-31 | 2024-01-09 | 中科驭数(北京)科技有限公司 | Service access method, device, electronic equipment and storage medium |
US11936558B1 (en) | 2021-12-10 | 2024-03-19 | Amazon Technologies, Inc. | Dynamic evaluation and implementation of network mutations |
CN117914649A (en) * | 2023-12-22 | 2024-04-19 | 曙光云计算集团股份有限公司 | Network communication system, method and device |
US11991211B1 (en) | 2021-12-10 | 2024-05-21 | Amazon Technologies, Inc. | Symmetric cross-region network data flow management |
US12021902B1 (en) | 2021-12-10 | 2024-06-25 | Amazon Technologies, Inc. | Network configuration analysis and management |
CN118573516A (en) * | 2024-08-01 | 2024-08-30 | 珠海星云智联科技有限公司 | Tunnel message encapsulation and decapsulation method, equipment and system |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11855893B2 (en) | 2021-11-24 | 2023-12-26 | Amazon Technologies, Inc. | Tag-based cross-region segment management |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1972234A (en) * | 2005-11-24 | 2007-05-30 | 杭州华为三康技术有限公司 | Ring shape Ethernet and its service loading implementation method |
US20110286452A1 (en) * | 2010-05-19 | 2011-11-24 | Florin Balus | Method and apparatus for mpls label allocation for a bgp mac-vpn |
US20170026417A1 (en) * | 2015-07-23 | 2017-01-26 | Cisco Technology, Inc. | Systems, methods, and devices for smart mapping and vpn policy enforcement |
CN107124347A (en) * | 2017-06-13 | 2017-09-01 | 杭州迪普科技股份有限公司 | A kind of optimization method and device of the VXLAN control planes based on BGP EVPN |
-
2018
- 2018-05-30 CN CN201810536126.9A patent/CN110557316B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1972234A (en) * | 2005-11-24 | 2007-05-30 | 杭州华为三康技术有限公司 | Ring shape Ethernet and its service loading implementation method |
US20110286452A1 (en) * | 2010-05-19 | 2011-11-24 | Florin Balus | Method and apparatus for mpls label allocation for a bgp mac-vpn |
US20170026417A1 (en) * | 2015-07-23 | 2017-01-26 | Cisco Technology, Inc. | Systems, methods, and devices for smart mapping and vpn policy enforcement |
CN107124347A (en) * | 2017-06-13 | 2017-09-01 | 杭州迪普科技股份有限公司 | A kind of optimization method and device of the VXLAN control planes based on BGP EVPN |
Cited By (34)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113055240B (en) * | 2019-12-27 | 2022-07-05 | 中国电信股份有限公司 | Message transmission method and device and computer readable storage medium |
CN113055240A (en) * | 2019-12-27 | 2021-06-29 | 中国电信股份有限公司 | Message transmission method and device and computer readable storage medium |
CN111181856A (en) * | 2019-12-31 | 2020-05-19 | 江苏省未来网络创新研究院 | System and method for realizing virtual router service chain based on segment routing |
CN114500162A (en) * | 2020-10-23 | 2022-05-13 | 中国移动通信有限公司研究院 | SD-WAN (secure digital-to-Wide area network) system and data forwarding method |
CN115804237A (en) * | 2020-12-15 | 2023-03-14 | 华为技术有限公司 | Communication method and communication device |
CN114666270A (en) * | 2020-12-23 | 2022-06-24 | 中国移动通信有限公司研究院 | Data transmission method, network equipment and system |
CN112737915A (en) * | 2020-12-29 | 2021-04-30 | 优刻得科技股份有限公司 | Intranet tunnel cross-domain gateway forwarding method, system, equipment and medium based on intelligent network card |
WO2022199486A1 (en) * | 2021-03-25 | 2022-09-29 | 中兴通讯股份有限公司 | Traceroute method and device, and storage medium |
CN113422729A (en) * | 2021-04-29 | 2021-09-21 | 全球能源互联网研究院有限公司 | Virtual power plant targeted communication system and control method |
CN113422729B (en) * | 2021-04-29 | 2022-08-05 | 全球能源互联网研究院有限公司 | Virtual power plant targeted communication system and control method |
CN113489646A (en) * | 2021-07-01 | 2021-10-08 | 北京网聚云联科技有限公司 | Segmented routing transmission method based on VXLAN, server, source node and storage medium |
WO2023005620A1 (en) * | 2021-07-28 | 2023-02-02 | 中国电信股份有限公司 | Message processing method and apparatus, and communication system |
CN113595891A (en) * | 2021-08-18 | 2021-11-02 | 北京金山云网络技术有限公司 | Data communication method and device and electronic equipment |
CN113595891B (en) * | 2021-08-18 | 2022-11-25 | 北京金山云网络技术有限公司 | Data communication method and device and electronic equipment |
CN113992577A (en) * | 2021-09-24 | 2022-01-28 | 广东浪潮智慧计算技术有限公司 | Network intercommunication method, device, equipment and medium |
CN113992577B (en) * | 2021-09-24 | 2024-05-03 | 广东浪潮智慧计算技术有限公司 | Network intercommunication method, device, equipment and medium |
US20230164059A1 (en) * | 2021-11-24 | 2023-05-25 | Amazon Technologies, Inc. | Metadata-based cross-region segment routing |
US11799755B2 (en) * | 2021-11-24 | 2023-10-24 | Amazon Technologies, Inc. | Metadata-based cross-region segment routing |
US11991211B1 (en) | 2021-12-10 | 2024-05-21 | Amazon Technologies, Inc. | Symmetric cross-region network data flow management |
US12021902B1 (en) | 2021-12-10 | 2024-06-25 | Amazon Technologies, Inc. | Network configuration analysis and management |
US11936558B1 (en) | 2021-12-10 | 2024-03-19 | Amazon Technologies, Inc. | Dynamic evaluation and implementation of network mutations |
CN116266823A (en) * | 2021-12-16 | 2023-06-20 | 中国电信股份有限公司 | Message conversion method and device, storage medium and electronic equipment |
WO2023125774A1 (en) * | 2021-12-31 | 2023-07-06 | 华为技术有限公司 | Vxlan packet transmission method, network device, and system |
CN114553770A (en) * | 2022-02-25 | 2022-05-27 | 网络通信与安全紫金山实验室 | Cloud data forwarding device, system and method |
CN114944952B (en) * | 2022-05-20 | 2023-11-07 | 深信服科技股份有限公司 | Data processing method, device, system, equipment and readable storage medium |
CN114944952A (en) * | 2022-05-20 | 2022-08-26 | 深信服科技股份有限公司 | Data processing method, device, system, equipment and readable storage medium |
CN115102921B (en) * | 2022-05-30 | 2023-08-25 | 苏州浪潮智能科技有限公司 | Method, device, equipment and medium for penetrating NAT through VXLAN |
CN115102921A (en) * | 2022-05-30 | 2022-09-23 | 苏州浪潮智能科技有限公司 | Method, device, equipment and medium for allowing VXLAN to penetrate NAT |
CN115442184B (en) * | 2022-08-29 | 2024-01-02 | 天翼云科技有限公司 | Access system and method, access server, system and storage medium |
CN115442184A (en) * | 2022-08-29 | 2022-12-06 | 天翼云科技有限公司 | Access system and method, access server, system and storage medium |
CN117376061A (en) * | 2023-10-31 | 2024-01-09 | 中科驭数(北京)科技有限公司 | Service access method, device, electronic equipment and storage medium |
CN117376061B (en) * | 2023-10-31 | 2024-08-06 | 中科驭数(北京)科技有限公司 | Service access method, device, electronic equipment and storage medium |
CN117914649A (en) * | 2023-12-22 | 2024-04-19 | 曙光云计算集团股份有限公司 | Network communication system, method and device |
CN118573516A (en) * | 2024-08-01 | 2024-08-30 | 珠海星云智联科技有限公司 | Tunnel message encapsulation and decapsulation method, equipment and system |
Also Published As
Publication number | Publication date |
---|---|
CN110557316B (en) | 2021-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110557316B (en) | Message transmission method, system, device and computer readable storage medium | |
JP7290732B2 (en) | Data transfer method and related equipment | |
CN111147383B (en) | Message forwarding method, message sending device and message receiving device | |
US9444642B2 (en) | LAN multiplexing apparatus | |
EP3270546B1 (en) | Message processing method, device and system | |
CN106302206B (en) | Message forwarding processing method, device and system | |
CN106878065B (en) | Configuration method and device of distributed aggregation system | |
CN100563211C (en) | The implementation method of a kind of virtual gateway, virtual subnet and system | |
CN112511444A (en) | Multicast traffic transmission method, device, communication node and storage medium | |
CN107306222B (en) | Method and equipment for establishing traffic engineering tunnel on label switching path | |
CN107770026B (en) | Tenant network data transmission method, tenant network system and related equipment | |
WO2015165311A1 (en) | Method for transmitting data packet and provider edge device | |
CN107026796B (en) | VPN route notification method, data flow forwarding method and related equipment | |
WO2015192501A1 (en) | Address information publishing method and apparatus | |
WO2022001835A1 (en) | Method and apparatus for sending message, and network device, system and storage medium | |
US8964749B2 (en) | Method, device and system for establishing a pseudo wire | |
CN114095305A (en) | BIER message forwarding method, equipment and system | |
CN105553810A (en) | Method and device for forwarding special line service packet | |
CN107645433A (en) | Message forwarding method and device | |
CN107306215A (en) | A kind of data processing method, system and node | |
EP4398520A1 (en) | Packet processing method, network device and system | |
CN108390812B (en) | Message forwarding method and device | |
WO2023213216A1 (en) | Packet processing method and related device | |
CN116488958A (en) | Gateway processing method, virtual access gateway, virtual service gateway and related equipment | |
CN110572326A (en) | Method, device, network equipment and system for establishing forwarding path |
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 | ||
EE01 | Entry into force of recordation of patent licensing contract | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20191210 Assignee: Tianyiyun Technology Co.,Ltd. Assignor: CHINA TELECOM Corp.,Ltd. Contract record no.: X2024110000040 Denomination of invention: Message transmission method, system, device, and computer-readable storage medium Granted publication date: 20210604 License type: Common License Record date: 20240914 |