cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6841
Views
0
Helpful
3
Replies

CRC on ethernet

Dear friends,

while analizing a packet capture, i was wondering on what fields the FCS uses to get CRC. some places tells that it gets the whole frame, even preamble, others just say that it just calculates using only the data.

regards,

1 Accepted Solution

Accepted Solutions

Peter Paluch
Cisco Employee
Cisco Employee

Hello Leandro,

The IEEE 802.3 standard that defines the basic Ethernet framing defines the FCS field in Section 3.2.9 as follows:

A cyclic redundancy check (CRC) is used by the transmit and receive algorithms to generate a CRC value for the FCS field. The FCS field contains a 4-octet (32-bit) CRC value. This value is computed as a function of the contents of the protected fields of the MAC frame: the Destination Address, Source Address, Length/ Type field, MAC Client Data, and Pad (that is, all fields except FCS).

So specifically the Preamble and Start-of-Frame Delimiter are not covered by the FCS field. This is logical, considering the fact that these fields were used in 10Mbps Ethernet versions to provide synchronization function between the sender and receiver, and thus a (varying) couple of starting bits from the Preamble could have been lost or incorrectly recovered. That did not invalidate the whole frame, however.

Best regards,

Peter

View solution in original post

3 Replies 3

Peter Paluch
Cisco Employee
Cisco Employee

Hello Leandro,

The IEEE 802.3 standard that defines the basic Ethernet framing defines the FCS field in Section 3.2.9 as follows:

A cyclic redundancy check (CRC) is used by the transmit and receive algorithms to generate a CRC value for the FCS field. The FCS field contains a 4-octet (32-bit) CRC value. This value is computed as a function of the contents of the protected fields of the MAC frame: the Destination Address, Source Address, Length/ Type field, MAC Client Data, and Pad (that is, all fields except FCS).

So specifically the Preamble and Start-of-Frame Delimiter are not covered by the FCS field. This is logical, considering the fact that these fields were used in 10Mbps Ethernet versions to provide synchronization function between the sender and receiver, and thus a (varying) couple of starting bits from the Preamble could have been lost or incorrectly recovered. That did not invalidate the whole frame, however.

Best regards,

Peter

Dear Peter,

Could you please provide me the link you found this information?

Hello Leandro,

Sorry for replying somewhat lately.

Check this URL:

http://standards.ieee.org/getieee802/download/802.3-2008_section1.pdf

It will first require you to choose the type of user you are (student, manufacturer, etc.) and then it will provide you with the first part of the entire IEEE 802.3 Ethernet MAC standard. Then, in the downloaded PDF, proceed to page 53 and check the Section 3.2.9. I have directly quoted from there.

Best regards,

Peter

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