Method and equipment for establishing dynamic GRE (Generic Routing Encapsulation) tunnel

A GRE tunnel and dynamic technology, applied in the field of communication, can solve problems such as the inability to establish a GRE tunnel, the inability to use the GRE tunnel link backup method, and the inability to predict the IP address of the 3G interface.

CN101815106AInactive Publication Date: 2010-08-25NEW H3C TECH CO LTD
1 Cites 17 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2010-08-25
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 and equipment for establishing a dynamic GRE (Generic Routing Encapsulation) tunnel. In the method, an active initiating party dynamically obtains a first interface of an IP address and transmits a dynamic GRE tunnel inquiry message carrying a source IP address to a passive receiving party; the passive receiving party authenticates the dynamic GRE tunnel inquiry message and an inquiry response message is transmitted to the active initiating party by the source IP address after the dynamic GRE tunnel inquiry message passes the authentication; the active initiating party transmits a dynamic GRE tunnel UP announcement carrying the source IP address to the passive receiving party by the first interface; and the passive receiving party authenticates the dynamicGRE tunnel UP announcement, an UP announcement response message is transmitted to the active initiating party by the source IP address after the dynamic GRE tunnel UP announcement passes the authentication, and the dynamic GRE tunnel between the first interface and a second interface is established. The invention realizes the establishment of the dynamic GRE tunnel by dynamically obtaining the interfaces of the IP address and the backup of the dynamic GRE tunnel.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the communication field, in particular to a method and equipment for establishing a dynamic GRE tunnel. Background technique

[0002] With the development of 3G (3rd-generation, third-generation mobile communication technology) networks, users have more and more requirements for service applications under the 3G network, and the requirement for 3G network link backup also follows. The link backup technology in the traditional network includes GRE (Generic Routing Encapsulation, general routing encapsulation) tunnel mode and route switching technology.

[0003] GRE defines a protocol for encapsulating any other network layer protocol on top of any network layer protocol. GRE encapsulates data packets of certain network layer protocols, so that these encapsulated data packets can be transmitted in another network layer protocol. GRE uses the actual physical interface specified for the tunnel to complete the forwarding, ...

Examples

Embodiment Construction

[0074] The core idea of ​​the present invention is: the device dynamically obtaining the interface IP address actively initiates the establishment of the GRE tunnel, provides a way for the device dynamically obtaining the IP address to establish the dynamic GRE tunnel, and realizes link backup based on the dynamic GRE tunnel.

[0075] The present invention provides a method for establishing a dynamic GRE tunnel, which is applied to a system including an active initiator and a passive receiver of a dynamic GRE tunnel, the active initiator includes a first interface for dynamically obtaining an IP address, and the passive The receiver includes a second interface with a fixed IP address, such as Figure 4 As shown, the method further includes:

[0076] Step 401, the active initiator sends a dynamic GRE tunnel inquiry message to the passive receiver through the first interface;

[0077] Step 402, the passive receiver authenticates the dynamic GRE tunnel inquiry message, and sends...