Draw the shape of a network
Somebody trips over a cable in the IT room. Does one PC go offline, or the whole college? It depends on the shape.
You can join six computers in many ways. Put one box in the middle and join every computer to it. Or join every computer to every other one. Each shape works differently when a cable breaks. A network is a group of computers joined together. A topology is the shape of a network.
Key words
| Word | What it means | Example |
|---|---|---|
| Topology | The shape of a network: how its devices are joined. | Star, mesh, tree |
| Network | Computers joined to share data. | The college network |
| Star | Every device cabled to one central device. | An office with one switch |
| Mesh | Devices with many links between them, giving many paths. | The middle of the internet |
| Tree | Stars joined in layers, like branches. | A large college |
| Switch | A box that joins network cables and passes data to the right device. | The box in the network room |
| Physical topology | The real layout of devices and cables. | What you can see |
| VLAN | Virtual LAN: one switch split into separate networks. | Staff and visitors |
| Logical topology | How the data flows from one device to another. | Staff PCs and visitor PCs kept apart |
The cells students fill in are left blank in this preview.
Match the shape to its picture in words
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
A star network
flowchart TD
sw(["Central switch"])
sw --- a["PC 1"]
sw --- b["PC 2"]
sw --- c["PC 3"]
sw --- d["Printer"]
sw --- e["Server"]
A full mesh of four
flowchart LR
a["A"] --- b["B"]
a --- c["C"]
a --- d["D"]
b --- c
b --- d
c --- d
A tree network
flowchart TD
root(["Main switch"])
root --- s1(["Switch: floor 1"])
root --- s2(["Switch: floor 2"])
s1 --- p1["PC"]
s1 --- p2["PC"]
s2 --- p3["PC"]
s2 --- p4["Printer"]
Which shape is it?
Have a go
Which shape is it?
4 questionsWhat each shape does well and badly
| Topology | Benefits | Drawbacks |
|---|---|---|
| Star | Easy to add a device. One broken cable affects one device. Easy to manage from the centre. | If the central switch fails, the whole network fails. It needs a lot of cable. |
| Mesh | Very reliable: many paths. Data can go around a fault. | Costs a lot. Many cables and ports. Hard to set up and manage. |
| Tree | Grows easily. Each branch can be managed on its own. | If the main switch fails, whole branches lose the network. You must buy more switches. |
The cells students fill in are left blank in this preview.
Try it: links in a full mesh
# In a full mesh, every new device links to every device already there.
devices = 6
links = 0
for new_device in range(1, devices):
links = links + new_device
print(new_device + 1, "devices: links =", links)
# Change 6 to 10. See how fast the links grow.
Make a free account to save your work and track your progress.
Cables show one shape, data flow another
The physical topology is the real layout: where the devices and cables are. You can see it.
The logical topology is how the data flows between devices. You cannot see it by looking at the cables.
One switch with every computer cabled to it is a physical star. But the settings can keep staff computers and visitor computers apart. Logically, they are two separate networks.
Physical or logical?
| Question | Physical | Logical |
|---|---|---|
| What does it describe? | Cables and devices | Data flow and groups |
| Can you see it? | Yes, in the network room | No, only in settings and diagrams |
| Example | Ten PCs cabled to one switch | Staff PCs and visitor PCs kept apart by settings |
| Changed by | Moving cables | Changing settings |
The cells students fill in are left blank in this preview.
Extra: Look at one switch and its computers
vlanlab statusA command for the lesson’s lab terminal. It is shown here and not run.
Extra: Can the other group hear the server?
sudo ip netns exec h20 arping -c 2 -I eth0 10.10.0.100A command for the lesson’s lab terminal. It is shown here and not run.
Extra: What the lab shows
Note
Physically, all the computers are cabled to one switch: a star. Logically, they are meant to be two networks, in two VLAN groups. Notice that the server still answers the other group. The switch has not been told yet, so every computer can hear every other. Making them two is the lab's own task.
Your turn: draw a star network
The college computer room has a switch, a server, a printer and five student PCs. The diagram has the switch and one PC.
- Add the other devices. Join each one to the switch. This is a star network.
- Add a second switch for the library. Join it to the first switch.
- Add one more box at the bottom. Write in it the name of the topology you have now.
flowchart TD
sw(["Switch"])
sw --- pc1["PC 1"]
Make a free account to save your work, or press Start lab to work through the whole lesson.
True or false?
Have a go
True or false?
5 questionsFinal check
Have a go