Network Topologies: Star, Ring, Bus, Full Mesh and Others
Look at a metro map: some lines spread from the center like rays, one circles the city as a ring, and some stations link several lines. Network devices are connected in different “shapes” too — we call this topology. In this lesson you will build star, ring, bus, mesh and hybrid topologies yourself in a simulator, “cut” the cables, and prove with calculations which one is best where.
Lesson goals and plan
By the end of the lesson you will…
- define network topology and distinguish physical from logical topology
- explain, using a hub, a switch, Token Ring and Wi-Fi as examples, that physical and logical topology may not match
- draw and show how star, ring, bus, mesh and hybrid topologies work
- calculate the number of cables and ports for each topology
- predict how each topology “behaves” when a failure occurs
- choose a suitable topology for a given situation and justify it with its advantages and disadvantages
Plan (according to the syllabus)
- The concept of network topology and the differences between physical and logical topologies
- How star, ring, bus, mesh and hybrid topologies work, and their advantages and disadvantages
When choosing a topology, always ask three questions: 1) how many cables and ports are needed (cost)? 2) what happens if one cable or device breaks (reliability)? 3) how easy is it to add a new computer (scalability)? “Interrogate” every topology in the simulator with these three questions.
Answer: it depends on the topology. In some networks one cut cable isolates only one computer, in others the whole network “dies”. In some, nobody even notices — the packet finds another path. By the end of the lesson you will create all three cases in the simulator and explain the reason.
Key terms
The concept of network topology and the differences between physical and logical topologies
The Tashkent metro map is a set of neat colored lines on the wall — a logical picture of where the trains “go”. The real tunnels underground are crooked and at different depths — that is the physical structure. It is the same in a network: the cables may be laid in one way, while the data moves in a completely different “direction”.
Network topology is the scheme of how network nodes (computers, switches, routers) and the communication channels connecting them are arranged and linked. It is viewed at two levels: physical topology — the actual connection of cables and devices; logical topology — the path of the data signal through the network and the rules for accessing the medium.
Physical and logical topology may not match
| Technology | Physical topology | Logical topology | Note |
|---|---|---|---|
| Hub-based Ethernet | star | bus | The hub repeats the signal to all ports; everyone shares one medium, and collisions occur. |
| Switch-based Ethernet | star | star (point-to-point) | The switch forwards a frame only to the required port; each port is a separate channel. |
| Token Ring (IBM) | star (via a MAU device) | ring | The cables go to a central device, but inside it they are connected as a ring; a token passes from node to node. |
| Classic coaxial Ethernet (10BASE2) | bus | bus | One coaxial cable with terminators at the ends. Almost never used today. |
| Wi-Fi (one access point) | radio “star” (everyone to the AP) | shared medium (bus-like) | The radio channel is shared by everyone: only one device can “speak” at a time. |
Physical topology answers:
- How much cable is needed, and how long?
- Where will the devices be installed?
- Where are the cable cabinet and the wall sockets?
- If a cable is cut, which device is physically cut off?
Logical topology answers:
- To whom and in what order does the data go?
- Who has the right to “speak”, and when?
- Will there be collisions?
- By which path does a packet reach its destination?
Today the term “logical topology” is also used in a broader sense: for example, computers connected to one physical switch can be divided into several logical networks using VLANs (an independent-work topic). That is, several logical “maps” on one piece of “hardware”.
How star, ring, bus, mesh and hybrid topologies work, and their advantages and disadvantages
We will look at five basic shapes. Read about each one first, then build and “break” it in the simulator below — draw the conclusion yourself.
How it works: each computer is connected by its own cable to a central device (today — a switch). Any data between two computers passes through the center.
Advantages: if one cable is cut, only one computer is cut off; it is easy to add a new device (plug into a free port); faults are easy to find; traffic can be managed at the center.
Disadvantages: the central device is a single point of failure (SPOF): if it goes down, everyone is cut off; it uses more cable than a bus; the number of ports is limited.
Where: almost all modern LANs, the home Wi-Fi network (a radio star).
How it works: each node is connected to its two neighbors, forming a closed ring. Data is passed in one direction from node to node; each node receives the signal, amplifies it and passes it on. Access to the medium is often by a token: whoever holds the token transmits.
Advantages: no collisions; predictable performance even under heavy load; little cable.
Disadvantages: in a simple (single) ring, if one cable or node fails, the ring breaks; adding a new node requires temporarily breaking the ring. The solution is a dual ring (for example, FDDI): the second ring serves as a backup.
Where: providers’ city optical rings (MAN), industrial networks; classic Token Ring is now history.
How it works: all nodes are connected to one shared cable (the bus). A signal sent by one node spreads along the cable to everyone, and only the addressee accepts it. Terminators are placed at the ends of the cable so that the signal is not reflected back.
Advantages: the least cable, simple and cheap, quick to install for a small network.
Disadvantages: if the bus breaks or a terminator is missing, the signal is reflected and the whole segment stops working; only one node can transmit at a time (collisions); speed drops sharply as nodes are added; faults are hard to locate.
Where: coaxial Ethernet of the 1980s–90s; today the logical bus idea lives on in the CAN bus in cars and in industrial buses.
How it works: in a full mesh each node is connected directly to every other node; in a partial mesh there are several paths only between important nodes. If one path is cut, the data goes another way.
Advantages: the highest reliability and redundancy; the load is spread across paths; a dedicated channel between every pair.
Disadvantages: very expensive: in a full mesh the number of cables is n·(n−1)/2, and each device needs n−1 ports; setup and management are complex.
Where: the Internet backbone and providers’ routers (partial mesh), data centers, “Wi-Fi mesh” systems for the home, military and emergency communication networks.
How it works: several topologies are combined. The most common is the tree (hierarchical star): each floor has a star (a floor switch), and the floor switches are connected to the building’s central switch. Another example is a star inside each branch, with a ring or partial mesh between branches.
Advantages: the best-suited solution for each part; a large network is easy to expand step by step; a balance of reliability and cost.
Disadvantages: complex to design and document; if a higher-level switch fails, the whole “branch” is cut off (so a backup is placed at the upper level).
Where: a university campus, an enterprise, a hospital — in practice almost all large networks are hybrid.
Simulator: topology lab
Choose a topology and change the number of nodes. Then click a cable to cut it (it turns red) or click a device to turn it off. “Send packet” carries a packet along the shortest working path. The counter below shows how many pairs are still connected.
:ik-tarmoq: Topology lab
Calculation: cables and ports
| Topology | Number of cables | Ports on one computer | Central device | Cables at n = 10 |
|---|---|---|---|---|
| Star | n | 1 | switch, n ports | 10 |
| Ring | n | 2 | none | 10 |
| Bus | 1 bus + n connections | 1 | none (2 terminators) | 1 + 10 |
| Full mesh | n·(n−1)/2 | n−1 | none | 45 |
General comparison
| Criterion | Star | Ring | Bus | Mesh | Hybrid |
|---|---|---|---|---|---|
| Cost (cables, ports) | medium | low | lowest | highest | medium–high |
| If one cable is cut | 1 device is cut off | the ring stops (with a dual ring — no) | on a bus — everything | not noticeable | a part may be cut off |
| Single point of failure | the center | every node | the bus cable | none | the upper-level switch |
| Expansion | easy | hard | easy, but speed drops | hard and expensive | easy |
| Finding faults | easy | medium | hard | complex | medium |
| Use today | almost all LANs | MAN optical rings | industrial and automotive buses | Internet backbone, Wi-Fi mesh | campus, enterprise |
Common mistakes
| Error | Correct answer |
|---|---|
| “If the cables form a star, the logical topology is a star too” | With a hub — logically a bus; with a MAU — a ring. The logical topology is determined by how the signal moves. |
| “Mesh is the best — we should build it everywhere” | A mesh is reliable, but n·(n−1)/2 cables is very expensive. Usually only the backbone (the important part) is made a mesh. |
| “A star never fails” | If the center goes down, everyone is cut off. In important networks the center is backed up. |
Counting mesh cables as n·n or n·(n−1) | Each cable connects two nodes: n·(n−1)/2. The number of ports, on the other hand, is n·(n−1). |
| “A ring means computers placed in a circle” | Topology is not the shape of the layout but the connection scheme. Even if the computers stand in a row, their connection can be a ring. |
| Thinking that on a bus only the cut spot stops working | The reflected signal corrupts the whole segment — that is why terminators are mandatory. |
Reinforcement
// REMEMBER IN 1 MINUTE
- Topology is the scheme of connecting nodes and channels; physical (cables) and logical (signal path).
- Hub: physical star + logical bus. Switch: star + star. Token Ring: star + ring.
- Star: an edge cut — 1 device, a center failure — everything.
- Simple ring: one break — the whole ring; a dual ring provides a backup.
- Bus: cheap, but if the cable breaks — the whole segment.
- Mesh:
n·(n−1)/2cables, the most reliable and the most expensive. Hybrid — a practical compromise.
Final test
Review questions
What is meant by network topology?
The scheme of how network nodes and the communication channels connecting them are arranged and connected.
What is the difference between physical and logical topology?
Physical — the actual connection of cables and devices; logical — the path of signal movement and the rules for accessing the medium.
Give two examples where the physical and logical topologies differ.
Ethernet with a hub: physical star, logical bus. Token Ring: physical star (MAU), logical ring.
What are the advantages and disadvantages of the star topology?
Advantage: faults are isolated, expansion and diagnostics are easy. Disadvantage: the center is a SPOF, more cable, a limited number of ports.
How does the ring topology work, and what is its weak point?
Data is passed from node to node in one direction (often with a token). In a simple ring one break stops the whole ring; the solution is a dual ring.
Why are terminators needed in a bus topology?
So that the signal is not reflected back from the end of the cable and does not corrupt transmissions.
Derive the formula for the number of cables in a full mesh.
Each node is connected to n−1 others: n·(n−1) ends; each cable has two ends — n·(n−1)/2.
What advantage does a partial mesh have over a full mesh?
Backup paths are built only between important nodes — reliability is high, while the cost is much lower.
Why are large networks usually hybrid?
The most suitable topology is chosen for each part: a star on the floors, a ring with backup or a mesh in the backbone — a balance of cost and reliability.
Independent work
Independent-work topic from the course syllabus: “Packet transmission, network topologies and network efficiency” (6 hours). The part related to this lesson is choosing and justifying a topology.
- Choose a topology for the object in your variant and draw its physical diagram (in draw.io or Cisco Packet Tracer).
- Calculate the number of cables and switch ports; also calculate how many cables a full mesh would need, and compare.
- Analyze at least 3 failure scenarios: “what gets cut, how many users are affected, what backup can be added?”
- Justify your choice by the criteria of Table 3.3 (cost, reliability, expansion, diagnostics).
| Criterion | Points |
|---|---|
| The topology diagram is drawn correctly and clearly | 2 |
| The cable and port calculation is correct and compared with a mesh | 1 |
| Failure scenarios are analyzed and a backup is proposed | 1 |
| The choice is justified by the criteria | 1 |
Summary
Your lesson results
Your results are saved in this browser. Read all the sections and complete the exercises and assignments.