Ethernet

There are a lot of LAN technologies out there, but Ethernet is one that’s good to know about.

Unit Goals

To become acquainted with the basics of Ethernet.

Where to Learn About Ethernet

These notes will not give you very much information. Much more data can be found at Wikipedia, of course, but also at the very comprehensive Ethermanage pages.

What Ethernet is

Ethernet:

It is defined in a number of official IEEE Standards (Credit, Much more complete list):

StandardYearWhat it Covered
802.3?10BASE5, first commercially available, 10Mbps, 500m max, “thick Ethernet” (named for the thick coax cable), DEPRECATED
802.3a198510BASE2, “thin Ethernet,” cheapernet, 185m max
802.3b198510BROAD36, obsolete
802.3d1987Fiber-optic inter repeater link
802.3e19871BASE5 StarLAN (first twisted pair version)
802.3i199010BASE-T, Ethernet over twisted pair
802.3j199310BASE-F, Ethernet over fiber optic
802.3u1995100BASE-TX, 100BASE-T4, 100BASE-FX “Fast Ethernet,” 100Mbps, autonegotiation
802.3x1997Full duplex, flow control
802.3y1998100BASE-T2 (low-quality twisted pair)
802.3z19981000BASE-X, Gigabit Ethernet over fiber optic
802.3ab19991000BASE-T, Gigabit Ethernet over twisted pair
802.3ac1998Frame size extension to 1522 bytes with Q-tag
802.3ad2000Parallel links (link aggregation)
802.3ae200210GBASE-{SR,LR,ER,SW,LW,EW} 10 Gigabit Ethernet
802.3as2006Frame expansion
802.3az2010Energy efficient Ethernet
802.3em2015100G/40G Ethernet for optical fiber
802.3bq201625G/40GBASE-T for 4-pair balanced twisted-pair cabling with 2 connectors over 30 m distances
802.3bz20162.5GBASE-T and 5GBASE-T, 2.5 Gigabit and 5 Gigabit Ethernet over Cat-5/Cat-6 twisted pair

This list is incomplete, as new standards are being written as the technology evolves.

What do those descriptors mean?

The Original Design

History is fun! The original design built a LAN with a single, shared coax cable.

ethernet.png

Each station sent frames over the ether to the other stations. Because they all shared the same medium, some kind of Media Access Control (MAC) had to be developed.

An early form of media access control was called Carrier Sense Multi Access with Collision Detection (CSMA/CD). The algorithm was something like:

  1. A station waits for the medium to be idle
  2. A station starts transmitting
  3. If a collision is detected, the station uses a truncated binary exponential backoff: it waits a random duration in the range 0..d before retrying. If another collision, it waits a random time in 0..2d, then in 0..4d.

By the way, modern Ethernet systems are collision-free.

Ethernet Addressing

Every station has a globally unique 48-bit address, called its physical address, or MAC address, or Hardware addresss.

We write these addresses as six colon separated octets in hexidecimal.

Example: 07:2E:95:C2:BB:1F.

By convention, FF:FF:FF:FF:FF:FF is the broadcast address.

Exercise: Do some research! Where do these addresses come from? That is, who assigns them? Is there some kind of central registry, or can anyone make up their own hardware address?

The Ethernet Frame

Best to just read the Wikipedia article for this.

Summary

We’ve covered:

  • What Ethernet is
  • The original Ethernet design
  • The different standards
  • CSMA/CD
  • Hardware
  • Addressing
  • Format of an Ethernet frame
  • Where to find more information