Supercharge Your Innovation With Domain-Expert AI Agents!

A method and device for generating gre header encapsulation entries

A GRE tunnel and table loading technology, applied in the field of communication, can solve the problems of data packet forwarding failure, unable to decapsulate data packets, etc., and achieve the effect of reducing waste

Active Publication Date: 2018-04-06
NEW H3C TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the receiving end of the GRE tunnel uses its own GRE header configuration information to decapsulate the data packet, because the GRE header configuration information at the sending end of the GRE tunnel is different from the GRE header configuration information at the receiving end of the GRE tunnel, the receiving end of the GRE tunnel cannot decapsulate the packet. Data packets, resulting in data packet forwarding failure

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
  • A method and device for generating gre header encapsulation entries
  • A method and device for generating gre header encapsulation entries
  • A method and device for generating gre header encapsulation entries

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025]Aiming at the problems existing in the prior art, the embodiment of the present invention provides a method for generating a GRE header encapsulation entry, which can be applied to a network including a GRE tunnel sending end and a GRE tunnel receiving end, such as figure 1 As shown, the method for generating the GRE header encapsulation entry may specifically include the following steps:

[0026] In step 101, the GRE tunnel sender sends a negotiation message to the GRE tunnel receiver. Wherein, the negotiation message carries the tunnel level of the sending end of the GRE tunnel and the configuration information of the GRE header.

[0027] In a specific implementation manner of the embodiment of the present invention, after the GRE tunnel sending end is in the UP (normal) state of the GRE tunnel, the GRE tunnel sending end sends a negotiation message to the GRE tunnel receiving end.

[0028] In the embodiment of the present invention, the negotiation message specifical...

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

The invention discloses a method and equipment for generating GRE header encapsulation table items. The method comprises: a GRE tunnel receiving end receives a negotiation message from a GRE tunnel sending end, and the negotiation message carries the tunnel level and the GRE tunnel level of the GRE tunnel sending end. Header configuration information; the GRE tunnel receiving end uses the tunnel level and GRE header configuration information of the GRE tunnel sending end, the tunnel level of the GRE tunnel receiving end, and the GRE header configuration information to determine whether to generate a GRE header encapsulation entry whose destination is the GRE tunnel sending end; if Yes, then generate a GRE header encapsulation entry whose destination is the sending end of the GRE tunnel; if not, send a tunnel error message to the sending end of the GRE tunnel, and the tunnel error message is used to make the GRE tunnel send The terminal deletes the generated GRE header encapsulation entry whose destination is the receiving end of the GRE tunnel. In the embodiment of the present invention, it is possible to prevent the sending end of the GRE tunnel from sending a GRE message that cannot be decapsulated by the receiving end of the GRE tunnel, thereby reducing the waste of tunnel resources.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for generating GRE header encapsulation entries. Background technique [0002] GRE (Generic Routing Encapsulation, general routing encapsulation) protocol is used to encapsulate data packets of any network layer protocol (such as IPv6), so that these encapsulated data packets can be transmitted in another network (such as IPv4) . Wherein, the network layer protocol of the data message before encapsulation and the network layer protocol of the data message after encapsulation may be the same or different. Further, the transmission path of the encapsulated data message in the network is called a GRE tunnel, and the GRE tunnel is a virtual point-to-point connection, and the devices at both ends of the GRE tunnel respectively encapsulate and decapsulate the data message. [0003] Because there are devices of different manufacturers and models in the application network...

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/951H04L47/43
Inventor 张野
Owner NEW H3C TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More