Unit 2 - MAC Sublayer
Unit 2 - MAC Sublayer
LAN Standards
Ethernet
Fast Ethernet
Gigabit Ethernet
12/23/2020 NETWORK LAYER 2
Introduction to MAC Sub layer
Data link layer works between two hosts which are directly connected in some sense.
This direct connection could be point to point or broadcast.
Systems on broadcast network are said to be on same link.
The work of data link layer tends to get more complex when it is dealing with multiple
hosts on single collision domain.
Data link layer is divided into two sublayers −
Logical link control (LLC) sublayer: It deals with protocols, flow-control, and error control
Medium access control (MAC) sublayer: It deals with actual control of media/ medium
Medium Access Control sub layer is concerned with sharing the physical connection to
the network among several computers.
Time Slot In Pure Aloha, any station can transmit In Slotted Aloha, any station can transmit data only at
1 data at any time. beginning of any time slot.
Time In Pure Aloha, time is continuous and In Slotted Aloha, time is discrete and is globally
2 is not globally synchronized. syncronized.
Vulnerable Vulnerable time = 2 x Tt. Vulnerable time = T .
3 t
time
Probability Probability of successful transmission Probability of successful transmission of data packet = G
-2G -G
of data packet = G x e xe
4
Where, G is number of participating Where, G is number of participating users
users
Maximum Maximum efficiency = 18.4%. Maximum efficiency = 36.8%.
5 efficiency
Number of Does to reduces the number of Slotted Aloha reduces the number of collisions to half thus
6 collisions collisions. doubles the efficiency.