×

Ethernet Frame Format

What is Ethernet?

As we know in computer networking, LAN (Local Area Network) is used to connect devices in limited geographical areas like schools or a building.LAN uses different topologies (arrangement of nodes in a network) like BUS, STAR, MESH, etc.

Ethernet is the most popular technology used in LAN. It is based upon IEEE (Institute of Electrical and Electronics Engineers) standards. Ethernet is based on IEEE 802.11 standard.

It uses BUS topology in LAN. The reason Ethernet is most popular is because it is quite easy to implement this, and it is also low costly.

In computer networking, there are 7 layers of communication on a network as defined in OSI (Open System Interconnection) model:

  1. Physical layer
  2. Data link layer
  3. Network layer
  4. Transport layer
  5. Session layer
  6. Presentation layer
  7. Application layer

Ethernet is used in physical and data link layers. In the physical layer data is transmitted in the form of 0s and 1s (stream of bits).In the data link layer when data is received, then it adds some extra bits to make sure data will reach the correct node and be error-free. For this, it adds the MAC (Media Access Control), often known as the physical address, of the sender and receiver in the data. But data is converted in the frames then it adds these extra bits.

As the data link layer has the work to add extra bits that is why Ethernet is mostly used in DLL.

Ethernet frame format is a predefined format by IEEE to add extra bits in a specific place with original data.

This frame is divided into 7 sections:

  1. Preamble
  2. SFD
  3. Destination address
  4. Source address
  5. Length
  6. Data
  7. CRC

Ethernet Frame Format

7 bytes1 byte6 bytes6 bytes2 bytes(46-1500 bytes)4 bytes
PreambleSFDDestination AddressSource AddressLengthDataCRC

1. Preamble

The size of the preamble section is 7 bytes or 56 bits. This is the indication that the frame is starting. Basically 0s and 1s are put in this section at alternative places (0101010….). The reason the preamble is used is that during the transmission of data, if some data is lost then, original data will not be lost as we have a protective section of the preamble.

So it is a protective section attached at the starting of original data to avoid them from loss of a single bit.

It also works as an indication for the receiver that the frame has started and the original message is coming, so hold the bits.

2. SFD

 SFD is also known as Start of Frame Delimiter. This section is of 1byte or 8 bits consisting of alternative bits of 0s and 1s starting from 1, but the last bit is altered.

SFD: 10101011

The main objective of the SFD section is to indicate at the receiving end that the frame is just going to start, and the next bits are the address of the destination.

3. Destination address

This section is of size 6 byte or 48 bits long. Here MAC address of receiving node or targeted device is put. It also makes sure that if the MAC address is wrong, then the receiving device will discard the data.

4. Source address

It is also the 6 bytes-long section.MAC address (Media Access Control) of the source node is put in it. With this section, the receiving device can easily identify the source node.

5. Length

It is a 2 bytes or 16-bit long section which contains the length of the whole Ethernet frame. The minimum value is 0, and the maximum value is 65534, although we can have a maximum 1500 size of Ethernet format.

It also describes which IP version is present. If it is 0x800, then IPv4 and if it is 0x86dd, then it is IPv6.

6. Data

This section is the most important section because it contains the actual message bits which we want to transfer over the network. The data in this section is called payload. 46 bytes is the minimum size and the maximum possible size is 1500 bytes of the data.If the data is less than 46 bytes, then 0’s are inserted before the data to make its size 46 bytes.

7. CRC

It is 4 bytes long or 32 bits long section which is also called Cyclic Redundancy Check. It contains a specific hashcode, and if at the receiving end hashcode is changed, it means our data is also changed over the path. So it helps to identify whether data is corrupted or not.

If we calculate the size of Ethernet format, then the Minimum size is 64 bytes for 46 bytes of payload if we exclude the preamble and SFD.

Maximum is 1518 bytes for 1500 bytes of payload.


Related Topics

Data Transfer and Manipulation

What is Data Transfer? In computer architecture, data transfer refers to the movement of data between different components within a computer system. These components can include the central processing unit (CPU),...

6 minutes read.

8085 Arithmetic Instructions

Arithmetic instructions are a type of instruction in a computer's instruction set that perform arithmetic operations on data. These operations can include addition, subtraction, multiplication, and division. Arithmetic instructions can...

4 minutes read.

Basic Terminologies Related to COA

Some Basic Terminologies Related to COA Computer organization and architecture is the detailed study of the internal components of the computer with their functionality. It describes how components arranged together and...

7 minutes read.

Microprocessor classification

Introduction: Microprocessor is known as the computer processor. The IC or integrated Circuit makes the microprocessor. that is the brain of the computer machine. The microprocessor is known as the...

6 minutes read.

Fixed and Floating-Point Number

Fixed and Floating-Point Number: In digital technology, data is stored in memory registers with binary bits 0’s and 1’s because the computer only understands binary language. When we enter data...

6 minutes read.

Addressing Modes

Introduction: Addressing Modes An instruction consists of two parts opcode and operands. Opcode tells the operation going to perform, and operand information is the address of the operand. The CPU interprets...

8 minutes read.

CarryLook Ahead Adder

What is Adder? Adder is the combinational circuit that is used to add the bits in digital electronics. As we know, in the digital system, every number is represented in the...

4 minutes read.

CPU Registers

CPU Registers Within the CPU, we have small- small storage units called registers. If we are executing a certain program within the CPU, there's a need to store that program content,...

11 minutes read.

Convert a number from base 2 to base 6

Base 2 Base 2 is the format where you can represent any number with just two values which are 0 and 1. With the help of 0s and 1s, we can...

4 minutes read.

Ethernet Frame Format

What is Ethernet? As we know in computer networking, LAN (Local Area Network) is used to connect devices in limited geographical areas like schools or a building.LAN uses different topologies (arrangement...

3 minutes read.

Assembly Language Register

Assembly Language Register Assembly language was introduced during the late 1940s in the second generation. It is a low-level language that helps in communication between the user and the computer. It...

6 minutes read.

COA: Interrupt and its types

Introduction: In general terms, the word interrupt means to stop the progress of ongoing work in between or to break the continuation of the work. In early digital computing, the...

5 minutes read.

8255 Microprocessor Operating Modes

8255 microprocessor was invented by intel in the year 1980s. 8255 microprocessor is a general-purpose microprocessor that can be programmed. 8255 is mostly used as an interface between devices like...

3 minutes read.

Local Broadcast Address and loopback address

In computer networking, if you send the data from one source to another source or group of sources in the form of packets, then this is called casting. We can categorize...

3 minutes read.

Flag Register of 8086 Microprocessor

In this article, we are going to study about the one of the registers named flag registers of 8086 microprocessor. We are also going to know where and how to...

3 minutes read.

Bipartite Graph

A graph is said to be bipartite if and only if we can divide all the vertices of a graph into two sets such that these sets are mutually exclusive...

4 minutes read.

8085 instructions set

Introduction: In the computer, the user sends the data. The computer can use data and it also process the data. After the processing, send the result to the user. The specific...

10 minutes read.

Machine Instructions

What is a Digital Computer? A computer that takes input in a binary form and produces output in binary form. The question arises of what kind of input the computer takes...

4 minutes read.

Addressing mode in 8085 microprocessor

What is a Microprocessor? Microprocessor is a unit which is able to perform arithmetic and logical operations and is built on a single chip. The 8085 microprocessor is built by Intel which...

4 minutes read.

IEEE Standard 754 Floating Point Numbers

Floating Point Representation: IEEE- 754 There were many problems in the conventional representation of floating-point notation like we could not express 0(zero), infinity number. To solve this, scientists have given a...

8 minutes read.