Computer Networks Basics·Lesson 7 of 10

Network Topology

01

What Is a Topology?

Network topology is the arrangement of nodes and links — how devices are connected to one another. It comes in two flavours: physical topology (how the cables and devices are actually laid out) and logical topology (how data actually flows, which can differ from the physical wiring). The shape you choose affects cost, performance, and how gracefully the network survives a failure.

Why it matters

Topology decides two big things: what happens when one node or link fails, and how expensive the network is to build and expand. There's no single best topology — only the right one for a given size, budget, and reliability need.

02

Bus Topology

In a bus topology, every device taps into a single shared backbone cable. Data sent by one device travels along the backbone and every other device sees it, keeping only the frames addressed to it. It's cheap and simple, but the backbone is a single point of failure — one break and the whole segment goes down.

Bus: all nodes share one backbone cable.

Advantages

  • Cheap and easy to install for small networks
  • Uses less cable than most other layouts

Disadvantages

  • The backbone is a single point of failure
  • Performance drops as more devices are added
  • Hard to troubleshoot a fault on the shared cable
03

Star Topology

In a star topology, every device connects to a central hub or switch. All traffic passes through that central device. This is by far the most common layout for modern LANs because a single cable fault only takes down one device — the rest keep working. The trade-off is that the central device becomes the critical component.

Star: every node connects to a central switch.

Advantages

  • A single link failure affects only one device
  • Easy to add or remove devices
  • Simple to troubleshoot — faults are isolated

Disadvantages

  • The central switch is a single point of failure
  • Needs more cable than a bus layout
  • Cost of the central device
04

Ring Topology

In a ring topology, each device connects to exactly two neighbours, forming a closed loop. Data travels around the ring from node to node until it reaches its destination. Ring layouts can be predictable and orderly, but a single break can disrupt the whole loop unless a second, redundant ring is added.

Ring: each node links to two neighbours in a closed loop.
05

Mesh Topology

In a full mesh topology, every node connects directly to every other node. This gives the highest reliability — if one link fails, data simply takes another path — and no single point of failure. The catch is cost: the number of links grows rapidly with each new node, so full mesh is reserved for critical infrastructure like network backbones.

Full mesh: every node connects to every other node.

Advantages

  • Extremely reliable — many redundant paths
  • No single point of failure
  • Traffic can route around congestion or faults

Disadvantages

  • Very expensive — links grow as n(n-1)/2
  • Complex to install and maintain
  • Overkill for most everyday networks
06

Tree and Hybrid

A tree topology arranges nodes in a hierarchy — a root device branches to lower levels, like a series of stars connected together. It scales well and is common in large organizations. A hybrid topology simply combines two or more types, for example connecting several star networks along a backbone. Most real-world networks are hybrids.

Tree: a hierarchy branching from a root device.
Hybrid: two star clusters joined by a backbone.
07

Choosing a Topology

TopologyReliabilityCostBest for
BusLowLowTiny, temporary setups
StarMediumMediumHomes and offices (most LANs)
RingMediumMediumOrderly, predictable traffic
MeshVery highVery highBackbones and critical links
TreeMediumMediumLarge, hierarchical organizations
HybridVariesVariesMost real-world networks

Quick Revision Cheat Sheet

Bus: One shared backbone — cheap, fragile

Star: Central switch — most common LAN layout

Ring: Closed loop of neighbours

Mesh: Everyone connected — reliable but costly

Tree: Hierarchy of stars from a root

Hybrid: A mix — what most real networks use