Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Help Learning GRE

I'm just learning GRE tunneling right now. I'm a little confused about how a GRE tunnel is supposed to work to get a packet to the destination. Does IP encapsulate a GRE tunnel with the IP address of the destination? If so, how does this work. It seems that a packet is already handed down from the Network to the Data Link layer, and there the tunnel is added, which is where GRE is added. How then if the packet is already down at the data link layer does IP encapsulate it? And if IP doesn't, could someone explain it to me so that I better understand how GRE works from end to end. Thank you,



Re: Help Learning GRE

Hi Edmond,

With GRE,

GRE is the encapsulation protocol

Lets say a packet (eg :IPV4 packet) needs to be delivered, which is often referred to as a payload. GRE encapsulates this payload with appropriate protocol type indicating that IPV4 packet is the payload. GRE in turn is encapsulated in other protocol such as IP with tunnel destination as destination address etc.

When the packet reaches the tunnel destination, the GRE packet is decapsulated and IPV4 payload is forwarded just like a normal IPV4 packet.

Consider reading the RFCs to get a better understanding of GRE.



New Member

Re: Help Learning GRE

Thanks Lejoe