< Home

FAQ About GRE

This section provides FAQs about GRE.

What Are the Differences Between GRE and IPSec? Which Scenarios Does GRE Apply To?

IPSec encrypts only unicast packets, but not multicast packets. GRE can encapsulate multicast packets into unicast packets, but cannot encrypt packets.

The major function of GRE is to encapsulate IPv6 packets and multicast packets, such as routing protocol, voice, and video packets.

What Is the Function of the Tunnel Interface (GRE Interface)? What Are the Tunnel Source Interface and Tunnel Destination Interface?

The tunnel interface (GRE interface) encapsulates and decapsulates data packets using GRE. The tunnel interface that sends encapsulated packets is called the tunnel source interface, and the one that receives these packets on the peer end is called the tunnel destination interface.

Generally, the local WAN interface is used as the tunnel source interface, and the peer WAN interface is used as the tunnel destination interface.

What Are the Functions of Tunnel Interface IP Addresses? Can the IP Addresses of the Interfaces at Both Ends of a Tunnel Belong to the Same Network Segment?

A tunnel interface IP address enables the tunnel interface to become Up and is mandatory. The IP address is not involved in packet encapsulation.

When static routes are used to direct traffic to a GRE tunnel, the IP address of the interfaces at both ends of the tunnel can belong to different network segments. When a GRE tunnel is established for OSPF routing exchange between two networks connected to the tunnel, the IP address of the interfaces at both ends of the tunnel must belong to the same network segment. Otherwise, the tunnel interfaces fail to establish an OSPF adjacency.

Do Tunnel Interfaces (GRE Interfaces) Need to Be Added To Security Zones?

A tunnel interface must be added to a security zone, usually the DMZ. This is because the security zone through which GRE packets pass is associated with the security zone where the tunnel interface resides.

Can Multiple Tunnel Interfaces (GRE Interfaces) Use the Same Source IP Address?

Multiple tunnel interfaces cannot use the same source IP address.

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