The Wayback Machine - https://web.archive.org/web/20241011020825/https://www.geeksforgeeks.org/multiple-access-protocols-in-computer-network/
Open In App

Multiple Access Protocols in Computer Network

Last Updated : 28 Jun, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Multiple Access Protocols are methods used in computer networks to control how data is transmitted when multiple devices are trying to communicate over the same network. These protocols ensure that data packets are sent and received efficiently, without collisions or interference. They help manage the network traffic so that all devices can share the communication channel smoothly and effectively.

Who is Responsible for the Transmission of Data?

The Data Link Layer is responsible for the transmission of data between two nodes. Its main functions are:

  • Data Link Control
  • Multiple Access Control

Data Link Layer protocol

Data Link Control

The data link control is responsible for the reliable transmission of messages over transmission channels by using techniques like framing, error control and flow control. For Data link control refer to – Stop and Wait ARQ.

Multiple Access Control

If there is a dedicated link between the sender and the receiver then data link control layer is sufficient, however if there is no dedicated link present then multiple stations can access the channel simultaneously. Hence multiple access protocols are required to decrease collision and avoid crosstalk. For example, in a classroom full of students, when a teacher asks a question and all the students (or stations) start answering simultaneously (send data at same time) then a lot of chaos is created( data overlap or data lost) then it is the job of the teacher (multiple access protocols) to manage the students and make them answer one at a time. 

Thus, protocols are required for sharing data on non dedicated channels. Multiple access protocols can be subdivided further as

Multiple Access Protocol1. Random Access Protocol

In this, all stations have same superiority that is no station has more priority than another station. Any station can send data depending on medium’s state( idle or busy). It has two features: 

  • There is no fixed time for sending data
  • There is no fixed sequence of stations sending data

The Random access protocols are further subdivided as: 

ALOHA

It was designed for wireless LAN but is also applicable for shared medium. In this, multiple stations can transmit data at the same time and can hence lead to collision and data being garbled. 

Types of Aloha

Types of Aloha

Pure ALOHA

When a station sends data it waits for an acknowledgement. If the acknowledgement doesn’t come within the allotted time then the station waits for a random amount of time called back-off time (Tb) and re-sends the data. Since different stations wait for different amount of time, the probability of further collision decreases. 

Vulnerable Time = 2* Frame transmission time
Throughput = G exp{-2*G}
Maximum throughput = 0.184 for G=0.5
Pure-ALOHA

Pure Aloha

Slotted ALOHA

It is similar to pure aloha, except that we divide time into slots and sending of data is allowed only at the beginning of these slots. If a station misses out the allowed time, it must wait for the next slot. This reduces the probability of collision. 

Vulnerable Time =  Frame transmission time
Throughput = G exp{-*G}
Maximum throughput = 0.368 for G=1
Slotted-ALOHA

Slotted ALOHA

CSMA

Carrier Sense Multiple Access ensures fewer collisions as the station is required to first sense the medium (for idle or busy) before transmitting data. If it is idle then it sends data, otherwise it waits till the channel becomes idle. However there is still chance of collision in CSMA due to propagation delay. For example, if station A wants to send data, it will first sense the medium.If it finds the channel idle, it will start sending data. However, by the time the first bit of data is transmitted (delayed due to propagation delay) from station A, if station B requests to send data and senses the medium it will also find it idle and will also send data. This will result in collision of data from station A and B. 

CSMA

CSMA

CSMA Access Modes

CSMA Access Modes

CSMA Access Modes

  • 1-Persistent: The node senses the channel, if idle it sends the data, otherwise it continuously keeps on checking the medium for being idle and transmits unconditionally(with 1 probability) as soon as the channel gets idle.
  • Non-Persistent: The node senses the channel, if idle it sends the data, otherwise it checks the medium after a random amount of time (not continuously) and transmits when found idle. 
  • P-Persistent: The node senses the medium, if idle it sends the data with p probability. If the data is not transmitted ((1-p) probability) then it waits for some time and checks the medium again, now if it is found idle then it send with p probability. This repeat continues until the frame is sent. It is used in Wifi and packet radio systems. 
  • O-Persistent: Superiority of nodes is decided beforehand and transmission occurs in that order. If the medium is idle, node waits for its time slot to send data. 

