☼
⌃
☰

Network Topology

Table of Contents

The physical or logical arrangement of network components and how they connect to each other. Determines data flow patterns, failure modes, cost, and scalability characteristics.

Related: Switch Hub Router Networking MOC

Topologies

Star

All devices connect to a central switch or hub. The dominant topology in modern LANs.

TEXT
Device1 ─┐
Device2 ─┤
Device3 ─┼─ Switch ─── Network
Device4 ─┤
Device5 ─┘
Pros Cons
Easy to manage and troubleshoot Single point of failure at the switch
Adding/removing devices doesn't affect others Cost of cabling to central point
Failure isolated to one device  

Bus

All devices share a single cable. Largely obsolete — used in early Ethernet (10BASE2, 10BASE5).

TEXT
Device1 ─── Device2 ─── Device3 ─── Device4 ─── Device5
                    (shared cable / bus)
Pros Cons
Simple and cheap Single cable failure kills the network
  Collisions increase with device count
  Limited scalability

Ring

Devices form a closed loop. Each device passes data to the next. Used in older Token Ring and SONET/SDH fibre networks.

TEXT
Device1 ─── Device2 ─── Device3
   │                        │
Device5 ─── Device4 ────────┘
Pros Cons
No collisions — deterministic access Single break can fail the ring (unless dual-ring)
Predictable performance Complex to add/remove devices

Mesh

Every device connects directly to every other. Used in WAN links, wireless mesh networks, and backbone infrastructure.

TEXT
Device1 ─── Device2
   │  ╲   ╱  │
   │   ╲ ╱   │
Device4 ─── Device3

Full mesh: n(n-1)/2 links for n devices.

Pros Cons
Highly redundant — multiple paths Expensive to cable
Failure of one link doesn't isolate a device Complex to manage at scale

Tree (Hierarchical)

Tiered structure — core → distribution → access layers. Standard for enterprise campus networks.

TEXT
           Core Switch
          ╱            ╲
   Dist Switch      Dist Switch
   ╱    ╲           ╱    ╲
Access  Access   Access  Access

The most common real-world enterprise topology. Each layer has a defined role and the hierarchy makes troubleshooting and scaling predictable.

Hybrid

Real networks combine topologies. Common example: tree topology at the core and distribution layers, star topology at the access layer connecting individual endpoints.

Choosing a Topology

Factor Consideration
Scalability Star and tree scale well; bus does not
Redundancy needed Mesh or dual-ring; star with redundant switches
Cost Bus cheapest (legacy); mesh most expensive
Fault isolation Star — failure affects one device; bus — failure affects all
Management simplicity Star easiest; mesh most complex

Security Relevance

Topology affects the blast radius of a network compromise:

  • Star — a compromised switch can sniff all traffic on that segment; VLAN segmentation within the switch limits this
  • Flat (all devices on one segment) — an attacker with network access can reach everything; segmentation is the primary defensive control
  • Segmented/tiered — lateral movement requires traversing multiple layers, each of which can enforce access controls

See VLANs for how logical segmentation is applied within physical topologies.