CN112804129A - Message transmission method and system, VPN (virtual private network) equipment at sending end and GRE (generic routing encapsulation) splicing equipment - Google Patents

Message transmission method and system, VPN (virtual private network) equipment at sending end and GRE (generic routing encapsulation) splicing equipment Download PDF

Info

Publication number
CN112804129A
CN112804129A CN201911109497.XA CN201911109497A CN112804129A CN 112804129 A CN112804129 A CN 112804129A CN 201911109497 A CN201911109497 A CN 201911109497A CN 112804129 A CN112804129 A CN 112804129A
Authority
CN
China
Prior art keywords
gre
tunnel
message
vpn
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911109497.XA
Other languages
Chinese (zh)
Other versions
CN112804129B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201911109497.XA priority Critical patent/CN112804129B/en
Priority to PCT/CN2020/126191 priority patent/WO2021093641A1/en
Publication of CN112804129A publication Critical patent/CN112804129A/en
Application granted granted Critical
Publication of CN112804129B publication Critical patent/CN112804129B/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
    • 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
    • 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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • 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/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 invention provides a message transmission method and a system, a sending terminal VPN device and a GRE splicing device, wherein the message transmission method is suitable for the splicing of a multi-section general routing encapsulation GRE tunnel in a transmission path, two ends of the transmission path are VPN nodes, and the method comprises the following steps: under the condition that the multi-segment GRE tunnel exists in the transmission path, the VPN device at the sending end sends a first GRE message encapsulated with a target IP address, wherein the target IP address is the address of the VPN device at the receiving end. The invention solves the problem that the splicing node can not forward the message to the destination VPN node in the GRE splicing scene in the related technology.

Description

