cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2051
Views
5
Helpful
3
Replies

How many headers are added to a packet traversing a GRE tunnel ?

kaustav.gupta
Level 1
Level 1

Hi,

I need to know whether a packet if traversing a GRE tunnel Ip over Gre over IP then, is the headers added to the original packet is arranged as per the attachment doc.

Thanks in adv. I need to understand the header format in detail.

Regs

Kas

3 Replies 3

atif.awan
Level 3
Level 3

GRE adds 24 bytes to the IP packet being encapsulated in it. The 24 bytes are composed of a 4 byte GRE header and 20 byte new IP header. Please note that the original IP packet will have a 20 byte header of its own, the 24 bytes I have mentioned are on top of that.

You should find the GRE RFC quite helpful in understanding the GRE protocol:

http://www.ietf.org/rfc/rfc2784.txt

Ok.. Then should I understand the GRE header of 4 bytes but the + 20 byte delivery IP header ,in that what is the source and destination address. Does the source IP address = Tunnel interface IP or it is the tunnel source IP and and does the same applies for the destination IP address also. The rfc does not throw light on that

regs

kas

In the new IP header the source IP address will be determined by the 'tunnel source' command while the destination IP address will be determined by the 'tunnel destination' command under the tunnel interface. This ensures that the resulting IP packet is able to get to the remote tunnel end-point.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card