Method for detecting universal route package tunnel
A technology of general routing encapsulation and detection method, applied in the field of network communication, can solve problems such as GRE tunnel detection, GRE protocol has no detection mechanism, GRE tunnel cannot be maintained, etc., and achieves the effect of improving reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2006-11-15
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to the technical field of network communication, in particular to a detection method of a general routing encapsulation tunnel. Background technique
[0002] GRE (Generic Routing Encapsulation) is to encapsulate the packets of certain network layer protocols, such as IP and IPX (packet exchange protocol), so that these encapsulated messages can be transmitted in another network layer protocol, such as IP.
[0003] The current GRE protocol itself has no detection mechanism, which makes the GRE tunnel unmaintainable. Because the GRE tunnel cannot be detected, the status of the GRE tunnel cannot be monitored, and the backup of the tunnel cannot be realized, therefore, the reliability of the tunnel is not high.
[0004] Therefore, it is necessary to provide a method for detecting the GRE tunnel. Contents of the invention
[0005] In view of the existing problems in the above-mentioned prior art, the object of the present invention...
Examples
Embodiment Construction
[0036] The core idea of the present invention is to provide a detection method for a general routing encapsulation tunnel, which uses an OAM (operation and maintenance) / BFD (bidirectional forwarding detection) detection mechanism to detect a GRE tunnel, thereby effectively improving the reliability of the GRE tunnel.
[0037] The present invention provides a detection method for a general routing encapsulation tunnel, referring to figure 1 It is a flowchart of the operation of the method of the present invention, and the method specifically includes:
[0038] Step 10: After the GRE tunnel is established, the routers at both ends of the GRE tunnel enable the detection function, and send detection packets to the opposite end respectively;
[0039] Since the GRE tunnel is a bidirectional tunnel, the bidirectional connectivity needs to be tested, and the routers at both ends must send detection packets to the opposite end;
[0040] First configure the detection function entity ...