CSMA/CD

Carrier sense multiple access with collision detection. Stations can terminate transmission of data if collision is detected. For more details refer – Efficiency of CSMA/CD.

CSMA/CA

Carrier sense multiple access with collision avoidance. The process of collisions detection involves sender receiving acknowledgement signals. If there is just one signal(its own) then the data is successfully sent but if there are two signals(its own and the one with which it has collided) then it means a collision has occurred. To distinguish between these two cases, collision must have a lot of impact on received signal. However it is not so in wired networks, so CSMA/CA is used in this case. 

CSMA/CA Avoids Collision By

  • Interframe Space: Station waits for medium to become idle and if found idle it does not immediately send data (to avoid collision due to propagation delay) rather it waits for a period of time called Interframe space or IFS. After this time it again checks the medium for being idle. The IFS duration depends on the priority of station.
  • Contention Window: It is the amount of time divided into slots. If the sender is ready to send data, it chooses a random number of slots as wait time which doubles every time medium is not found idle. If the medium is found busy it does not restart the entire process, rather it restarts the timer when the channel is found idle again.
  • Acknowledgement: The sender re-transmits the data if acknowledgement is not received before time-out.

2. Controlled Access

Controlled access protocols ensure that only one device uses the network at a time. Think of it like taking turns in a conversation so everyone can speak without talking over each other.

In this, the data is sent by that station which is approved by all other stations. For further details refer – Controlled Access Protocols.

3. Channelization

In this, the available bandwidth of the link is shared in time, frequency and code to multiple stations to access channel simultaneously. 

  • Frequency Division Multiple Access (FDMA) – The available bandwidth is divided into equal bands so that each station can be allocated its own band. Guard bands are also added so that no two bands overlap to avoid crosstalk and noise. 
  • Time Division Multiple Access (TDMA) – In this, the bandwidth is shared between multiple stations. To avoid collision time is divided into slots and stations are allotted these slots to transmit data. However there is a overhead of synchronization as each station needs to know its time slot. This is resolved by adding synchronization bits to each slot. Another issue with TDMA is propagation delay which is resolved by addition of guard bands. 
    For more details refer – Circuit Switching 
  • Code Division Multiple Access (CDMA) – One channel carries all transmissions simultaneously. There is neither division of bandwidth nor division of time. For example, if there are many people in a room all speaking at the same time, then also perfect reception of data is possible if only two person speak the same language. Similarly, data from different stations can be transmitted simultaneously in different code languages.
  • Orthogonal Frequency Division Multiple Access (OFDMA) –  In OFDMA the available bandwidth is divided into small subcarriers in order to increase the overall performance, Now the data is transmitted through these small subcarriers. it is widely used in the 5G technology.

Advantages of OFDMA

  • High data rates
  • Good for multimedia traffic
  • Increase in efficiency

Disadvantages OFDMA

  • Complex to implement
  • High peak to power ratio
     
  • Spatial Division Multiple Access (SDMA) – SDMA uses multiple antennas at the transmitter and receiver to separate the signals of multiple users that are located in different spatial directions. This technique is commonly used in MIMO (Multiple-Input, Multiple-Output) wireless communication systems.

Advantages SDMA

  • Frequency band uses effectively
  • The overall signal quality will be improved
  • The overall data rate will be increased

Disadvantages SDMA

  • It is complex to implement
  • It require the accurate information about the channel

