GCSE · Computer Science · AQA · Spec 8525
Four-layer TCP/IP model
Post a parcel and it gets wrapped, labelled, then unwrapped at the other end. Data crossing a network goes through much the same routine, in a strict order.
Computer Science · Networks
Follow one message down, then back up
Eight steps: four down the sender's stack, four back up the receiver's. All the addresses and numbers are made-up examples.
Before you press Next, guess: as the data goes down the stack, does it get bigger or smaller? Step through and check.
Message: We follow segment 2 of 3. Example values: sender IP 192.0.2.10, receiver IP 198.51.100.7, next node's MAC AA:BB:CC:00:11:22, port 6000.
Output
Step 1: Start at the top. The application layer is the one programs like web browsers use, and it prepares the data for sending. Right now it's just the data, nothing wrapped round it.
Step through the trace — every value is the lesson’s, not run by the page.
Computer Science · Networks
Which layer does each protocol work at?
Sort the nine protocols into the layer where each one operates. Commit first, then read why.
Still to sort
Application (0)
The layer used by programs such as web browsers
Transport (0)
The layer that splits data into segments
Where the line is: Segments belong here. IP packets belong one layer down, at the internet layer.
Internet (0)
The layer that builds IP packets
Where the line is: Notice the name TCP/IP: only one of those two protocols works at this layer.
Link (0)
The layer that carries packets across each link
Nine protocols, four layers. The name TCP/IP is trying to trick you on one of them.
Predict, then check
Segments can arrive in a different order from the one they were sent in. Which header information gets the message back together?
The receiver has a pile of segments in the wrong order. Which header information lets it rebuild the message and know it has them all?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
How a message gets wrapped on the way out and unwrapped, in reverse, on the way in.
What you need to know
- TCP/IP is a conceptual model: four layers, each responsible for a different aspect of network communication.
- The layers stack up like this, top to bottom: application, transport, internet (sometimes called network), link.
Have a goYour mate confidently writes the stack as application, link, internet, transport, then asks you to check it. Which two layers need to swap places?
Link and transport. The stack is application, transport, internet, link.
Link is the bottom layer, so it goes last, and transport sits directly under application. Your classmate flipped the middle-to-bottom order.
- Up top, the application layer is what programs like web browsers use. It prepares data to send and decodes received data for the user.
- Next, the transport layer chops data into segments. Each header carries a segment number, the total and the port number.
Have a goA message gets chopped into 4 segments. Segment 3's header shows its own number. What total does it show?
4, in every one of the segments.
The header holds this segment's own number and the total for the whole message, so the total is the same in every segment.
- The internet layer packs segments into IP packets holding the sender's and receiver's IP addresses, so they can be routed.
- At the bottom, the link layer carries packets across each link, adding a header with the next node's MAC address.
- Sending is encapsulation: data goes down the stack and every layer adds extra information to help delivery.
- Receiving is decapsulation: everything reverses, data goes back up, and each layer takes off what was added.
Have a goThe receiving device's link layer has just taken its header off. Which layer gets the data next?
The internet layer.
Receiving runs back up the stack, so the next layer above link is internet, not application at the top.
- Different jobs, different addresses: IP addresses deliver between networks, MAC addresses between devices on the same local network.
The big picture
Data sent across a network is passed down a four-layer stack (application, transport, internet, link). Each layer adds the information needed to deliver it, which is called encapsulation. The receiving device reverses the process, removing that information layer by layer until the original data is left, which is called decapsulation.
Key points
Worked example
Problem
A receiver strips three labels off a message, but they've been jumbled: "segment 1 of 4", "next node's MAC address" and "sender and receiver IP addresses". Match each label to the layer that added it, then put the labels in the order the receiver removes them.
⚠ Watch out
Picturing the layers as four devices, or running them top to bottom again at the receiving end. The layers are a conceptual stack: receiving goes link, internet, transport, application, and each layer removes what its counterpart added.
Memory hook
A Tall Igloo Leans: Application, Transport, Internet, Link, from the top down. Wrap on the way down, unwrap in reverse on the way up.
Check yourself
Pick one header from the journey: the segment header, the IP header or the link header. Which layer adds it, what does it hold, and which layer takes it off when the data is received?
Flashcards
(13)What kind of model is TCP/IP, and how many layers does it have?
Name the four TCP/IP layers from top to bottom.
What does the application layer do?
What does the transport layer do to the data it gets from the application layer?
What does the internet layer do?
What does the link layer do, and what is in its header?
What is encapsulation?
What is decapsulation?
Which protocols operate at the application layer?
Which protocols operate at the transport layer?
At which layer does IP operate?
Which layer do Ethernet and Wi-Fi belong to?
Which layer uses IP addresses and which uses MAC addresses?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore AQA GCSE Computer Science topics
How this lesson was checked. This AQA GCSE Computer Science (specification 8525)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 30 October 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.