Cisco Certification: How Ethernet CSMA/CD Works



Posted: Tuesday, June 14, 2005

by
The Bryant Advantage

When you're studying for your CCNA exams, you're going to study the theory of technologies we basically take for granted in networking. CSMA/CD is one of those technologies. It works beautifully and you don't even have to configure it. But to be an effective network troubleshooter (and to pass the 640-811, 640-801, and 640-821 exams), you have to know Ethernet inside and out, and that means knowing CSMA/CD.

The first Ethernet standards were 10Base5 and 10Base2. Network devices such as hubs, repeaters, and switches weren't in the picture yet. The sole physical components were the Ethernet cards in the computers and coaxial cable. The cable made up a bus that all the connected devices would use. (This type of bus is referred to as a shared bus.)

If only one of the hosts on this network wanted to send data, there would be no problem. When two hosts would send at the same time, though, a collision would occur. When the signals would collide, both would be rendered unusable. A standard had to be created that would have the hosts follow rules relating to when they could send data and when they could not. This standard is Carrier Sense Multiple Access with Collision Detection, referred
to as CSMA/CD.


If two of the three computers on this segment send data at the same time, a collision occurs, as seen here:



jam signal.jpg

To avoid this, CSMA/CD forces computers to “listen" to the Ethernet before sending in order to make sure that no other host on the wire is sending. When the Ethernet segment is not busy, the device that wants to send data can do so. The sender will then continue to listen, to make sure that sending the data didn’t cause a collision.



listening to the wire.jpg



If a collision is heard, both of the senders will send a jam signal over the Ethernet. This jam signal indicates to all other devices on the Ethernet segment that there has been a collision, and they should not send data onto the wire. (A second indication of a collision is the noise created by the collision itself.)





jam signal1.jpg





After sending the jam signal, each of the senders will wait a random amount of time before beginning the entire process over. The random time helps to ensure that the two devices don't transmit simultaneously again.


In a separate tutorial, we'll discuss more Ethernet fundamentals and values you should know for your CCNA exams and to be a more effective network troubleshooter.



To your success,



Chris Bryant

CCIE #12933

___________________________________________________________





Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage, home of over 100 free certification exam tutorials, including Cisco CCNA certification test prep articles. His exclusive Cisco CCNA study guide and Cisco CCNA training is also available!



Visit his blog and sign up for Cisco Certification Central, a daily newsletter packed with CCNA, Network+, Security+, A+, and CCNP certification exam practice questions! A free 7-part course, “How To Pass The CCNA", is also available, and you can attend an in-person or online CCNA boot camp with The Bryant Advantage!



This Article has been viewed 3,864 times. (Not updated in real-time.)
No comments yet.
We want your comments! If you can read this, you don't have javascript enabled, so you can't use this comment system. Please enable javascript.