Mesh
1. Definition
In mesh topology, every node is connected to one or more other nodes by dedicated point-to-point links. In a full mesh, each node has a direct link to every other node, so any two nodes communicate over their own private path without passing through any other node. In a partial (hybrid) mesh, only the important nodes are interconnected, with the rest attached to one or two neighbours.
2. Structure
A ───────────── B
│ ╲ ╱ │
│ ╲ ╱ │
│ ╲ ╱ │ FULL MESH (n = 4)
│ ╳ │ every node links to every other
│ ╱ ╲ │ links = n × (n-1) / 2 = 6
│ ╱ ╲ │ ports per node = n - 1 = 3
│ ╱ ╲ │
C ───────────── D
3. Cable and Port Requirement (the crucial formula)
For nodes in a full mesh:
| Nodes (n) | Links | Interfaces per node | Total ports |
|---|---|---|---|
| 3 | 3 | 2 | 6 |
| 5 | 10 | 4 | 20 |
| 10 | 45 | 9 | 90 |
| 25 | 300 | 24 | 600 |
| 100 | 4950 | 99 | 9900 |
The growth is quadratic, which is exactly why full mesh is practical only for small networks or a handful of core devices; larger networks use partial mesh (each site connects to two or three key sites) instead.
4. Advantages
- Dedicated link between every pair — no traffic contention between different conversations, so performance is predictable and high.
- Excellent fault tolerance — if one link or node fails, data is rerouted through the remaining paths; no single point of failure.
- Easy fault identification — the network can be isolated link by link; a broken link affects only its two endpoints.
- Privacy and security per link — traffic on one link is not visible on others, unlike bus/ring.
- Supports full duplex on every link and allows load balancing over multiple paths.
- Scalable in resilience (not in cost) — adding redundancy is a matter of adding a few links.
5. Disadvantages
- Very expensive — cabling/ports grow as n(n − 1)/2; each node needs n − 1 interfaces (a 100-node full mesh needs 99 ports per node!).
- Difficult installation and rewiring — large numbers of cables, patch panels and ports to manage.
- Complex configuration — routing, spanning-tree and loop-avoidance must be handled in all topologies that contain loops.
- Hardware cost — high-density routers/switches and many interface cards.
- Impractical for large networks — the cost outweighs the benefit; hierarchies and partial meshes are used instead.
- Wireless mesh has its own issues: throughput drops with every hop and channel interference grows.
6. Where Mesh Is Used
WAN/core backbones — ISPs and large enterprises connect core routers in a partial mesh for redundancy. Data-centre spine-leaf fabric — every leaf switch connects to every spine (a structured full mesh) for non-blocking performance. Critical links — a bank's data-centre-to-disaster-recovery link is duplicated over two carriers. Wireless mesh — city Wi-Fi, ZigBee/Thread smart-home networks, military and disaster-relief networks, where nodes relay for each other and the network self-heals around a failed node. Cellular backhaul and satellite constellations (e.g. LEO mesh) also use mesh routing.
7. All Four Topologies Together
| Basis | Star | Bus | Ring | Mesh (full) |
|---|---|---|---|---|
| Links needed | n | 1 trunk + drops | n (loop) | n(n-1)/2 |
| Cost | Medium | Lowest | Medium | Highest |
| Fault tolerance | Central device is critical | Trunk failure kills network | Ring break kills network (dual ring survives) | Best — alternate paths |
| Traffic behaviour | Contacts through centre (no contention with a switch) | Shared medium — contention | Token, deterministic | Dedicated links — no contention |
| Adding a node | Easily, no effect | Disturbs backbone | Breaks the ring | Requires n new links |
| Troubleshooting | Easy (centralised) | Difficult | Moderate | Easy per link, complex routing |
| Security | Good (switch) | Poor (broadcast) | Moderate (passes through nodes) | Best (dedicated links) |
| Typical use | LANs with switches | Legacy LANs, field buses | Legacy Token Ring/FDDI | Backbones, spine-leaf, wireless mesh |
8. Exam Points
- Explain mesh topology with a diagram, advantages and disadvantages — 5-7 marks, almost certain.
- Derive/apply the formula for links and ports in a full mesh; numerical (e.g. links for 10 nodes) — 5 marks, frequent.
- Differentiate full mesh and partial mesh with a use case for each — 5 marks.
- Compare mesh with star, bus and ring topologies — 5-7 marks, very frequent.
- Why is full mesh impractical for large networks? — 3 marks.
- Where is mesh topology used in modern networks (backbone, spine-leaf, wireless mesh, smart home)? — 3-5 marks.