Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
14 views

Data_Link_Layer_Lecture

Uploaded by

abdulrafayza01
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Data_Link_Layer_Lecture

Uploaded by

abdulrafayza01
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Data Link Layer: Introduction, Services, and Error Handling

1. Introduction to the Data Link Layer


The Data Link Layer is the second layer in the OSI (Open Systems Interconnection) model.
Its primary purpose is to handle communication between devices within the same local
network and ensure error-free transmission of data frames over the physical layer. It acts as
an intermediary between the physical layer and the network layer, providing node-to-node
data transfer and handling error detection and correction.

2. Sublayers of the Data Link Layer


The Data Link Layer is divided into two sublayers:
- **Logical Link Control (LLC)**: Responsible for identifying network protocols, error
checking, and flow control.
- **Media Access Control (MAC)**: Responsible for controlling how devices in a network
gain access to the data and permission to transmit it.

3. Services and Responsibilities


The Data Link Layer provides several essential services:
- **Framing**: Divides data into frames for easier handling and transmission.
- **Error Detection and Correction**: Identifies and rectifies errors in data transmission.
- **Flow Control**: Manages the rate of data transfer to prevent overwhelming the
receiving device.
- **Access Control**: Determines which device has control over the link at any given time.
4. Link-Layer Addressing
Link-layer addressing involves assigning physical addresses, also known as MAC addresses,
to devices on a network. These addresses allow devices within the same local network to
identify and communicate with each other uniquely.

5. Error Detection vs. Correction


Error detection and error correction are critical services provided by the Data Link Layer:
- **Error Detection**: Identifies errors in transmitted data but does not correct them.
Common techniques include parity checks and checksums.
- **Error Correction**: Not only detects errors but also corrects them. Forward error
correction (FEC) is an example of this approach.

6. Redundancy and Error Handling Techniques


Redundancy involves adding extra bits to data to help detect or correct errors during
transmission. Different error handling techniques include:
- **Parity Bits**: Simple error detection by adding a parity bit.
- **Checksums**: Calculates a value based on the data, which is checked at the receiving
end.
- **Cyclic Redundancy Check (CRC)**: Uses polynomial division to detect errors.
- **Forward Error Correction (FEC)**: Sends extra data to allow the receiver to correct
errors without retransmission.
7. Modular Arithmetic in Error Detection and Correction
Modular arithmetic plays a role in several error-detection and correction methods,
especially in techniques like checksums and CRC, where data is divided and processed to
detect discrepancies using modular calculations.

8. Checksum and CRC


- **Checksum**: An error-detection method that sums up data values and includes the
result with the transmission. The receiver recalculates and compares to detect errors.
- **Cyclic Redundancy Check (CRC)**: Uses polynomial division to detect errors in
transmitted data. It is a more robust method than a simple checksum, often used in network
and storage devices.

9. Forward Error Correction (FEC)


Forward Error Correction is an error-handling method that allows the receiver to detect
and correct errors without needing retransmission. FEC adds redundant data to the original
message, enabling error correction by analyzing patterns. Commonly used in situations
where retransmissions are costly or impractical, such as satellite or deep-space
communications.

You might also like