Networks and layered communication
Network layers divide a large communication problem into smaller responsibilities with defined interfaces.
Learning objectives
- Explain why layered models are useful.
- Place an application protocol above transport and internet delivery.
One request, several jobs
application: HTTP request transport: TCP or UDP delivery service internet: IP addressing and routing link: local network delivery
Layering gives each component a focused contract. An HTTP client can ask a transport service to carry bytes without itself deciding each network hop. Real networking stacks do not always fit one teaching diagram perfectly, but the model helps isolate where a failure occurs.
Common mistakes
- A protocol is an agreed set of rules, not a physical cable or device.
- IP gives best-effort packet delivery; it does not itself promise an ordered application stream.
Applications and references
Layers guide debugging: a name-resolution problem, a TCP connection problem, and an HTTP response error occur at different concerns.