Summarized Reviewer - Chapter 9
Summarized Reviewer - Chapter 9
Layer
1. Transmission - Meaning
The data-link layer is responsible for communication between directly connected network
nodes.
It ensures data encapsulation, flow control, error detection, and addressing at the link level.
A frame is the data unit at this layer, which carries network-layer packets (datagrams).
A packet must travel through multiple links and nodes before reaching its
destination.
A. Framing
B. Flow Control
C. Error Control
D. Congestion Control
Prevents excessive network traffic that can cause delays and packet loss.
Primarily managed by the network and transport layers, but some link-layer protocols
include congestion management.
4. Types of Links
There are two types of links controlled by the data-link layer:
1.
Point-to-Point Links
2.
3.
Broadcast Links
4.
6. Link-Layer Addressing
Each device in a network must have a unique link-layer address (also called MAC
address).
A. Unicast Address
Used for one-to-one communication.
Example: A frame sent from a router to a specific computer.
B. Multicast Address
C. Broadcast Address
1. A device sends an ARP request to ask for the MAC address of a specific IP.
2. The target device replies with its ARP response, providing its MAC address.
3. The sender stores the MAC address in its ARP cache to avoid repeated requests.
A computer wants to send data to another device but only knows its IP address.
The sender broadcasts an ARP request to find the recipient's MAC address.
The target replies with its MAC address, allowing communication to proceed.
1. Transmission - Meaning
The data-link layer ensures reliable communication between two directly connected devices
(nodes) over a network.
It is responsible for framing, addressing, error control, and flow control.
The unit of data at this layer is called a frame.
A. Framing
B. Flow Control
C. Error Control
Detects and corrects transmission errors using error detection codes.
Techniques include Cyclic Redundancy Check (CRC) and Automatic Repeat Request (ARQ).
D. Congestion Control
Prevents excessive data traffic that could cause network congestion and packet loss.
Mostly handled at the network and transport layers, but some link-layer protocols manage
congestion as well.
4. Types of Links
The data-link layer controls how communication occurs over different types of links:
1.
Point-to-Point Links
2.
3.
Broadcast Links
4.
Manages framing, flow control, and error detection for reliable transmission.
A. Unicast Address
B. Multicast Address
C. Broadcast Address
1. A device sends an ARP request to ask for the MAC address of a specific IP.
2. The target device responds with its MAC address in an ARP reply.
3. The sender stores the MAC address in its ARP cache for future use.
A device wants to send data to another device but only knows its IP address.
It broadcasts an ARP request asking for the recipient's MAC address.
The recipient replies with its MAC address, allowing communication to proceed.