Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Computer Networks: Data Link Layer

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 15

Computer Networks

Data link layer


OUTCOMES:
Upon the completion of this session,the learner will be able to :

Understand the Services of datalink layer


Know the Types of errors
Data Link Layer

In the osi model, the data link layer is a 4 th layer from top and 2nd layer from the bottom
The data link layer is located between the physical and the network layer
The data link provides services to network layer and recive services from the physical layer.
It is responsible for moving data(frames) from one node to another node
Services of Data
Link Layer

Framing and Link access

Reliable Delivery

Flow Control

Error Detection

Error Correction

Half & Full-Duplex


1.Framing

It encapsulates network layer packets into frame for transmission


over the physical medium.

It specifies the structure of frame as well as channel access protocol


by which frame is to be transmitted over the link
2.Reliable delivery

Datalink layer provides a reliable delivery services i.e they transmit the
network layer datagram without any error.

A reliable delivery services is accomplished with transmissions and


acknowledgments.
3.Flow Control

 The data link layer manages the flow of data between two connected
devices, preventing a fast sender from overwhelming a slower receiver.

 This is crucial to avoid data loss and maintain efficient communication.


4.Error Detection:

Errors can be introduced by signal attenuation and noise.

It includes mechanisms for detecting errors in the transmitted frames.

 Common techniques involve the use of checksums or cyclic redundancy


checks (CRC) to ensure data integrity.
5.Error Correction:

 Error correction is similar to the Error detection, except that


receiving node not only detect the errors but also determine where
the errors have occurred in the frame.
6. Half & Full Duplex:

In a Full-Duplex mode, both the nodes can transmit the data at the same
time.
 In a Half-Duplex mode, only one node can transmit the data at the same
time.
Types Of Errors

•When data is transmitted from one device to another device, the


system does not guarantee whether the data received by the
device is identical to the data transmitted by another device.

• An Error is a situation when the message received at the


receiver end is not identical to the message transmitted.

•Types of Errors:
1.Single -Bit Error

The only one bit of a given data unit is changed from 1 to 0 or from 0 to 1.

Single-Bit Error does not appear more likely in Serial Data Transmission. It mainly
occurs in Parallel Data Transmission.
2.Burst Error:

 The two or more bits are changed from 0 to 1 or from 1 to 0 is known


as Burst Error.
The Burst Error is determined from the first corrupted bit to the last
corrupted bit.
The duration of noise in Burst Error is more than the duration of noise
in Single-Bit. Burst Errors are most likely to occurr in Serial Data
Transmission.
Error Detecting Techniques:

The most popular Error Detecting Techniques are:

 Single parity check


 Two-dimensional parity check
 Checksum
 Cyclic redundancy check(CRC)
THANK YOU

You might also like