• 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

Topologies
TopologyLayoutStrengthWeakness
BusAll nodes on one main cableCheap, simpleIf the main cable fails, the network fails
StarAll nodes connect to a central hub or switchEasy to add nodes; one node failing does not stop othersIf the central device fails, all stop
RingNodes joined in a closed circleOrderly data flowA break can disturb the whole ring
MeshEvery node is connected to othersVery reliableExpensive, many links
TreeStar networks joined in a hierarchyEasy to expand in groupsDepends 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.

— Remember

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. 1. In which topology does every node connect to one central hub or switch?

    1. Star
    2. Bus
    3. Ring
    4. Mesh
    Show answer

    Answer: A. In a star topology all nodes connect to a central device.

  2. 2. How many links does a fully connected mesh of 6 nodes need?

    1. 30
    2. 12
    3. 15
    4. 36
    Show answer

    Answer: C. Links = n(n - 1) / 2 = 6 x 5 / 2 = 15.

  3. 3. In which topology does a failure of the single main cable stop the whole network?

    1. Star
    2. Bus
    3. Mesh
    4. Tree
    Show answer

    Answer: B. In a bus, all nodes share one backbone cable, so a break in it stops the network.

  4. 4. In which topology are the nodes joined in a closed circle?

    1. Bus
    2. Star
    3. Tree
    4. Ring
    Show answer

    Answer: D. A ring joins the nodes in a closed loop.

  5. 5. Star networks joined together in a hierarchy form which topology?

    1. Tree
    2. Mesh
    3. Bus
    4. 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.

Next lesson → Network devices and transmission media

Privacy · Terms · Refunds · Delivery