Lärobokens språk

Ethernet och grundläggande LAN-tekniker

Huvudfrågan för varje delat lokalt nätverk: hur förhindrar man att två stationer stör ut varandra i kabeln? Jämför slumpmässig åtkomst med kollisioner, token-överföring, dubbel självläkande ring och modern full-duplex-switch.

LAN-nätverksteknik, jämförelse av 5 arkitekturer och utvecklingen av Ethernet (IEEE 802.3)

Grundläggande LAN-teknik — en samordnad standard för protokoll och hårdvara som definierar topologi, åtkomstmetod till mediet, kabel, ramformat, linjekod och hastighet. Man skiljer på två generationer: 1:a (koppar, upp till 16 Mbit/s: Ethernet 10, Token Ring 4/16, ARCNET 2,5) och 2:a (100+ Mbit/s: FDDI, 100VG-AnyLAN, Fast/Gigabit Ethernet, ATM).

TeknikStandardTopologiHastighetMediumÅtkomst / KodMax. längd / noder
EthernetIEEE 802.3Buss / Stjärna10 Mbit/s – 10+ Gbit/sKoaxial / TP / FOCSMA/CD (i Full-Duplex utan den) / Manchester, 4B5B, PAM-5100 m (koppar) · 10–80+ km (optik)
Token RingIEEE 802.5Stjärn-ring (MAU)4 / 16 Mbit/sTP (UTP/STP), FOToken / Diff. Manchester (bifas)120–4000 m / 96–260
ARCNETDatapoint (utan IEEE)Buss / Passiv stjärna2,5 (upp till 20) Mbit/sKoax. 93 Ohm, TP, FOToken (logisk ordning) / ARCNET6 km / upp till 255
FDDIANSI / ISO 9314Dubbel ring100 (200 duplex) Mbit/sMultimode FO (TPDDI — VP)Token / 4B/5B20–100 km / up to 1000
100VG-AnyLANIEEE 802.12Hierarchical star (up to 5 levels)100 Mbit/s4×UTP Cat 3/5, STP, FODemand Priority / 5B/6B + scramble1–2 km / up to 1024

Ethernet (IEEE 802.3) developed by Xerox (1972/1975), standardized DIX (Ethernet II, 1980) and IEEE 802.3 (1985). Designation ⟨hastighet⟩BASE-⟨medium⟩:

StandardName / SpecificationMedium and distanceFeature
10BASE5 / 10BASE2802.3 Thick / Thin coax50 Ohm coax · 500 m / 185–200 mBus, Manchester code, CSMA/CD
10BASE-T / FL802.3 Twisted pair / OpticsUTP Cat 3 · 100 m / FO · 2000 mPhysical star on hubs
100BASE-TX / T4 / FXFast Ethernet (802.3u, 1995)2 pairs Cat 5 (100 m) / 4 pairs Cat 3 / 2 FO (2000 m)No coax, 4B/5B + MLT-3 (TX)
1000BASE-SX / LX / CXGigabit Ethernet (802.3z, 1998)MM FO 850 nm (up to 550 m) / SM 1310 nm (up to 5 km) / shielded copper (25 m)8B/10B, frame compatible with 10/100
1000BASE-TGigabit over copper (802.3ab, 1999)4 pairs Cat 5/5e/6 · up to 100 mEncoding PAM-5, duplex on all 4 pairs simultaneously
10GBASE-*10GbE (802.3ae / 802.3an)Optics (SR/LR) and copper Cat 6A/7 (10GBASE-T up to 100 m)Full duplex only, no CSMA/CD
Important: in a modern network on switches with Full-Duplex transmission and reception lines are separated — collisions are impossible, therefore the algorithm CSMA/CD is disabled!

Token networks and self-healing: Token Ring (MAU), ARCNET and FDDI

  • Token Ring (IBM, 802.5): stations connect to a concentrator MAU (up to 8 PCs per unit, up to 12 MAUs), physically forming a star, and logically a ring. If the backbone between MAUs breaks, it switches to ring wrapping via the backup pair. Token wait time is predictable (deterministic).
  • ARCNET: active concentrators (4–64 ports, cascade up to 3 levels, up to 600 m) and passive (4 ports, no amplification, up to 30 m), closed loops are prohibited. Passes authority by increasing logical IDs.
  • FDDI: two counter-rotating rings on optics (100 Mbit/s). Stations DAS (class A) connect to both rings (redundancy or 200 Mbit/s), and SAS (class B) — to one ring via a DAC/SAC concentrator. In case of a break, adjacent stations wrap the rings (Wrap).

Priority access 100VG-AnyLAN (802.12) and wireless Wi-Fi (802.11)

  • 100VG-AnyLAN (HP/IBM, 802.12): central arbiter polls requests High (video/voice) earlier Normal, Ethernet or Token Ring frame formats (but not together), 5-bit quintets → scrambling → code 5B/6B. Hierarchical stars up to 5 levels without collisions.
  • Wireless Wi-Fi (IEEE 802.11): in a half-duplex radio medium, a station cannot transmit and hear another signal simultaneously, so instead of CSMA/CD, it uses CSMA/CA (medium sensing, random backoff, optional RTS/CTS and mandatory acknowledgments ACK). Modern generations — Wi-Fi 5 (802.11ac), Wi-Fi 6/6E (802.11ax) and Wi-Fi 7 (802.11be) — operate in bands 2.4 / 5 / 6 GHz, using OFDMA and MIMO.