Configuring a GRE Tunnel

GRE provides a mechanism of encapsulating packets of a protocol into packets of another protocol. This allows packets to be transmitted over heterogeneous networks. The channel for transmitting heterogeneous packets is called a tunnel.

Usage Scenario

A single network protocol (for example, IPv4) is used to transmit packets on a backbone network, whereas other protocols, such as IPv6 and Internet Packet Exchange (IPX), are used to transmit packets on non-backbone networks. Because the backbone and non-backbone networks use different protocols, packets cannot be transmitted between the non-backbone networks over the backbone network. Generic Routing Encapsulation (GRE) resolves this issue. GRE provides a mechanism of encapsulating packets of a protocol into packets of another protocol.

Pre-configuration Tasks

Before configuring an ordinary GRE tunnel, complete the following task:

  • Configuring reachable routes between the source and destination interfaces

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >