×

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

Instruction Cycle: Computer Organization and Architecture

What is an effective Address? “Effective address is the address of operand in a computation-type instruction.” Computation type instructions are like ADD, SUB, MOV, OR, AND, etc., which require operand to...

4 minutes read.

BCD to 7 Segment Decoder

What is BCD? BCD is called Binary Coded Decimal. As you know there are a lot of forms in which we can represent the number like Binary, decimal, hexadecimal, and octal...

3 minutes read.

Micro-Operations

Micro-Operations If CPU wants to perform any operation, suppose execution of only one instruction or even break it down one particular execution phase (like fetch instruction, write back, decode, operand fetch...

9 minutes read.

8085 Pin Configuration

Introduction: Intel 8085 is consist 40 pin IC. The pin name of 8085 is A8 – A15; AD0 – AD7; ALE; IO/M; S0, S1; RD; WR; READY; HOLD; HLDA; INTR; INTA;...

6 minutes read.

Use Case Diagram for the online bank system

What is a Use Case Diagram? A tool is called a Use Case Diagram which is used to create, present, and comprehend the functional requirements for a system. The Use Case...

3 minutes read.

Pipelining: Computer Organization and Architecture

Introduction to Pipelining Before learning pipeline, we have to understand about the Parallel processing. Parallel processing is the processing of data simultaneously. There are three techniques of parallel processing. Types of Processing: Vector ProcessingArray...

7 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.

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.

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.

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.

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.

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.

Computer Organization and Architecture Data Formats

Data Formats In the digital world, everything is based on digits. In every method, the calculation is processed on the digits, and most importantly, the computer only understands the binary language...

6 minutes read.

Control Unit Organization

Control Unit Organization The Control Unit is the unit in the CPU, which controls the various components like input  & output devices, logic unit and memory. The Control Unit is the...

7 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.

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.

Control Signals in 8155 Microprocessor

Intel designed the chip 8155 used to interface with I/O devices. Basically, the 8085 microprocessor is directly unable to deal with its peripheral input output devices for reading data or...

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.

Types of Microprocessors

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 the Processor or CPU (Central...

3 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.