[go: up one dir, main page]

CN110061899B - Data message transmission method, device and system - Google Patents

Data message transmission method, device and system Download PDF

Info

Publication number
CN110061899B
CN110061899B CN201910351756.3A CN201910351756A CN110061899B CN 110061899 B CN110061899 B CN 110061899B CN 201910351756 A CN201910351756 A CN 201910351756A CN 110061899 B CN110061899 B CN 110061899B
Authority
CN
China
Prior art keywords
data
edi
vxlan
tunnel
data message
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
CN201910351756.3A
Other languages
Chinese (zh)
Other versions
CN110061899A (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201910351756.3A priority Critical patent/CN110061899B/en
Publication of CN110061899A publication Critical patent/CN110061899A/en
Application granted granted Critical
Publication of CN110061899B publication Critical patent/CN110061899B/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/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • 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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery

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 present disclosure relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for transmitting data messages, where the system is used for data transmission between different data centers, each data center at least includes a first ED and a second ED, and an EDI-VXLAN tunnel is established between the first ED and the second ED; when the first ED determines that a transmission link of the first ED has a fault, the first ED forwards a data message sent by a sending end to a second ED by using an EDI-VXLAN tunnel; setting a route from the first ED to a next hop corresponding to the transmission link to be in an unavailable state; the second ED receives and sends the data message forwarded by the first ED; and when determining that the route is unavailable, sending route updating information for instructing the sending end to update the IP address of the second ED from the virtual IP address to the actual IP address. By adopting the scheme, the efficiency of traffic forwarding is ensured while the traffic forwarding is not lost.

Description

Data message transmission method, device and system
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for transmitting a data packet.
Background
Ethernet Virtual Private Network (EVPN) is a two-layer Virtual Private Network (VPN) technology. The control plane adopts a Multi-Protocol Border Gateway Protocol (MP-BGP) to announce routing information, and the data plane adopts a Virtual eXtensible Local Area Network (VXLAN) encapsulation to forward messages.
In an EVPN network, multiple data centers may be included, and different data centers may be interconnected by Edge Devices (EDs). Taking two data centers as an example, as shown in fig. 1, a schematic networking diagram is shown in which cross-data centers (i.e., a first data center and a second data center) are interconnected by respective EDs. An extensible virtual local area network Data Center interconnection (VXLAN-DCI) Tunnel is established between the two EDs, the Tunnel adopts a VXLAN encapsulation format, and each ED establishes a VXLAN Tunnel with a VXLAN Tunnel End Point (VTEP) inside the Data Center. In this way, after the ED receives the data message sent by the VTEP from the VXLAN tunnel, the VXLAN encapsulation may be removed, and then the VXLAN encapsulation may be performed on the data message again according to a destination Internet Protocol Address (IP), and the encapsulated data message may be forwarded to the VXLAN-DCI tunnel.
Disclosure of Invention
In view of this, an object of the present disclosure is to provide a method, an apparatus, and a system for transmitting a data packet, which can ensure efficiency of traffic forwarding on the premise that traffic forwarding is not lost when an ED fails.
Mainly comprises the following aspects:
in a first aspect, a data message transmission method is provided, and is applied to a first edge device ED of a data center, where an edge device interface extensible virtual local area network EDI-VXLAN tunnel is established between the first ED and a second ED of the data center; the method comprises the following steps:
if the self transmission link is determined to have a fault, the EDI-VXLAN tunnel is utilized to forward the data message sent by the sending end to the second ED with the normal transmission link;
setting a route from the first ED to a next hop corresponding to the transmission link to be in an unavailable state, and indicating the second ED to send route updating information to the sending end;
wherein the route update information is used to instruct the sending end to update the IP address of the second ED from a virtual IP address to an actual IP address.
In a second aspect, a data message transmission method is provided, and is applied to a second edge device ED of a data center, and an edge device interface extensible virtual local area network EDI-VXLAN tunnel is established between the second ED and a first ED of the data center; the method comprises the following steps:
receiving a data message forwarded by the first ED through the EDI-VXLAN tunnel; the data message is a data message from a sending end forwarded by the first ED when the first ED determines that a transmission link of the first ED has a fault;
sending the data message, and sending route updating information to the sending end when determining that a route from the first ED to a next hop corresponding to the transmission link is unavailable; wherein the route update information is used to instruct the sending end to update the IP address of the second ED from a virtual IP address to an actual IP address.
A third aspect provides a data message transmission method, which is applied to a sending end that sends a data message to a first ED in a data center when data transmission is performed between different data centers, where an edge device interface extensible virtual local area network EDI-VXLAN tunnel is established between the first edge device ED and a second ED in the data center; the sending end and the first ED and the second ED respectively establish a data transmission tunnel; the method comprises the following steps:
acquiring a data message;
forwarding the acquired data message to the first ED by using the established data transmission tunnel, so that when the first ED determines that the transmission link of the first ED has a fault, the EDI-VXLAN tunnel is used for forwarding the data message to the second ED;
receiving a route updating message sent by the second ED by using the established data transmission tunnel, and forwarding the acquired data message to the second ED with a normal transmission link according to the route updating message; wherein the route update information is used to instruct the sending end to update the IP address of the second ED from a virtual IP address to an actual IP address.
In a fourth aspect, a data message transmission system is provided, where each data center includes at least a first edge device ED and a second ED, and an edge device interface extensible virtual local area network EDI-VXLAN tunnel is established between the first ED and the second ED;
the first ED is configured to forward the data packet sent by the sending end to the second ED by using the EDI-VXLAN tunnel if it is determined that a transmission link of the first ED has a fault; and setting a route from the first ED to a next hop corresponding to the transmission link to be in an unavailable state;
the second ED is configured to receive and send the data packet forwarded by the first ED; when determining that a route from the first ED to a next hop corresponding to the transmission link is unavailable, sending route update information to the sending end; wherein the route update information is used to instruct the sending end to update the IP address of the second ED from a virtual IP address to an actual IP address.
In a fifth aspect, a data message transmission apparatus is provided, where the apparatus is applied to a first ED of a data center, and an edge device interface extensible virtual local area network EDI-VXLAN tunnel is established between the first ED and a second ED of the data center; the device comprises:
the forwarding module is used for forwarding the data message sent by the sending end to the second ED with the normal transmission link by using the EDI-VXLAN tunnel if the transmission link of the forwarding module is determined to have a fault;
an indicating module, configured to set a route from the first ED to a next hop corresponding to the transmission link to an unavailable state, and instruct the second ED to send route update information to the sending end;
wherein the route update information is used to instruct the sending end to update the IP address of the second ED from a virtual IP address to an actual IP address.
A sixth aspect provides a data message transmission apparatus, which is applied to a second edge device ED of a data center, where an edge device interface extensible virtual local area network EDI-VXLAN tunnel is established between the second ED and a first ED of the data center; the device comprises:
a receiving module, configured to receive the data packet forwarded by the first ED through the EDI-VXLAN tunnel; the data message is a data message from a sending end forwarded by the first ED when the first ED determines that a transmission link of the first ED has a fault;
an updating module, configured to send the data packet, and send route update information to the sending end when determining that a route from the first ED to a next hop corresponding to the transmission link is unavailable; wherein the route update information is used to instruct the sending end to update the IP address of the second ED from a virtual IP address to an actual IP address.
A seventh aspect provides a data packet transmission apparatus, which is applied to a sending end that sends a data packet to a first ED in a data center when data transmission is performed between different data centers, where an edge device interface extensible virtual local area network EDI-VXLAN tunnel is established between a first edge device ED and a second edge device ED in the data center; the sending end and the first ED and the second ED respectively establish a data transmission tunnel; the device comprises:
the acquisition module is used for acquiring the data message;
the forwarding module is configured to forward the acquired data packet to the first ED through the established data transmission tunnel, so that when the first ED determines that a transmission link of the first ED fails, the first ED forwards the data packet to the second ED through the EDI-VXLAN tunnel;
an update module, configured to receive a route update message sent by the second ED using the established data transmission tunnel, and forward the acquired data packet to the second ED with a normal transmission link according to the route update message; wherein the route update information is used to instruct the sending end to update the IP address of the second ED from a virtual IP address to an actual IP address.
In an eighth aspect, an electronic device is provided, which includes a processor, a memory and a bus, the memory stores machine-readable instructions executable by the processor, the processor and the memory communicate with each other through the bus, and the machine-readable instructions, when executed by the processor, perform the steps of the data packet transmission method according to any one of the first to third aspects.
A ninth aspect provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the data message transmission method according to any one of the first to third aspects.
By adopting the scheme, on one hand, when the first ED determines that the transmission link of the first ED has a fault, the first ED forwards the data message sent by the sending end to the second ED by using the pre-established EDI-VXLAN tunnel, and the second ED receives and sends the data message forwarded by the first ED; on the other hand, the first ED may further set a route from the first ED to a next hop corresponding to the transmission link to an unavailable state, and the second ED may send route update information to the sending end when determining that the route is unavailable, so that the sending end sends the data packet according to the updated actual IP address of the second ED. That is, when the transmission link of the first ED fails, the standby EDI-VXLAN tunnel may be used to forward the data packet to ensure that the traffic forwarding is not lost, and meanwhile, the data traffic of the sending end may be directly forwarded to the second ED according to the route update information, thereby ensuring the efficiency of traffic forwarding.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
To more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present disclosure and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings may be obtained from the drawings without inventive effort.
FIG. 1 is a schematic diagram illustrating a networking of a single ED across data center interconnection provided in the related art;
FIG. 2 is a schematic diagram illustrating a networking of a dual ED implementation cross-data center interconnection provided in the related art;
fig. 3 is a schematic diagram illustrating an application of a data message transmission system according to an embodiment of the present disclosure;
fig. 4 shows a flowchart of a data message transmission method provided by an embodiment of the present disclosure;
fig. 5 is a flow chart illustrating another data packet transmission method provided by the embodiment of the present disclosure;
fig. 6 is a flow chart illustrating another data packet transmission method provided by the embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a data message transmission apparatus provided in an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of another data packet transmission apparatus according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of another data packet transmission apparatus according to an embodiment of the present disclosure;
fig. 10 shows a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely 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, not all of the embodiments. The components of the embodiments of the present disclosure, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
In the cross-data center interconnection scheme provided in the related art, all data packets of the data center need to be processed by Edge Devices (EDs) of the data center, and the ED has a large processing pressure.
In order to relieve the processing pressure of the EDs, a dual-ED load sharing technology is provided in the related art, for example, a dual-ED networking schematic diagram shown in fig. 2, two EDs (e.g., ED1 and ED2 deployed in the first data center) may be deployed at the edge of each data center, and the two EDs are virtualized into one device, so that the EDs may establish a tunnel with the VTEP1 and the remote ED by using virtual IP, and then, using an equivalent routing mechanism of the underly network, the VTEP2 may send traffic sent to the ED virtual IP to the two EDs at the same time, thereby achieving load sharing.
As shown in fig. 2, two EDs are deployed at the edge of each of the first data center and the second data center, and in the case of the first data center, the two EDs (i.e., ED1 and ED2) can establish a connection with the ED of the opposite data center (the second data center) through the Underlay network. If the Underlay Network on the Data Center Interconnect (DCI) side (corresponding to the transmission link DC1-1) of the ED1 of the first Data Center fails, since the states of the Ethernet Virtual Private Network (EVPN) neighbors and the loop back ports of the tunnels on the ED1 for establishing the Border Gateway Protocol (BGP) are always open (up), the Interior Gateway Protocol (IGP) routes always exist, and the Data Center internal Network cannot sense the failure, so that when a VTEP (scalable Virtual local area Network Tunnel End Point (VTEP) (i.e., VTEP1) in the first Data Center sends a Data packet to the VTEP2 in the second Data Center, the traffic of the VTEP1 is still forwarded to the ED1, but the corresponding failure exit mechanism of the ED1 to the second Data Center is absent, thus, all traffic forwarded to the ED1 in this state will be discarded, failing to meet the data center's requirement for data transmission integrity.
In order to solve the technical problems in the related art, embodiments of the present disclosure provide a method, an apparatus, and a system for transmitting a data packet, so as to further ensure efficiency of traffic forwarding on the premise that traffic forwarding is not lost when an ED fails.
To facilitate understanding of the data packet transmission method and apparatus provided in the embodiments of the present disclosure, a data packet transmission system provided in an embodiment of the present disclosure is first described.
The disclosed embodiment provides a data message transmission system, which is applied to data transmission among different data centers, wherein each data center at least comprises a first ED and a second ED, and an edge device Interface eXtensible Virtual Local Area Network (ED Interface Virtual eXtensible Local Area Network, EDI-VXLAN) tunnel is established between the first ED and the second ED;
the first ED is used for forwarding the data message sent by the sending end to the second ED by using the EDI-VXLAN tunnel if the self transmission link is determined to have a fault; setting a route from the first ED to a next hop corresponding to the transmission link to be in an unavailable state;
the second ED is used for receiving and sending the data message forwarded by the first ED; when determining that a route from the first ED to a next hop corresponding to the transmission link is unavailable, sending route updating information to the sending end; the routing update information is used for instructing the sending end to update the IP address of the second ED from the virtual IP address to the actual IP address.
Here, to solve the problem that when the transmission link of the ED itself fails, all traffic forwarded to the ED is discarded and thus cannot meet the requirement of the data center on data transmission integrity, the embodiment of the present disclosure establishes an EDI-VXLAN tunnel in advance between the first ED and the second ED to ensure that when the transmission link of the first ED fails, the EDI-VXLAN tunnel can be used to forward the data packet sent by the sending end to the second ED.
Here, it is mainly considered that when a transmission link of the first ED fails, a network topology corresponding to the entire data packet transmission system changes, and the change of the network topology causes a routing table corresponding to a data packet sent from a source address (e.g., BGP address 1.1.1.1 of VTEP1 shown in fig. 3) to a destination address (e.g., BGP address 6.6.6.6 of VTEP2 shown in fig. 3) to change.
However, it takes a certain time for the routing table to be reestablished, sent, and then learned until stable, and before stable (i.e. routing convergence) is achieved, a part of data traffic is loaded to the first ED with a transmission link failure, at this time, the first ED has sensed that its own transmission link has failed at the data forwarding layer, so that the pre-established EDI-VXLAN tunnel can be enabled and traffic forwarding is performed by using the EDI-VXLAN tunnel, thereby avoiding a problem that when the transmission link of the ED fails, all traffic forwarded to the ED1 will be discarded and thus cannot meet the requirement of the data center for data transmission integrity.
It should be noted that the EDI-VXLAN tunnel may be a defined VXLAN tunnel type that connects the first ED and the second ED through the EVPN Network, and the tunnel type may be characterized by forwarding Network traffic of a Virtual eXtensible Local Area Network (VXLAN) tunnel and forwarding Network traffic of a Virtual eXtensible Local Area Network Data Center Interconnect (VXLAN-DCI) tunnel. In the embodiment of the present disclosure, while the EDI-VXLAN tunnel is established, a direct link may be added between the first ED and the second ED, and the direct link is used to carry the EDI-VXLAN tunnel defined above. In addition, in order to support automatic identification of dual EDs (such as the first ED and the second ED) and automatic establishment of an EDI-VXLAN tunnel, in the embodiment of the present disclosure, a Virtual Private Network (VPN) EVPN address family of a Multi-Protocol Border Gateway Protocol (Multi Protocol-Border Gateway Protocol, MP-BGP) may be further extended, a sub-address family of the EVPN ED is newly added, the address family may carry an attribute of a real next hop address of BGP and an attribute of a Virtual IP address of the dual ED, and the dual ED determines whether to use the neighbor ED as its own ED GROUP member (GROUP) by comparing the two attributes carried by the neighbor with a local configuration.
Based on the deployment, when the data forwarding layer already senses that the transmission link of the first ED fails, the first ED can enable the EDI-VXLAN tunnel, and can use the MP-BGP L2VPN EVPN address family expansion method to use the real IP of the next hop corresponding to the directly connected link as the destination address of the EDI-VXLAN tunnel, so that the EDI-VXLAN tunnel can be used for forwarding the traffic.
As the failure time advances, the first ED may also sense a link failure at an upper protocol layer, and at this time, the first ED may set a route from the first ED to a next hop corresponding to the transmission link to an unavailable state. In the embodiment of the present disclosure, the first ED may directly set the route as unavailable through the route setting, and may further delete the route information reaching the next hop corresponding to the transmission link from the first ED to implement the setting that the route is unavailable. In any of the above implementations, after the setting is completed, a route withdrawal message indicating that the route is unavailable may be generated, so that other devices (e.g., the second ED, the sending end, etc.) can learn the unavailable state of the route and respond in a timely manner.
For the second ED, when determining that a route from the first ED to the next hop corresponding to the transmission link is unavailable, the routing table information may be refreshed, and route update information for instructing the sending end to update the IP address of the second ED from the virtual IP address to the actual IP address is sent to the sending end, so that the sending end may transmit the data packet according to the updated route information from the sending end to the second ED. Here, the second ED may determine that a route from the first ED to a corresponding next hop of the transmission link has been unavailable upon receiving a route withdrawal message indicating that the route is unavailable by the first ED.
For the sending end, when it is determined that a route from the first ED to the next hop corresponding to the transmission link is unavailable, it may be determined that data transmission cannot be performed from the first ED to the next hop corresponding to the transmission link, at this time, a route exit of the sending end may be refreshed, and data traffic may be transmitted to the second ED according to route update information sent by the second ED. That is, after the routing converges, the data packet transmission system provided in the embodiment of the present disclosure may directly forward the data traffic to the second ED, so as to improve the transmission efficiency of the data traffic. Similarly, the sending end may also determine that a route from the first ED to the next hop corresponding to the transmission link is not available after receiving a route withdrawal message indicating that the route is not available from the first ED.
In the embodiment of the present disclosure, the sending end may be a VTEP included in a data center, and may also be a core device for connecting different data centers, and the two cases are described below respectively.
In a first aspect: the sending end is a VTEP included in the data center, and at the moment, VXLAN tunnels are respectively established between the VTEP and the first ED and the second ED. When the data packet transmission system provided in the embodiment of the present disclosure may further include a core device for connecting different data centers, VXLAN-DCI tunnels may be respectively established between the core device and the first ED and between the core device and the second ED.
Based on the VXLAN tunnel, the EDI-VXLAN tunnel and the VXLAN-DCI tunnel, the VTEP can forward the data message to the core equipment.
For VTEP: on one hand, the VTEP can acquire the data message, and the acquired data message is forwarded to the first ED by using the VXLAN tunnel, so that the first ED receives the data message forwarded by the VTEP; on the other hand, after receiving a route withdrawal message indicating that the route is unavailable by the first ED and a route update message sent by the second ED, the VTEP can update the address of the second ED from the virtual IP address to the actual IP address according to the route update message sent by the second ED, so that the data traffic of the VTEP can be directly forwarded to the second ED, so that the second ED forwards the data traffic to the core device, and the transmission efficiency of the data traffic is further improved.
It should be noted that, since the address related to the second ED in the routing information has been updated from the virtual IP address to the actual IP address, the VXLAN tunnel between the VTEP and the second ED that is established depending on the address information needs to be reestablished, that is, the VTEP may reestablish the VXLAN tunnel between the VTEP and the second ED based on the routing update information, and forward the data packet to the second ED using the reestablished VXLAN tunnel.
For the first ED, when determining that a transmission link between the first ED and the core device fails, the first ED may encapsulate the data packet sent by the VTEP into a first encapsulated data packet that facilitates the EDI-VXLAN tunneling, and forward the first encapsulated data packet to the second ED using the EDI-VXLAN tunneling.
For a second ED, on one hand, the second ED may receive a first encapsulated data packet forwarded by the first ED, and decapsulate the first encapsulated data packet to obtain a first decapsulated data packet; on the other hand, the second ED may further encapsulate the first decapsulated data packet into a second encapsulated data packet that facilitates VXLAN-DCI tunneling, and forward the second encapsulated data packet to the core device using the VXLAN-DCI tunnel.
To facilitate understanding of the data messaging system, a specific example is provided for illustration.
As shown in fig. 3, the two different data centers are a first data center and a second data center respectively, the first data center includes a first ED group (ED1 and ED2) and VTEP1, VXLAN-1 link and VXLAN-2 link exist between VTEP1 and ED1 and ED2, respectively, and DCI-1 link and DCI-2 link exist between core device P and ED1 and ED2, respectively; the second data center comprises a second ED group (ED3 and ED4) and a VTEP4, and data transmission is realized between the two ED groups through the core device P. Assume that the forwarding direction of data traffic is from the VTEP1 of the first data center to the VTEP2 of the second data center.
When a DCI-1 link (corresponding to a transmission link between a first ED and a core device) fails, data traffic from VTEP1 to VTEP2 is still sent to ED1 in a load sharing manner, at this time, the ED1 forwarding plane has already sensed the failure of DCI-1, an EDI-VXLAN tunnel may be started to serve as a backup tunnel to forward the traffic from VTEP1, decapsulation is performed after the traffic reaches ED2, ED2 decapsulates again, and then continues to forward the data traffic to the core device by using the VXLAN-DCI tunnel between ED2 and the core device, and the core device forwards the data traffic to a second ED group so that the second ED group continues to forward the data traffic to VTEP 2.
After the ED1 and an upper-layer protocol of the second data center perceive DCI-1 link failure, the ED1 may delete the EVPN route of the synchronized VTEP2 in the second data center, that is, may set the route from the first ED to the next hop (i.e., core device) corresponding to the transmission link to an unavailable state, and may also send a route withdrawal message indicating that the route is unavailable to the VTEP1 and the ED2, and the ED2 refreshes the route information, that is, changes the route next hop address (i.e., virtual IP address) 1.2.3.4 to the BGP real next hop address (i.e., real IP address) 3.3.3, so that, after the VTEP1 refreshes the route egress, the data traffic may be forwarded from the VTEP1 to the ED2 directly and continue forwarding.
In a second aspect: the sending end is a core device for connecting different data centers, and at this time, VXLAN-DCI tunnels are respectively established between the core device and the first ED, and between the core device and the second ED. When the data center may further include a VTEP, the VTEP may establish VXLAN tunnels with the first ED and the second ED, respectively.
Based on the VXLAN tunnel, the EDI-VXLAN tunnel and the VXLAN-DCI tunnel established above, the core device can forward the data packet to the VTEP.
For the core device: on one hand, after receiving a data message to be forwarded to a data center, the core device can forward the received data message to a first ED of the data center by using a VXLAN-DCI tunnel, so that the first ED receives the data message forwarded by the core device; on the other hand, after receiving a route withdrawal message indicating that the route is unavailable by the first ED and a route update message sent by the second ED, the core device can update the address of the second ED from the virtual IP address to the actual IP address according to the route update message sent by the second ED, so that the data traffic of the core device can be directly forwarded to the second ED, and the second ED forwards the data traffic to the VTEP, thereby improving the transmission efficiency of the data traffic.
It should be noted that, since the address related to the second ED in the routing information has been updated from the virtual IP address to the actual IP address, at this time, the VXLAN-DCI tunnel between the core device and the second ED that is established depending on the address information needs to be re-established, that is, the core device may re-establish the VXLAN-DCI tunnel between the core device and the second ED based on the routing update information, and forward the data packet to the VTEP using the re-established VXLAN-DCI tunnel.
For the first ED, when determining that a transmission link between the first ED and the VTEP is faulty, the first ED may encapsulate the data packet sent by the core device into a third encapsulated data packet that facilitates the EDI-VXLAN tunneling, and forward the third encapsulated data packet to the second ED using the EDI-VXLAN tunneling.
For a second ED, on one hand, the second ED may receive a third encapsulated data packet forwarded by the first ED, and decapsulate the third encapsulated data packet to obtain a second decapsulated data packet; on the other hand, the second ED may further encapsulate the second decapsulated data packet into a fourth encapsulated data packet that facilitates VXLAN tunneling, and forward the fourth encapsulated data packet to the VTEP using the VXLAN tunnel.
To facilitate understanding of the data messaging system, a specific example is shown in connection with fig. 3.
As shown in fig. 3, the two different data centers are a first data center and a second data center respectively, the first data center includes a first ED group (ED1 and ED2) and VTEP1, VXLAN-1 link and VXLAN-2 link exist between VTEP1 and ED1 and ED2, respectively, and DCI-1 link and DCI-2 link exist between core device P and ED1 and ED2, respectively; the second data center comprises a second ED group (ED3 and ED4) and a VTEP4, and data transmission is realized between the two ED groups through the core device P. Assume that the forwarding direction of data traffic is from the VTEP2 of the second data center to the VTEP1 of the first data center.
When a VXLAN-1 link (corresponding to a transmission link between a first ED and a VTEP) fails, data traffic from the VTEP2 to the VTEP1 is still sent to the ED1 in a load sharing manner, at this time, the ED1 forwarding plane already senses the failure of VXLAN-1, an EDI-VXLAN tunnel can be started to serve as a backup tunnel to forward the traffic from the core device P, decapsulation is performed after the traffic reaches the ED2, and the ED2 continues to forward the data traffic to the VTEP1 by using the VXLAN tunnel between the ED2 and the VTEP1 after being repackaged.
After the ED1 and an upper protocol of the second data center sense DCI-1 link failure, the ED1 may delete EVPN routes synchronized with VTEP1, that is, may set a route from the first ED to a next hop corresponding to a transmission link (i.e., VTEP1) to an unavailable state, and may also send a route withdrawal message indicating that the route is unavailable to the core devices P and ED2, and the ED2 refreshes the route information, that is, changes a route next hop address (i.e., a virtual IP address) 1.2.3.4 to BGP (i.e., a virtual IP address) to a real next hop address (i.e., an actual IP address) 3.3.3.3, so that when forwarding traffic sent from VTEP2 to VTEP1, the ED3 and ED4 will forward the traffic to the ED2 only through a VXLAN-DCI tunnel with a destination address of 3.3.3.3.3.3, and forward the traffic to VTEP1 continuously without passing through a failed link.
Therefore, whether the sending end is a VTEP or a core device, when a transmission link of the first ED has a fault, the established EDI-VXLAN tunnel can be used as a standby tunnel to forward the data traffic so as to ensure that the data traffic is not lost, and the sending end can be indicated to directly forward the data traffic to the second ED through the route updating message without passing through the fault link, so that the efficiency of traffic transmission is improved.
Based on the same inventive concept, the embodiment of the present disclosure further provides a data packet transmission method corresponding to the data packet transmission system, and because the principle of solving the problem of the method in the embodiment of the present disclosure is similar to that of the data packet transmission system in the embodiment of the present disclosure, the implementation of the method can refer to the implementation of the system, and repeated details are not repeated.
As shown in fig. 4, which is a flowchart of a data message transmission method provided in the embodiment of the present disclosure, the data message transmission method is applied to a first ED of a data center, and an EDI-VXLAN tunnel is established between the first ED and a second ED of the data center; the method comprises the following steps:
s401, if the self transmission link is determined to have a fault, the EDI-VXLAN tunnel is used for forwarding the data message sent by the sending end to a second ED with a normal transmission link;
s402, setting a route from the first ED to a next hop corresponding to a transmission link to be in an unavailable state, and indicating the second ED to send route updating information to a sending end; the routing update information is used for instructing the sending end to update the IP address of the second ED from the virtual IP address to the actual IP address.
In the embodiment of the present disclosure, the sending end may be a VTEP included in a data center, and may also be a core device for connecting different data centers, and the two cases are described below respectively.
For a VTEP with a sending end serving as a data center, VXLAN tunnels may be respectively established between the VTEP and the first ED and the second ED, so that after the first ED receives a data packet forwarded by the VTEP through the VXLAN tunnel, if it is determined that its own transmission link fails, the data packet sent by the VTEP may be forwarded to the second ED through the EDI-VXLAN tunnel.
In one embodiment, the first ED may send a route withdraw message to the VTEP indicating that the route is unavailable, so that the VTEP updates the address of the second ED from the virtual IP address to the real IP address based on the route withdraw message sent by the first ED and the route update message sent by the second ED.
In the embodiment of the present disclosure, when one end of the core device is connected to the data center and the other end is connected to another data center, VXLAN-DCI tunnels may be respectively established between the core device and the first ED and the second ED, so that, once the first ED determines that a transmission link between the first ED and the core device fails, a data packet sent by the VTEP may be encapsulated into a first encapsulated data packet that is convenient for EDI-VXLAN tunnel transmission, and then the first encapsulated data packet is forwarded to the second ED by using the EDI-VXLAN tunnel, so as to be forwarded to the core device through the second ED.
For the core device with the sending end for connecting different data centers, VXLAN-DCI tunnels may be respectively established between the core device and the first ED and between the core device and the second ED, so that after the first ED receives a data packet forwarded by the core device through the VXLAN-DCI tunnel, if it is determined that its own transmission link fails, the data packet sent by the core device may be forwarded to the second ED through the EDI-VXLAN tunnel.
In one embodiment, the first ED may send a route withdraw message indicating that the route is unavailable to the core device, so that the core device updates the address of the second ED from the virtual IP address to the real IP address based on the route withdraw message sent by the first ED and a route update message sent by the second ED.
In this embodiment of the disclosure, when the data center further includes a VTEP, VXLAN tunnels may be respectively established between the VTEP and the first ED and the second ED, so that, once the first ED determines that a transmission link between the first ED and the VTEP is failed, the data packet sent by the core device may be encapsulated into a third encapsulated data packet which is convenient for EDI-VXLAN tunneling, and then the third encapsulated data packet is forwarded to the second ED by using the EDI-VXLAN tunnel, so as to be forwarded to the VTEP through the second ED.
As shown in fig. 5, which is a flowchart of another data packet transmission method provided in the embodiment of the present disclosure, the data packet transmission method is applied to a second ED of a data center, and an EDI-VXLAN tunnel is established between the second ED and a first ED of the data center; the method comprises the following steps:
s501, receiving a data message forwarded by a first ED through an EDI-VXLAN tunnel; the data message is a data message from a sending end forwarded by the first ED when the first ED determines that the own transmission link has a fault;
s502, sending a data message, and sending route updating information to a sending end when determining that a route from a first ED to a next hop corresponding to a transmission link is unavailable; the routing update information is used for instructing the sending end to update the IP address of the second ED from the virtual IP address to the actual IP address.
In the embodiment of the present disclosure, the sending end may be a VTEP included in a data center, and may also be a core device for connecting different data centers, and the two cases are described below respectively.
For a VTEP included by a sending end as a data center, a VXLAN tunnel may be respectively established between the VTEP and a first ED and a second ED, so that the second ED may receive a first encapsulated data packet forwarded by the first ED using the EDI-VXLAN tunnel; the first encapsulated data message is a data message which is convenient for EDI-VXLAN tunnel transmission and is encapsulated by the data message sent by the VTEP when the first ED determines that a transmission link between the first ED and the core equipment has a fault; the first decapsulated data packet may also be decapsulated to obtain a first decapsulated data packet, the first decapsulated data packet is encapsulated into a second encapsulated data packet that facilitates VXLAN-DCI tunnel transmission, and the second encapsulated data packet is forwarded to the core device using the VXLAN-DCI tunnel.
For the transmitting end is the core equipment used for connecting different data centers, VXLAN-DCI tunnels are respectively established between the core equipment and the first ED and the second ED, so that the second ED can receive a third encapsulated data message forwarded by the first ED by utilizing the EDI-VXLAN tunnels; the third encapsulated data message is a data message which is convenient for EDI-VXLAN tunnel transmission and is encapsulated by the data message sent by the core equipment when the first ED determines that a transmission link between the first ED and the VTEP has a fault; decapsulating the third encapsulated data message to obtain a second decapsulated data message; and encapsulating the second decapsulated data message into a fourth encapsulated data message convenient for VXLAN tunnel transmission, and forwarding the fourth encapsulated data message to the VTEP by using the VXLAN tunnel.
As shown in fig. 6, which is a flowchart of another data packet transmission method provided in the embodiment of the present disclosure, when the data packet transmission method is applied to data transmission between different data centers, a sending end sends a data packet to a first ED in the data center, and an EDI-VXLAN tunnel is established between the first ED and a second ED in the data center; a data transmission tunnel is respectively established between the sending end and the first ED as well as between the sending end and the second ED; the method comprises the following steps:
s601, acquiring a data message;
s602, forwarding the acquired data message to a first ED by using the established data transmission tunnel, so that when the first ED determines that the transmission link of the first ED has a fault, the EDI-VXLAN tunnel is used for forwarding the data message to a second ED;
s603, receiving a route updating message sent by the second ED by using the established data transmission tunnel, and forwarding the acquired data message to the second ED with a normal transmission link according to the route updating message; the routing update information is used for instructing the sending end to update the IP address of the second ED from the virtual IP address to the actual IP address.
In the embodiment of the present disclosure, the sending end may be a VTEP included in a data center, and may also be a core device for connecting different data centers, and the two cases are described below respectively.
For a VTEP included by the sending end as a data center, the VTEP and the first ED and the second ED respectively establish VXLAN tunnels, and in a specific application, the VTEP may reestablish the VXLAN tunnel with the second ED based on the route update information, and forward the data packet to the second ED using the reestablished VXLAN tunnel.
For the core device with the sending end for connecting different data centers, VXLAN-DCI tunnels are respectively established between the core device and the first ED and between the core device and the second ED, and in a specific application, the core device may reestablish the VXLAN-DCI tunnel between the core device and the second ED based on the route update information, and forward the data packet to the second ED using the reestablished VXLAN-DCI tunnel.
The embodiment of the present disclosure also provides a data packet transmission apparatus corresponding to the data packet transmission method, and because the principle of solving the problem of the method in the embodiment of the present disclosure is similar to the data packet transmission method in the embodiment of the present disclosure, the implementation of the method can also refer to the implementation of the system, and repeated parts are not described again.
As shown in fig. 7, which is a schematic structural diagram of a data message transmission apparatus provided in an embodiment of the present disclosure, the data message transmission apparatus is applied to a first ED of a data center, and an EDI-VXLAN tunnel is established between the first ED and a second ED of the data center; the device comprises:
the forwarding module 701 is configured to forward the data packet sent by the sending end to a second ED with a normal transmission link by using an EDI-VXLAN tunnel if it is determined that the transmission link of the forwarding module has a fault;
an indicating module 702, configured to set a route from the first ED to a next hop corresponding to a transmission link to an unavailable state, and instruct the second ED to send route update information to the sending end;
the routing update information is used for instructing the sending end to update the IP address of the second ED from the virtual IP address to the actual IP address.
In one embodiment, a sending end is an extensible virtual local area network tunnel endpoint VTEP included in a data center; VXLAN tunnels are respectively established between the VTEP and the first ED and the second ED; the forwarding module 701 is specifically configured to:
before the EDI-VXLAN tunnel is used for forwarding the data message sent by the sending end to the second ED with a normal transmission link, receiving the data message forwarded by the VTEP through the VXLAN tunnel;
and if the transmission link of the terminal is determined to have a fault, forwarding the data message sent by the VTEP to the second ED by using the EDI-VXLAN tunnel.
In a specific application, the indicating module 702 is further configured to send a route withdrawal message indicating that the route is unavailable to the VTEP, so that the VTEP updates the address of the second ED from the virtual IP address to the actual IP address based on the route withdrawal message sent by the first ED and the route update message sent by the second ED.
In another embodiment, the data center is connected with other data centers through a core device; VXLAN-DCI tunnels are respectively established between the core equipment and the first ED and the second ED; the forwarding module 701 is specifically configured to:
if the transmission link between the VTEP and the core equipment is determined to have a fault, packaging a data message sent by the VTEP into a first packaged data message convenient for EDI-VXLAN tunnel transmission;
and forwarding the first encapsulated data message to the second ED by utilizing the EDI-VXLAN tunnel so as to forward the first encapsulated data message to the core equipment through the second ED.
In another embodiment, the sending end is a core device for connecting different data centers; VXLAN-DCI tunnels are respectively established between the core equipment and the first ED and the second ED; the forwarding module 701 is specifically configured to:
before the EDI-VXLAN tunnel is used for forwarding the data message sent by the sending end to the second ED with the normal transmission link, receiving the data message forwarded by the core equipment through the VXLAN-DCI tunnel;
and if the transmission link of the core equipment is determined to have a fault, forwarding the data message sent by the core equipment to the second ED by using the EDI-VXLAN tunnel.
In a specific application, the indicating module 702 is further configured to send a route withdrawal message indicating that the route is unavailable to the core device, so that the core device updates the address of the second ED from the virtual IP address to the actual IP address based on the route withdrawal message sent by the first ED and the route update message sent by the second ED.
In yet another embodiment, the data center further comprises an extensible virtual local area network tunnel endpoint VTEP; VXLAN tunnels are respectively established between the VTEP and the first ED and the second ED; the forwarding module 701 is specifically configured to:
if the transmission link between the core equipment and the VTEP is determined to have a fault, packaging the data message sent by the core equipment into a third packaged data message convenient for EDI-VXLAN tunnel transmission;
and forwarding the third encapsulated data packet to the second ED by using the EDI-VXLAN tunnel so as to forward the third encapsulated data packet to the VTEP through the second ED.
Fig. 8 is a schematic structural diagram of another data packet transmission apparatus according to an embodiment of the present disclosure, where the data packet transmission apparatus is applied to a second ED of a data center, and an EDI-VXLAN tunnel is established between the second ED and a first ED of the data center; the device comprises:
the receiving and sending module 801 is configured to receive a data packet forwarded by the first ED through the EDI-VXLAN tunnel; the data message is a data message from a sending end forwarded by the first ED when the first ED determines that the own transmission link has a fault;
an updating module 802, configured to send a data packet, and send route updating information to a sending end when determining that a route from a first ED to a next hop corresponding to a transmission link is unavailable; the routing update information is used for instructing the sending end to update the IP address of the second ED from the virtual IP address to the actual IP address.
In one embodiment, a sending end is an extensible virtual local area network tunnel endpoint VTEP included in a data center; VXLAN tunnels are respectively established between the VTEP and the first ED and the second ED; the receiving and sending module 801 is specifically configured to:
receiving a first encapsulated data message forwarded by a first ED through an EDI-VXLAN tunnel; the first encapsulated data message is a data message which is convenient for EDI-VXLAN tunnel transmission and is encapsulated by the data message sent by the VTEP when the first ED determines that a transmission link between the first ED and the core equipment has a fault;
decapsulating the first encapsulated data message to obtain a first decapsulated data message;
and encapsulating the first decapsulated data message into a second encapsulated data message convenient for VXLAN-DCI tunnel transmission, and forwarding the second encapsulated data message to the core equipment by using the VXLAN-DCI tunnel.
In another embodiment, the sending end is a core device for connecting different data centers; VXLAN-DCI tunnels are respectively established between the core equipment and the first ED and the second ED; the receiving and sending module 801 is specifically configured to:
receiving a third encapsulated data message forwarded by the first ED by using the EDI-VXLAN tunnel; the third encapsulated data message is a data message which is convenient for EDI-VXLAN tunnel transmission and is encapsulated by the data message sent by the core equipment when the first ED determines that a transmission link between the first ED and the VTEP has a fault;
decapsulating the third encapsulated data message to obtain a second decapsulated data message;
and encapsulating the second decapsulated data message into a fourth encapsulated data message convenient for VXLAN tunnel transmission, and forwarding the fourth encapsulated data message to the VTEP by using the VXLAN tunnel.
Fig. 9 is a schematic structural diagram of another data packet transmission apparatus according to an embodiment of the present disclosure, where the data packet transmission apparatus is applied to a sending end that sends a data packet to a first ED in a data center when data transmission is performed between different data centers, and an EDI-VXLAN tunnel is established between the first ED and a second ED in the data center; a data transmission tunnel is respectively established between the sending end and the first ED as well as between the sending end and the second ED; the device comprises:
an obtaining module 901, configured to obtain a data packet;
a forwarding module 902, configured to forward the acquired data packet to the first ED using the established data transmission tunnel, so that when the first ED determines that its own transmission link fails, the first ED forwards the data packet to the second ED using the EDI-VXLAN tunnel;
an update module 903, configured to receive a route update message sent by the second ED using the established data transmission tunnel, and forward the acquired data packet to the second ED with a normal transmission link according to the route update message; the routing update information is used for instructing the sending end to update the IP address of the second ED from the virtual IP address to the actual IP address.
In one embodiment, a sending end is an extensible virtual local area network tunnel endpoint VTEP included in a data center; the VTEP and the first ED and the second ED respectively establish VXLAN tunnels; an update module 903, further configured to:
reestablishing the VXLAN tunnel with the second ED based on the route update information;
and forwarding the data message to the second ED by using the reestablished VXLAN tunnel.
In another embodiment, the sending end is a core device for connecting different data centers; VXLAN-DCI tunnels are respectively established between the core equipment and the first ED and the second ED; an update module 903, further configured to:
reestablishing the VXLAN-DCI tunnel with the second ED based on the routing update information;
and forwarding the data message to the second ED by utilizing the reestablished VXLAN-DCI tunnel.
As shown in fig. 10, a schematic structural diagram of an electronic device provided in the embodiment of the present disclosure includes: the processor 1001, the memory 1002 and the bus 1003, the memory 1002 stores the execution instructions, the processor 1001 and the memory 1002 communicate with each other through the bus 1003, and the processor 1001 executes the steps of the data message transmission method stored in the memory 1002 according to the above embodiment.
In a specific application, the electronic device may be a first ED to execute the data packet transmission method including the steps S401 and S402, may be a second ED to execute the data packet transmission method including the steps S501 and S502, and may be a sending end to execute the data packet transmission method including the steps S601, S602, and S603.
The embodiment of the present disclosure further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the data packet transmission method are executed.
Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, and the like, and when a computer program on the storage medium is executed, the data packet transmission method can be executed, so that the problem of traffic loss in the case of an ED fault is solved, and the effect of ensuring the efficiency of traffic forwarding on the premise of ensuring that traffic forwarding is not lost is achieved.
The computer program product of the data packet transmission method provided in the embodiments of the present disclosure includes a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method in the foregoing method embodiments, and specific implementation may refer to the method embodiments, which is not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above is only a specific embodiment of the present disclosure, but the scope of the present disclosure is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present disclosure, and shall be covered by the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (19)

1. A data message transmission method is characterized in that the method is applied to a first edge device ED of a data center, and an edge device interface extensible virtual local area network EDI-VXLAN tunnel is established between the first ED and a second ED of the data center; the method comprises the following steps:
if the self transmission link is determined to have a fault, the EDI-VXLAN tunnel is utilized to forward the data message sent by the sending end to the second ED with the normal transmission link;
setting a route from the first ED to a next hop corresponding to the transmission link to be in an unavailable state, and indicating the second ED to send route updating information to the sending end;
wherein the route update information is used to instruct the sending end to update the IP address of the second ED from a virtual IP address to an actual IP address.
2. The method according to claim 1, wherein the sending end is an extensible virtual local area network tunnel endpoint VTEP included in the data center; extensible virtual local area network VXLAN tunnels are respectively established between the VTEP and the first ED and between the VTEP and the second ED; before the forwarding the data packet sent by the sending end to the second ED with a normal transmission link by using the EDI-VXLAN tunnel, the method further includes:
receiving a data message forwarded by the VTEP by utilizing the VXLAN tunnel;
the forwarding the data packet sent by the sending end to the second ED with a normal transmission link by using the EDI-VXLAN tunnel includes:
and if the transmission link of the terminal is determined to have a fault, forwarding the data message sent by the VTEP to the second ED by using the EDI-VXLAN tunnel.
3. The method of claim 2, further comprising:
sending a route withdraw message indicating that the route is unavailable to the VTEP, so that the VTEP updates the address of the second ED from the virtual IP address to the real IP address based on the route withdraw message sent by the first ED and the route update message sent by the second ED.
4. The data message transmission method according to claim 2, wherein the data center is connected with other data centers through a core device; extensible virtual local area network data center interconnection VXLAN-DCI tunnels are respectively established between the core device and the first ED and between the core device and the second ED; the forwarding the data packet sent by the VTEP to the second ED by using the EDI-VXLAN tunnel includes:
if the transmission link between the VTEP and the core equipment is determined to have a fault, packaging the data message sent by the VTEP into a first packaged data message which is convenient for EDI-VXLAN tunnel transmission;
and forwarding the first encapsulated data packet to the second ED by using the EDI-VXLAN tunnel, so as to forward the first encapsulated data packet to the core device through the second ED.
5. The data message transmission method according to claim 1, wherein the sending end is a core device for connecting different data centers; extensible virtual local area network data center interconnection VXLAN-DCI tunnels are respectively established between the core equipment and the first ED and between the core equipment and the second ED; before the forwarding the data packet sent by the sending end to the second ED with a normal transmission link by using the EDI-VXLAN tunnel, the method further includes:
receiving a data message forwarded by the core equipment by using the VXLAN-DCI tunnel;
the forwarding the data packet sent by the sending end to the second ED with a normal transmission link by using the EDI-VXLAN tunnel includes:
and if the transmission link of the core equipment is determined to have a fault, forwarding the data message sent by the core equipment to the second ED by using the EDI-VXLAN tunnel.
6. The method of claim 5, further comprising:
sending a route withdrawal message to the core device indicating that a route is unavailable, so that the core device updates an address of the second ED from a virtual IP address to a real IP address based on the route withdrawal message sent by the first ED and a route update message sent by the second ED.
7. The method according to claim 5, wherein the data center further comprises an extensible virtual local area network tunnel endpoint VTEP; extensible virtual local area network VXLAN tunnels are respectively established between the VTEP and the first ED and between the VTEP and the second ED; the forwarding the data packet sent by the core device to the second ED by using the EDI-VXLAN tunnel includes:
if the transmission link between the core equipment and the VTEP is determined to have a fault, packaging the data message sent by the core equipment into a third packaged data message convenient for EDI-VXLAN tunnel transmission;
forwarding the third encapsulated data packet to the second ED by using the EDI-VXLAN tunnel, so as to forward the third encapsulated data packet to the VTEP through the second ED.
8. A data message transmission method is characterized in that the method is applied to a second edge device ED of a data center, and an edge device interface extensible virtual local area network EDI-VXLAN tunnel is established between the second ED and a first ED of the data center; the method comprises the following steps:
receiving a data message forwarded by the first ED through the EDI-VXLAN tunnel; the data message is a data message from a sending end forwarded by the first ED when the first ED determines that a transmission link of the first ED has a fault;
sending the data message, and sending route updating information to the sending end when determining that a route from the first ED to a next hop corresponding to the transmission link is unavailable; wherein the route update information is used to instruct the sending end to update the IP address of the second ED from a virtual IP address to an actual IP address.
9. The method according to claim 8, wherein the sender is an extensible virtual local area network tunnel endpoint VTEP included in the data center; extensible virtual local area network VXLAN tunnels are respectively established between the VTEP and the first ED and between the VTEP and the second ED; the receiving the data packet forwarded by the first ED through the EDI-VXLAN tunnel includes:
receiving a first encapsulated data message forwarded by the first ED by using the EDI-VXLAN tunnel; the first encapsulated data message is a data message which is encapsulated by the data message sent by the VTEP and is convenient for the EDI-VXLAN tunnel transmission when the first ED determines that a transmission link between the first ED and core equipment has a fault;
after the receiving the data packet forwarded by the first ED through the EDI-VXLAN tunnel, the method further includes:
decapsulating the first encapsulated data message to obtain a first decapsulated data message;
and encapsulating the first decapsulated data packet into a second encapsulated data packet convenient for the VXLAN-DCI tunnel transmission, and forwarding the second encapsulated data packet to the core device by using the VXLAN-DCI tunnel.
10. The data message transmission method according to claim 8, wherein the sending end is a core device for connecting different data centers; extensible virtual local area network data center interconnection VXLAN-DCI tunnels are respectively established between the core equipment and the first ED and between the core equipment and the second ED; the receiving the data packet forwarded by the first ED through the EDI-VXLAN tunnel includes:
receiving a third encapsulated data message forwarded by the first ED by using the EDI-VXLAN tunnel; the third encapsulated data message is a data message which is convenient for the EDI-VXLAN tunnel transmission and is encapsulated by the data message sent by the core equipment when the first ED determines that a transmission link between the first ED and the VTEP has a fault;
decapsulating the third encapsulated data message to obtain a second decapsulated data message;
and encapsulating the second decapsulated data packet into a fourth encapsulated data packet convenient for the VXLAN tunnel transmission, and forwarding the fourth encapsulated data packet to the VTEP by using the VXLAN tunnel.
11. A data message transmission method is characterized in that a transmitting end for transmitting data messages to a first ED in a data center when the data messages are transmitted between different data centers is applied, an edge device interface extensible virtual local area network EDI-VXLAN tunnel is established between the first edge device ED and a second ED in the data center; the sending end and the first ED and the second ED respectively establish a data transmission tunnel; the method comprises the following steps:
acquiring a data message;
forwarding the acquired data message to the first ED by using the established data transmission tunnel, so that when the first ED determines that the transmission link of the first ED has a fault, the EDI-VXLAN tunnel is used for forwarding the data message to the second ED;
receiving a route updating message sent by the second ED by using the established data transmission tunnel, and forwarding the acquired data message to the second ED with a normal transmission link according to the route updating message; wherein the route update information is used to instruct the sending end to update the IP address of the second ED from a virtual IP address to an actual IP address.
12. The method according to claim 11, wherein the sending end is an extensible virtual local area network tunnel endpoint VTEP included in the data center; the VTEP and the first ED and the second ED are respectively established with extensible virtual local area network VXLAN tunnels; the method further comprises the following steps:
reestablishing a VXLAN tunnel with the second ED based on the route update information;
and forwarding the data message to the second ED by using the reestablished VXLAN tunnel.
13. The data message transmission method according to claim 11, wherein the sending end is a core device for connecting different data centers; extensible virtual local area network data center interconnection VXLAN-DCI tunnels are respectively established between the core device and the first ED and between the core device and the second ED; the method further comprises the following steps:
reestablishing a VXLAN-DCI tunnel with the second ED based on the route update information;
and forwarding the data message to the second ED by using the reestablished VXLAN-DCI tunnel.
14. A data message transmission system is characterized in that the data message transmission system is used for data transmission among different data centers, wherein each data center at least comprises a first edge device ED and a second ED, and an edge device interface extensible virtual local area network EDI-VXLAN tunnel is established between the first ED and the second ED;
the first ED is configured to forward the data packet sent by the sending end to the second ED by using the EDI-VXLAN tunnel if it is determined that a transmission link of the first ED has a fault; and setting a route from the first ED to a next hop corresponding to the transmission link to be in an unavailable state;
the second ED is configured to receive and send the data packet forwarded by the first ED; when determining that a route from the first ED to a next hop corresponding to the transmission link is unavailable, sending route update information to the sending end; wherein the route update information is used to instruct the sending end to update the IP address of the second ED from a virtual IP address to an actual IP address.
15. A data message transmission device is characterized in that the device is applied to a first ED of a data center, and an edge device interface extensible virtual local area network EDI-VXLAN tunnel is established between the first ED and a second ED of the data center; the device comprises:
the forwarding module is used for forwarding the data message sent by the sending end to the second ED with the normal transmission link by using the EDI-VXLAN tunnel if the transmission link of the forwarding module is determined to have a fault;
an indicating module, configured to set a route from the first ED to a next hop corresponding to the transmission link to an unavailable state, and instruct the second ED to send route update information to the sending end;
wherein the route update information is used to instruct the sending end to update the IP address of the second ED from a virtual IP address to an actual IP address.
16. A data message transmission device is characterized in that the device is applied to a second edge device ED of a data center, and an edge device interface extensible virtual local area network EDI-VXLAN tunnel is established between the second ED and a first ED of the data center; the device comprises:
a receiving module, configured to receive the data packet forwarded by the first ED through the EDI-VXLAN tunnel; the data message is a data message from a sending end forwarded by the first ED when the first ED determines that a transmission link of the first ED has a fault;
an updating module, configured to send the data packet, and send route update information to the sending end when determining that a route from the first ED to a next hop corresponding to the transmission link is unavailable; wherein the route update information is used to instruct the sending end to update the IP address of the second ED from a virtual IP address to an actual IP address.
17. A data message transmission device is characterized in that the device is applied to a sending end which sends a data message to a first ED in a data center when data transmission is carried out between different data centers, and an edge device interface extensible virtual local area network EDI-VXLAN tunnel is established between the first edge device ED and a second ED in the data center; the sending end and the first ED and the second ED respectively establish a data transmission tunnel; the device comprises:
the acquisition module is used for acquiring the data message;
the forwarding module is configured to forward the acquired data packet to the first ED through the established data transmission tunnel, so that when the first ED determines that a transmission link of the first ED fails, the first ED forwards the data packet to the second ED through the EDI-VXLAN tunnel;
an update module, configured to receive a route update message sent by the second ED using the established data transmission tunnel, and forward the acquired data packet to the second ED with a normal transmission link according to the route update message; wherein the route update information is used to instruct the sending end to update the IP address of the second ED from a virtual IP address to an actual IP address.
18. An electronic device comprising a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus, the machine-readable instructions when executed by the processor performing the steps of the data message transmission method according to any one of claims 1 to 13.
19. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the data message transmission method according to any one of claims 1 to 13.
CN201910351756.3A 2019-04-28 2019-04-28 Data message transmission method, device and system Active CN110061899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910351756.3A CN110061899B (en) 2019-04-28 2019-04-28 Data message transmission method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910351756.3A CN110061899B (en) 2019-04-28 2019-04-28 Data message transmission method, device and system

Publications (2)

Publication Number Publication Date
CN110061899A CN110061899A (en) 2019-07-26
CN110061899B true CN110061899B (en) 2021-08-06

Family

ID=67321494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910351756.3A Active CN110061899B (en) 2019-04-28 2019-04-28 Data message transmission method, device and system

Country Status (1)

Country Link
CN (1) CN110061899B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9923811B2 (en) 2015-06-27 2018-03-20 Nicira, Inc. Logical routers and switches in a multi-datacenter environment
US11438238B2 (en) 2020-04-06 2022-09-06 Vmware, Inc. User interface for accessing multi-site logical network
US11777793B2 (en) 2020-04-06 2023-10-03 Vmware, Inc. Location criteria for security groups
US11736383B2 (en) 2020-04-06 2023-08-22 Vmware, Inc. Logical forwarding element identifier translation between datacenters
US11088902B1 (en) 2020-04-06 2021-08-10 Vmware, Inc. Synchronization of logical network state between global and local managers
US11381456B2 (en) 2020-04-06 2022-07-05 Vmware, Inc. Replication of logical network data between global managers
CN111885630B (en) * 2020-07-01 2023-06-30 中国联合网络通信集团有限公司 Data transmission method and communication device
CN111988222A (en) * 2020-08-31 2020-11-24 网易(杭州)网络有限公司 Data transmission method and device, electronic equipment and computer readable storage medium
US11601474B2 (en) 2020-09-28 2023-03-07 Vmware, Inc. Network virtualization infrastructure with divided user responsibilities
CN114726680B (en) * 2021-01-04 2025-01-07 中国移动通信有限公司研究院 Fronthaul control method and system
US12107722B2 (en) 2022-07-20 2024-10-01 VMware LLC Sharing network manager between multiple tenants
US20240289158A1 (en) 2023-02-23 2024-08-29 VMware LLC Health monitoring architecture for multi-tenant system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878048A (en) * 2016-12-13 2017-06-20 新华三技术有限公司 Fault handling method and device
CN107276784A (en) * 2016-03-30 2017-10-20 丛林网络公司 The fault handling method and PE of movable standby redundancy in EVPN DCI
CN107846342A (en) * 2016-09-20 2018-03-27 华为技术有限公司 A kind of retransmission method, equipment and the system of VXLAN messages
CN108718269A (en) * 2018-05-18 2018-10-30 新华三技术有限公司 Message processing method and device
WO2019076295A1 (en) * 2017-10-17 2019-04-25 华为技术有限公司 Method for processing message, device, and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014052485A1 (en) * 2012-09-26 2014-04-03 Huawei Technologies Co. Ltd. Overlay virtual gateway for overlay networks
US10454758B2 (en) * 2016-08-31 2019-10-22 Nicira, Inc. Edge node cluster network redundancy and fast convergence using an underlay anycast VTEP IP

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107276784A (en) * 2016-03-30 2017-10-20 丛林网络公司 The fault handling method and PE of movable standby redundancy in EVPN DCI
CN107846342A (en) * 2016-09-20 2018-03-27 华为技术有限公司 A kind of retransmission method, equipment and the system of VXLAN messages
CN106878048A (en) * 2016-12-13 2017-06-20 新华三技术有限公司 Fault handling method and device
WO2019076295A1 (en) * 2017-10-17 2019-04-25 华为技术有限公司 Method for processing message, device, and system
CN108718269A (en) * 2018-05-18 2018-10-30 新华三技术有限公司 Message processing method and device

Also Published As

Publication number Publication date
CN110061899A (en) 2019-07-26

Similar Documents

Publication Publication Date Title
CN110061899B (en) Data message transmission method, device and system
CN108574616B (en) Method, equipment and system for processing route
US9197583B2 (en) Signaling of attachment circuit status and automatic discovery of inter-chassis communication peers
US9100266B2 (en) SoftRouter protocol failovers
CN107547370B (en) Flow forwarding method, device and system
CN107948041B (en) Method and equipment for constructing VXLAN centralized multi-active gateway
US7269135B2 (en) Methods and systems for providing redundant connectivity across a network using a tunneling protocol
US7864666B2 (en) Communication control apparatus, method and program thereof
US20010044842A1 (en) Communication system, communication control method and control program storage medium
CN104205748A (en) Inter-chassis redundancy with coordinated traffic direction
CN111988213B (en) Method, equipment and medium for synchronizing VXLAN tunnel in EVPN MLAG environment
CN108075969B (en) Message forwarding method and device
CN108718269B (en) Message processing method and device
US9172598B2 (en) Scalable reliable failover in a network
CN118827531B (en) Network link fault processing method, device, equipment, medium and networking
CN111130982B (en) Message forwarding method and device, gateway equipment and readable storage medium
US11088939B1 (en) Reducing open shortest path first protocol link flap
CN112995027B (en) Route publishing method and VTEP node
US20210243115A1 (en) Wireless control and fabric links for high-availability cluster nodes
CN107018072B (en) A data frame sending method and access device
US12015544B1 (en) Backup route for network devices in multihoming configuration
CN108322379B (en) Virtual private network VPN system and implementation method
CN105515999B (en) Quick convergence method and device for end system address distribution information protocol
CN118869581B (en) A network communication system, method, device, electronic device and storage medium
CN106856446B (en) Method and system for improving virtual network reliability

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