No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Configuration Guide - VPN

S7700 and S9700 V200R013C00

This document describes the configurations of VPN, including GRE, IPSec, BGP/MPLS IP VPN, BGP/MPLS IPv6 VPN, VLL, PWE3, VPLS, L2VPN Access to L3VPN.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Ethernet over GRE

Ethernet over GRE

Generic Routing Encapsulation (GRE) provides a mechanism to encapsulate packets of a protocol into packets of another protocol. This allows packets to be transmitted over heterogeneous networks. A channel for transmitting heterogeneous packets is called a tunnel.

In Figure 1-3, the enterprise headquarters and branch use Ethernet networks and are connected by an IP/MPLS backbone network. Ethernet over GRE can be deployed to transparently transmit Ethernet packets over a GRE tunnel, enabling Layer 2 communication between the enterprise headquarters and branch.

Figure 1-3  Ethernet over GRE networking

Ethernet over GRE encapsulates Ethernet packets using GRE and transmits the encapsulated packets over a network running another network layer protocol, such as IPv4. The detailed working process is as follows:

  1. User-side physical Ethernet interface GE1/0/2 on SwitchA receives an Ethernet packet containing a VLAN tag from the branch network.
  2. SwitchA performs Layer 2 forwarding within the device based on the MAC address and VLAN tag and finds the outbound interface VE1/0/1.
  3. VE1/0/1 on SwitchA processes the Ethernet packet and forwards the packet to Tunnel 1 bound to it. Tunnel 1 encapsulates the Ethernet packet using GRE (with the protocol code 0x6558) and forwards the encapsulated packet to SwitchB over a GRE tunnel.
  4. Tunnel 1 on SwitchB decapsulates the received packet using GRE, finds that the protocol code is 0x6558, and forwards the decapsulated Ethernet packet to VE1/0/1 bound to Tunnel 1.
  5. After the decapsulated Ethernet packet reaches VE1/0/1 of SwitchB, SwitchB performs Layer 2 forwarding within the device based on the MAC address and VLAN, and finds the outbound interface GE1/0/2.
  6. SwitchB sends the Ethernet packet to the headquarters network through the outbound interface GE1/0/2.

As a Layer 2 tunnel, Ethernet over GRE can only forward unicast and broadcast packets of a specified VLAN but not multicast packets.

Updated: 2019-04-08

Document ID: EDOC1100065751

Views: 33710

Downloads: 50

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next