For a correct ethernet frame format explanation, you have to understand that EVERY technology used on a network breaks the data transmitted between computers down into smaller pieces of data called “Frames”
The network interface card (NICs) on a network computer system function at Layer 2 of the OSI Model (the Data Link Layer).
And they function on this layer to encapsulate that data from the higher levels of the OSI Model into frames to allow transmission or communication on the Physical Layer (the network cables, the radio waves if you’re dealing with wireless, etc.) – all the network media being used).
When frames are used, the process of retransmitting lost data is much more efficient!
Data can get lost, corrupted, interrupted, etc., etc.
Numerous things can happen to the data on a network to prevent it from ever reaching its destination intact, or without error.
When an error does occur, during the transmission of that data the system that’s doing the sending has to retransmit the frames that failed to get to the receiving system correctly.
If a Word document or photo or webpage is transmitted as a single large frame, and something happens to cause an error, that sending system will have to retransmit the entire frame again (or the entire document or the entire photo,
the entire webpage, etc.).
So by breaking up that larger piece into SMALLER pieces, or “frames” you allow the computer system sending the frames to retransmit ONLY the damaged frames, if something happens to them.
Every networking technology uses frames, and ethernet is the most predominantly used type of frame sending system in the world today.
An ethernet frame contains basically 5 pieces of information:
- The MAC Address of the frame’s recipient
- The MAC Address of the sending system
- The type of data encapsulated inside that frame
- The Frame Check Sequence (FCS)
Ethernet Frame Format:
So let’s just go over the full ethernet frame format in a little more detail…
An ethernet frame always begins with a Preamble.
Now this is a 64-bit series of 1s and 0s that always end with 11
When this is sent at the beginning of a frame over a network, the NIC of the receiving device reads the preamble and realizes that a frame is coming immediately after.
This preamble ending in 11 also tells that receiving NIC exactly where the frame starts.
The frame including the data that’s in that frame has to be a minimum of 46 bytes with 18 bytes of the frame header and trailer.
It’s just to kind of give a “heads-up”
Destination and Source MAC Address
The 2nd and 3rd fields of the frame actually map out the destination and the sending NICs with their respective MAC addresses.
You have the “Destination MAC Address” first, then you have the “Source MAC Address” respectively in that order.
When you get more in-depth into Switching and Layer 2 devices, this “Source MAC Address” field is where those switches and Layer 2 devices learn the MAC address of the sending device from that frame.
They thereby learn what’s connected ON that specific interface. More on that in other posts and videos, but I just wanted to kind of give you a heads-up on that.
The next field is the “Type” Field of the ethernet frame. Now the “Type” field gives the receiving computer a very basic idea of what the frame contains (whether it’s IP Version 4 or IP Version 6, etc.).
This confuses some when they’re studying for or learning about networking, as this field (this “Type” Field) does not tell you if the frame carries what is referred to a “higher layer/level” data like a Word document or an email or webpage, etc. It doesn’t really tell it that.
Once you get into the “Data” section of the frame, the determination can be made as to what type of document or what type of data you’re dealing with (higher level data).
Rather this “Type” Field is only a basic kind of a heads up on what the frame contains for the receiving computer NIC.
Data Field (Payload)
Then you actually get into the “Data” Field of the frame. This is the field that actually contains the payload (the information being sent across the network).
It can be an IP Packet, an ARP (or Address Resolution Protocol), etc..
Now regardless of what type of data this field contains, the payload MUST have at least 46 bytes.
If it somehow is smaller than 46 bytes, the NIC from the sending device will automatically add extra 0s (called “padding”) to the end to make sure this payload is at least 46 bytes.
Frame Check Sequence (FCS)
Lastly, in the entire frame you have the Frame Check Sequence Field (or the FCS).
This field helps the nodes on a network to know when originally good data has had something happen to it along the way.
Maybe it got corrupted, it got interrupted, it got broken up, whatever the case may be.
Ethernet uses an algorithm called Cyclic Redundancy Check (CRC) to determine if the data in the frame is “good” or “no”
This is important because devices on a network HAVE to be able to know when data is damaged or corrupted during transit.
To detect errors, computers using an ethernet network attach this FCS Field code to a frame by doing the following: The sending machine (when it’s first creating the ethernet frame) runs the data through a mathematical formula called the CRC Algorithm. And it attaches that result to the end of the frame in this last FCS Field.
Now this is referred to as the “Trailer” when we’re dealing with frames – the FCS field is the “Trailer” in an ethernet frame.
When the receiving machine gets the frame, it performs the same exact calculation using the same algorithm and it compares its answer to the answer that’s on the “Trailer” or that’s added to the Trailer Field (the FCS Field).
If they match the receiving (or Destination Machine) knows that that frame is good.
It hasn’t been corrupted or damaged along the way and it goes ahead and opens that frame to fully receive it.
If however, the answers don’t match, the machine receiving just kind of “drops” that frame. That’s what we call it in networking – It just “drops” that frame and allows the higher level layers or protocols (like TCP) to handle the retransmission of that frame if it’s needed.
And that’s essentially how an ethernet frame is built, used, and understood on a computer network and the basics of the ethernet frame format.
How to Easily Pass Network+ and CCNA Exams Without Studying for Days
If you want the easiest shortcut to passing your Network+ and CCNA exams, you’ll want to get this free Cheat Sheet that will show you how to score 30% or higher on these exams with a 1-minute shortcut.