






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An in-depth exploration of data link layer concepts, focusing on flow control methods like stop and wait and sliding windows, error detection techniques such as parity and cyclic redundancy check, and error correction approaches like automatic repeat request (arq).
Typology: Slides
1 / 12
This page cannot be seen from the preview
Don't miss anything!







1
Data Link Control and Protocols
2
Ensuring the sending entity does not overwhelm the receiving entity ִ Preventing buffer overflow Transmission time ִ Time taken to emit all bits into medium Propagation time ִ Time for a bit to traverse the link
4
Allow multiple frames to be in transit Receiver has buffer W long Transmitter can send up to W frames without ACK Each frame is numbered ACK includes number of next frame expected Sequence number
5
Receiver can acknowledge frames without permitting further transmission (Receive Not Ready) Must send a normal acknowledge to resume If duplex, use piggybacking ִ If no data to send, use acknowledgement frame ִ If data but no acknowledgement to send, send last acknowledgement number again, or have ACK valid flag (TCP)
7
Detection and correction of errors Lost frames Damaged frames Automatic repeat request ִ Error detection ִ Positive acknowledgment ִ Retransmission after timeout ִ Negative acknowledgement and retransmission
Stop and Wait ;; Sliding Window. What can go wrong: ִ Lost frame ִ Lost Ack ִ Frame in error – damaged ִ Ack in error – damaged ִ Duplicate frame ִ Duplicate Ack
8
Stop and wait Go back N Selective reject (selective retransmission)
Source transmits single frame Wait for ACK If received frame damaged, discard it ִ Transmitter has timeout ִ If no ACK within timeout, retransmit If ACK damaged,transmitter will not recognize it ִ Transmitter will retransmit ִ Receive gets two copies of frame ִ Use ACK0 and ACK
10
Logical Link Control (LLC) ִ IEEE 802 ִ Different frame format ִ Link control split between medium access layer (MAC) and LLC (on top of MAC) ִ No primary and secondary - all stations are peers ִ Two addresses needed Sender and receiver ִ Error detection at MAC layer 32 bit CRC ִ Destination and source access points (DSAP, SSAP)
11
Serial Line IP Uses character stuffing ִ Flag used 0xC ִ 0xDB, 0xDC replaces 0xC0 data ִ 0xDB in data is also stuffed No Error Detection Supports only IP Both sides should already know the other’s IP No authentication process
Point to Point Protocol
Based largely on HDLC ִ But uses character stuffing instead of bit
Improves on SLIP ִ Error detection ִ Supports multiple protocols ִ IP negotiation at connection time ִ Permits authentication