Network Bytes · Episode 10 · CCNA 1.2
Network topologies
Every network picked a shape. Here's how star, mesh and spine-leaf networks are wired, and what each one is good at.
Star: everything to one box
In a star topology, every device has one link to a box in the middle, usually a switch (at home, the switch is built into your Wi-Fi router). Your laptop, phone, TV and printer each talk to that middle box, and it passes traffic between them.
Stars are cheap and simple: one cable or Wi-Fi link per device, and an easy picture to troubleshoot. The catch is the middle box. If it fails, every device loses the network at once. That's called a single point of failure.
Mesh: many paths
A mesh topology connects devices to each other with many links, so there's more than one path between any two of them. If one link breaks, data simply takes another route.
In a full mesh, every device links to every other one. That gets expensive fast: 5 routers need 10 links, and 20 routers need 190. So most real networks use a partial mesh, with extra links only where a backup path matters most. The routers at the core of the internet are wired this way.
Spine-leaf: built for data centers
Big data centers use spine-leaf. Servers plug into leaf switches, and every leaf switch connects to every spine switch. Leaves don't connect to each other, and spines don't either.
Because of that pattern, traffic from any server to any other server takes the same short trip: leaf, spine, leaf. Every path is the same length, and if one spine fails, the others still connect every leaf. Need more room? Add another leaf for more servers, or another spine for more bandwidth.
Try it yourself
Look at your home network. How many devices connect to your Wi-Fi router, and how many links does each one have? Now imagine unplugging the router: which devices still reach the internet? That's a star's single point of failure.
Good to know
- Real networks mix topologies. A partial mesh is common, and campus networks often use a two- or three-tier design that's really a star of stars.
- "A couple of hops": in a two-tier spine-leaf, any server reaches any other through leaf, spine, leaf.
- A full mesh grows expensive quickly: n devices need n×(n−1)/2 links.
For CCNA learners
This lines up with CCNA 200-301 exam topic 1.2, describe characteristics of network topology architectures: know two-tier, three-tier, spine-leaf, WAN and small office/home office designs, and why spine-leaf keeps every server the same distance apart.
Test your knowledge
Quick quiz: Network topologies
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- IBM Think, "What is network topology?": topology is how a network's devices are arranged and connected
- Cisco IT blog, "Cisco ACI fabric simplifies data center network": spine-and-leaf, every leaf connects to every spine, servers at most a couple of hops apart
- Cisco, CCNA 200-301 v1.1 exam topics: 1.2 network topology architectures (two-tier, three-tier, spine-leaf, WAN, SOHO)
Video transcript
Star, mesh, or spine-leaf? Every network picked a shape.
The shape is called the network's topology: how the devices are wired together. The most common one is the star. Every device connects to one box in the middle, usually a switch. Your home network is a star.
Stars are cheap and simple. But if that middle box fails, everything goes quiet.
A mesh fixes that by connecting devices to each other with many links. If one link breaks, data takes another path. That's how the internet's big routers are wired.
Big data centers use spine-leaf. Every leaf switch connects to every spine switch, so any two servers are always just a couple of hops apart.