Wired networks: copper & fiber
How data travels over metal and glass: twisted pair and coax, optical fiber and transceivers, Ethernet frames, speeds and Power over Ethernet, how switches learn and split networks with VLANs, the access networks that reach homes (DSL, cable, fiber PON), long-haul DWDM and submarine cables, and how buildings are cabled. Builds on Networking from scratch; radio links are in Radio fundamentals.
Copper, fiber and radio compared
| Medium | Reach per segment | Typical speeds | Strengths | Weaknesses |
|---|---|---|---|---|
| Twisted pair (Ethernet) | 100 m | 1–10 Gb/s (40 Gb/s over 30 m on Cat8) | cheap, easy to terminate, carries power (PoE) | short reach, picks up interference |
| Coax | hundreds of meters, kilometers with amplifiers | multi-Gb/s shared (cable broadband) | well shielded, already in most homes | bulky, shared by a neighborhood |
| Multimode fiber | ≈ 100–500 m | 10–400 Gb/s | cheap optics, immune to interference | short reach |
| Single-mode fiber | 10–80 km per span; thousands with amplifiers | 100 Gb/s–800 Gb/s per wavelength, tens of Tb/s per fiber | huge capacity, low loss | needs care: clean connectors, no tight bends |
| Radio | meters to thousands of km | from bits/s to Gb/s | no cable, mobility | shared, noisy, regulated |
Twisted pair
An Ethernet cable holds four pairs of insulated copper wires (usually 22–24 AWG), each pair twisted together. A pair carries one signal by differential signaling: one wire carries +V, the other −V, and the receiver measures only the difference. Interference from outside (motors, fluorescent lights, other cables) couples into both wires almost equally, so it cancels when the receiver subtracts.
- Twisting keeps each wire equally close to any noise source on average, and makes the pair's own fields cancel, so it radiates less too.
- Crosstalk is one pair picking up its neighbor's signal: NEXT (near-end, at the sender's end), FEXT (far end) and alien crosstalk (from the next cable in a bundle, the limit for 10GBASE-T). Each pair in a cable twists at a different rate so pairs don't line up.
- Gigabit and faster Ethernet send and receive on all four pairs at once, using echo cancellation to separate the two directions.
- Shielding is named by ISO/IEC 11801 as overall/pair: U/UTP (none), F/UTP (foil around all pairs), U/FTP (foil on each pair), S/FTP (braid around foiled pairs). A shield only helps when it is bonded to ground properly; most office cabling is unshielded.
Cable categories
| Category | Bandwidth | Ethernet at 100 m | Notes |
|---|---|---|---|
| Cat3 | 16 MHz | 10BASE-T | old telephone wiring |
| Cat5 | 100 MHz | 100BASE-TX | superseded by Cat5e |
| Cat5e | 100 MHz | 1000BASE-T, 2.5GBASE-T | the minimum worth installing |
| Cat6 | 250 MHz | 5GBASE-T; 10GBASE-T only up to 37–55 m | |
| Cat6A | 500 MHz | 10GBASE-T | thicker; the usual choice for new office runs and Wi-Fi 6/7 access points |
| Cat7, Cat7A | 600, 1000 MHz | (ISO classes F, FA; not TIA categories) | meant for GG45/TERA connectors; "Cat7" patch cords with RJ45 plugs follow no standard |
| Cat8 (8.1, 8.2) | 2000 MHz | 25GBASE-T and 40GBASE-T, 30 m only | data center rows: switch to server |
The 100 m figure is a channel: up to 90 m of solid-core cable in the wall (the permanent link) plus up to 10 m of stranded patch cords in total.
Connectors and wiring
What everyone calls RJ45 is the 8P8C modular plug (8 positions, 8 contacts). The two wiring standards differ only in swapping the orange and green pairs; pick one and use it at both ends.
| Pin | T568A | T568B | 10/100 Mb/s | 1 Gb/s and up |
|---|---|---|---|---|
| 1 | white/green | white/orange | transmit + | pair A + |
| 2 | green | orange | transmit − | pair A − |
| 3 | white/orange | white/green | receive + | pair B + |
| 4 | blue | blue | unused | pair C + |
| 5 | white/blue | white/blue | unused | pair C − |
| 6 | orange | green | receive − | pair B − |
| 7 | white/brown | white/brown | unused | pair D + |
| 8 | brown | brown | unused | pair D − |
- A straight-through cable has the same standard at both ends; a crossover has A at one end and B at the other. Auto-MDIX, in nearly every modern port, swaps the pairs itself, so either works.
- A gigabit link that comes up at 100 Mb/s usually means a broken pair: 100BASE-TX needs only two pairs, gigabit needs all four.
- Keep the untwisted length at a termination under about 13 mm (half an inch) for Cat5e and better.
Coax (coaxial cable) has a center conductor, an insulating dielectric, a shield and a jacket. The signal travels between the center and the shield, which keeps interference out.
| Type | Impedance | Used for |
|---|---|---|
| RG-6 | 75 Ω | cable TV and broadband (DOCSIS), satellite dishes; F connectors |
| RG-59 | 75 Ω | older video and CCTV |
| RG-58 | 50 Ω | 10BASE2 "thin" Ethernet (185 m segments), radio; BNC connectors |
| LMR-400 and similar | 50 Ω | low-loss antenna feed lines; N connectors |
| "Thick" Ethernet coax | 50 Ω | 10BASE5, the original Ethernet (500 m segments) |
Optical fiber
An optical fiber is a strand of very pure glass: a core that carries the light, a cladding around it (125 µm across for nearly all telecom fiber) and a plastic coating (usually 250 µm). The core's glass has a slightly higher refractive index than the cladding's, so light that meets the boundary at a shallow angle reflects back completely (total internal reflection) and stays in the core for kilometers.
| Single-mode (OS1, OS2) | Multimode (OM1–OM5) | |
|---|---|---|
| Core | ≈ 9 µm | 50 µm (62.5 µm for OM1) |
| Light source | lasers at 1310 and 1550 nm | low-cost VCSEL lasers at 850 nm |
| Reach | 10 km to 80 km per span, much more with amplifiers | ≈ 100–550 m depending on speed and grade |
| Jacket color (convention) | yellow | orange (OM1, OM2), aqua (OM3, OM4), violet (OM4 in some regions), lime (OM5) |
| Cost | cheap fiber, pricier optics | pricier fiber, cheap optics |
| Where | campus backbones, metro, long haul, fiber to the home | inside buildings and data centers |
In multimode fiber light takes many paths (modes) of different lengths, so a pulse smears out (modal dispersion) and limits reach. Single-mode fiber is thin enough that only one mode propagates; its limits are attenuation (loss) and chromatic dispersion (colors traveling at slightly different speeds).
| Window | Wavelength | Typical loss | Used for |
|---|---|---|---|
| 850 nm | multimode | ≈ 2.5–3.5 dB/km | short-reach (SR) optics |
| O band | 1260–1360 nm, around 1310 nm | ≈ 0.3–0.35 dB/km | 10 km (LR) optics; almost no chromatic dispersion |
| C band | 1530–1565 nm, around 1550 nm | ≈ 0.2 dB/km (≈ 0.15 on ultra-low-loss fiber) | long haul, DWDM, erbium amplifiers |
| others | 1490 nm, 1577 nm | fiber-to-the-home downstream |
Example: 80 km at 0.2 dB/km is 16 dB of loss, about 1/40 of the light, before connectors and splices. Tight bends leak light; bend-insensitive fiber (ITU-T G.657) tolerates the corners in homes.
Fiber connectors and transceivers
| Connector | Ferrule | Shape | Common in |
|---|---|---|---|
| LC | 1.25 mm | small, latching, usually duplex pairs | SFP optics, patch panels: the default today |
| SC | 2.5 mm | square push-pull | fiber to the home, older gear |
| ST | 2.5 mm | round bayonet twist | legacy multimode |
| MPO/MTP | 8, 12, 16 or 24 fibers in one ferrule | rectangular | parallel optics (SR4, DR4), trunk cables |
- Polish: UPC (blue body) ends are flat; APC (green) are angled at 8° to cut back-reflection, required on PON and RF video. Never mate APC with UPC.
- Dirt is the most common cause of fiber faults: inspect and clean every end before connecting.
A transceiver (an optic, or module) is a hot-pluggable part that turns electrical signals into light and back. The switch port is just a cage; the module decides the medium, wavelength and reach.
| Form factor | Speed | Lanes |
|---|---|---|
| SFP | 1 Gb/s | 1 |
| SFP+ | 10 Gb/s | 1 |
| SFP28 | 25 Gb/s | 1 |
| QSFP+ | 40 Gb/s | 4 × 10 |
| QSFP28 | 100 Gb/s | 4 × 25 |
| QSFP56 | 200 Gb/s | 4 × 50 |
| QSFP-DD, OSFP | 400 Gb/s, 800 Gb/s | 8 × 50, 8 × 100 |
- Reach codes in optic names: SR short reach (multimode, 850 nm), DR 500 m single-mode, LR 10 km, ER 40 km, ZR 80 km and beyond (coherent 400ZR and 800ZR modules for DWDM links between data centers). BiDi optics use one fiber with two wavelengths.
- DAC (direct-attach copper) cables are twinax with modules fixed on both ends, for a few meters inside a rack; AOC (active optical cables) do the same over fiber for longer runs.
- Most optics report temperature, laser bias, transmit and receive power (DOM):
ethtool -m.
Ethernet frames and MAC addresses
Ethernet (IEEE 802.3) is the link layer of almost every wired LAN, and Wi-Fi copies its addressing. Data travels in frames:
- The preamble (alternating 1s and 0s) lets the receiver lock its clock; the SFD (start frame delimiter) marks where the frame begins.
- EtherType names the payload:
0x0800IPv4,0x86DDIPv6,0x0806ARP,0x8100a VLAN tag. - The FCS is a CRC-32; a frame that fails it is dropped. Short payloads are padded so frames are at least 64 bytes, a rule left from shared coax, where a sender had to still be transmitting when a collision echoed back.
- Jumbo frames (MTU around 9000) are a common but non-standard extension; every device on the path must agree.
A MAC address is 48 bits, written as six hex bytes (3c:22:fb:12:34:56). The first three bytes
are usually the maker's OUI (organizationally unique identifier). Two bits in the first byte
matter: the lowest is 1 for multicast (01:00:5e:… for IPv4 multicast, 33:33:… for IPv6), the
next is 1 for a locally administered address, which phones use for random per-network MACs
(first byte ending in 2, 6, A or E). ff:ff:ff:ff:ff:ff is broadcast: every host on the LAN.
Ethernet speeds
A name like 10GBASE-SR reads as speed (10 Gb/s), BASEband signaling (one signal on the medium),
then the medium: T twisted pair, SR short-reach multimode, LR long-reach single-mode, CR
copper cable (DAC), KR backplane. A trailing number counts lanes (SR4 = 4 fiber pairs).
| Name | Speed | Medium and reach | Standard, year |
|---|---|---|---|
| 10BASE5 | 10 Mb/s | thick coax, 500 m | 802.3, 1983 |
| 10BASE-T | 10 Mb/s | Cat3, 100 m | 802.3i, 1990 |
| 100BASE-TX | 100 Mb/s | Cat5, 100 m | 802.3u, 1995 |
| 1000BASE-SX, -LX | 1 Gb/s | multimode up to 550 m, single-mode 5 km | 802.3z, 1998 |
| 1000BASE-T | 1 Gb/s | Cat5e, 100 m | 802.3ab, 1999 |
| 10GBASE-SR, -LR | 10 Gb/s | OM3 300 m (OM4 400 m), single-mode 10 km | 802.3ae, 2002 |
| 10GBASE-T | 10 Gb/s | Cat6A, 100 m | 802.3an, 2006 |
| 40G and 100G | 40, 100 Gb/s | 4 or 10 lanes: multimode ≈ 100 m, single-mode 10 km | 802.3ba, 2010 |
| 2.5GBASE-T, 5GBASE-T | 2.5, 5 Gb/s | Cat5e, Cat6, 100 m | 802.3bz, 2016 |
| 25G | 25 Gb/s | multimode ≈ 70–100 m, DAC | 802.3by, 2016 |
| 200G and 400G | 200, 400 Gb/s | PAM4 lanes on multimode and single-mode | 802.3bs, 2017 |
| 800G | 800 Gb/s | 8 × 100 Gb/s lanes | 802.3df, 2024 |
| 1.6T | 1.6 Tb/s | 8 × 200 Gb/s lanes | 802.3dj, final approval expected around the end of 2026 |
- Half duplex shares the medium and uses CSMA/CD; full duplex sends both ways at once with no collisions. Every switch port today runs full duplex; 10 Gb/s and faster have no half-duplex mode.
- Autonegotiation lets the two ends advertise their speeds and duplex modes over link pulses and pick the best common one; 1000BASE-T requires it. Forcing one end and leaving the other on auto causes a duplex mismatch: a working but very slow link with late collisions and CRC errors. Leave both on auto.
Power over Ethernet
PoE sends DC power over the same cable. The switch (PSE, power sourcing equipment) first detects a valid PD (powered device) signature and agrees a power class with it, so a non-PoE laptop is never powered.
| Standard | Name | Type | At the switch (PSE) | At the device (PD) | Pairs |
|---|---|---|---|---|---|
| 802.3af (2003) | PoE | 1 | 15.4 W | 12.95 W | 2 |
| 802.3at (2009) | PoE+ | 2 | 30 W | 25.5 W | 2 |
| 802.3bt (2018) | PoE++, 4PPoE | 3 | 60 W | 51 W | 4 |
| 802.3bt (2018) | PoE++, 4PPoE | 4 | 90 W | 71.3 W | 4 |
- The gap between the two columns is what 100 m of cable can lose as heat. The voltage is about 44–57 V DC.
- Phones take a few watts, Wi-Fi 6/7 access points often need PoE+ or Type 3, and pan-tilt cameras with heaters or LED lighting use Type 3 or 4.
- A switch's total PoE budget is often less than its port count × the maximum per port.
- "Passive PoE" (a fixed 24 V or 48 V with no detection) from some vendors is not 802.3 and can damage devices that don't expect it.
Switches
A switch forwards frames between its ports. It learns where each host is by watching the source address of every frame it receives, and stores that in its MAC table (also called the CAM table). Frames to an unknown address, and broadcasts, are flooded to every other port.
1/6
The switch starts with an empty MAC table. Hosts A to D are plugged into ports 1 to 4.
- Store-and-forward switches receive the whole frame and check its FCS before sending it on; cut-through switches start forwarding once they have read the destination, which saves microseconds in data centers but passes on corrupted frames.
- A broadcast domain is everyone who hears a broadcast: by default, every port of every switch connected together. Large ones fill with ARP and discovery chatter; split them with VLANs and routers.
- VLANs (802.1Q) split one physical switch into several logical ones. An access port belongs to one VLAN and sends untagged frames to its host; a trunk port carries many VLANs between switches, each frame marked with a 4-byte tag holding a 12-bit VLAN ID (1–4094 usable). The untagged VLAN on a trunk is the native VLAN. Traffic between VLANs must pass through a router or a layer-3 switch.
- Loops are fatal to plain Ethernet: frames have no hop limit, so a broadcast circles forever (a broadcast storm). The Spanning Tree Protocol (802.1D) elects a root bridge (lowest bridge ID) and blocks redundant links until one is needed. Classic STP takes 30–50 s to recover; RSTP (802.1w) usually takes a second or less. Large data centers avoid it with routed leaf–spine designs (Building networks).
- Link aggregation (LACP, IEEE 802.1AX, formerly 802.3ad) bundles several ports into one logical link for capacity and redundancy. Frames are spread by a hash of their addresses and ports, so one flow still uses only one member link.
- LLDP (802.1AB) lets devices announce their name and port to neighbors, which makes cabling easier to trace.
Access networks: DSL, cable and fiber to the home
The access network (the "last mile") connects homes and businesses to an operator.
| Technology | Medium | Typical top speeds (down / up) | Shared? | Notes |
|---|---|---|---|---|
| ADSL2+ | telephone pair from the exchange | up to 24 / ≈ 1 Mb/s, falling with distance | no | ITU-T G.992.5; DMT (a form of OFDM) above the voice band |
| VDSL2 | telephone pair from a street cabinet (fiber to the cabinet) | ≈ 100 / 40 Mb/s under ≈ 500 m; up to ≈ 300 Mb/s down on very short lines (profile 35b) | no | vectoring cancels crosstalk between neighbors' lines |
| G.fast | telephone pair, last ≈ 100 m | up to ≈ 1 Gb/s combined | no | from a node in the building or street |
| DOCSIS 3.0 | coax (hybrid fiber-coax) | ≈ 1 Gb/s down with 32 bonded channels | yes, per node | |
| DOCSIS 3.1 | coax | spec up to 10 / 1–2 Gb/s; plans of 1–2 Gb/s | yes | OFDM, up to 4096-QAM |
| DOCSIS 4.0 | coax | spec up to 10 / 6 Gb/s | yes | spectrum to 1.8 GHz, or full duplex |
| GPON | fiber | 2.488 / 1.244 Gb/s shared by up to 64 homes (often 32) | yes, per PON | ITU-T G.984 |
| XGS-PON | fiber | 9.953 / 9.953 Gb/s shared | yes | ITU-T G.9807.1; runs alongside GPON on the same fiber |
- DSL reuses the copper telephone pair, sending data on frequencies above voice; the DSLAM in the exchange or cabinet terminates it. Speed drops steeply with distance.
- Cable (hybrid fiber-coax, HFC) runs fiber from the headend's CMTS to a neighborhood node, then coax to a few hundred homes that share its channels, which is why evenings are slower.
- Fiber to the home (FTTH) usually uses a PON (passive optical network): one fiber from the operator's OLT (optical line terminal) is split by an unpowered splitter into 32 or 64 fibers, one to each home's ONT (optical network terminal), up to about 20 km away.
| PON detail | GPON | XGS-PON |
|---|---|---|
| Downstream wavelength | 1490 nm | 1577 nm |
| Upstream wavelength | 1310 nm | 1270 nm |
| Rates | 2.488 / 1.244 Gb/s | 9.953 / 9.953 Gb/s |
| Optional RF video overlay | 1550 nm | 1550 nm |
The OLT measures each ONT's distance (ranging) so their bursts land exactly in their slots, and grants slot sizes by demand (dynamic bandwidth allocation). 25G and 50G PON are in early deployment.
Long haul: DWDM and submarine cables
Wavelength-division multiplexing sends many colors (wavelengths) of light down one fiber, each an independent channel. DWDM (dense WDM) packs channels on the ITU-T G.694.1 grid, 100 GHz or 50 GHz apart (0.8 or 0.4 nm), or in flexible slices.
- The C band holds about 40 channels at 100 GHz spacing or 80 or more at 50 GHz; adding the L band roughly doubles that. With coherent optics, which encode bits in the phase, amplitude and polarization of the light and decode with a DSP, one wavelength carries 100 Gb/s to 800 Gb/s or more, and one fiber pair carries tens of terabits per second.
- An EDFA (erbium-doped fiber amplifier) boosts every C-band channel at once; on land they sit about every 80–100 km. A ROADM (reconfigurable optical add-drop multiplexer) drops and adds individual wavelengths at a node without converting the rest.
- CWDM (coarse WDM, ITU-T G.694.2) uses 18 wavelengths 20 nm apart from about 1270 to 1610 nm: cheaper, unamplified, for metro and campus links.
Submarine cables carry almost all intercontinental internet traffic; satellites carry a small share. TeleGeography counted 570 systems in service and 81 planned in February 2025.
| Part | What it is |
|---|---|
| Cable | in deep water about as thick as a garden hose: a few to 24 fiber pairs, a copper power conductor, steel strength wires and insulation; armored and buried near shore |
| Repeaters | optical amplifiers spliced in roughly every 50–100 km |
| Power feed | PFE at each landing station drives a constant current of about 1 A through every repeater in series, at up to roughly 15 kV, returning through the sea |
| Landing station | where the cable comes ashore: power feed, line terminal equipment, and the link to inland networks and data centers |
| Branching units | split fiber pairs off to other countries along the route |
| Repairs | roughly 150–200 faults a year worldwide, most from fishing gear and anchors in shallow water; repair ships lift the cable and splice in a new section |
Systems are designed for about 25 years of service. Many new cables are funded by content companies; Google's Dunant cable (2021, Virginia to France) has 12 fiber pairs and about 250 Tb/s of design capacity.
Structured cabling
Structured cabling is the standard way to wire a building (TIA-568 in North America, ISO/IEC 11801 elsewhere): permanent cable runs from patch panels in telecom rooms to wall outlets, and short patch cords that are easy to change.
building/entrance/ # ISP fiber, demarcation pointequipment-room/ # router, firewall, core switchrack-42U/patch-panel-1/ # 24 ports to floor 1 outletsaccess-switch/ # PoE for phones and APsfloor-1/desk-101/ # 2 × Cat6A outletsceiling-ap-1/ # 1 × Cat6A, PoE+| Element | Rule of thumb |
|---|---|
| Horizontal cabling | ≤ 90 m from patch panel to outlet, solid-core; ≤ 10 m of cords in total |
| Backbone | fiber (and sometimes Cat6A) between the equipment room and each telecom room |
| Racks | 19 inches wide; height in rack units: 1U = 1.75 in = 44.45 mm; 42U is a common full height |
| Patch panels | punch the cable onto the back once; patch to switch ports at the front with short cords |
| Jackets | CMP (plenum) in air-handling spaces, CMR (riser) between floors, LSZH (low smoke, zero halogen) common in Europe |
| Bends | at least 4 × the cable diameter for copper, 10–20 × for fiber |
| Labels | both ends of every cable, matching the panel port (TIA-606) |
| Testing | certify every link with a cable analyzer before handover |
- Run two drops per desk and Cat6A to every access-point location; recabling costs far more than cable.
- Keep data cables away from power cables and fluorescent fittings, and leave service slack.
- Avoid copper-clad aluminum (CCA) cable: it doesn't meet the standards and heats up under PoE.
Try it
ethtool eth0 # speed, duplex, autoneg, link
ip -s link show eth0 # bytes, errors, drops
ethtool -S eth0 | grep -i err # NIC error counters
sudo ethtool -m eth0 # optic type, light levels
sudo ethtool --cable-test eth0 # pair faults (some PHYs)
bridge fdb show # Linux bridge MAC table
lldpctl # switch and port you are onMake a VLAN interface and watch tagged frames (lldpctl comes with lldpd):
sudo ip link add link eth0 name eth0.10 type vlan id 10
sudo ip link set eth0.10 up
sudo tcpdump -i eth0 -nn -e vlan # shows "vlan 10, p 0"Rising CRC or "rx_errors" counters point at a bad cable, connector or duplex mismatch; light levels far below the optic's receive range point at dirt, a bend or a broken fiber.
References
- IEEE 802.3 Ethernet Working Group (opens in a new tab): every Ethernet speed, medium, PoE and the 802.3dj project
- Ethernet Alliance: overview of 802.3bt (opens in a new tab): PoE types, classes and power levels
- ITU-T G.652 (opens in a new tab): standard single-mode fiber characteristics
- ITU-T G.694.1 (opens in a new tab): the DWDM frequency grid
- ITU-T G.984.1 (opens in a new tab) and G.9807.1 (opens in a new tab): GPON and XGS-PON
- ITU-T G.993.2 (opens in a new tab): VDSL2
- Fiber Optic Association technical reference (opens in a new tab): fiber types, connectors, testing and installation practice
- TeleGeography Submarine Cable Map (opens in a new tab): every submarine cable, its landings and owners
- ICPC cable data (opens in a new tab): International Cable Protection Committee resources on submarine cables
- ethtool manual (opens in a new tab): link settings, statistics, module and cable diagnostics on Linux