Link Layer I Flashcards
(10 cards)
Link Layer: Key Responsibilities
Framing
Breaks the network layer datagram into frames.
Adds header and trailer (e.g., MAC addresses, error detection info).
Each frame is transmitted over a single link.
Link Access
Controls access to the shared link (especially in wireless and broadcast networks like Ethernet).
Uses MAC protocols (e.g., CSMA/CD for Ethernet, CSMA/CA for WiFi).
Error Detection and Correction
Adds error checking bits (e.g., CRC in Ethernet).
Detects and sometimes corrects bit errors introduced by noise, signal distortion, etc.
Reliable Delivery (optional)
Some link-layer protocols provide acknowledgments and retransmissions.
E.g., 802.11 (WiFi) provides reliable delivery.
Ethernet does NOT – relies on higher layers.
MAC (Media Access Control) Addressing
Each device has a unique MAC address (48-bit).
Used to identify sender and receiver at the link level.
Independent of IP addressing.
Flow Control (sometimes)
Prevents fast sender from overwhelming the slow receiver.
More common at higher layers, but can exist at link layer in some technologies
Multiplexing and Demultiplexing
Handles multiple network layer protocols (e.g., IP, ARP) over the same link.
Uses EtherType field in Ethernet frame.
Channel partitioning MAC protocols: TDMA
TDMA: time division multiple access
▪ access to channel in “rounds”
▪ each station gets fixed length slot (length = packet transmission
time) in each round
▪ unused slots go idle
Channel partitioning MAC protocols: FDMA
FDMA: frequency division multiple access
▪ channel spectrum divided into frequency bands
▪ each station assigned fixed frequency band
▪ unused transmission time in frequency bands go idle