In a full mesh, every device connects to every other device. A mesh can handle a lot of traffic, because many pairs of nodes can send at the same time. It is reliable: if one node goes down, the others keep communicating over their own links. It is also more secure, since each cable carries only the data between its two nodes. The price is complex wiring, high cable cost and many links that sit unused much of the time.
The number of cables in a full mesh of n nodes is n(n − 1)/2. Each node links to the other n − 1 nodes, and the division by 2 stops each cable being counted twice, once from each end.
Worked example 1: five computers
n = 5: 5 × 4 ÷ 2 = 10 cables.
Worked example 2: eight computers
n = 8: 8 × 7 ÷ 2 = 28 cables.
Worked example 3: ports on each computer
In the same eight-node mesh, each computer connects to every other one, so it needs 8 − 1 = 7 ports.
Worked example 4: mesh against star
A star of 8 computers needs 8 cables, one to each device from the centre. The mesh needs 28, so it uses 20 more cables. The gap widens quickly as n grows.