Network topologies

5 minuti

The network topology is how devices and locations connect to each other physically or logically. Choosing a topology (or combining several into a hybrid design) determines redundancy, performance, cost, and ease of troubleshooting. These notes follow Prof. Messer’s Network+ N10-009 videos: Network Topologies (1.6), Network Architectures (1.6).

⏱ Video — Network Topologies (4:32): 0:01 intro to network topologies · 0:32 star or hub-and-spoke · 1:16 mesh network · 1:53 mesh in wan · 2:07 hybrid networks · 2:31 spine and leaf · 3:02 top-of-rack switching · 3:58 point-to-point connections

⏱ Video — Network Architectures (4:43): 0:01 three-tiered architecture · 0:12 core layer · 0:27 distribution layer · 0:44 access layer · 1:02 city analogy · 1:44 diagram view · 2:19 multi-building campus · 2:42 collapsed core architecture · 3:27 east-west traffic · 3:55 north-south traffic

Star (hub-and-spoke)

  • The star network (also called hub-and-spoke) is one of the most popular topologies. A central device sits at the middle, and all other devices connect to that same central device.
  • Switched Ethernet is a classic example: the Ethernet switch is the hub, and every workstation connects to it. To communicate with each other, all spokes must go through the central device.

Mesh

  • A mesh network connects one location or device to another over more than one network path. If one link fails, an alternate path is available to complete the communication.
  • Mesh links can also perform load balancing — half the data sent over one connection and the other half over a different one.
  • Mesh is often deployed in WAN (Wide Area Network) environments to maintain connectivity to a remote site regardless of which link is available.

Hybrid

  • Large enterprise networks combine multiple topologies in different parts of the network. One section may be star, another point-to-point, and a third mesh. This combination is called a hybrid network.

Spine and leaf

  • Spine and leaf is a data center architecture. Spine switches sit at the top of the topology; leaf switches sit below them. Devices connect to the leaf switches.
  • Leaf switches connect to every spine, and spines connect to every leaf — but leaf switches do not connect directly to each other, and spine switches do not connect directly to each other.
  • This works naturally with top-of-rack switching: every physical rack has a leaf switch at the top of the rack, and all devices in that rack cable to that leaf switch. Cabling is self-contained within the rack.
  • Top-of-rack provides redundancy (each rack connects to multiple spines) and performance (any device is no more than one switch away from any other device). Cost scales with the number of racks.

Point-to-point

  • A point-to-point connection links a single point to another single point. This was common on older WAN designs using T1 or T3 connections (point-to-point T1 or point-to-point T3).
  • Point-to-point is also used in local area networks — for example, connecting two campus buildings over a dedicated link.

Three-tier architecture

  • The three-tiered architecture is a common enterprise network design with three layers:
LayerRole
CoreCentral point for critical resources — servers, applications, databases
DistributionMidpoint between users and core; switches providing redundancy and connectivity
AccessSwitches close to the user (e.g., on the same floor) that connect to distribution
  • A helpful analogy: the core is a city’s downtown where major resources are clustered; the distribution layer is the highway that gets you downtown; the access layer is the local roads connecting homes to the highway.
  • In a multi-building campus, each floor has an access switch. Those access switches connect to one or more distribution switches, which connect to the core (often in a central data center).
  • Redundancy is built in with multiple links between access and distribution and sometimes multiple links between distribution and core.

Collapsed core

  • The collapsed core is a two-tier alternative for smaller organizations. It combines the core and distribution layers into a single collapsed core, while the access layer stays the same.
  • Benefits: simpler design, easier troubleshooting, lower cost (fewer devices). Drawback: fewer options for redundancy — it is not as resilient if a component fails.

East-west and north-south traffic

  • East-west traffic: data flow that originates and terminates within the same data center — for example, a file server sending information to an image server. Response times are very good because both devices are on the same local network.
  • North-south traffic: data flow leaving the data center or arriving from an external source (e.g., the internet). This traffic has a different security posture because the origin or destination is unknown.

Where attacks live — mental map (beyond the video)

Not from the video — why topology choices affect security.

  • Spine-and-leaf limits blast radius — leaf switches do not talk to each other directly, so a compromised leaf cannot pivot laterally to another leaf; it must traverse the spine where monitoring sits.
  • Collapsed core is a single point of failure — the same device does routing and distribution; if it is compromised, both core and distribution functions are lost at once.
  • North-south traffic is the attack surface — every inbound packet crosses a security boundary; topology diagrams help identify where to place firewalls and IPS (Intrusion Prevention System).
  • East-west movement is hard to see — once inside the data center, lateral traffic never touches the perimeter firewall. Micro-segmentation and internal monitoring are needed.
  • Mesh networks increase attack surface — more links means more paths an attacker can use to reach a target after breaching one connection.