What is the Data Link Layer in the OSI Reference Model?
layer 2. node-to-node data transfer and enabling reliable communication between directly connected devices on the same network
What are the main functions of the Data Link Layer?
Framing: Packages raw bits into frames for easier handling. Error Detection: Identifies and corrects errors in transmitted data. Flow Control: Manages data flow to prevent congestion. MAC Addressing: Uses unique addresses to identify devices on a network.
What are the two sublayers of the Data Link Layer?
Logical Link Control (LLC) and Media Access Control (MAC).
What does the Logical Link Control (LLC) sublayer do?
Communicates between networking software at higher layers and device hardware.
multiplexing
flow control
error detection
What is the primary protocol used at Layer 2?
Ethernet is the default protocol at Layer 2.
What is a frame in the context of the Data Link Layer?
A frame is the Protocol Data Unit (PDU) at Layer 2
created by encapsulating packets from the Network Layer with control information
What is included in a frame header?
Data Link Header
What is the purpose of the frame trailer?
Usually contains error-checking information and is optional.
What is a MAC address?
A unique 48-bit address assigned to each Network Interface Card (NIC)
What are the three types of MAC addresses?
Unicast (single device) multicast (device group) broadcast (all devices)
What is a unicast MAC address?
An address that points to a single NIC
What is a broadcast MAC address?
An address that allows all hosts on the network to receive the frame
What does the term ‘network topology’ refer to?
arrangement of devices (nodes) and connections (links) in a computer network
What are the two types of network topology?
Physical topology and logical topology.
What is a bus topology?
A network topology where each node connects to a common media.
What is a star topology?
A network topology where each node connects to a central point
What is a mesh topology?
A network topology where each node is connected to every other node (full mesh) or only to select nodes (partial mesh).
What is the role of switches in a network?
Switches use a MAC address table to forward frames to specific devices
What is a collision domain?
A segment of a network where data packets can collide
How do switches reduce collisions?
By sending frames only to the port where the destination MAC address is attached
What is a MAC address table?
A table that maps MAC addresses to switch ports
What are the common switch form factors?
Fixed, rack mounted and stackable
What is the purpose of data encapsulation in networking?
To package data with necessary protocol information for transmission across the network.
What is the significance of error detection in frames?
To ensure data integrity by identifying and correcting errors during transmission.