AQA 7517, section 4.9.2.1
The topology of a network is its layout. There are two meanings, and you need to tell them apart.
- Physical topology: how the devices are physically cabled (or placed) together.
- Logical topology: how the data actually flows between devices.
The two don't have to be the same.
Physical star topology
In a physical star network, every device is connected by its own cable to a central device, a switch (or hub).
How it operates
- Each device sends its data to the central switch, which forwards it to the right device.
- A switch looks at the destination (MAC) address and sends the data only to the device it is meant for. A hub just copies everything to all the ports.
Advantages
- If one cable or device fails, the rest of the network keeps working.
- Easy to add or remove devices: plug in another cable.
- Easy to find faults, since each device has its own link.
- With a switch, devices don't have to compete for the cable, so performance is good and security is better, because data isn't sent everywhere.
Disadvantages
- If the central switch fails, the whole network stops (a single point of failure).
- It needs more cable than a simple bus, and the switch costs money.
Logical bus topology
In a logical bus network, all the devices share a single communication path (a "bus"). Each frame of data sent by a device is seen by all the devices on the bus. Each device checks the address on the data, and accepts it only if it is meant for it.
- Only one device can transmit at a time. If two transmit together, their signals collide, and both must wait a random time and try again.
- A bus protocol controls access to the shared medium, so that devices take turns (such as listening for a free line before sending, and detecting collisions).
A traditional physical bus wires all devices to a single backbone cable with a terminator at each end:
A physical bus is also a logical bus, since the single cable is the shared medium.
A physical star behaving as a logical bus
A network that is physically wired as a star can still behave logically as a bus.
If the central device is a hub, it receives data from one port and repeats it out of all the other ports. Every device sees every frame, and only one device can send at a time, which is exactly how a bus works. The devices use a bus protocol to share the medium, and the physical switching (the hub) makes the star act like a single shared bus.
This was how early Ethernet networks were built. The star wiring brought the advantages of easy installation and fault tolerance (a broken cable only disconnects one device), while the logical bus gave a simple protocol.
A modern switch is different: it sends frames only to their destination, so it behaves as a logical star (point to point), with far fewer collisions.
Comparison
| Physical star | Logical bus | |
|---|---|---|
| What it describes | The cabling layout | How data flows |
| Shape | Devices around a central switch or hub | All devices share one medium |
| Who sees the data | A switch sends only to the destination | Every device sees every frame |
| Sending | Can be several at once (switch) | One at a time, with collisions possible |
| Needs a bus protocol? | Not with a switch | Yes |
Worked example
Task: an office network is wired with a cable from each computer to a central hub. Describe its physical and logical topology, and state what happens if one cable is cut.
- Physical topology: a star, because each device has its own cable to a central point.
- Logical topology: a bus, because the hub repeats every frame to all devices, so all share the medium and only one can transmit at a time.
- If one cable is cut, only that device loses its connection. The others carry on, which is an advantage of the star wiring. If the hub fails, the whole network goes down.
Exam tip: state clearly which meaning you are using. Physical is about the cables, logical is about how data moves. For a star behaving as a bus, say the hub sends every frame to all devices, so they share one medium and use a bus protocol.
Check yourself
What is the difference between physical and logical topology?
Physical topology is the layout of the cables and devices. Logical topology is how data actually flows through the network.
Give one advantage and one disadvantage of a physical star topology
Advantage: if one cable or device fails, the others keep working. Disadvantage: if the central switch or hub fails, the whole network stops.
How can a physical star network behave as a logical bus?
If the central device is a hub, it repeats every frame to all the other ports, so all devices share the medium, one transmits at a time, and a bus protocol is used.
What happens in a bus network if two devices transmit at the same time?
The signals collide, so both devices must wait a random time and try again.