AQA GCSE Computer Science (8525), section 3.5 (Fundamentals of computer networks)
Layers
The TCP/IP model divides networking into four layers. Each layer has a specific job and uses the layer below it. Splitting networking into layers makes it easier to design, change and fix, as each layer can be improved without changing the others.
| Layer | Main job | Protocols |
|---|---|---|
| Application | where network applications such as web browsers and email programs work | HTTP, HTTPS, SMTP, IMAP |
| Transport | sets up the communication between two hosts, and they agree settings such as the size of packets | TCP |
| Internet | addresses and packages data for sending; routes packets across the network | IP |
| Link | where the network hardware is, such as the network interface card (NIC); device drivers work here | (hardware) |
Order
From top to bottom: Application, Transport, Internet, Link.
Sending a web request
- Application: the browser creates an HTTP request.
- Transport: TCP splits it into packets and numbers them.
- Internet: IP adds the source and destination IP addresses and finds a route.
- Link: the NIC sends the data as signals across the network.
The receiving computer does the same in reverse, from the link layer up to the application layer.
Memory aid
You could remember the order with a phrase such as All Teachers Inspire Learning (Application, Transport, Internet, Link).
Matching protocols to layers
- HTTP, HTTPS, SMTP, IMAP operate at the application layer.
- TCP operates at the transport layer.
- IP operates at the internet layer.
Common mistake: putting a protocol at the wrong layer, such as saying IP works at the transport layer. Remember: TCP = transport, IP = internet. Also, the link layer is about the hardware, not the cable's colour or length.
Exam tip: learn the four layer names in order, with one job each and the protocols that work at it. Use the order application, transport, internet, link.
Check yourself
Name the four layers of the TCP/IP model.
Application, transport, internet and link.
Which layer does the IP protocol work at?
The internet layer.
What happens at the transport layer?
The two hosts set up communication and agree settings such as packet size, using TCP.