Common layouts and what they describe
Physical topology describes how devices are actually cabled or placed. Logical topology describes how data moves between them, regardless of cabling. The two can differ, for example when a switch wires every device into one box but VLANs split them into separate logical networks.
The standard layouts are bus, ring, star, mesh and tree. In a star, every device connects to a central switch or hub. In a full mesh, every device connects directly to every other. A tree joins several stars in a hierarchy. Most modern office networks are star or tree layouts, and the internet core is a partial mesh.
How layout shapes attack and failure
A central device in a star is a single point of failure. If the switch is down, every connected device loses service. The same device is also a concentrated target and a useful place to monitor traffic.
Mesh layouts offer several paths, so one failed link does not cut off a device. The cost is more links to configure and secure. Flat networks, where all devices share one segment, let an attacker who compromises one host reach many others. This sideways spread is called lateral movement.
Worked example: counting links and exposure
Take 6 devices. A star needs 6 links, one per device to the central switch. A full mesh needs n(n-1)/2 links, which is 6 x 5 / 2 = 15. The mesh has 9 more links than the star, so more cabling and more connections to manage.
Now compare failure. If one link fails in the star, one device is cut off. If the switch fails, all 6 are cut off. In the mesh, one failed link leaves every device reachable through other paths.
For exposure, suppose the 6 devices share one flat segment. A compromised device can attempt to reach the other 5. If they are split into two segments of 3 with a firewall between them, the attacker starts with only 2 peers and must cross a controlled boundary.
Common misconceptions
Redundancy is not the same as security. A mesh survives link failure, but it gives an attacker more routes and does not stop malicious traffic by itself.
Physical and logical topology are often confused. Segmentation done with VLANs changes the logical layout without moving any cable, though a misconfigured switch can weaken that separation.
Where topology appears in security practice
Network designers use segmentation to place servers, user devices and guest Wi-Fi in separate zones. A demilitarised zone (DMZ) is a segment that holds public-facing servers, kept apart from the internal network by firewalls. Data centres often use a tree-like arrangement with redundant links.
Defenders use topology diagrams during incident response to find which systems an intruder could have reached. Zero trust designs go further and treat position in the network as insufficient reason to trust a device.
Key terms
- Physical topology
- The actual placement and cabling of devices in a network.
- Logical topology
- The path data takes between devices, independent of how they are cabled.
- Star topology
- A layout where each device connects to a central switch or hub.
- Mesh topology
- A layout where devices have direct links to several or all other devices.
- Single point of failure
- A component whose failure stops the whole system or network.
- Lateral movement
- An attacker's spread from one compromised host to others on the same network.
- Network segmentation
- Dividing a network into separate zones with controlled traffic between them.
