This guide covers tcp ip and the osi model.

Ask how the internet works and someone will draw you seven boxes. Ask the people who built it and they will draw you four. Both drawings are right: the OSI model and the TCP/IP model are two maps of the same territory — how data gets from an app on one machine to an app on another — drawn for different purposes. OSI, standardized as ISO/IEC 7498-1, is the teaching map: seven precise layers, each with one job. TCP/IP, described for hosts in RFC 1122, is the working map: the four-layer model the real internet actually runs on. Learn what each layer does once, in plain words, and you own the vocabulary every network conversation is conducted in.
The one idea underneath both maps: encapsulation
Every layer wraps the layer above it. Your app hands data down; each layer adds its own header — its own envelope — and passes the package on. At the bottom, the package crosses the wire as bits. On the far machine the process reverses: each layer reads its own envelope, does its one job, and hands the contents up. Nothing above or below needs to know the other layers' details. That separation is why you can swap Wi-Fi for Ethernet, or IPv4 for IPv6, without rewriting your browser.
The seven OSI layers, bottom to top
Layer 1, Physical: the actual signal — voltage on copper, light in fiber, radio in the air. Layer 2, Data Link: frames between direct neighbors on the same local network, addressed by MAC address; this is the switch's layer. Layer 3, Network: packets between networks, addressed by IP address; this is the router's layer, and the Internet Protocol itself lives here. Layer 4, Transport: end-to-end delivery between machines — TCP (RFC 9293) adds reliability, ordering, and retransmission; UDP trades that away for speed. Layer 5, Session: opening, maintaining, and closing a conversation between applications. Layer 6, Presentation: the data's format — encoding, compression, and encryption, so both sides read the same bytes the same way. Layer 7, Application: the services the user actually touches — HTTP for the web (RFC 9110), DNS for names, SMTP for mail.
The four TCP/IP layers — and where the seven went
RFC 1122 organizes a host's job into four layers. Link covers OSI layers 1 and 2 together: everything about getting bits onto the local medium and across it. Internet is OSI layer 3, unchanged: IP addressing and routing between networks. Transport is OSI layer 4, unchanged: TCP and UDP. Application folds OSI layers 5, 6, and 7 into one: in the internet's working model, session-keeping and data formatting are treated as the application's own business, not separate standardized layers. That folding is the honest difference between the maps — not seven versus four as a contest, but a reference model that separates concerns for teaching, and a deployed model that separates only what deployment needed.
Why both maps survive
TCP/IP won the deployment war decades ago: it is what every operating system implements. OSI survived as the language. When an engineer says "that's a layer 2 problem," everyone in the room knows it means the local link, not routing, not the app — the seven-layer vocabulary localizes a fault in one phrase. That is the practical way to use the model: as a troubleshooting ladder. Signal and cable first, then the local link, then routing, then transport, then the application. Work the ladder from the bottom and you will find most faults before you reach the layer you first suspected.
The bottom line
OSI gives you seven precise jobs; TCP/IP gives you the four groupings the internet actually ships. Encapsulation is the mechanism both describe: wrap on the way down, unwrap on the way up, and let each layer mind its own envelope. Learn the layers as jobs — move bits, reach the neighbor, reach the network, deliver end to end, serve the app — and the acronyms stop being trivia and start being a map you can navigate by.

By Karl Amber
Sources
- RFC 1122 — Requirements for Internet Hosts, Communication Layers: the four-layer TCP/IP model (Link, Internet, Transport, Application) as specified for hosts.
- RFC 9293 — Transmission Control Protocol: TCP's reliable, ordered, connection-oriented transport.
- ISO/IEC 7498-1 — the OSI Basic Reference Model: the seven-layer model and its layer definitions.
- RFC 9110 — HTTP Semantics: the application-layer protocol used as the working example.
Editor's note: this article is part of ScanderLoud's Cybersecurity & Networking series. It was researched from RFC 1122, RFC 9293, and ISO/IEC 7498-1 — our coverage is original and educational throughout. No NetworkChuck video was opened or used.
That is the complete picture on tcp ip and the osi model.
Featured image: blmcalifornia, Public domain, via Wikimedia Commons
