To properly learn something, we have to start at the beginning. We will be learning one concept at a time, process it, and move to the next.
The goal is consistent learning and absorbing information while feeling engaged and not overwhelmed.
I have divided the data link layer articles in five parts.
Goal of this article
I will be explaining the flow control and error control in the data link layer of the TCP/IP Five-layer network model.
The data link layer is responsible for the implementation of a point-to-point flow and error control mechanism. Let’s begin with some important terminology.
Flow Control in Datalink Layer
Error Control in Data link layer
Automatic Repeat reQuest(ARQ)
Selective Repeat ARQ
Multiple Access Protocols
Random access protocols
retransmit the frame right away. Instead, it waits for a random delay before retransmitting the frame.
Here, we assume the following:
Let p be a probability, that is, a number between 0 and 1. The operation of ALOHA in each node is simple.
There are two flavors of ALOHA:
Vulnerable Time = 2 * Frame transmission time Throughput = G exp Maximum throughput = 0.184 for G = 0.5
Vulnerable Time = Frame transmission time Throughput = G exp Maximum throughput = 0.368 for G = 1
As humans, we have human protocols that allow us not only to behave with more civility unlike ALOHA, but also to decrease the amount of time spent “colliding” with each other in conversation and, consequently, to increase the amount of data we exchange in our conversations.
Specifically, there are two important rules for polite human conversation. These two rules are embodied in the family of carrier sense multiple access (CSMA) protocols
Carrier Sense Multiple Access with Collision Dection (CSMA/CD)
Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA)
Controlled Access Protocols
Token Passing Protocol
Did you find this post useful?
I would be grateful if you let me know by sharing it on Twitter!
Follow me @ParthS0007 for more tech and blogging content :)
If you liked this post, sign up to get updates in your email when I write something new! No spam ever.
Hello and thanks for visiting! My name is Parth Shandilya, and this is my corner on web.
I am a software engineer and aspiring entrepreneur who enjoys exploring the intersection of technology and innovation. Through my writing, I delve into topics ranging from code and development to new ideas and insights on life.
Get updates when I write something new! No spam, I respect your inbox.