foundation Estimated learning time: 10 h

EC-11.1 Why Networks Are Built in Layers

You can say what problem layering solves, place a given function at the right layer, explain what an interface between two layers promises, and describe what happens to a message as it travels down one stack and up another.

Before:S5-1. Analog and Digital Communication

Networking is the subject where a reader most often learns a list of names without ever being told why the list exists. The layering is not an arbitrary taxonomy: it is what allows a web page to work over radio, fibre and copper without being rewritten for each. Meeting that argument first makes every later topic a case of one general idea rather than six unrelated ones.

Work through these

  • The problem layering was invented to solve

    Without layers, every application would need its own code for every kind of link. Splitting the problem means an application is written once and a new link technology is added once, rather than one for every pairing.

    NPTEL: Computer Networks and Internet Protocol (IIT Kharagpur) · Course
  • The layers, and what each one is responsible for

    Physical carries bits, link carries frames between neighbours, network carries packets between any two machines, transport carries a conversation between programs, and application defines what the conversation means.

    NPTEL: Computer Networks and Internet Protocol (IIT Kharagpur) · Course
  • Interfaces, and what a layer promises the one above

    Each layer offers a service and hides how it is provided. The layer above may rely on the promise and may not rely on the mechanism, which is exactly what lets the mechanism be replaced.

    NPTEL: Computer Networks (IIT Indore) · Course
  • Encapsulation, and the headers a message collects

    On the way down, each layer wraps the data from above with its own header. On the way up, each layer removes its own header and passes the rest on, so the two stacks mirror each other exactly.

    NPTEL: Computer Networks and Internet Protocol (IIT Kharagpur) · Course
  • The reference model against what is actually deployed

    The seven-layer teaching model and the four-layer model the internet actually uses do not match one for one. Knowing both, and knowing which one a document is using, avoids a great deal of confusion.

    NPTEL: Computer Networks (IIT Indore) · Course
  • Where layering costs you, and where it is broken on purpose

    Strict layering adds headers, copies and delay, and it hides information a lower layer knows. Real systems break it deliberately in places, and being able to say where and why is part of understanding it.

    NPTEL: Computer Networks (IIT Indore) · Course

Sign in to keep your progress.

Free resources

Links last checked 3 Sept 2026.

Stuck here?

Ask a mentor. A real person answers, and they can see exactly which topic you're on. Usually within a couple of working days.

Checking your session…

Topics shown in module order.