Networks: topologies, hardware and the client-server model
A-Level Computer Science · Communication
LAN and WAN
A LAN covers one site and the organisation owns the cabling; a WAN spans sites and uses third-party infrastructure. The ownership difference is what drives the cost and security differences.
Topologies
Bus: one backbone, cheap, but a break kills the whole network and collisions rise with traffic. Star: every node to a central switch — one failed cable affects one node, but the switch is a single point of failure. Mesh: many paths, extremely resilient, expensive to cable. Hybrid mixes them, which is what real buildings use.
Hardware, precisely
A hub broadcasts to every port; a switch learns MAC addresses and forwards only to the destination port — less traffic and harder to eavesdrop. A router connects different networks and forwards by IP address. A NIC holds the MAC address. A gateway joins networks that use different protocols.
Client-server and peer-to-peer
Client-server centralises data, backup, access control and updates, at the cost of a server and of failing all at once. Peer-to-peer needs no server and scales cheaply, but backup and security are each user's problem. Choose by asking who must control the data.
Wireless
Wi-Fi trades speed and security for mobility; interference, walls and shared bandwidth all cut real throughput. Bluetooth suits short-range, low-power pairing. Encryption (WPA) matters more on wireless precisely because the signal leaves the building.
Worked example: choosing a topology and devices for a computer lab
A school connects $40$ computers across three rooms, sharing one network printer and one server that stores students' work. The budget is limited but the requirements are: one failed computer must not disrupt the others, and teachers must be able to control file access.
Propose a topology, devices and a network model, explaining each according to the stated requirements.
Solution
Topology: a star in each room, with three switches connected to one central switch (hybrid). The requirement "one failed computer must not disrupt the others" rules out a bus immediately, because a bus shares a backbone. A mesh would meet it, but with $40$ computers cross-connected the cabling cost far exceeds the school's budget.
Device: a switch, not a hub. A hub broadcasts packets to every port, so in a lab where $40$ people submit work at once the excess traffic is very large, and any computer can hear another computer's data. A switch learns MAC addresses and forwards only to the destination port. A router is also needed to reach the Internet.
Model: client-server. The requirement "teachers control file access" decides this. Peer-to-peer has no central place to set permissions, and work would be scattered across $40$ computers so it could not be backed up. A server allows accounts, permissions by class and backup in one place.
Weakness that must be stated. The server and the central switch are single points of failure: if either fails, all three rooms stop. If the budget allows, there should be a standby central switch and a daily server backup schedule. Stating the drawback together with a way to reduce it is where the assessment marks are earned.