Pure ALOHA and Slotted ALOHA

In a computer network, there is a need for access to the common shared medium.  Aloha protocol is for a medium access control mechanism, for shared channel or medium. For example, LAN connects multiple computers over a shared physical medium, which in LAN wires, hubs, switches, routers etc.  When a packet needs to send to another computer over the LAN, the sender broadcasts the packet.  If there are simultaneous broadcasts from other computers then there may be a collision and the packet will be garbled.  Note that the collision problem is in only broadcast networks.  Aloha protocol provides a mechanism for communication over a common shared medium to transmit a packet reliably.

In other networks like peer to peer, no need for Aloha protocol, as there is no sharing of a medium, so no collision. In the following section, we will describe each type of aloha protocol in detail.

What is pure aloha and slotted aloha?

The first version of the aloha protocol is named Pure Aloha. After that, a more efficient version was developed which named as slotted aloha. Both pure aloha and slotted aloha works for a shared broadcast network, as LAN or WiFi LAN.

What is Pure Aloha?

As the name suggests pure aloha is the original version of the aloha protocol.  Following is the procedure in pure aloha for communication.

What is slotted Aloha?

The next version of aloha, more efficient. The following describes the protocol procedure for slotted aloha protocol.