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

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

Ethernet II Frame generated by Nexus 7000 for GRE contains Ethernet trailer which is not required as the IP payload exceeds minimum length of 46

I have observed some unexpected behaviour on a Nexus 7000 running 6.1(2) in respect of the Ethernet II frame generated when the Nexus 7000 is a GRE Tunnel endpoint.

The device (non Cisco) receiving the Frame is discarding it and I waiting for the vendor  to confirm the reason for this discard. However in case the reason is due to the Ethernet frame being "unusual" I am seeking any insights to the Nexus 7000 behavioiur.

 

To generate the Frame I perform a ping (on a workstation attached to the Nexus) which the Nexus is encapsulating in a GRE tunnel. Using Wireshark on the Nexus 7000 egress interface I observed that the Frame contains the following protocols as expected; ETH:IP:GRE:IP:ICMP:data


When I issue the command "ping -l 1" on the workstation the Frame details from Wireshark are:


Frame 84 bytes on wire

Total IP payload = 53 bytes
 Outer IP header (20 bytes)
 GRE ( 4 bytes)
 Inner IP header (20 bytes)
 ICMP (header 8 bytes  payload 1 byte)

Ethernet Trailer length = 17 bytes


What is curious about this Frame is that;

a) No Ethernet Trailer is needed as the IP payload exceeds 46 bytes

b) The amount of padding applied is what would be needed if the Inner IP datagram were encapsulated dircetly in an Ethernet II Frame. The Inner ip datagram is 29 bytes and therefore padding needed = 46 - 29  = 17 bytes.


By doing ping sweep from length 1 to 18 the observed padding was;
1,17
2,16
3,15
-----
-----

17,1
18,0


So it would appear that the Nexus is adding padding to the Ethernet frame as though it were containing the pre GRE payload only.

 

RFC 894 specifies IP encapsulation in Ethernet II frames. It states “If necessary, the data field should be padded  (with octets of zero) to meet the Ethernet minimum frame size.” 

 

Everyone's tags (1)
2 REPLIES
New Member

What module are you using?Ron

What module are you using?

Ron

New Member

M108

M108

166
Views
0
Helpful
2
Replies