Dllyer
Dllyer
Sure! Here's a detailed set of notes on **"Data Link Layer and its Functions"** in Computer Netwo
---
The **Data Link Layer (DLL)** is the second layer in the **OSI (Open Systems Interconnection)**
---
1. **Framing**
- The DLL is responsible for dividing data into smaller units called **frames**.
- Each frame contains:
- **Header**: Source and destination MAC addresses.
- **Payload (Data)**: The actual data being transmitted.
- **Trailer**: Error detection codes like CRC (Cyclic Redundancy Check).
**Example**: When a large file is sent across the network, the DLL breaks it into frames to fit th
**Example**: In Ethernet networks, CRC is used to detect errors in the frame during transmissio
3. **Flow Control**
- Flow control is used to manage the pace of data transmission between sender and receiver to
- The DLL may use mechanisms like **Sliding Window Protocols** to regulate the amount of da
**Example**: In the **Stop-and-Wait ARQ (Automatic Repeat reQuest)** protocol, the sender w
**Examples**:
- **Ethernet**: Uses **CSMA/CD (Carrier Sense Multiple Access with Collision Detection)** to m
- **Wi-Fi (Wireless)**: Uses **CSMA/CA (Carrier Sense Multiple Access with Collision Avoidanc
5. **Addressing**
- The data link layer uses **MAC addresses** (Media Access Control addresses) to identify dev
- These addresses are unique to each network interface card (NIC) and help in directing data fr
**Example**: A router at the network boundary uses MAC addresses to forward Ethernet frame