Layer 1 is where data stops being numbers and becomes something physical: voltage on copper, pulses of light in glass, or radio waves. It decides how fast bits can move, how far, and how much noise they can survive. Most outages you will meet at this layer are boring and common: a bad cable, a dirty fiber, a port negotiated at the wrong speed.
Topologies
A topology is the shape of a network: how nodes are wired (physical topology) or how data flows (logical topology).
| Topology | Shape | Strength | Weakness |
|---|---|---|---|
| Bus | Every node taps one shared cable | Cheap, little cable | One break takes everything down; collisions |
| Star | Every node has its own cable to a central switch | Easy to add nodes, one bad cable affects one node | The central switch is a single point of failure |
| Ring | Each node connects to two neighbors in a loop | Predictable access | One break breaks the ring (unless it is a dual ring) |
| Mesh | Nodes connect to many or all others | Many paths, very resilient | Lots of links: a full mesh of n nodes needs n(n-1)/2 |
| Tree | Stars connected in a hierarchy | Scales by adding branches | Losing a branch cuts everything below it |
| Hybrid | A mix of the above | Fits real buildings | More complex to design |
Modern LANs are stars (or trees of stars). Data centers use a leaf-spine design: every leaf switch connects to every spine switch, a partial mesh that keeps any two servers just two hops apart. The internet core is a large partial mesh.
Full mesh math: 10 routers in a full mesh need 10 × 9 / 2 = 45 links. With 50 routers it is 1,225. That is why big networks use partial meshes.
Transmission modes
| Mode | Direction | Example |
|---|---|---|
| Simplex | One way only | A TV broadcast, a keyboard to a computer |
| Half duplex | Both ways, one at a time | A walkie-talkie, an old hub, classic Wi-Fi on one channel |
| Full duplex | Both ways at the same time | Switched Ethernet, a phone call |
A duplex mismatch (one side full, the other half) is a classic layer 1 bug: the link works but crawls, with lots of errors. Both sides should auto-negotiate, or both be set by hand to the same values.
Guided media: cables
Twisted pair copper
Four pairs of wires twisted together to cancel interference. UTP is unshielded; STP/FTP adds shielding for noisy environments. Plugs are RJ45. The maximum run is 100 meters for every category below.
| Category | Typical max speed | Notes |
|---|---|---|
| Cat5e | 1 Gbit/s | The minimum for anything new |
| Cat6 | 1 Gbit/s (10 Gbit/s up to about 55 m) | Common in offices |
| Cat6A | 10 Gbit/s at 100 m | The safe choice for new buildings and Wi-Fi APs |
| Cat8 | 25 or 40 Gbit/s up to 30 m | Server rack links only |
Coaxial cable
A central conductor inside a shield. Used today mostly for cable TV and DOCSIS broadband.
Fiber optic
Light pulses in glass. Immune to electrical interference, very fast and can run very far.
| Type | Core | Light source | Reach | Use |
|---|---|---|---|---|
| Multimode (OM3, OM4) | 50 µm | LED or VCSEL laser | Hundreds of meters | Inside a building or data center |
| Single-mode (OS2) | 9 µm | Laser | Kilometers to 100+ km | Between buildings, cities, ISPs |
Switches take pluggable transceivers (SFP, SFP+, QSFP28, QSFP-DD) so the same port can use copper, multimode or single-mode by swapping a module. Both ends must use the same wavelength and fiber type.
Unguided media: wireless
Data rides radio waves through the air: Wi-Fi in the 2.4, 5 and 6 GHz bands, cellular, Bluetooth, microwave links and satellites. Wireless is shared and half duplex per channel, and walls, distance and other networks all reduce throughput. Lesson 22 covers it in depth.
Signals and capacity
A few terms you will see on spec sheets:
- Bandwidth (in Hz): the range of frequencies a medium carries. More hertz means more room for data.
- Attenuation: the signal gets weaker with distance; that is why cables have length limits.
- Noise and crosstalk: unwanted energy that corrupts bits; twisting and shielding reduce it.
- Encoding and modulation: how bits map to signals. Faster Ethernet and Wi-Fi pack more bits into every symbol (for example 4096-QAM in Wi-Fi 7), which needs a cleaner signal.
Ethernet speeds
| Name | Speed | Common medium |
|---|---|---|
| 100BASE-TX | 100 Mbit/s | Cat5 copper |
| 1000BASE-T | 1 Gbit/s | Cat5e copper |
| 2.5GBASE-T / 5GBASE-T | 2.5 / 5 Gbit/s | Cat5e/Cat6, popular for Wi-Fi APs |
| 10GBASE-T / 10GBASE-SR | 10 Gbit/s | Cat6A copper / multimode fiber |
| 25G, 100G, 400G, 800G | Data center speeds | Fiber or short copper DAC cables |
Checking a link on Linux
$ sudo ethtool enp3s0
Settings for enp3s0:
Supported link modes: 10baseT/Full 100baseT/Full 1000baseT/Full
Speed: 100Mb/s
Duplex: Full
Auto-negotiation: on
Link detected: yes
$ ip -s link show enp3s0
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP
RX: bytes packets errors dropped missed mcast
9184120374 7102291 4821 0 0 12010
Two red flags here: the card supports 1 Gbit/s but negotiated only 100 Mbit/s, and the receive errors counter is climbing. Both usually mean a damaged cable or one with only two good pairs (gigabit needs all four). Replace the cable before you debug anything else.
For fiber, ethtool -m reads the transceiver’s optical power:
$ sudo ethtool -m enp65s0f0 | grep -i 'power'
Laser output power : 0.6120 mW / -2.13 dBm
Receiver signal average optical power : 0.0021 mW / -26.78 dBm
A received power that low (around -27 dBm) is below what most short-reach modules accept: clean the connectors or check the patch path.
Exercise
A server links at 100 Mbit/s even though both the NIC and the switch support 1 Gbit/s. What should you check first?
Show answer
Answer: B. A gigabit-capable link that falls back to 100 Mbit/s almost always has a bad or partly broken cable. It is a layer 1 problem.
Exercise
Which topology does a modern office LAN with a switch in each wiring closet use?
Show answer
Answer: D. Each device has its own cable to a switch port, and access switches connect up to a core: a star or hierarchical tree.
Exercise
You need a 10 Gbit/s link between two buildings 4 km apart. What medium fits?
Show answer
Answer: C. Copper stops at 100 m and multimode at a few hundred meters. Single-mode fiber easily covers kilometers.
Key takeaways
- Layer 1 turns bits into electrical, optical or radio signals.
- Most LANs are stars; data centers use leaf-spine; the internet core is a partial mesh.
- Full duplex is normal on switched Ethernet; a duplex mismatch makes links crawl.
- Copper twisted pair stops at 100 m; multimode fiber covers buildings; single-mode covers kilometers.
ethtoolandip -s linkreveal wrong speeds and rising error counters.
FAQ
Is Cat6 enough for a home network?
Yes. Cat6 handles 1 Gbit/s easily and 10 Gbit/s over shorter runs. Choose Cat6A if you want 10 Gbit/s over full 100 m runs or are wiring Wi-Fi 7 access points.
Why is my Wi-Fi slower than my cable?
Wi-Fi is shared and half duplex on each channel, and walls, distance and neighbors’ networks all cost throughput. A cable gives you the full link in both directions at once.
What is a DAC cable?
A direct attach copper cable: two transceivers joined by a short copper cable. It is a cheap way to connect a server to a top-of-rack switch at 10 to 100 Gbit/s over a few meters.
Can a topology be both physical and logical?
Yes, and they can differ. Old Token Ring networks were wired as a physical star but passed the token in a logical ring.