GCSE · Computer Science · OCR · Spec J277

Concept of layers (TCP/IP 4-layer model)

A message doesn't just leap across the internet. It goes down through layers, picks up extra information, then gets unpacked on the other side.

Computer Science · Networks

One message, down the stack and back up

A web browser sends a message. Press Next to follow it down the sender's layers, then up the receiver's.

Message: a message from a web browser

Send: Application→Send: Transport→Send: Internet→Send: Link→Receive: Link→Receive: Internet→Receive: Transport→Receive: Application
Layer=ApplicationData is now=application data

Output

Application: data prepared and sent down

Step 1: The journey starts at the top. A web browser uses the application layer, whose protocols prepare the data and send it.

1 / 8

Each step shows what the data is now and what that layer adds or takes off.

Step 1 of 8: The journey starts at the top. A web browser uses the application layer, whose protocols prepare the data and send it..

Computer Science · Networks

Stack them up

Put the four layers of the TCP/IP model in order, starting with the layer at the top of the stack.

1 · Top of the stack4 · Bottom of the stack
  1. Transport layer

  2. Link layer

  3. Application layer

  4. Internet layer

Computer Science · Networks

Which layer does it work at?

Pick a protocol, then pick the layer it works at.

Still to sort

Application layer (0)

Used by applications such as web browsers

Transport layer (0)

Breaks data into segments and states the port number

Internet layer (0)

Packages segments into IP packets

Link layer (0)

Carries IP packets across each individual link

11 of 11 still to sort.

Computer Science · Networks

Who adds the addresses?

Your data has been split up and is on its way down the stack. Somewhere along the way it gets the sender's and receiver's IP addresses.

Which of these is closest to what you think?
How sure are you?

Computer Science · Networks

?

Reason it through

Why are network protocols organised into layers?

Link 1 of 3

First link · your turn

Sending data across a network needs lots of different rules and functions. What does putting protocols into layers do to all that?

2
Locked — reveal the link above first
3
Locked — reveal the link above first

OSI model or TCP/IP model?

OSI modelvsTCP/IP model

Open each row's insight after you have read the two sides.

Focus

Number of layers

OSI model

Seven

TCP/IP model

Four

The insight

Seven versus four is the quickest way to tell the two models apart.

What the internet is built upon

OSI model

Not this one

TCP/IP model

The TCP/IP set of standards and network model

What it is

OSI model

A seven-layer model

TCP/IP model

A conceptual four-layer model and set of protocols for internet communications

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

Follow one message from a web browser down through the layers, across the links and back up the other side.

What you need to know

  • A layer is a level in a model that describes how data is transmitted across a network.
  • Layers sit on top of each other like a stack, which we call a protocol stack. Different protocols work at each layer.
  • TCP/IP is a four-layer model and a set of protocols. They're the main ones computers use to communicate on the internet.
  • From the top, the four layers are application, transport, internet and link.
  • The application layer is used by applications such as web browsers. It prepares data to send and decodes received data for the user.
  • The transport layer breaks data into smaller pieces called segments and states the port number.
  • Have a goA big message has to be split up before it travels. Which layer does the splitting, and what are the pieces called?

    The transport layer, into segments.

    The transport layer breaks the data into smaller pieces called segments. The application layer prepares the data, and the internet layer only packages the segments afterwards.

  • The internet layer packages segments into IP packets. IP packets include the sender's and receiver's IP addresses.
  • The link layer transports IP packets across each individual link between the client and the server. Its protocols depend on the technology used.
  • Have a goYour mate says the link layer must be the top layer, because 'link' sounds like clicking a link. Which layer is actually on top?

    The application layer. Link is the bottom layer.

    From the top the order is application, transport, internet, link. The link layer carries IP packets across the links on the path, nothing to do with links on a web page.

  • Sending: data starts at the application layer and moves down. Each layer accepts data from above and adds extra information to help with delivery.
  • Receiving: data moves up from the link layer to the application layer, and each layer takes off the extra information, revealing the original data.
  • Have a goThe data arrives at the receiving device and works its way up. Which layer is the very last one to deal with it?

    The application layer.

    Receiving runs from the link layer up to the application layer, where the original data is finally revealed and decoded for the end user.

The big picture

Layers stacked on each other form a protocol stack. The TCP/IP model has four, from the top: application, transport, internet and link. Sent data moves down, each layer adding extra information to help with delivery. At the receiving end it moves up, each layer taking that information off to reveal the original data. Layers make a complex job manageable and let different manufacturers' devices communicate.

Key points

1A layer is a level in a model describing how data is transmitted across a network; layers stacked on each other form a protocol stack.
2TCP/IP layers from the top: application, transport, internet, link. The OSI model has seven layers; the internet is built upon TCP/IP.
3Transport makes segments and states the port number. Internet makes IP packets with the sender's and receiver's IP addresses. Link carries IP packets across each link.
4Sending goes down the stack, with each layer adding extra information. Receiving goes up, with each layer taking it off to reveal the original data.
5Protocols are shared rules, so devices from different manufacturers can communicate if they meet the standards and use the appropriate protocols.

Worked example

Problem

A pupil writes: 'When a message is sent, the data starts at the link layer and moves up through the internet and transport layers to the application layer. Each layer takes off extra information as it goes.' Is this a description of sending? Find what is wrong and put it right.

⚠ Watch out

Giving the transport layer a job that belongs to the internet layer. The transport layer makes segments and states the port number. The internet layer makes the IP packets that carry the sender's and receiver's IP addresses.

🧠

Memory hook

Down to send, up to read: layers add on the way down, and peel off on the way up.

✓

Check yourself

Cover the page. Say the layers a sent message passes through, in order, and what the receiving end does on the way back up.

Flashcards

(14)
What is a layer, in a network model?
A level in a model that describes how data is transmitted across a network.
What is a protocol stack?
The layers visualised as sitting on top of each other in a stack.
What is the TCP/IP model?
A conceptual four-layer model and set of protocols for internet communications. Its protocols are the main ones used for communication between computers on the internet.
How many layers does the OSI model have, and what is the internet built upon?
Seven layers. The internet is built upon the TCP/IP set of standards and network model, which has four layers.
The four TCP/IP layers, from the top?
Application, transport, internet, link.
What does the application layer do?
It is used by applications such as web browsers. Its protocols prepare data and send it, and decode received data into a meaningful form for the end user.
What does the transport layer do?
It accepts messages from the application layer as application data, breaks them into smaller pieces called segments and states the port number used for sending and receiving data.
What does the internet layer do?
It receives segments from the transport layer and packages them up into IP packets. It is sometimes called the network layer.
What do IP packets include?
The sender's and receiver's IP addresses.
What is the link layer responsible for?
Transporting the IP packets across each individual link that makes up the path between the client and the server. It is sometimes known as the data link layer.
What do the protocols used at the link layer depend on?
The technology being used to transmit the data.
Name an example protocol at each layer.
Application: HTTP, HTTPS, IMAP, SMTP, POP or FTP. Transport: TCP or UDP. Internet: IP or ARP. Link: Ethernet.
What is a protocol?
A shared rule that allows billions of devices around the world to communicate, no matter who makes them.
Why are network protocols organised into layers?
Layers break complex network processes into smaller, more manageable parts, and protocol stacks let devices from different manufacturers interact, so long as they meet the necessary standards and use the appropriate protocols.

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 posted

More OCR GCSE Computer Science topics

See the full OCR Computer Science curriculum →

How this lesson was checked. This OCR GCSE Computer Science (specification J277)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 14 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.