Method for avoiding message recombination in 6over4 tunnel and system therefor

A technology of tunneling messages and tunneling, which is applied in the field of avoiding message reassembly to achieve the effects of avoiding fragmentation and reassembly and improving performance

CN101640635AInactive Publication Date: 2010-02-03BEIJING NORMAL UNIVERSITY
0 Cites 11 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2010-02-03
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a method for avoiding message recombination in a 6over4 tunnel and a system therefor, and more particularly relates to a method for avoiding message recombination at a tunnel exit in the 6over4 tunnel, and a system therefor. The method comprises: a tunnel entrance router can be used for looking up a routing table according to the destination address of the tunnel, so as toacquire an outgoing interface of the message; the tunnel entrance router also can search a tunnel path maximum transmission unit PM tunnel according to the destination address of the tunnel and the outgoing interface, and obtain the tunnel encapsulation length L t-head at the same time according to the encapsulation type; then, whether the length of the original message is more than maximum sharding length PM tunnel-L t-head is judged; if yes, error information is sent to a message sending unit, the fact that the length of the original message is more than maximum sharding length is notified,the maximum sharding length is notified to be PM tunnel-L t-head, and the original message is discarded; if not, tunnel encapsulation is carried out on the original message, an IPv4 routing table is looked up, and the message is transmitted into a tunnel exit router after the tunnel encapsulation. The invention can avoid message sharding and recombination in the 6over4 tunnel, and the experiment proves that the invention can greatly improve the performance of tunnel communication.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the Internet technology, and further relates to the field of tunnel technology, in particular to a method and system for avoiding message reassembly in a 6over4 tunnel. Background technique

[0002] Tunnel technology has been widely used in the Internet, the existing tunnel types include: 4over6 (IPv4over IPv6) tunnel, 6over4 (IPv6over IPv4) tunnel, GRE (General Routing Encapsulation, general routing encapsulation) tunnel and L2TP (Layer TwoTunneling Protocol, the second layer tunnel protocol) tunnel, etc. Regardless of the type of tunnel, it has two important features: 1) It contains two end-to-end communications for the original message and the tunnel message; 2) There is an encapsulation operation at the entrance of the tunnel, and a corresponding decapsulation operation at the exit of the tunnel . The above-mentioned characteristics of the tunnel technology bring about a problem: how to implement the MTU (Maximum ...

Examples

Embodiment Construction

[0022] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0023] A flowchart of a method for avoiding message reassembly in a 6over4 tunnel according to an embodiment of the present invention, as shown in figure 2 Shown:

[0024] Step S301, the end system uses the message sending unit to send the IPv6 message to the tunnel entry router;

[0025] Step S302, the tunnel entry router judges whether the IPv6 message needs to be tunnel-encapsulated by looking up the routing table through IPv6, if so, then execute step S303, otherwise, look up the IPv6 routing table and forward the IPv6 message according to the general process;

[0026] Step S303, the tunnel entry router obtains the encapsulation type IPv4 corresponding to the tunnel...