Message transmission method and system, VPN (virtual private network) equipment at sending end and GRE (generic routing encapsulation) splicing equipment
Technical Field
The present invention relates to the field of data network communications, and in particular, to a method, an apparatus, a system, and a storage medium for packet transmission.
Background
The VPN technology includes L2VPN technology and L3VPN technology based on MPLS tradition, and EVPN technology. Generally, the outer layer tunnel and the inner layer VPN label required by the VPN may be formed by MPLS, which may be implemented based on protocols such as LDP, MP-BGP, etc. But in the case that the intermediate network node traversed by the VPN does not support MPLS, but supports IP and GRE, the outer layer tunnel required by the VPN can be formed by selecting GRE, and the inner layer VPN label is still formed by the VPN nodes of which both ends support MPLS through the relevant protocol. Under the condition that an intermediate network is complex or has a specific networking requirement, the VPN nodes at two ends are connected through multi-segment GRE splicing to form a required outer tunnel.
In the related technology, under the condition that a VPN outer-layer tunnel is constructed by a multi-segment spliced GRE, a data message is forwarded to a splicing node of the multi-segment GRE, after a GRE header of an upper segment is decapsulated, only an internal VPN label and a load are left, and the splicing node cannot acquire forwarding information to a far-end VPN node, so that which GRE header on the encapsulation forwards the message to a next splicing node cannot be determined, and only the message can be discarded.
In order to solve the problem that a splicing node cannot forward a message to a destination VPN node in a GRE splicing scene in the related art, an effective solution is not provided in the prior art.
Disclosure of Invention
The invention provides a message transmission method and a message transmission system, a sending terminal VPN device and a GRE splicing device, and solves the problem that in the related technology, a splicing node cannot forward a message to a destination VPN node in a GRE splicing scene.
According to one aspect of the present invention, a packet transmission method is provided, which is suitable for a transmission path with multi-segment generic routing encapsulation GRE tunnel splicing, where two ends of the transmission path are VPN nodes, and the method includes: under the condition that the multi-segment GRE tunnel exists in the transmission path, the VPN device at the sending end sends a first GRE message encapsulated with a target IP address, wherein the target IP address is the address of the VPN device at the receiving end.
Further, before the sending end VPN device sends the first GRE packet encapsulated with the destination IP address, the method further includes: and under the condition that the outer layer tunnel outlet corresponding to the receiving end VPN equipment is determined to be GRE, the sending end VPN equipment establishes an IP tunnel, the IP tunnel head comprises the destination IP address, and the IP tunnel head is encapsulated in the GRE message.
Further, the IP tunnel header also includes a VPN label and a payload.
Further, at least one GRE splicing node exists in the transmission path, and after the sending end VPN device sends the first GRE packet encapsulated with the destination IP address, the method further includes: and the GRE splicing node acquires the destination IP address under the condition of receiving the first GRE message, and performs GRE encapsulation according to the type of the next section of GRE tunnel to form a second GRE message for transmission.
Further, the IP tunnel includes a GRE tunnel, an IPsec tunnel, or a Vxlan tunnel.
According to another aspect of the present invention, a packet transmission method is provided, which is suitable for a transmission path with multi-segment Generic Routing Encapsulation (GRE) tunnel splicing, where two ends of the transmission path are VPN nodes, and at least one GRE splicing node exists in the transmission path, and the method includes: the GRE splicing node acquires a destination IP address under the condition of receiving the first GRE message; and performing GRE encapsulation according to the type of the next GRE tunnel segment to form a second GRE message for transmission, wherein the first GRE message is sent by the VPN equipment of the sending end, and the first GRE message comprises the destination IP address.
According to another aspect of the present invention, a sending-end VPN apparatus is provided, which is suitable for a scenario where a multi-segment generic routing encapsulation GRE tunnel splice exists in a message transmission path, a receiving end of the transmission path is a VPN apparatus, and the sending-end VPN apparatus includes: and the sending module is used for sending the first GRE message encapsulated with a destination IP address under the condition of determining that the multi-section GRE tunnel exists in the transmission path, wherein the destination IP address is the address of the VPN equipment at the receiving end.
According to another aspect of the present invention, a GRE splicing apparatus is provided, which is suitable for a scenario where a multi-segment generic routing encapsulation GRE tunnel splicing exists in a message transmission path, where two ends of the transmission path are VPN apparatuses, and at least one GRE splicing apparatus exists in the transmission path, where the GRE splicing apparatus includes: the acquisition module is used for acquiring a destination IP address under the condition of receiving the first GRE message; and the transmission module is used for forming a second GRE message for transmission after GRE encapsulation is carried out according to the type of the next section of GRE tunnel, wherein the first GRE message is sent by VPN equipment at a sending end, and the first GRE message comprises the destination IP address.
According to another aspect of the present invention, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements any of the above message transmission methods.
According to another aspect of the present invention, a packet transmission system is provided, which is suitable for a scenario where a multi-segment generic routing encapsulation GRE tunnel splice exists in a transmission path, where two ends of the transmission path are VPN devices, and at least one GRE splice device exists in the transmission path, and the system includes: the VPN device at the sending end is used for sending a first GRE message encapsulated with a destination IP address under the condition that a multi-section GRE tunnel exists in a transmission path, wherein the destination IP address is the address of the VPN device at the receiving end; the GRE splicing device is used for acquiring the destination IP address under the condition of receiving the first GRE message, and forming a second GRE message for transmission after GRE encapsulation is carried out according to the type of the next section of GRE tunnel.
According to the invention, under the condition that the transmission path has multi-segment GRE tunnel splicing and the two ends of the transmission path are VPN nodes, the technical scheme that the sending end VPN device sends the first GRE message encapsulated with the destination IP address, wherein the destination IP address is the address of the receiving end VPN device is adopted, and the problem that the splicing node cannot forward the message to the destination VPN node in the GRE splicing scene in the related technology is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of a message transmission method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a message transmission method according to a second embodiment of the present invention;
fig. 3 is a block diagram of a transmitting-side VPN apparatus according to an embodiment of the present invention;
FIG. 4 is a block diagram of a GRE splicing apparatus according to an embodiment of the present invention;
FIG. 5 is a block diagram of a messaging system according to an embodiment of the invention;
fig. 6 is a flowchart of a message transmission method according to a preferred embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
In this embodiment, a message transmission method is provided, and fig. 1 is a flowchart of a message transmission method according to a first embodiment of the present invention, and as shown in fig. 1, the method is suitable for a transmission path where multi-segment generic routing encapsulation GRE tunnel splicing exists, where two ends of the transmission path are VPN nodes, and the method includes:
step S102, under the condition that the multi-segment GRE tunnel exists in the transmission path, the sending end VPN device sends a first GRE message encapsulated with a destination IP address, wherein the destination IP address is the address of the receiving end VPN device.
Optionally, before the sending end VPN device sends the first GRE packet encapsulated with the destination IP address, the packet transmission method further includes: and under the condition that the outer layer tunnel outlet corresponding to the receiving end VPN equipment is determined to be GRE, the sending end VPN equipment establishes an IP tunnel, wherein the IP tunnel head comprises the destination IP address, and the IP tunnel head is packaged in the GRE message.
Preferably, the destination IP address is encapsulated into the inside of the real outer tunnel exit GRE header on the VPN node as the information of the new IP tunnel header, and a format of nesting the outer GRE header and the inner IP tunnel header is formed. Inside the IP tunnel header is the VPN label and payload.
Optionally, the IP tunnel header further comprises a VPN label and a payload.
Optionally, the IP tunnel comprises a GRE tunnel, an IPsec tunnel, or a Vxlan tunnel.
Optionally, after the sending end VPN device sends the first GRE packet encapsulated with the destination IP address, the packet transmission method further includes: and under the condition that the GRE splicing node exists in the transmission path, the GRE splicing node acquires the destination IP address under the condition that the GRE splicing node receives the first GRE message, and performs GRE encapsulation according to the type of the next section of GRE tunnel to form a second GRE message for transmission.
Fig. 2 is a flowchart of a message transmission method according to a second embodiment of the present invention, and as shown in fig. 2, the method is suitable for a transmission path where multi-segment generic routing encapsulation GRE tunnel splicing exists, where two ends of the transmission path are VPN nodes, and at least one GRE splicing node exists in the transmission path, and the method includes:
step S202, the GRE splicing node obtains a destination IP address under the condition of receiving the first GRE message;
step S204, GRE encapsulation is carried out according to the type of the next section of GRE tunnel, and then a second GRE message is formed for transmission, wherein the first GRE message is sent by the VPN equipment at the sending end, and the first GRE message comprises the destination IP address.
Fig. 3 is a structural block diagram of a sending-end VPN apparatus according to an embodiment of the present invention, and as shown in fig. 3, the sending-end VPN apparatus is suitable for a scenario where a multi-segment generic routing encapsulation GRE tunnel is spliced in a message transmission path, where a receiving end of the transmission path is a VPN apparatus, and the sending-end VPN apparatus includes:
the sending module 32 is configured to send the first GRE packet encapsulated with the destination IP address when it is determined that the multi-segment GRE tunnel exists in the transmission path, where the destination IP address is an address of the receiving-end VPN device.
Fig. 4 is a structural block diagram of a GRE splicing device according to an embodiment of the present invention, and as shown in fig. 4, the present invention is applicable to a scenario in which a multi-segment generic routing encapsulation GRE tunnel splicing exists in a message transmission path, where two ends of the transmission path are VPN devices, and at least one GRE splicing device exists in the transmission path, and the GRE splicing device includes:
an obtaining module 42, configured to obtain a destination IP address when the first GRE packet is received;
and a transmission module 44, configured to perform GRE encapsulation according to the type of the next segment of GRE tunnel, and then form a second GRE message for transmission, where the first GRE message is sent by the sending-end VPN device, and the first GRE message includes the destination IP address.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements any one of the above message transmission methods.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any one of the above message transmission methods.
Fig. 5 is a structural block diagram of a message transmission system according to an embodiment of the present invention, and as shown in fig. 5, the system is suitable for a scenario where a multi-segment generic routing encapsulation GRE tunnel splicing exists in a transmission path, where two ends of the transmission path are VPN devices, and at least one GRE splicing device exists in the transmission path: the message transmission system includes:
the sending end VPN device 52 is configured to send a first GRE packet encapsulating a destination IP address when it is determined that a multi-segment GRE tunnel exists in a transmission path, where the destination IP address is an address of a receiving end VPN device;
the GRE splicing device 54 is configured to, when receiving the first GRE packet, obtain the destination IP address, perform GRE encapsulation according to the type of the next segment of GRE tunnel, and then form a second GRE packet for transmission.
Fig. 6 is a flowchart of a message transmission method according to a preferred embodiment of the present invention, as shown in fig. 6, the method includes:
step S602, when VPN nodes PE1 and PE2 at two ends form an inner layer VPN label through related protocols, acquiring address information of an opposite end for establishing protocol connection;
step S604, detecting the condition that the multi-segment GRE tunnel splicing exists in a path (PE 1-P1-P2-PE 2) of the opposite end establishing protocol address;
step S606, according to the address of the opposite VPN node protocol, and the outer tunnel outlet is determined to be GRE, and according to the address of the protocol connection, a new IP tunnel is constructed, the encapsulation format of the IP tunnel head is as follows;
Figure BDA0002271207210000061
wherein, the 32-bit source IP address refers to the address of the protocol proposed by PE1, and the 32-bit destination IP address refers to the address of the protocol established by PE 2.
Step S608, packaging the information of the IP tunnel header into the interior of the real outer layer tunnel outlet GRE header on the VPN node, and forming a nested format of the outer GRE header and the inner IP tunnel header; the interior of the IP tunnel header is a VPN label and a payload, and the following is an encapsulation format for forwarding a message from PE1 to PE 2:
Figure BDA0002271207210000071
wherein, the IP header comprises a 32-bit source IP address and a 32-bit destination IP address, the 32-bit source IP address is a GRE tunnel source address, and the 32-bit destination IP address is a GRE tunnel destination address. Taking the example of a message sent from PE1, the 32-bit source IP address is the address for PE1 to establish a GRE tunnel, and the 32-bit destination IP address is the address for P1 to establish a GRE tunnel.
Step S610, the GRE splicing node obtains the forwarding information of the remote VPN node from the received message, and encapsulates the upper GRE head and the lower GRE head again to forward to the next splicing node;
taking this embodiment as an example, the step S610 includes: the GRE splicing node P1 obtains the forwarding information of the remote VPN node PE2, that is, the address information carried by the IP tunnel header, from the received message, and encapsulates the upper and lower GRE headers again to forward to the next splicing node P2;
Figure BDA0002271207210000072
the IP header includes a 32-bit source IP address and a 32-bit destination IP address. When sent from P1, the 32-bit source IP address is the address for P1 to establish GRE tunnels, and the 32-bit destination IP address is the address for PE2 to establish GRE tunnels.
The GRE splicing node P2 obtains the forwarding information of the far-end VPN node PE2, that is, the address information carried by the IP tunnel header, from the received message, and encapsulates the upper and lower GRE headers again to forward to the far-end VPN node PE 2;
Figure BDA0002271207210000073
the IP header includes a 32-bit source IP address and a 32-bit destination IP address. When sent from P2, the 32-bit source IP address is the address of P2 for establishing GRE tunnels, and the 32-bit destination IP address is the address of P2 for establishing GRE tunnels.
Step S612, the far-end VPN node PE2 receives the above-mentioned message, where the format message is a format in which an outer GRE header and an inner IP tunnel header are nested, and the inside is a VPN label and a load, decapsulates the GRE header on the outermost layer, then decapsulates the IP tunnel header, and then decapsulates the VPN label, so as to implement the VPN related function.
By adopting the method of the embodiment of the invention, the problem that VPN can not pass through GRE multi-segment splicing network in the related technology can be solved under the condition that no other special function requirements are required for the splicing node of the intermediate GRE network, and the diversity of network networking is enriched.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A message transmission method is suitable for the splicing of a multi-segment Generic Routing Encapsulation (GRE) tunnel in a transmission path, and two ends of the transmission path are VPN nodes, and is characterized by comprising the following steps:
under the condition that the multi-segment GRE tunnel exists in the transmission path, the sending end VPN device sends a first GRE message encapsulated with a target IP address, wherein the target IP address is the address of the receiving end VPN device.
2. The method of claim 1, wherein prior to the sending end VPN device sending the first GRE message encapsulating the destination IP address, the method further comprises:
and under the condition that the outlet of the outer layer tunnel corresponding to the VPN equipment at the receiving end is determined to be GRE, the VPN equipment at the sending end establishes an IP tunnel, the head of the IP tunnel comprises the destination IP address, and the head of the IP tunnel is encapsulated in the GRE message.
3. The method of claim 2, wherein the IP tunnel header further comprises a VPN label and a payload therein.
4. The method according to claim 2, wherein there is at least one GRE splice node in the transmission path, and after the sending end VPN device sends the first GRE packet encapsulating the destination IP address, the method further comprises:
and the GRE splicing node acquires the target IP address under the condition of receiving the first GRE message, and forms a second GRE message for transmission after GRE encapsulation is carried out according to the type of the next section of GRE tunnel.
5. The method of claim 2, wherein the IP tunnel comprises a GRE tunnel, an IPsec tunnel, or a Vxlan tunnel.
6. A message transmission method is suitable for multi-segment Generic Routing Encapsulation (GRE) tunnel splicing in a transmission path, wherein VPN nodes are arranged at two ends of the transmission path, and at least one GRE splicing node is arranged in the transmission path, and the method is characterized by comprising the following steps:
the GRE splicing node acquires a destination IP address under the condition of receiving the first GRE message;
and performing GRE encapsulation according to the type of the next GRE tunnel segment, and then forming a second GRE message for transmission, wherein the first GRE message is sent by VPN equipment at a sending end, and the first GRE message comprises the destination IP address.
7. A sending end VPN device is suitable for a scene that multi-segment general routing encapsulation GRE tunnel splicing exists in a message transmission path, and a receiving end of the transmission path is a VPN device, and is characterized in that the sending end VPN device comprises:
and the sending module is used for sending the first GRE message encapsulated with a destination IP address under the condition of determining that the multi-section GRE tunnel exists in the transmission path, wherein the destination IP address is the address of the VPN equipment at the receiving end.
8. A GRE splicing device is suitable for a scene that multi-segment general routing encapsulation GRE tunnel splicing exists in a message transmission path, VPN equipment is arranged at two ends of the transmission path, and at least one GRE splicing device exists in the transmission path, and is characterized in that the GRE splicing device comprises:
the acquisition module is used for acquiring a destination IP address under the condition of receiving the first GRE message;
and the transmission module is used for forming a second GRE message for transmission after GRE encapsulation is carried out according to the type of the next section of GRE tunnel, wherein the first GRE message is sent by VPN equipment at a sending end, and the first GRE message comprises the destination IP address.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the message transmission method according to any one of claims 1 to 6.
10. A message transmission system is suitable for a scene that multi-segment Generic Routing Encapsulation (GRE) tunnel splicing exists in a transmission path, VPN equipment is arranged at two ends of the transmission path, and at least one GRE splicing equipment exists in the transmission path, and the system is characterized by comprising:
the system comprises a sending end VPN device and a receiving end VPN device, wherein the sending end VPN device is used for sending a first GRE message encapsulated with a target IP address under the condition that a multi-section GRE tunnel exists in a transmission path;
and the GRE splicing device is used for acquiring the target IP address under the condition of receiving the first GRE message, and forming a second GRE message for transmission after GRE encapsulation is carried out according to the type of the next section of GRE tunnel.
CN201911109497.XA 2019-11-13 2019-11-13 Message transmission method and system, transmitting end VPN equipment and GRE splicing equipment Active CN112804129B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911109497.XA CN112804129B (en) 2019-11-13 2019-11-13 Message transmission method and system, transmitting end VPN equipment and GRE splicing equipment
PCT/CN2020/126191 WO2021093641A1 (en) 2019-11-13 2020-11-03 Message transmission method and system, vpn device at sending end and gre splicing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911109497.XA CN112804129B (en) 2019-11-13 2019-11-13 Message transmission method and system, transmitting end VPN equipment and GRE splicing equipment

