Professional Documents
Culture Documents
Layer 2 Data Link
Layer 2 Data Link
MAC ADDRESSING
ETHERNET FRAME
Sublayers
LLC – Logical Link Control 802.2 (implemented
in software) – services for upper layers, flow
control
MAC – Media Access Control controls how
devices access the medium.
Host addressing
Layer 2 framing – (de) encapsulating
Half-duplex transmission
Frame check sequence, discarding frames, start
frame delimiter, preamble
MAC
The devices can access the medium by:
-CSMA/CD - Colision Detection
-CSMA/CA - Collision Avoidance
-Token Ring – Collision Free
CSMA/CD designed for
802.3 – ethernet NIC senses for a carrier signal,
and if two hosts are listening at the same time,
and send at the same time there might be
collisions and CSMA/CA is designed for this
Shared media – bus networks, hub (collisions)
Identify devices – MAC Addresses
Resolving collisions
CSMA/CD Steps
Sense: when a device wants to send a frame
waits until there is no carrier signal
Send: begin sending
Listen: continue listening for collisions
Collision : it occurs - the device sends a jam
signal to notify all the signals to stop listening
Wait each sending device runs an algorithm to
set random waiting time
Resend: after the wait expires it sends again
MAC ADDRESS
48 BIT address hexadecimal (12 hexa)
1 hexa = 1 nibble = 4 bits
2F-AC-04-DF-11-04 is an example