Features of Multiple Access Protocols

  • Contention-Based Access: Multiple access protocols are typically contention-based, meaning that multiple devices compete for access to the communication channel. This can lead to collisions if two or more devices transmit at the same time, which can result in data loss and decreased network performance.
  • Carrier Sense Multiple Access (CSMA): CSMA is a widely used multiple access protocol in which devices listen for carrier signals on the communication channel before transmitting. If a carrier signal is detected, the device waits for a random amount of time before attempting to transmit to reduce the likelihood of collisions.
  • Collision Detection (CD): CD is a feature of some multiple access protocols that allows devices to detect when a collision has occurred and take appropriate action, such as backing off and retrying the transmission.
  • Collision Avoidance (CA): CA is a feature of some multiple access protocols that attempts to avoid collisions by assigning time slots to devices for transmission.
  • Token Passing: Token passing is a multiple access protocol in which devices pass a special token between each other to gain access to the communication channel. Devices can only transmit data when they hold the token, which ensures that only one device can transmit at a time.
  • Bandwidth Utilization: Multiple access protocols can affect the overall bandwidth utilization of a network. For example, contention-based protocols may result in lower bandwidth utilization due to collisions, while token passing protocols may result in higher bandwidth utilization due to the controlled access to the communication channel.

Conclusion

In conclusion, Multiple Access Protocols are essential for managing how devices share a network. They help ensure that data is transmitted smoothly and efficiently, preventing collisions and interference. By organizing network traffic, these protocols allow multiple devices to communicate over the same channel without issues, making networks work better for everyone. 

Frequently Asked Questions on Multiple Access Protocols – FAQs

Why are Multiple Access Protocols important?

Multiple Access Protocols is importantbecause, they ensure data is sent and received efficiently without collisions or interference.

How do Multiple Access Protocols work?

Multiple Access Protocols manage network traffic by organizing how and when each device can send data.

What are some common Multiple Access Protocols?

common Multiple Access Protocols include CSMA/CD (used in Ethernet), CSMA/CA (used in Wi-Fi), and TDMA (used in cellular networks).

What is CSMA/CD?

Carrier Sense Multiple Access with Collision Detection (CSMA/CD) is a protocol that detects collisions on the network and manages data transmission to avoid them.



Previous Article
Next Article

Similar Reads

