Ethernet and Token Rings




CS158a

Chris Pollett

Feb. 23, 2009

Outline

Quiz

Suppose for a moment that a frame could consists of all zero bits. We now compute a CRC-32 checksum for this frame, tack it on to the end, and transmit it. Suppose the lower order bit 5 and bit 6 of the message part of the frame are corrupted. What can the receiver say about the message?

  1. These errors would go undetected.
  2. Not enough information is given to know for sure.
  3. The errors would be detected.

Physical Properties of Ethernet

Variations on Physical Properties of Ethernet

Access Protocol

Ethernet Frame Format

64 bits48 bits48 bits16 bits32 bits
PreambleDestination AddressSource AddressTypeBodyCRC

Ethernet Addresses

MAC Algorithm

The smarts of Ethernet resides in how the sender sends frames it needs to send. It uses the following transmitter algorithm:

The worst case for detecting a collision is when the hosts are on opposite ends of the Ethernet. If d is the time for a signal to go the complete length of the Ethernet. Then Host A might transmit for d seconds and Host B might just start transmitting and immediately send a jamming sequence, this takes d second to get back to A. So A might transmit for 2*d before detecting a collision. On a 10Mbps Ethernet limited to 2500m, the delay would be at most 51.2μs and this would correspond to 512 bits = 96 bytes, which is why this is used as the shortest frame length.

Real world experience with Ethernet

Rings