0
6.0kviews
Compare between CSMA/CD and CSMA/CA
2 Answers
1
114views

TYPES OF MULTIPLE ACCESS PROTOCOL

1

CSMA/CD Carrier Sense Multiple Access /With collision detection

2

Transmission time (Tt) > Propagation Time (Tp)

After collision occurs, a collision signal is generated and sent to both A & B to inform the stations about collision. Since the collision happened midway, the collision signal also takes 30 minutes to reach A& B

This collision occurs just before the data reaches B. Now the collision signal takes 59:59 minutes again to reach A. Hence, A receives the collision information approximately after 2 hours, that is, after 2 * Tp. Tt >>= 2 * Tp

CSMA/CA CARRIER SENSE MULTIPLE ACCESS /WITH COLLISION AVIODANCE

CSMA/CD (Carrier Sense Multiple Access/Collision Detection) that deals with collisions after their occurrence, CSMA/CA prevents collisions prior to their occurrence.

These are three types of strategies:

  • InterFrame Space (IFS)- When a station finds the channel busy, it waits for a period of time called IFS time. IFS can also be used to define the priority of a station or a frame. Higher the IFS lower is the priority.
  • Contention Window - It is the amount of time divided into slots. A station which is ready to send frames chooses random number of slots as wait time.
  • Acknowledgements - The positive acknowledgements and time-out timer can help guarantee a successful transmission of the frame.

Algorithm

The algorithm of CSMA/CA is:

  • When a frame is ready, the transmitting station checks whether the channel is idle or busy.
  • If the channel is busy, the station waits until the channel becomes idle.
  • If the channel is idle, the station waits for an Inter-frame gap (IFG) amount of time and then sends the frame.
  • After sending the frame, it sets a timer.
  • The station then waits for acknowledgement from the receiver. If it receives the acknowledgement before expiry of timer, it marks a successful transmission.
  • Otherwise, it waits for a back-off time period and restarts the algorithm.
Key CSMA/CA CSMA/CD
Effectiveness CSMA/CA is effective before a collision. CSMA/CD is effective after a collision.
Network Type CSMA/CA is generally used in wireless networks. CSMA/CD is generally used in wired networks.
Recovery Time CSMA/CA minimizes the risk of collision. CSMA/CD reduces recovery time.
Conflict Management CSMA/CA initially transmits the intent to send the data,
once an acknowledgment is received, the sender sends the data.
CSMA/CD resends the data frame in case a
conflict occurs during transmission.
IEEE Standards CSMA/CA is part of the IEEE 802.11 standard. CSMA/CD is part of the IEEE 802.3 standard.
Efficiency CSMA/CA is similar in efficiency as CSMA. CSMA/CD is more efficient than CSMA.
0
80views
No. CSMA/CD CSMA/CA
1 Carrier sense multiple access with collision detection Carrier sense multiple access with collision avoidance
2 CSMA/CD is standardized in IEEE 802.3 802.11b uses CSMA/CA MAC protocol
3 No control before transmission Collision Avoidance before transmission
4 It act as interference between the logical link control sub layer and the network’s physical layer. It is protocol to implement the distributed coordination function (DCF) of the MAC sub layer.
5 Collisions detected within short time RTS/CTS is used to avoid collisions.
6 If a collision is detected, the station aborts the transmission and sends a jamming signal to inform all other stations that a collision has occurred. Use of RTS/CTS can be enabled or disabled depending on the traffic load (probability of collisions).
7 This protocol is the basis of classical Ethernet LAN. Used in a network where collision cannot be detected.,eg. Wireless LAN
Please log in to add an answer.