A2.2.1 · Network architecture
Network Topologies
A home WiFi network with five devices and a hospital's life-critical monitoring network would make very different choices about how their devices actually connect to each other, and both choices would be right for their own situation.
Explainer
A network topology is the layout of how the devices (nodes) in a network are physically connected to each other.
Star topology
Every device connects only to one central device, usually a switch, which relays everything between them. This is the shape of most home and small-office networks.
Mesh topology
Every device connects directly to every other device. There is no single central point at all, which is exactly the point.
Hybrid topology
Two or more different topologies combined into one network, each part contributing the strength it's best at. A common shape: several switches meshed together to form a resilient backbone, each one then running its own star of ordinary devices.
Explainer
Comparing all five factors
The statement names five specific factors a comparison must cover. A "describe" answer that only mentions cost, or only mentions reliability, is incomplete.
| Factor | Star | Mesh | Hybrid |
|---|---|---|---|
| Reliability | Whole network fails only if the central switch fails; a single device failing affects only that device | Very high, no single point of failure at all, traffic reroutes around any broken link | High, a failure usually only affects the local section it happened in |
| Transmission speed | Good, no device competes with another for its own private line, but whatever the central switch can handle sets the overall ceiling | Can be very fast, but depends on how many hops data has to take between distant nodes | Depends entirely on the specific mix chosen, poor design anywhere can create a bottleneck |
| Scalability | Limited by the switch's fixed number of ports | Expensive to extend, new cabling and connections are needed to every existing node | Generally the most flexible, since new devices can join whichever section suits them best |
| Data collisions | Low, since each device's traffic travels down its own private line to the switch, not shared with anyone else's | Low, direct connections mean less competition for the same path | Depends on the specific mix, but generally kept low by the same properties as its component topologies |
| Cost | Low for a handful of devices, since only short runs to one central point are needed | High, every device needs its own cable run to every other device it connects to | Varies widely, often higher overall due to combining and managing more than one design |
Worked example
Matching a topology to a real setting
The command term is "describe... practical applications," and a topology's real value only shows up once it's actually applied to a setting with genuine constraints.
Setting 1: a family's home network. Eight devices total, a modest budget, and a single WiFi router already sitting in the lounge.
Setting 2: a hospital's critical patient-monitoring network. Losing connectivity for even a few seconds during a procedure is unacceptable, no matter the extra cost.
Setting 3: a college campus spanning several buildings. Thousands of devices overall, but manageable numbers within any one building, and the whole campus needs to keep functioning even if one building's own network hiccups.
Check your understanding
A national air-traffic-control network absolutely cannot afford total connectivity loss if any one piece of equipment fails, and cost is a secondary concern compared to that requirement. Which topology best fits, and why?
Common mistake
RecurringA common weak answer claims that in a star topology, ANY device failing brings down the whole network. This is only true of the central switch. If one of the ordinary connected devices fails, every other device is completely unaffected, only that one device is cut off.
Overstates the risk: "A star topology is unreliable because if any device fails, the whole network goes down." True only for the central device; treats a completely different, much less serious failure as if it were the same thing.
Distinguishes the two cases: "In a star topology, if an ordinary device fails, only that device is affected. If the central switch fails, the entire network goes down, since every device's connection runs through it." Correctly separates the two very different failure scenarios, which is what the statement's own emphasis on visualising node failure is actually testing.
Linking question
How this connects to the rest of the syllabus
The IB syllabus is deliberately woven together, not a stack of isolated topics. Here's how network topologies connect specifically to A4 (machine learning), worth thinking through, not just memorising: it's the kind of synthesis a Paper 1/2 question can genuinely ask for.
How do network topologies influence machine learning algorithms? (Training a machine learning model across many machines at once, distributed training, depends heavily on how those machines are connected: a mesh-like arrangement lets machines exchange updates directly and often trains faster, while a star-like arrangement funnels everything through one central coordinator, which can become the exact same kind of bottleneck a star topology has for ordinary network traffic.)
Revision questions
Past-paper style. Write an answer, then reveal the marking points and mark yourself.
[2]Describe what happens to a star network if a single ordinary device fails, compared to if the central switch fails.
Marking points
评分要点
- If a single ordinary device fails, only that device loses its connection; every other device carries on normally.
- If the central switch fails, the whole network goes down, because every device's connection runs through it.
- 如果一台普通设备故障,只有那台设备失去连接;其他每台设备照常运行。
- 如果中央交换机故障,整个网络瘫痪,因为每台设备的连接都经过它。
[3]Explain why a mesh topology is generally more expensive to scale than a star topology.
Marking points
评分要点
- In a mesh topology every device needs a direct link to every other device, so the number of connections grows very quickly as devices are added.
- Each new device needs new cabling and a connection to every existing node, which is costly.
- In a star topology a new device only needs one cable to the central switch, so extending it is much cheaper (until the switch runs out of ports).
- 在网状拓扑中,每台设备都需要一条直连到其他每台设备的链路,所以随着设备增加,连接数增长得非常快。
- 每台新设备都需要新的布线和到每个现有节点的连接,代价很高。
- 在星形拓扑中,一台新设备只需要一条到中央交换机的电缆,所以扩展便宜得多(直到交换机端口用完)。
[4]A growing company is expanding from one office to three separate office buildings on the same street. Recommend a suitable network topology and justify your answer.
Marking points
评分要点
- Recommend a hybrid topology: a star within each of the three buildings, with the three buildings' switches connected together (for example meshed) to form a resilient backbone.
- Justify: a star per building is cheap and easy to run for the devices in one building; connecting the buildings with a small mesh backbone means the network keeps working even if one link between buildings fails.
- A pure mesh across all devices would be far too expensive; a single star spanning three buildings would have one central point of failure and long cable runs.
- 推荐混合拓扑:三栋楼中每一栋内部用星形,三栋楼的交换机连接在一起(例如网状连接)构成有韧性的骨干。
- 论证:每栋楼用星形,对一栋楼内的设备来说便宜、好维护;用一个小的网状骨干连接各楼,意味着即使楼与楼之间一条链路故障,网络仍能运行。
- 对所有设备用纯网状会太贵;跨三栋楼的单一星形会有一个中央单点故障和很长的布线。
Flashcards
Active recall for this statement’s key terms.
Keep this statement’s practice with you
Free account: unlock every revision question and flashcard for A2.2.1, and every other IB CS 2027 statement.