Bitpath

Lesson 1 · Unit 01

Layers

Envelopes inside envelopes: what each layer adds

12 exercisesabout 3 min

What you practise

  • Link, internet, transport, application
  • Encapsulation as envelopes inside envelopes
  • What each layer's header adds
  • Packets, not circuits

Try a question from this lesson

Pick one

You upload a 3 MB photo to a server in another country. How does it cross the internet?

The ideas

Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.

Concept

Four layers, four jobs

Networking is split into layers. Each does one job and trusts the layer below to do its own.

The top layer decides what to say. The next picks the program that should hear it, the next the machine, and the bottom one moves bits to the next device on the way.

Application  HTTP, DNS   what to say
Transport    TCP, UDP    which program
Internet     IP          which machine
Link         Wi-Fi, Eth  the next hop

Concept

Envelopes inside envelopes

Going down the stack, each layer wraps what it receives in its own header. The receiver unwraps in the opposite order, and each layer reads only its own header.

A header holds what that layer needs: ports for TCP, addresses for IP, the next hop's hardware address for the link.

[Link hdr [IP hdr [TCP hdr [ HTTP ]]]]

 next hop   machine  program  message

9 more exercises in the app

  • 3× type the answer
  • 2× multiple choice
  • 1× fill the blanks
  • 1× order the lines
  • 1× match the pairs
  • 1× true or false

Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.

One email when Bitpath is ready to try. Nothing else. Privacy