Module2 2
Module2 2
The LLC layer for LANs is concerned with the transmission of a link-level
protocol data unit between two stations on point-to-point links.
The MAC sublayer is the bottom part of the data link layer and is used
particularly for broadcast or shared channel networks.
Medium
Medium Access
Access Control Sublayer
Protocol (1)
Some means of controlling access to the transmission medium is
needed for efficient use of that capacity. This is the function of a
Medium Access Control (MAC) Protocol.
FDM and TDM are simple and efficient allocation mechanism for
analog and digital transmission, respectively.
Here the channel utilization for the pure ALOHA comes out to be 18%
which is very low. That means out of 100 frames transmitted per unit
time only 18 frames will reach successfully.
Stations with data to transmit will wait until the starting time of a
slot.
Here the channel utilization for the slotted ALOHA comes out to
be 36% which is double that of pure ALOHA.
Slotted ALOHA
Stations with data to transmit will wait until the starting time of a
slot.
Hence the channel utilization for the slotted ALOHA comes out to
be 18% which is double that of pure ALOHA.
Carrier Sense Multiple Access protocols
3) p-Persistent CSMA:
Before actual transmission, every station will be provided with the slot
and any station (say j) can announce if it has any frame to be send by
inserting a bit 1 in its j slot.
After all N slots have passed there will be complete knowledge of all
stations those wish to transmit, and they can transmit in numerical order.
A Bit-Map Protocol
After the last ready station has transmitted its frame another N bit
contention period will begin.
A problem with such a protocol is the overhead of 1 bit per station and
for a network with thousands of stations a lot of time is wasted to resolve
such contentions.
After the first collision each station waits either 0 or 1 slot times
before trying again.
If two stations collide and each picks the same random number
they will collide again.
If the third collision occurs then the next time each station can
choose at random from the interval 0 to 23 -1, number of slot
times it will wait before trying again.