1. Metcalfe's Original Shared Bus Architecture
Invented at Xerox PARC by Robert Metcalfe, original Ethernet (IEEE 802.3) connected computers to a shared coaxial cable bus. Because any node could transmit at any time, transmitters required a decentralized contention mechanism: Carrier Sense Multiple Access with Collision Detection (CSMA/CD).
Node A ----- +==== [ Shared 10BASE5 Coax Bus ] ==== (COLLISION DETECTED!)
Node B -----/The algorithm operates in three distinct phases:
- 1Carrier Sense: Listen before transmitting. If radio energy is detected on the wire, defer until the channel is quiet plus an Inter-Frame Gap (96 bit times).
- 2Multiple Access: When the medium is idle, any station may immediately begin broadcasting.
- 3Collision Detection: While transmitting, the node continuously monitors the physical wire voltage. If two stations transmit simultaneously, the overlapping electrical waveforms create an abnormal voltage spike, indicating a collision.
2. Truncated Binary Exponential Backoff
When a collision occurs, both transmitting nodes must back off and retry. If they retried at the same time, they would collide perpetually. Ethernet breaks this deadlock using the Truncated Binary Exponential Backoff algorithm:
When two computers attempt to transmit packets at the exact same instant on Ethernet and collide, both pause and randomly choose a waiting window that doubles after every repeated collision to avoid crashing into each other again.
rRandom Wait SlotsInteger slot count picked at random to pause before retransmitting
kBackoff ExponentCollision ceiling bounded at min(n, 10), preventing indefinite backoff growth
nCollision CounterNumber of consecutive transmission collisions experienced by this frame
Where:
- n is the number of consecutive collisions experienced by this frame (up to 16 attempts before aborting).
- k is the collision backoff exponent, capped at 10.
- r is a randomly chosen integer multiplier.
- The station pauses for r imes 51.2 µs (one slot time = 512 bit times at 10 Mbps) before re-attempting transmission.
Why the 64-Byte Minimum Frame Size Matters: At 10 Mbps over a maximum 2.5 km coaxial network with repeaters, the round-trip propagation time is approximately 50 microseconds (512 bit times = 64 bytes). If a frame were smaller than 64 bytes, a node could finish sending its entire frame before the collision reflection arrived back, erroneously assuming successful delivery!
3. Switched Full-Duplex Ethernet
Modern Ethernet has completely discarded shared coaxial cables, hubs, and CSMA/CD contention:
- Microsegmentation: Every computer or server is linked directly to a dedicated port on a Layer-2 Ethernet switch.
- Simultaneous Bidirectional Transmission: Transmit (Tx) and Receive (Rx) twisted pairs or optical fibers are physically separated. Stations transmit and receive simultaneously at full link wire speed without collisions.
- Flow Control: Under heavy congestion, switches issue IEEE 802.3x PAUSE frames to temporarily throttle sending endpoints.
4. Signaling Advances: NRZ vs. PAM4 for 100G & 400G
Scaling Ethernet to 100 Gbps and 400 Gbps encountered fundamental physical limits in copper and optical transceivers:
- NRZ (Non-Return to Zero): Encodes 1 bit per symbol (high voltage = 1, low voltage = 0). Beyond 28 Gbaud, high-frequency signal attenuation and dielectric losses make NRZ impractical over standard circuit traces.
- PAM4 (Pulse Amplitude Modulation 4-Level): Uses four distinct voltage levels (00, 01, 10, 11) to transmit 2 bits per clock symbol:
Doubles data transfer throughput without increasing cable frequency by transmitting 4 distinct electrical voltage levels, encoding 2 bits of data into every single pulse.
BitrateDigital ThroughputInformation transmission speed in bits per second (bps)
Baud RateSymbol Clock FrequencyPhysical pulse transitions occurring on the copper or optical wire per second
Multiplier (2)Bits per Symbollog₂(4 voltage levels) = 2 bits encoded in each electrical state transition
By doubling spectral efficiency, a 400G Ethernet link (400GBASE-DR4) transmits four parallel optical lanes running at 53.125 Gbaud PAM4 (100 Gbps per lane), delivering 400 Gbps aggregate throughput.