L16. Describe CSMA/CD and how it differs from CSMA/CA. Flashcards
What is CSMA/CD?
Carrier Sense Multiple Access with Collision Detection is a link layer protocol that controls how data packets are transmitted over a shared medium
What is CSMA/CA?
Carrier Sense Multiple Access with Collision Avoidance is a link layer protocol that controls how data packets are transmitted over a shared medium
What are common properties of CSMA/CD and CSMA/CA?
They both control how data packets are transmitted over a shared medium in order to minimize collisions and improve network efficiency
What is the main difference between CSMA/CD and CSMA/CA?
They operate in different network environments
What type of network is CSMA/CD typically used in?
CSMA/CD is primarily used in wired Ethernet networks
What is Carrier Sensing?
A device listens to the network to check if it is currently free (i.e., no other device is transmitting) before transmitting data.
What is Multiple Access?
The device beginning transmission if the network is idle or waiting and retrying after a random backoff period if it’s busy.
What is Collision Detection?
The device monitoring the network to detect collisions. A collision occurs when two devices transmit simultaneously, causing the signals to interfere.
How does CSMA/CD handle collisions?
Upon detecting a collision, the device immediately stops transmitting and sends a jamming signal to inform all devices of the collision. Both devices involved in the collision then wait for a random backoff time before attempting to retransmit.
What type of network is CSMA/CA typically used in?
CSMA/CA is used in wireless networks, such as Wi-Fi.
How does CSMA/CA handle collision, in contrast to CSMA/CD?
Unlike CSMA/CD, CSMA/CA aims to avoid collisions before they happen
Why is Collision Avoidance important in wireless networks?
Detecting collisions is difficult due to the hidden node problem and signal attenuation.
What is Collision Avoidance?
The device waiting for an additional, randomized period called the Inter-Frame Space (IFS) before transmitting even if the medium is free. This reduces the chance that multiple devices will start transmitting simultaneously.
What does CSMA/CA do to further avoid collisions?
It uses Request to Send/Clear to Send (RTS/CTS) frames. The device sends an RTS frame to the intended receiver, which responds with a CTS frame if the medium is clear. Other devices that hear these frames defer their transmissions.
How does CSMA/CA detect and handle collisions?
After successfully receiving data, the receiver sends an acknowledgment (ACK) to the sender. If no ACK is received, the sender assumes a collision occurred and retries transmission.