What Is Bit Stuffing In Computer Networks?

Hello Friends, In this blog post(Bit Stuffing In Computer Network) I am going to let you know about the bit stuffing process while transmitting data from sender to receiver.

Bit Stuffing In a Computer Network is the process of adding one extra 0 bit whenever there are five consecutive 1s in the data so that the receiver does not mistake the data for a flag.

What is meant by bit stuffing(Bit Stuffing In Computer networks) give an example.

The insertion of extra bits into a data stream to avoid the appearance of unintended control sequences.

When the receiver sees five consecutive incoming 1 bits, followed by a 0 bit, it automatically De-stuffs the 0 bit.

Just as character stuffing is completely transparent to the network layer in both computers, so is bit stuffing.

If the user data contains the flag pattern, 01111110 this flag is transmitted as 011111010 but stored in receiver memory as 01111110.

An example of bit stuffing is given below.

bitstuffing-example
Example: Bit Stuffing In Computer Network

Thus the given data stream does not contain five consecutive bits, therefore there is no change in the frame after bit stuffing.

Frame after bit stuffing is given as :
1001 10001100001110000011

You can also go through a few more amazing blog links related to computer networks:

Framing: Methods For Framing In Data Link Layer…
What are the design issues of the data link layer…
What is a wireless LAN standard…
SNA: System Network Architecture…
DNA: Digital Network Architecture…
Communication Oriented Network in Hindi…
Difference between OSI and TCP-IP models…
What do you mean by the TCP IP model…
Functions Of Each Layer In The OSI Model…
Bit Stuffing In Computer Network…

Quick Q&A:

What is an example of bit stuffing?

When there are five consecutive ones in a message, and then a 0 is put after that then…

… this would be considered stuffing of 0 after five consecutive 1.

When this message reaches the receiver end then this 0 will be removed…

… which is kept after five consecutive ones. This process is called bit stuffing.

What are pulse stuffing and bit stuffing?

When a signal is about to transmit into the network then a few non-data bits are added to the binary signal.

This process or practice is often referred to as bit stuffing is called pulse stuffing.

When the transmitter and the receiver both want to transfer at the same bit rate over the network…

… then this pulse stuffing is used to synchronize and control the bit rate over the network.

Which layer is responsible for bit stuffing?

It is the data link layer.

The sender data link layer automatically adds the 0 in the outgoing message.

At the receiver end data link layer removes this stuffed 0.

This process is known as bit stuffing.

In the case of any queries, you can write to us at a5theorys@gmail.com we will get back to you ASAP.

Hope! you would have enjoyed this post about Bit Stuffing In Computer Networks.

Please feel free to give your important feedback in the comment section below.

Have a great time! Sayonara!

Anurag

I am a blogger by passion, a software engineer by profession, a singer by consideration and rest of things that I do is for my destination.