Networking

What Is a Network Topology? Types, Examples and Differences

A network topology is the physical and logical arrangement of the devices (nodes) and connections in a network, and it determines how data flows between them. The common types are point-to-point, bus, ring, star, tree, mesh and hybrid.

If you run a home or office network, you almost certainly have a star topology: every device connects to one central switch or router. The rest of this article explains the other layouts, what each one costs you, and how to tell which one you are looking at.

Physical vs. logical network topology

There are two ways to describe a topology, and people often mix them up.

  • Physical topology is how devices are actually placed and connected: which cable goes to which port, which access point talks to which router.
  • Logical topology is how data moves through the network, regardless of the physical connections.

The two do not have to match. Early twisted-pair Ethernet that used repeater hubs, for example, was cabled as a star but behaved like a shared bus, because every frame was repeated to every port. That is why a diagram of the cables and a diagram of the traffic flow can look different. When someone asks you to "draw the topology", check which one they mean. A cable plan is physical. A diagram of VLANs, subnets and routing paths is logical.

The main types of network topology

The table summarises the types as IBM describes them, with the trade-offs each one brings.

TopologyHow it is connectedMain strengthMain weakness
Point-to-pointTwo nodes joined by one linkSimple and easy to set upLimited use on its own in modern networks
BusAll nodes share a single backbone cableCheap and easy to implementBackbone failure takes down the network; more nodes mean more collisions and slowdowns
RingNodes form a circle, each with two neighboursCheap to install and expandOne node failure can disrupt the network (dual-ring designs add redundancy)
StarEvery node connects to a central deviceEasy to manage, troubleshoot and scale; one node failing does not affect the othersIf the central device fails, the whole network goes down
TreeA hierarchy that combines bus and star elements, with a root linking several starsSupports many devices; faults are easy to isolateDepends on the root device and inherits bus and star weaknesses
MeshNodes link to multiple others (full or partial)Redundant paths and strong fault toleranceComplex and costly, especially a full mesh in a large network
HybridA combination of the aboveCan be tailored to balance scalability and reliabilityHarder to design, more cabling and equipment, higher maintenance cost

Star topology: what most home and office networks use

In a star, each device has its own link to a central device. At home that device is your router. In an office it is usually a switch. The practical advantage is that a broken cable or a dead laptop affects only that one connection. The practical risk is the center: if the switch loses power, everyone attached to it loses connectivity.

The central device matters for how traffic behaves. A hub repeats incoming data to every port, while a switch forwards it to the port of the intended device. The difference is covered in network hub vs switch. In both cases the cabling looks like a star.

Bus and ring topologies

In a bus, one backbone cable carries all the traffic and every node taps into it. Because all nodes share it, adding nodes raises the chance of collisions and slows things down, and a break in the backbone cuts the network in two. IEEE 802.3, the Ethernet standard, still describes shared-medium (half-duplex) operation and multi-segment shared access networks, which is where the bus model comes from. Modern wired Ethernet is instead built mostly from point-to-point links into switches.

In a ring, each node connects to exactly two neighbours and data travels around the circle. It is cheap to build and extend, but one failed node can break the loop unless the design includes a second ring for redundancy.

Mesh topology

In a mesh, nodes connect to several others. In a full mesh, every node connects to every other node. In a partial mesh, only some do. If one path fails, traffic can go another way, which is why meshes suit places where an outage is costly. The price is the number of links: a full mesh of n nodes needs n × (n − 1) / 2 links, so 5 nodes need 10 links and 20 nodes need 190. That arithmetic is why large networks use a partial mesh or mix meshes with other layouts.

Tree and hybrid topologies

Real networks are rarely pure. A typical office has a core switch, several floor switches connected to it, and devices connected to those. That is a tree: stars linked in a hierarchy. When you add redundant links between some of the switches, you get a hybrid. IBM describes hybrid topologies as combinations of multiple types chosen to fit specific needs, at the cost of design difficulty and more equipment.

Topology in cloud networks: hub and spoke

The same ideas appear in cloud design. Microsoft's Azure Cloud Adoption Framework recommends the hub-spoke pattern as its network topology. A central hub virtual network hosts shared services such as a firewall, a VPN or ExpressRoute gateway, and DNS. Spoke virtual networks hold the individual workloads and connect to the hub. Microsoft's reference architecture notes that peering between virtual networks is nontransitive, so two spokes cannot talk to each other through the hub unless you add routing through a firewall or network appliance, or peer the spokes directly. That is the star topology's central-point-of-control strength, and its central-point-of-failure risk, applied to virtual networks.

How to choose a topology

  • Home or small office: a star. One router or switch, one cable or wireless link per device.
  • Several buildings or floors: a tree of stars, with a core switch above the access switches.
  • Outages are expensive: add redundancy with a partial mesh between the important nodes rather than a full mesh.
  • Shared services in the cloud: hub and spoke.

Whatever you pick, the single points of failure are where the topology tells you to look first. In a star it is the center, in a bus it is the backbone, in a ring it is any node that has no bypass.

How to see your own network's topology

For a home network, open your router's admin page and look for its list of connected devices; each one is a spoke of the star. The page layout differs by router model. For what actually travels over those links, read what is a network packet. Confirm physical cable runs by tracing them by hand, since software only sees what is logically reachable.

Frequently asked questions

What is the most common network topology today?
The star topology. In a typical home or office, every device connects to a central switch or router, and the switch connects to other switches or to the internet. Larger networks usually combine stars into a tree or hybrid layout.
What is the difference between physical and logical topology?
Physical topology is how devices and cables are actually laid out. Logical topology is how data moves between devices, regardless of the cabling. The two can differ: a network can be cabled as a star while data is still passed along as if on a shared bus.
Which network topology is the most fault tolerant?
Mesh. Because each node links to several others, traffic can take another path if one link or node fails. The cost is more cabling or links and a more complex design, especially in a full mesh where every node connects to every other.
Is Wi-Fi a topology?
Wi-Fi is a way of connecting devices, not a topology by itself. A typical home Wi-Fi network is physically a star, with each device connecting to one access point or router. Mesh Wi-Fi systems link several access points to each other, which gives a mesh among the access points.

Sources