Networks in depth: protocols, addressing and the cloud
A-Level Computer Science · Operating Systems, Networks and AI
Why protocols are layered
Each layer solves one problem and talks to the layers above and below through a fixed interface. That is what lets Wi-Fi replace Ethernet without touching HTTP, and lets different manufacturers' equipment interoperate.
Protocols worth knowing by name
HTTP/HTTPS for web pages, with HTTPS adding TLS encryption. FTP for file transfer. SMTP to send mail, POP3 and IMAP to retrieve it — IMAP keeps mail on the server so several devices stay in sync, POP3 traditionally downloads and removes. DHCP assigns IP addresses automatically. DNS resolves names to addresses.
IPv4, IPv6 and NAT
IPv4 has $32$ bits, giving about $4\times10^9$ addresses — long since insufficient. IPv6 has $128$ bits. NAT lets many devices on a private network share one public address, which extended IPv4's life and also gives some incidental protection because inbound connections have no direct route to an internal machine.
Network hardware, precisely
A switch forwards by MAC within a network; a router forwards by IP between networks; a gateway joins networks using different protocols; a firewall filters traffic by rules. Naming the wrong device is a guaranteed lost mark.
Client-server versus peer-to-peer, and the cloud
Cloud computing means using someone else's servers over the internet, paid for by use. Benefits: no capital outlay, scales up and down quickly, access from anywhere, and backup handled by the provider. Costs: an ongoing fee that eventually exceeds buying, complete dependence on the connection, and the fact that data now sits under someone else's control and possibly under another country's law. That last point is the one candidates omit.
Worked example: choose infrastructure for a business
A design company has $40$ employees who work with very large graphics files, has two offices and some employees who work remotely. They are considering moving all their data to the cloud instead of buying their own servers.
Analyze and make a recommendation.
Solution
Arguments for the cloud. No capital outlay for servers and no need to hire a system administrator. Remote employees and both offices access the same data store without a complicated VPN. Backups are handled by the provider, and storage can grow immediately when a project gets bigger.
Arguments against — and the detail 'very large graphics files' is the deciding one.
Opening or saving a file of several gigabytes over the internet is far slower than over a local network. For a design company, time spent waiting for files is time employees sit idle, and that cost does not appear in the cloud service's price list.
Connection risk: if one office loses its internet connection, that whole office can do nothing — whereas with a local server they would carry on working normally.
Long-term cost: monthly rental fees for large capacity accumulate and can exceed the cost of buying a server after a few years. The specific break-even point needs to be calculated rather than compared by gut feeling.
Control of data: clients' design files sit on third-party infrastructure, possibly in another country with a different legal framework. Some clients have clauses that forbid this.
Recommendation: a hybrid model. Keep storage servers at each office for working files — where speed determines productivity — and use the cloud for backups, archiving completed projects, and sharing with remote employees and clients.
Why this is the right answer: it puts each kind of data where it suits that data's characteristics, instead of choosing one option on principle. Accompanying conditions: automatic synchronization between the two offices is needed, and the contract terms with clients about where data is stored should be checked.