Error Control Using Data Link Layer In Computer Network.

Hello Friends, In this blog post(Error Control Using Data Link Layer In Computer Network) I am going to explain one important factor ‘Error Control’ mechanism which is used at the data link layer while making the data transmission in or out.

In this blog post(Error Control Using Data Link Layer In Computer Network), we are going to discuss What is error control in the data link layer. How will you achieve flow control and error control in the data link layer?….

…. Why flow control and error control mechanisms are implemented in the data link layer as well as in the transport layer? What are the two data link controls?|Error Control Using Data Link Layer In Computer Network|

The data link layer gives a surety of error control that all frames are eventually delivered to the network layer at the destination and in the proper order. Suppose that the sender just kept outputting frames without regard to whether they were arriving properly. |Error Control Using Data Link Layer In Computer Network|

This might be fine for unacknowledged connectionless service but would most certainly not be fine for reliable, connection-oriented service.

The usual way to ensure reliable delivery is to provide the sender with some feedback about what is happening at the other end of the line.

Typically the protocol calls for the receiver to send back special control frames bearing positive or negative acknowledgements about the incoming frames.

If the sender receives a positive acknowledgement about a frame, it knows the frame has arrived safely.

On the other hand, a negative acknowledgement means that something has gone wrong and the frame must be transmitted again.

An additional complication comes from the possibility that the hardware troubles may cause a frame to vanish completely(eg. in a noise burst).

In this case, the receiver will not react at all, since it has no reason to react. It should be clear that a protocol in which the sender transmitted a frame and then waited for an acknowledgement, positive or negative, would hang forever if a frame were ever completely lost due to malfunctioning hardware.

This possibility is dealt with by introducing timers into the data link layer. When the transmits a frame, it generally also starts a timer.

The timer is set to go off after an interval long enough for the frame to reach the destination, be processed there, and have the acknowledgement propagate back to the sender.

Normally the frame will be correctly received and the acknowledgement will get back before the timer runs out, In which case it will be cancelled.

However, if either the frame or the acknowledgement is lost, the timer will go off, altering the sender to a potential problem. The obvious solution for error control is to just transmit the frame again.

However, When frames may be transmitted multiple times there is a danger that the receiver will accept the same frame two or more times and pass it to the network layer more than once.

To prevent this from happening, error control is generally necessary to assign a sequence number to outgoing frames, So that the receiver can distinguish a retransmission from the original.|Error Control Using Data Link Layer In Computer Network|

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

What is meant by piggybacking what are its advantages and disadvantages…
What is meant by flow control…
What is sliding window protocol for example…
‘Stop and wait’ protocol Used In Data Link Layer…
Difference Between Error Control and Flow Control…
What Is Data Link Protocol…
ARQ Technique: Error Control Techniques In the Data link layer…
Error Control Using Data Link Layer In Computer Network…
Flow Control Using Data Link Layer In Computer Network…
HDLC Protocol In Hindi…

Conclusion:

Within this blog post(Error Control Using Data Link Layer In Computer Network), we have gone through What error control in the data link layer. How will you achieve flow control and error control in the data link layer? Why flow control and error control mechanisms are implemented in the data link layer as well as in the transport layer? What are the two data link controls? Datalink and its protocols play an important role in data communication and ensure the reliable delivery of data between the devices.

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 Error Control Using Data Link Layer 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.