Difference Between Network Layer Protocols and Application Layer Protocols
Prerequisite: Basics of Computer Network In the world of computer networking, protocols are the set of rules that govern communication between devices. These rules dictate how devices should send and receive data over a network. Protocols are typically organized into layers, with each layer serving a specific purpose and working in conjunction with
6 min read
Controlled Access Protocols in Computer Network
Controlled Access Protocols (CAPs) in computer networks control how data packets are sent over a common communication medium. These protocols ensure that data is transmitted efficiently, without collisions, and with little interference from other data transmissions. In this article, we will discuss Controlled Access Protocols. What is the Controlle
6 min read
Difference Between Network Topology and Network Protocols
Network Topology and Network Protocols are closely related but distinct concepts in the field of computer networking. Network Topology refers to the physical and logical arrangement of devices on a network, while Network Protocols refer to the rules and standards that govern the communication between devices on a network. Understanding the differen
5 min read
Collision-Free Protocols in Computer Network
Almost all collisions can be avoided in CSMA/CD but they can still occur during the contention period. The collision during the contention period adversely affects the system performance, this happens when the cable is long and length of packet are short. This problem becomes serious as fiber optics network came into use. Here we shall discuss some
4 min read
Routing v/s Routed Protocols in Computer Network
The Network Layer of the OSI Model is responsible for providing logical addressing, which routers use to select best path for routing packets. There are two types of packets used at this layer : Data Packets - The user data is transferred in the inter-network by these data packets. Routed protocols are those protocols which support such data traffi
6 min read
Link Access Procedure (LAP) Protocols
Link Access Procedure (LAP) is basically considered as an ITU family of Data Link Layer (DLL) protocols that are subsets of High-Level Data Link Control (HDLC). LAP is particularly derived from IBM’s System Development Life Cycle (SDLC). There are several LAP protocols. Each of these protocols is usually a subset of HDLC tailored for a particular p
2 min read
Types of Virtual Private Network (VPN) and its Protocols
VPN stands for Virtual Private Network (VPN), that allows a user to connect to a private network over the Internet securely and privately. VPN creates an encrypted connection that is called VPN tunnel, and all Internet traffic and communication is passed through this secure tunnel. Virtual Private Network (VPN) is basically of 2 types: 1. Remote Ac
7 min read
Network Protocols
Network Protocols are a set of guidelines governing the exchange of information in a simple, dependable and secure way. Network protocols are formal standards and policies comprised of rules, methodology, and configurations that define communication between two or more devices over a network. To effectively send and receive information, devices on
3 min read
Network Protocols and Communications
Data communication are the exchange of data between two nodes via some form of link (transmission medium) such as cable. Now these Data are exchanged in three ways : Simplex Half Duplex Full Duplex Now let us understand them one by one : Simplex : Communication is always unidirectional, i.e., one device will transmit and other will receive. E.g., K
2 min read
14 Most Common Network Protocols And Their Vulnerabilities
Network Protocols are a set of established rules which control and govern the interchange of information by following a secure, reliable, and easy method. These sets of rules are present for various applications. Some well-known examples of protocols include wired networking (like Ethernet), wireless networking (like WLANs), and Internet communicat
8 min read
Mobile IP and Network Mobility Protocols
Mobile Internet Protocol and Network Mobility are both network concepts that are related to each other which enables the devices and networks in the Internet Protocol environments. Both these protocols are used for mobile devices and network connection even when the network is in a different location and even if they move in a different network. Th
9 min read
Network Authentication Protocols: RADIUS, TACACS+
Network authentication protocols are known as methods that are used to verify the identity of the users or the devices that are written to access a particular network. these protocols are used to make sure that only the authorized users of the devices are granted access while making sure the unauthorized users are out. so in this article, we will u
8 min read
Types of Network Protocols and Their Uses
Network protocols are a set of rules that are responsible for the communication of data between various devices in the network. These protocols define guidelines and conventions for transmitting and receiving data, ensuring efficient and reliable data communication. What is Network Protocol?A network protocol is a set of rules that govern data comm
9 min read
Network Layer Protocols
Network Layer is responsible for the transmission of data or communication from one host to another host connected in a network. Rather than describing how data is transferred, it implements the technique for efficient transmission. In order to provide efficient communication protocols are used at the network layer. The data is being grouped into p
9 min read
Wireless Network Roaming and Handover Protocols
Wireless network roaming and handover protocols does play a significant role in for mobile devices by ensuring seamless connectivity by switching between access point within WLAN(wireless local area network) and provided uninterrupted internet access to it's user regardless of the location. In this article, we will learn all about the Wireless netw
7 min read
Access Control in Computer Network
Access control is a security strategy that controls who or what can view or utilize resources in a computer system. It is a fundamental security concept that reduces risk to the company or organization. In this article, we are going to discuss every point about access control. In this article, we will learn about Access control and its authenticati
7 min read
Why Star network is More Efficient in Network Fault Tolerance in Place of Bus Network?
Answer: Star networks offer better fault tolerance than bus networks because a single point of failure in a star network (the central hub) affects only the connected device, while a fault in a bus network can disrupt communication for all devices on the bus.Advantages of Star Topology Over Bus Topology Individual Connection Points: In a star networ
2 min read
Basic Network Attacks in Computer Network
Many people rely on the Internet for many of their professional, social and personal activities. But there are also people who attempt to damage our Internet-connected computers, violate our privacy and render inoperable the Internet services. Given the frequency and variety of existing attacks as well as the threat of new and more destructive futu
7 min read
How to Find Network IP Address of Computer Using Computer Name?
Answer: By using the command "ping" followed by the computer name in the command prompt or terminal.To find the network IP address of a computer using its computer name: Open Command Prompt or Terminal Begin by opening the Command Prompt (Windows) or Terminal (macOS/Linux) on your computer. Use the Ping Command Type "ping" followed by the computer
1 min read
Hybrid Fiber Coaxial (HFC) Access Network Management
Hybrid Fiber Coaxial (HFC) network is a technology under telecommunications technology where fiber cables and coaxial cables are used in different-different portions of a network to carry all the data or its content. It carries data like videos, music, voice, recordings, etc. Hybrid Fiber Coaxial (HFC) Access Network Manager is formed in order to s
2 min read
What is Network Access Control?
Network Access Control is a security solution that uses a set of protocols to keep unauthorized users and devices out of a private network or give restricted access to the devices which are compliant with network security policies. It is also known as Network Admission Control. It handles network management and security that implements security pol
6 min read
How do I Remotely Access a Network PC?
Answer: Use Remote Desktop Protocol (RDP) on Windows, SSH for Linux/Unix, or third-party software like TeamViewer or AnyDesk for cross-platform access.To remotely access a network PC, consider the following methods based on the operating system: WindowsUse Remote Desktop Protocol (RDP). Enable it on the network PC via System Settings, then connect
1 min read
Cloud Radio Access Network (C-RAN)
Traditional architectures of cellular networks come up with tremendous challenges due to rapid increase in mobile data traffic. Limited spectrum availability make data traffic to consume high power. Due to such demerits industries as well as research communities are in constant search in developing novel network architectures for supporting the exp
6 min read
Sliding Window protocols Summary With Questions
Prerequisites - Stop & Wait, Go Back N, Selective Repeat Summary of all the protocols - Before starting with the questions a quick recap for all the protocols. Stop and wait - Sender window size (Ws) = 1Receiver window size (Wr) = 1Sequence Number ≥ 1 + 1Uses independent acknowledgementDiscards out of order packetsPacket Loss ? Retransmit packe
4 min read
Securing Routing Protocols
Prerequisite - Routing Information Protocol (RIP), EIGRP fundamentals, OSPF protocol fundamentals Routing is a process in which a layer 3 device (either router or layer 3 switch) finds the best path between the source and destination network. Dynamic routing protocols are used to decrease administrator overhead, i.e., administrator have to configur
5 min read
MANET Routing Protocols
In Mobile Ad hoc Network (MANET), nodes do not know the topology of their network, instead they have to discover it by their own as the topology in the ad-hoc network is dynamic topology. The basic rules is that a new node whenever enters into an ad-hoc network, must announce its arrival and presence and should also listen to similar announcement b
5 min read
Video Conferencing Protocols
Internet communication simply means communication between two or many users over the Internet or the WWW (World Wide Web). The communication can be in the form of texting, sharing information, videos, audios, ideas, video chatting, etc. Video conferencing : Videophone/Video chatting/Video conferencing is a type of Internet Communication. Video mean
3 min read
Chat Conferencing Protocols
Communication is one of the most important things for today's generation. It is the best way to connect with people, to understand people, to pass information, etc. Effective communication is very important for our life. Chat conferencing is a type of Internet communication. Chatting : Chatting, as the name suggest i.e. to chat is one of the most e
1 min read
Trust Based Energy-Efficient and Secure Routing Protocols for IoT
There are many network designs and Internet of Things (IoT) models (devices) that are at work presently, but these lack either in terms of energy efficiency or aren’t optimized. To send information from source to destination node is most important task to be carried out in large scale and dynamic IoT environment. Thus, node may be repeated many tim
4 min read
Data Link Layer Communication Protocols in IoT
Several Communication Protocols are used in Internet of Things (IoT) to provide service to the network layer. As we know IoT is based on networking of things where smart devices communicate with each other by sending and receiving data. So for that several network protocols (Communication protocols) are used to connect the IoT enabled devices and t
5 min read
Article Tags :