Unlock instant, AI-driven research and patent intelligence for your innovation.

Message forwarding method, system and equipment based on generic routing encapsulation tunnel

A general routing encapsulation and message forwarding technology, applied in the field of communication, can solve problems such as the inability to correctly select the tunnel destination address, non-unique tunnel entries, inconsistent number of branch network address requirements, etc., and achieve the effect of improving message forwarding efficiency

Active Publication Date: 2013-12-25
NEW H3C TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The establishment of the tunnel entry does not take into account the actual mask length of the branch network. The inconsistent number of branch network address requirements or the change of the branch network will lead to inconsistent mask lengths.
If the network mask setting of the branch is based on the longest mask of the branch, the central device may create multiple tunnel entries pointing to the same subnet, which increases the number of tunnel entries and deteriorates the forwarding efficiency of the central device
If the network mask setting of the branch is based on the shortest mask of the branch, different subnets may be divided into the same tunnel entry, which leads to non-unique tunnel entries to some subnets, and the central device will not be able to correctly select the tunnel destination address
[0006] In summary, the GRE tunnel-based packet forwarding methods provided in existing implementations are inefficient

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Message forwarding method, system and equipment based on generic routing encapsulation tunnel
  • Message forwarding method, system and equipment based on generic routing encapsulation tunnel
  • Message forwarding method, system and equipment based on generic routing encapsulation tunnel

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] First, introduce the improved GRE header of the present invention in detail, see image 3 , image 3 It is a schematic diagram of a GRE header structure according to Embodiment 1 of the present invention. exist image 3 Among them, C, R, K, S, and s are the first 5 bits of the GRE message header, which are some flag bits, and their meanings are shown in Table 1.

[0069] Recur, bits 5-7, the Recur field is a counter that records the number of encapsulations allowed. Among them, GRE provides a specific mechanism to prevent recursive encapsulation. If the router wants to further encapsulate the data packet encapsulated by GRE, it should check this field before encapsulation. If the Recur field is non-zero, the data packet can still be encapsulated, and the value of the Recur field in the new GRE header will be reduced by 1; otherwise, if the value of the Recur field is already 0, the data packet cannot be re-encapsulated. for encapsulation.

[0070] Flags, bits 8-12,...

Embodiment 2

[0108] In this embodiment, the field A indicating the switch is no longer set in the GRE header, and the GRE packets sent from the branch network to the central device all carry Network Mask information, and the traffic sent from the central device to the branch network does not carry Network Mask information. Mask information, other fields are the same as those described in Embodiment 1. The establishment process of the tunnel entry in this embodiment is as follows:

[0109] The central device receives the GRE packet sent by the branch network device, and establishes a GRE tunnel entry according to the Network Mask information carried in the GRE header.

[0110] In this embodiment, since the branch network device sends a message to the center device every time, it triggers the establishment of the GRE tunnel table entry of the center device, so when the center device sends a message to the branch network device, it does not send an acknowledgment of the establishment of the G...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A method of forwarding GRE encapsulated messages by a forwarding device. The method comprises the forwarding device setting up a tunnel table entry upon receipt of a GRE encapsulated message, the GRE encapsulated message comprising subnet mask information of a subnet; and sending a response message to the subnet after setting up the tunnel table entry, the response message comprising information informing the subnet of the setting up of said tunnel table entry.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method, system and equipment for message forwarding based on a Generic Routing Encapsulation (GRE) tunnel. Background technique [0002] The Generic Routing Encapsulation (GRE, Generic Routing Encapsulation) protocol is an encapsulation protocol that provides a method of encapsulating a data packet of a network layer protocol (such as IP, IPX, AppleTalk, etc.) in a packet of another protocol. mechanism, and enables the encapsulated message to be transmitted in another network layer protocol (eg, IP). Among them, the channel through which messages are transmitted is called a tunnel (Tunnel). Tunnel is a virtual point-to-point connection that provides a path for transmitting encapsulated data messages. When using Tunnel for message transmission, it is necessary to Data packets are encapsulated and decapsulated at both ends of the tunnel. [0003] Traditional GRE tunnels a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/70H04L12/46
CPCH04L12/462H04L12/4633
Inventor 李杰王佩龙袁亚屏曾劼徐庆伟
Owner NEW H3C TECH CO LTD