Publications (2)

Publication Number Publication Date
CN112804129A true CN112804129A (en) 2021-05-14
CN112804129B CN112804129B (en) 2023-11-03

Family

ID=75803504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911109497.XA Active CN112804129B (en) 2019-11-13 2019-11-13 Message transmission method and system, transmitting end VPN equipment and GRE splicing equipment

Country Status (2)

Country Link
CN (1) CN112804129B (en)
WO (1) WO2021093641A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422431B (en) * 2021-12-23 2023-11-28 网络通信与安全紫金山实验室 Network tunnel configuration method, device, computer equipment and storage medium
CN117376179A (en) * 2023-12-04 2024-01-09 成都北中网芯科技有限公司 Method, system, equipment and medium for filtering GRE protocol message

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1412988A (en) * 2002-05-22 2003-04-23 华为技术有限公司 Packaging retransmission method of message in network communication
CN101848171A (en) * 2010-07-01 2010-09-29 杭州华三通信技术有限公司 Data transmission method based on GRE tunnel, device and system
CN102130826A (en) * 2010-11-25 2011-07-20 华为技术有限公司 Message transmitting method and device
CN102694738A (en) * 2012-06-15 2012-09-26 北京傲天动联技术有限公司 Virtual private network (VPN) gateway and method for forwarding messages at VPN gateway
CN103368806A (en) * 2012-03-26 2013-10-23 华为技术有限公司 Method and system for processing data flow and device
CN103973555A (en) * 2013-01-29 2014-08-06 华为技术有限公司 GRE protocol tunnel building method, communication device and communication system
CN105591982A (en) * 2015-07-24 2016-05-18 杭州华三通信技术有限公司 Message transmission method and device
WO2017124693A1 (en) * 2016-01-21 2017-07-27 中兴通讯股份有限公司 Method and device for message decapsulation and data writing
CN109412927A (en) * 2018-12-04 2019-03-01 新华三技术有限公司 A kind of more VPN data transmission methods, device and the network equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7519079B2 (en) * 2004-09-08 2009-04-14 Telefonaktiebolaget L M Ericsson (Publ) Generic routing encapsulation over point-to-point protocol
CN101488902A (en) * 2009-02-25 2009-07-22 杭州华三通信技术有限公司 Dynamic establishing method and device for GRE tunnel
US9225638B2 (en) * 2013-05-09 2015-12-29 Vmware, Inc. Method and system for service switching using service tags
CN105591873B (en) * 2015-10-27 2019-03-15 新华三技术有限公司 A kind of virtual machine partition method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1412988A (en) * 2002-05-22 2003-04-23 华为技术有限公司 Packaging retransmission method of message in network communication
CN101848171A (en) * 2010-07-01 2010-09-29 杭州华三通信技术有限公司 Data transmission method based on GRE tunnel, device and system
CN102130826A (en) * 2010-11-25 2011-07-20 华为技术有限公司 Message transmitting method and device
US20130259060A1 (en) * 2010-11-25 2013-10-03 Huawei Technologies Co., Ltd. Method and apparatus for sending packet
CN103368806A (en) * 2012-03-26 2013-10-23 华为技术有限公司 Method and system for processing data flow and device
CN102694738A (en) * 2012-06-15 2012-09-26 北京傲天动联技术有限公司 Virtual private network (VPN) gateway and method for forwarding messages at VPN gateway
CN103973555A (en) * 2013-01-29 2014-08-06 华为技术有限公司 GRE protocol tunnel building method, communication device and communication system
CN105591982A (en) * 2015-07-24 2016-05-18 杭州华三通信技术有限公司 Message transmission method and device
WO2017124693A1 (en) * 2016-01-21 2017-07-27 中兴通讯股份有限公司 Method and device for message decapsulation and data writing
CN109412927A (en) * 2018-12-04 2019-03-01 新华三技术有限公司 A kind of more VPN data transmission methods, device and the network equipment

