Featured image of post Ethernet Unplugged: A Journey Through the Wires

Ethernet Unplugged: A Journey Through the Wires

High level explain of Ethernet at the Hardware layer

Ethernet Unplugged: A Journey Through the Wires

Introduction

Back in the day, while my friends were geeking out over comic books and video games, I was diving deep into the writings of Douglas Comer.

His books, like Internetworking with TCP/IP and The Internet Book, were my bedtime stories.

They unraveled the mysteries of computer networks and fueled my passion for understanding the nuts and bolts of how our devices communicate.

The Basics: Ethernet and the Wire

At its core, Ethernet is like a sophisticated party line. Imagine a bunch of people (devices) connected by a single wire. When one wants to speak (transmit data), they check if anyone else is talking.

If the coast is clear, they start chatting.

But what happens if two people start talking at the same time?

You get a collision—a jumble of words where no one is understood.

Collision Course: CSMA/CD

To handle these inevitable verbal pile-ups, Ethernet employs a method called Carrier Sense Multiple Access with Collision Detection (CSMA/CD). Here’s a breakdown:

  1. Carrier Sense: Before speaking, a device listens to ensure no one else is talking.
  2. Multiple Access: Multiple devices share the same communication medium.
  3. Collision Detection: If two devices talk simultaneously, they detect the collision.

When a collision occurs, both devices stop, wait for a random period (to avoid another simultaneous start), and then attempt to retransmit.

This method ensures that the network remains orderly, even when multiple devices are vying for attention.

Hubs vs. Switches: The Network Traffic Cops

In the early days, networks used hubs. A hub is like a megaphone: when one device sends a message, the hub broadcasts it to all connected devices, regardless of the intended recipient.

This often led to unnecessary traffic and, you guessed it, more collisions.

Enter the switch—the smarter, more discerning cousin of the hub. A switch keeps track of the devices connected to it and directs incoming data only to the intended recipient.

This targeted approach reduces collisions and improves network efficiency.

But wait, there’s more! Managed switches take it up a notch.

They offer advanced features like traffic monitoring, VLAN configuration, and enhanced security settings, giving network administrators greater control over data flow.

Comparison Table: Hub vs. Switch vs. Managed Switch

FeatureHubSwitchManaged Switch
Data TransmissionBroadcasts to all devicesSends data to specific devicesSends data to specific devices
Collision HandlingHigher collision ratesReduced collisionsReduced collisions
Control FeaturesNoneBasicAdvanced (e.g., VLANs, QoS)
CostLowModerateHigher

A Blast from the Past: ARCNET

Before Ethernet became the networking superstar, there was ARCNET (Attached Resource Computer NETwork). Developed in 1976 by Datapoint Corporation, ARCNET was the first widely available networking system and was used extensively in the 1980s for office automation. Unlike Ethernet’s collision-based approach, ARCNET used a token-passing protocol, where a token (a small data packet) is passed around the network. Only the device holding the token can transmit data, effectively eliminating collisions.

Comparison Table: Ethernet vs. ARCNET

FeatureEthernetARCNET
Access MethodCSMA/CD (Collision-based)Token-passing (Collision-free)
Data RateInitially 10 Mbps; now up to 100 GbpsInitially 2.5 Mbps; later versions up to 20 Mbps
TopologyBus or StarStar
PopularityDominant LAN technologyLargely obsolete

Key Ideas

ConceptExplanation
CSMA/CDA method to manage data collisions in Ethernet networks.
Hub vs. SwitchHubs broadcast data to all devices, while switches send data only to the intended recipient.
Managed SwitchOffers advanced features like traffic monitoring and VLAN configuration.
ARCNETAn early networking technology using token-passing to avoid collisions.

References