Data Link Layer Flashcards
What is the primary purpose of the Data Link Layer?
To provide a link between the software communication subsystems and the physical components involved in communications.
What is a frame in the context of the Data Link Layer?
A frame is a Layer 2 PDU that encapsulates packets from the Network Layer for transmission over the media.
How does the Data Link Layer handle data encapsulation?
It encapsulates packets from the Network Layer into frames that are appropriate for the type of media being used.
What are the two sublayers of the Data Link Layer?
Logical Link Control (LLC) and Media Access Control (MAC).
What is the function of the Logical Link Control (LLC) sublayer?
To handle communication between the upper and lower layers and add header information to identify the Layer 2 protocol used.
What is the function of the Media Access Control (MAC) sublayer?
To control access to the media and provide Layer 2 addressing and encapsulation information.
What is media access control?
Mechanisms that control how and when devices can use the media for transmission to avoid collisions.
What is a MAC address?
A 48-bit binary value expressed as 12 hexadecimal digits used to uniquely identify network interface cards.
What is the difference between physical and logical topologies?
Physical topology refers to the actual physical layout of the network, while logical topology refers to the virtual arrangement of nodes as seen by the Data Link Layer.
What are the common physical WAN topologies?
Point-to-point, hub-and-spoke, and full mesh.
What is a point-to-point topology?
A direct physical connection between two nodes.
What is the purpose of the frame start and frame stop fields in a Layer 2 frame?
To indicate the beginning and end of a frame for processing by the Data Link Layer components.
What is the difference between contention-based and controlled access methods?
Contention-based methods allow multiple nodes to compete for media access, while controlled access methods use tokens or other mechanisms to determine which node can transmit at any given time.
What is CSMA/CD?
Carrier Sense Multiple Access with Collision Detection, a contention-based media access control method used in wired Ethernet networks.
What happens when a collision is detected in CSMA/CD?
The nodes stop transmitting, send a jamming signal, wait for a random backoff period, and then attempt to retransmit.
What is CSMA/CA?
Carrier Sense Multiple Access with Collision Avoidance, a media access control method used in wireless networks to avoid collisions.