CN110557316B - Message transmission method, system, device and computer readable storage medium - Google Patents

Message transmission method, system, device and computer readable storage medium Download PDF

Info

Publication number
CN110557316B
CN110557316B CN201810536126.9A CN201810536126A CN110557316B CN 110557316 B CN110557316 B CN 110557316B CN 201810536126 A CN201810536126 A CN 201810536126A CN 110557316 B CN110557316 B CN 110557316B
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.)
Active
Application number
CN201810536126.9A
Other languages
Chinese (zh)
Other versions
CN110557316A (en
Inventor
陈华南
龚霞
朱永庆
伍佑明
黄灿灿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201810536126.9A priority Critical patent/CN110557316B/en
Publication of CN110557316A publication Critical patent/CN110557316A/en
Application granted granted Critical
Publication of CN110557316B publication Critical patent/CN110557316B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/26Systems using multi-frequency codes
    • H04L27/2601Multicarrier modulation systems
    • H04L27/2614Peak power aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2592Translation of Internet protocol [IP] addresses using tunnelling or encapsulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing 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

Message transmission method, system, device and computer readable storage medium
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.
CN201810536126.9A 2018-05-30 2018-05-30 Message transmission method, system, device and computer readable storage medium Active CN110557316B (en)

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 CN110557316A (en) 2019-12-10
CN110557316B true 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 (2)

* Cited by examiner, † Cited by third party
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
US12021902B1 (en) 2021-12-10 2024-06-25 Amazon Technologies, Inc. Network configuration analysis and management

Families Citing this family (21)

* Cited by examiner, † Cited by third party
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
CN111181856B (en) * 2019-12-31 2022-07-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
WO2022126399A1 (en) * 2020-12-15 2022-06-23 华为技术有限公司 Communication method and communication apparatus
CN114666270A (en) * 2020-12-23 2022-06-24 中国移动通信有限公司研究院 Data transmission method, network equipment and system
CN112737915B (en) * 2020-12-29 2022-10-25 优刻得科技股份有限公司 Intranet tunnel cross-domain gateway forwarding method, system, equipment and medium based on intelligent network card
CN115134285A (en) * 2021-03-25 2022-09-30 中兴通讯股份有限公司 Path tracking method, device and storage medium
CN113422729B (en) * 2021-04-29 2022-08-05 全球能源互联网研究院有限公司 Virtual power plant targeted communication system and control method
CN113489646B (en) * 2021-07-01 2023-07-25 北京网聚云联科技有限公司 VXLAN-based segmented route transmission method, server, source node and storage medium
CN115695084A (en) * 2021-07-28 2023-02-03 中国电信股份有限公司 Message processing method, device and communication system
CN113595891B (en) * 2021-08-18 2022-11-25 北京金山云网络技术有限公司 Data communication method and device and electronic equipment
CN113992577B (en) * 2021-09-24 2024-05-03 广东浪潮智慧计算技术有限公司 Network intercommunication method, device, equipment and medium
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
US11936558B1 (en) 2021-12-10 2024-03-19 Amazon Technologies, Inc. Dynamic evaluation and implementation of network mutations
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
CN115102921B (en) * 2022-05-30 2023-08-25 苏州浪潮智能科技有限公司 Method, device, equipment and medium for penetrating NAT through VXLAN
CN115442184B (en) * 2022-08-29 2024-01-02 天翼云科技有限公司 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

Citations (2)

* Cited by examiner, † Cited by third party
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
CN107124347A (en) * 2017-06-13 2017-09-01 杭州迪普科技股份有限公司 A kind of optimization method and device of the VXLAN control planes based on BGP EVPN

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8767731B2 (en) * 2010-05-19 2014-07-01 Alcatel Lucent Method and apparatus for MPLS label allocation for a BGP MAC-VPN
US10637889B2 (en) * 2015-07-23 2020-04-28 Cisco Technology, Inc. Systems, methods, and devices for smart mapping and VPN policy enforcement

Patent Citations (2)

* Cited by examiner, † Cited by third party
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
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 (2)

* Cited by examiner, † Cited by third party
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
US12021902B1 (en) 2021-12-10 2024-06-25 Amazon Technologies, Inc. Network configuration analysis and management

Also Published As

Publication number Publication date
CN110557316A (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN110557316B (en) Message transmission method, system, device and computer readable storage medium
US9444642B2 (en) LAN multiplexing apparatus
JP7290732B2 (en) Data transfer method and related equipment
EP3270546B1 (en) Message processing method, device and system
CN100563211C (en) The implementation method of a kind of virtual gateway, virtual subnet and system
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
CN112511444A (en) Multicast traffic transmission method, device, communication node and storage medium
CN107026796B (en) VPN route notification method, data flow forwarding method and related equipment
WO2022001835A1 (en) Method and apparatus for sending message, and network device, system and storage medium
CN106559302A (en) Single tunnel method for building up, device and system
CN112491687B (en) Method and device for processing message
US8964749B2 (en) Method, device and system for establishing a pseudo wire
CN110224934A (en) A kind of method and device carrying out Message processing using unified SR label stack
CN114095305A (en) BIER message forwarding method, equipment and system
CN112910772A (en) Message forwarding method and device based on segmented routing
CN105553810A (en) Method and device for forwarding special line service packet
CN107645433A (en) Message forwarding method and device
CN108390812B (en) Message forwarding method and device
WO2023045871A1 (en) Packet processing method, network device and system
CN112511483A (en) Data forwarding method, equipment and storage medium
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
CN114827057B (en) Communication method and communication system

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