Intermediate
40 mins
Teacher/Student led
+80 XP

How the Internet Moves Data

Explore how a message travels from your device to a server when loading a webpage. Order the journey steps yourself and observe real network traffic to learn about packets, routers and protocols.

Teacher Class Feed

Load previous activity

    1 - Start ~4 mins

    Illustration for StartSo far your programs have run on the machine in front of you. Today the question is different: when you open a page like met.ie, how does a message leave your device, find a computer somewhere else, and come back as a full page?

    You will put the journey in order yourself, then watch a real page load and see the traffic fly past.

    2 - A Message Leaves Your Device ~6 mins

    Picture this. You type met.ie into the address bar. Your device is not holding the weather page. A computer somewhere else is. Your device has to ask for the page, and that computer has to send it back.

    Three ideas will help you put the journey in order:

    • Server: the computer that holds the page and sends it when asked
    • Packets: small chunks the message is split into, each carrying a piece of data plus the address of where it is going
    • Routers: machines along the way that pass packets on, choosing the next hop each time

    Devices only understand each other because they follow agreed rules, so the pieces make sense at the other end. You will meet the name for those rules later.

    You already know enough to put the journey in order. Next you will try.

    3 - Hands-on: Put the Journey in Order ~13 mins

    Open the interactive activity. You will see the steps a message takes when you load a page, but they are jumbled.

    Drag the cards into the order you think really happens, from the moment you enter the address to the moment the page appears. When you are happy with your sequence, check it. If a card is in the wrong place, move it and try again.

    When your sequence is correct, answer the two prompts at the end in your head before we move on.

    How your message crosses the internet

    4 - Watch: a Real Page Load ~11 mins

    Now watch the same journey happen for real. Most of you will watch on the board; opening the tools yourself is optional extension.

    Your teacher will open a simple page (met.ie, a GAA club page, or the school site) with the Network tab visible and reload it so the class can see the list of requests fill up. After each reload, talk briefly with the person beside you and be ready to call out what you noticed.

    As you watch, note three things:

    1. Approx. number of requests: roughly how many rows appeared
    2. One file type spotted: for example a picture, a stylesheet, or a script
    3. Slowest request time: how long the slowest row took

    Be ready to share one surprise with the class.

    Extension (if your device can open the tools and you finish early): open the Network tab yourself, reload a simple page, and check the same three notes against what you saw on the board.

    Exploration

      5 - Make Sense ~3 mins

      Pull the two parts together. A page load is not one file sliding down a wire. Your browser finds the server's address, your device splits the request into packets, routers hop those packets across the network, the server replies, and the packets are rebuilt into the page you see.

      Those agreed rules you met earlier are called protocols: a shared plan for how to start a conversation, how to split and label data, and how to put it back together at the far end. One everyday example is HTTP, the rule your browser follows when it asks a server for a page.

      The Network tab showed a related idea in the wild: one address you typed became many separate requests (a page, images, scripts), each travelling as its own message made of packets.

      In your own words, what job does a protocol do?

      123learn · Online learning platform

      Unlock the full learning experience

      You're previewing this lesson. Get full access to this lesson and hundreds more — each one ready to teach, with interactive activities, printable resources and pupil progress tracking built in.

      Hundreds of curriculum-aligned lessons
      Interactive activities in every lesson
      Printable resources & progress tracking
      Copyright Notice
      This lesson is copyright of Coding Ireland 2017 - 2025. Unauthorised use, copying or distribution is not allowed.
      🍪 Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more