GCSE · Computer Science · Edexcel · Spec 1CP2
4-layer TCP/IP model
You press send on an email. It gets split up, numbered, addressed and wrapped, layer by layer. Then the other end undoes every step.
Computer Science · Networks
Follow one email through the stack
Step it down the four layers, then watch it come back up at the other end.
Press Next to send the email down the sender's layers. Before each step, guess what that layer will add.
Message: Hi Sam, see you at 5!
Output
Step 1: The email client hands the message to the application layer. This layer prepares it for sending across the network.
Look at the chips below the path. 'Unit' tells you what the data is called at that layer.
Computer Science · Networks
Which layer does each protocol live in?
Place each protocol at the layer where it operates.
Still to sort
Application layer (0)
Handles data directly from user applications such as web browsers or email.
Where the line is: If it deals with data from the user's application, it's here, not further down.
Transport layer (0)
Splits data into segments and states the port number.
Where the line is: If it is about how segments are delivered, it's here.
Internet layer (0)
Packages segments into IP packets so they can be routed across networks.
Where the line is: If it is about addressing packets for routing, it's here.
Link layer (0)
Moves packets across each individual link, using frames.
Where the line is: If it depends on the technology of the link, it's here.
Pick a protocol, then pick its layer.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
Four layers wrap your data on the way out and unwrap it on the way in.
What you need to know
- Protocols are shared rules that let devices communicate, no matter who makes them.
- Network protocols sit in layers on top of each other, called a protocol stack, with different protocols at each layer.
- TCP/IP is a conceptual four-layer model and a set of protocols: application, transport, internet, link, from top to bottom.
Have a goYour mate says, 'TCP/IP? That's just two protocols, TCP and IP, easy.' Prove them wrong: list the model's layers from top to bottom.
Application, transport, internet, link.
The name suggests two protocols, but TCP/IP is a four-layer model plus a set of protocols.
- The application layer prepares data from apps such as browsers or email, and decodes what arrives. Protocols include HTTP, HTTPS, IMAP, SMTP, POP and FTP.
- The transport layer splits data into segments, gives each a header with its segment (sequence) number, and states the port number used for sending and receiving.
Have a goA long email reaches the transport layer. What does it get split into, and which number does each piece's header carry?
Segments. Each header carries the segment (sequence) number.
Splitting into segments and numbering them is the transport layer's job. The internet layer works on segments after that, not on the raw data.
- The transport layer's protocols are TCP, for reliable delivery in order, and UDP, which is faster but less reliable.
- The internet layer (sometimes called the network layer) packages segments into IP packets, with the sender's and receiver's IP addresses in the header. Its protocols include IP.
- The link layer wraps IP packets in frames with the next device's MAC address. Its protocol depends on the link: Ethernet for wired, Wi-Fi for wireless.
Have a goA laptop sends over a cable. A phone sends over wireless. At the link layer, which protocol would each use?
Ethernet for the cable (wired). Wi-Fi for the wireless.
The link layer's protocol depends on the technology used for that link, so it isn't the same for every device.
- Encapsulation: sending data passes down the layers, and each layer accepts data from above and adds extra information to help with delivery.
- Decapsulation: at the receiver the data moves up, and each layer removes the extra information its matching layer added.
Have a goAt the receiver, the transport layer removes a header. Which layer added that header, and did the receiver add anything new?
The sender's transport layer added it. The receiver added nothing.
Each layer only removes what its matching layer added, so the layers at the receiver remove rather than add.
The big picture
The TCP/IP model has four layers: application, transport, internet and link. Going down, each layer adds extra information (encapsulation). At the receiver, going up, each layer removes what its matching layer added (decapsulation).
Key points
Worked example
Problem
One segment has just left the transport layer on the sender. Describe what it looks like after it passes through the internet layer and then the link layer, and what the receiving device does to it.
⚠ Watch out
Mixing up what goes where. Segment (sequence) numbers and port numbers belong to the transport layer, IP addresses to the internet layer's packets, and the MAC address of the next device to the link layer's frames.
Memory hook
Down is wrapping, up is unwrapping. Think of posting a parcel: you wrap it in layers at your end, and the other person removes the same layers in reverse order.
Check yourself
Cover the page. Name the four layers from top to bottom, say what each one adds on the way down, then say what happens to all of it at the receiver.
Flashcards
(13)What is a protocol?
What is a protocol stack?
Name the four TCP/IP layers, top to bottom.
What does the application layer do?
Which protocols sit at the application layer?
What does the transport layer do to the data it accepts?
TCP versus UDP?
What does the internet layer make, and what is in the header?
Another name for the internet layer, and its protocol?
What does the link layer wrap packets in, and which address goes in the header?
Which protocol does the link layer use?
What is encapsulation?
What is decapsulation?
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 Edexcel GCSE Computer Science topics
How this lesson was checked. This Edexcel GCSE Computer Science (specification 1CP2)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 21 November 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.