- Foundation
- About 12 min
- 5 practice questions
Network topologies
Describe bus, star, ring, mesh and tree layouts and the strengths and weaknesses of each.
If something looks wrong, please tell us.
Topology means the layout, that is how the nodes of a network are arranged and connected. Each layout has its own strengths.
Main topologies
| Topology | Layout | Strength | Weakness |
|---|---|---|---|
| Bus | All nodes on one main cable | Cheap, simple | If the main cable fails, the network fails |
| Star | All nodes connect to a central hub or switch | Easy to add nodes; one node failing does not stop others | If the central device fails, all stop |
| Ring | Nodes joined in a closed circle | Orderly data flow | A break can disturb the whole ring |
| Mesh | Every node is connected to others | Very reliable | Expensive, many links |
| Tree | Star networks joined in a hierarchy | Easy to expand in groups | Depends on the top of the tree |
Number of links in a full mesh
In a fully connected mesh of n nodes, the number of links is n(n-1)/2. Each node links to every other node, but each link is counted once.
Worked examples
Example 1. How many links does a full mesh of 5 nodes need? 5 x 4 / 2 = 10 links.
Example 2. How many links in a full mesh of 8 nodes? 8 x 7 / 2 = 28 links.
Example 3. A star network has 12 computers connected to one switch. How many cables? Each computer needs its own cable to the switch, so 12 cables.
Example 4. In a star network the switch breaks. What happens? All computers lose connection, since all traffic goes through it.
Star: one central device. Bus: one backbone cable. Mesh links = n(n-1)/2.
Key takeaways
- Know the layout of bus, star, ring, mesh and tree.
- Star is common today; mesh is most reliable.
- Full mesh links = n(n-1)/2.
Check your understanding
-
1. In which topology does every node connect to one central hub or switch?
- Star
- Bus
- Ring
- Mesh
Show answer
Answer: A. In a star topology all nodes connect to a central device.
-
2. How many links does a fully connected mesh of 6 nodes need?
- 30
- 12
- 15
- 36
Show answer
Answer: C. Links = n(n - 1) / 2 = 6 x 5 / 2 = 15.
-
3. In which topology does a failure of the single main cable stop the whole network?
- Star
- Bus
- Mesh
- Tree
Show answer
Answer: B. In a bus, all nodes share one backbone cable, so a break in it stops the network.
-
4. In which topology are the nodes joined in a closed circle?
- Bus
- Star
- Tree
- Ring
Show answer
Answer: D. A ring joins the nodes in a closed loop.
-
5. Star networks joined together in a hierarchy form which topology?
- Tree
- Mesh
- Bus
- Ring
Show answer
Answer: A. A tree topology links star networks in levels, like branches.
Sign in to keep track of the lessons you finish.