U5. Data Link Layer and Network Layer Flashcards
(9 cards)
- Data Link Layer – Design Issues
Framing: Divides data into frames for synchronization.
Error Control: Detects and corrects transmission errors.
Flow Control: Maintains pace between sender and receiver.
Acknowledgment & Retransmission used for reliable delivery.
- Services Provided by Data Link
Framing
Reliable Delivery
Error Detection & Correction
Flow Control
- Framing Techniques
Character Count
Flag bytes with byte stuffing
Flag bits with bit stuffing
Physical layer coding violations
- Error Control Mechanisms
Error detection: Parity bits, CRC (Cyclic Redundancy Check).
Error correction: Hamming Code.
Uses ACK/NAK and retransmission for reliability.
- Flow Control Methods
Prevents sender from overwhelming receiver.
Stop-and-Wait Protocol
Sliding Window Protocol (used in TCP/IP)
- Protocols
(a) Simplex Link Layer Protocols
One-way communication (sender → receiver).
No flow/error control – very basic.
(b) Sliding Window Protocol
Allows multiple frames in transit.
Maintains window of acceptable frames
- Medium Access Control (MAC) Sublayer
Controls access to shared media (e.g., Ethernet, Wi-Fi).
(a) Channel Allocation
+ Static
+ Dynamic
(b) Multiple Access Protocols
+ ALOHA
+ CSMA
ALOHA
Simple random access protocol.
Two types: Pure ALOHA (low efficiency), Slotted ALOHA (better).
CSMA (Carrier Sense Multiple Access):
Listens before transmitting.
CSMA/CD (Collision Detection) – used in Ethernet.
CSMA/CA (Collision Avoidance) – used in Wi-Fi.