Also Published As

Publication number Publication date
CN112804129B (en) 2023-11-03
WO2021093641A1 (en) 2021-05-20

Similar Documents

Publication Publication Date Title
US11979322B2 (en) Method and apparatus for providing service for traffic flow
US10666459B1 (en) System and method to facilitate interoperability between virtual private LAN service (VPLS) and ethernet virtual private network (EVPN) with all-active multi-homing
CN102724117B (en) Multi-protocol label switching traffic engineering tunnel establishing method and equipment
WO2017050198A1 (en) Path detection method and device
CN114124618B (en) Message transmission method and electronic equipment
CN109995654B (en) Method and device for transmitting data based on tunnel
CN102025586B (en) Intercommunicating method, device and system for multiple protocol label switching network and Ethernet
US20160315864A1 (en) Packet Processing Method, Apparatus, and System
CN104579954B (en) The cross-domain retransmission method of message, device and communication equipment
US20080304476A1 (en) Ethernet over mpls circuit emulation service
CN102594713B (en) A kind of method and apparatus realizing Explicit Congestion and notice
CN110290093A (en) The SD-WAN network architecture and network-building method, message forwarding method
EP4160950A1 (en) Method and apparatus for sending message, and network device, system and storage medium
EP3364613A2 (en) Method and device for transmitting traffic via specified path
CN102694738B (en) Virtual private network (VPN) gateway and method for forwarding messages at VPN gateway
EP3965382A1 (en) Method and device for implementing service function processing
WO2016206432A1 (en) Time-division multiplexed data transmission method and device, and network-side edge device
CN110380959A (en) Method for forwarding message and device
CN107370654B (en) Pseudo wire data message encapsulation and decapsulation methods and related devices
CN108390812B (en) Message forwarding method and device
CN112804129B (en) Message transmission method and system, transmitting end VPN equipment and GRE splicing equipment
JP2024500548A (en) Packet transfer method and device, and network system
CN114598635A (en) Message transmission method and device
CN111277426B (en) IOAM information processing method and device
CN110535675B (en) Method and device for multicast fast switching

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