Comparing Party Line and Ethernet Operations
|
Step |
Telephone Party Line Operation |
Ethernet Operation |
|
1 |
I pick up the phone. Is anyone talking? |
The LAN device listens to the Ethernet network to sense the carrier signal on the network. |
|
2 |
If no one is speaking, I can start talking. I'll keep listening to make sure no one speaks at the same time as me. |
If the LAN device does not detect a carrier signal on the network, it can begin transmitting. The LAN device listens to the carrier signal on the network and matches it to the output. |
|
3 |
If I can't hear myself speak, I'll assume someone is trying to speak at the same time. |
If there is a discrepancy between input and output, another LAN device has transmitted. This is a collision. |
|
4 |
I'll then yell out to tell the other person to stop talking. |
The LAN device sends out a jamming signal to alert the other LAN devices that there has been a collision. |
|
5 |
I will then wait a random amount of time to start my conversation again. |
The LAN device waits a random amount of time to start transmitting again. This is called the backoff algorithm. If multiple attempts to transmit fail, the backoff algorithm increases the amount of time waited. |
In a party line, people occasionally speak over each other. When the party line is loaded with more callers, the more often people attempt to speak at the same time. It is the same with Ethernet collisions. Because users share Ethernet bandwidth and are part of the same collision domain, it is often referred to as shared media or shared Ethernet. (See Figure 1-4.) The efficiency of shared Ethernet is proportional to the number of devices attempting to communicate at the same time. As more devices are added, the efficiency decreases.

The algorithm in CSMA/CD used after a collision is Truncated Binary Exponential Backoff algorithm. When a collision occurs, the device must wait a random number of slot times before attempting to retransmit the packet. The slot time is contingent upon the speed of the link. For instance, slot time will be different for 10 Mbps Ethernet versus 100 Mbps Ethernet. Table 1-3 shows an example for a 10 Mbps Ethernet link. Cisco switches uses a more aggressive Max Wait Time than what is illustrated in this example. The purpose of the example is to give you a feel for how Truncated Binary Exponential Backoff works