L4 The Data Link Layer Flashcards
Describe the data link layer
The datalink layer presents the physical layer as a reliable transmission service to the network layer.
- repackaging upper layer into smaller chunks.
- reassembling physical layer data into meaningful datagrams.
- performs error detection and correction.
What are the two sublayers to the data link layer?
LLC (logical Link control)
MAC (media access control)
Describe the MAC layer (Media Access Control)
Media Access Control (MAC) responsible controlling what and when the network device transmits.
What are the two approaches to media access control (MAC)?
Contention
Controlled access
Describe the Media Access Control (MAC) approach: Contention
Contention is when data is only transmitted when the medium is free.
Media Access Control: What are collisions and How does contention deal with collisions?
A collision occurs when two devices transmit data at the same time. Contention aims to detect when a collision occurred. Solution: random back off by both parties and try again.
Large # users = serious network degradation
Describe the Media Access Control (MAC) approach: controlled access
Central mechanism controls access to medium.
Media Access Control (MAC) Controlled access: Describe roll call polling
Access controller makes clients take turns in round robin fashion: A, B, C, D; Arbitrary order: A, B, A, C, A, D. (Hub polling involving tokens is dead)
What are some sources of error?
Line distortion White noise Impulse noise Crosstalk Echoes Attenuation Intermodulation noise
Error: line distortion
different frequency components of the signal travel at different speeds through the medium
Error: White noise
caused by the natural vibrations of electrons in matter. Sets limits on receiver sensitivity.
Error: impulse noise
Primary source of errors in data communications. Caused by sudden, substantial change in electrical state of perfecting entity.
Error: crosstalk
Occurs in electric media when the current flowing in one cable induces a current in a cable that is close to it. Guardbands may be too narrow.
Error: Echoes
Signal propagates from the transmitter to far end of medium and then reflects from the far end back to the transmitter. Can occur with loosely connected cable, improper termination of cables and ports, and mismatched impedance (electrical resistance)
Error: Attenuation
Signal becomes weaker the further troubles from the transmitter. It may be absorbed by matter such as water. Can be reduced by repeaters or amplifiers.