Communication Networks · Visualized

Network Topologies

Network Basics

What a communication network is, the shapes it can take, and the geographic scales it spans.

4 interactive subtopics — each one animated, step-through and explained.

Network Topologies

Network Basics

Topology is the shape of a network: which devices link to which. The shape decides how cables are used, how easily one more device joins, and — most importantly — what happens when a single cable or node dies. There is no perfect topology; each trades cost against resilience.

How Network Topologies Works

  1. Bus: all devices share one backbone cable — cheap, but one cut splits everything.
  2. Star: every device gets its own link to a central switch — one cable failure hurts one host, but the hub is a single point of failure.
  3. Ring: each device connects to exactly two neighbours; data circulates until it reaches the target.
  4. Mesh: devices interconnect directly (full mesh = n(n−1)/2 links) — maximum redundancy, maximum cabling.
  5. Tree: star clusters wired to a backbone hub — how real campus networks scale.

Network Topologies Worked Example

Try it: Pick a topology from the dropdown, play the traffic animation, then press “Cut a link”.

In the star, cutting one spoke isolates only that PC. In the bus, the same cut breaks the segment in two. In the ring, traffic simply reverses direction. In the mesh, packets reroute around the gap without anyone noticing.

SWPC1PC2PC3PC4
link failed link
Stage 1 / 6
Star: play to send a packet between two hosts.

Network Topologies: Key Facts to Remember

Cost rankingbus < star < ring < tree < mesh (cabling)
Failure impactmesh survives any single link; bus/star depend on shared segments
Real worldEthernet LANs are physical stars; the Internet core is a partial mesh

Recommended resourcesAffiliate links · may earn us a commission

Recommended for learners

Cloud hosting for side projectsShip the portfolio project that gets you hired — free credits for new accounts.Claim credits Pro code editor & AI assistantWrite, debug and explain code faster while you practice the patterns here.Try it free Structured coding coursesVideo courses that pair well with visual practice — pick one language and go deep.Browse courses

See how packets really travel

Networks are built on the structures and algorithms you can watch step by step — queues, trees, and routing algorithms.