Networking for Beginners · lesson 4 · 2026-11-14
Networking for Beginners (2026): The Layers (OSI and TCP/IP Explained)
Before you start
- No IT experience needed. If IP addresses, MAC addresses or switches and routers are new to you, watch Episodes 2 and 3 first (The 4 Boxes That Run Every Network, and IP Address vs MAC Address).
- For the “try it yourself” part: any Windows, Mac or Linux computer and the free Wireshark. It only watches your own network; use it only on a network you own. The channel has a full Wireshark walkthrough.
- The packet in the video is real output from a sealed practice network with made-up lab addresses.
Every message you send is wrapped in envelopes inside envelopes, and each device on the network only opens its own. Learn the OSI and TCP/IP layers, which device reads which envelope, and see one real packet captured in a practice lab.
Syn has a message to deliver. A tiny one. Just a web page request. He walks into the packing station expecting a quick stamp and a send-off.
Instead, the clerk puts him in an envelope. Then puts that envelope in another one. And another. The clerk doesn’t explain. The clerk has a quota.
So why does the network wrap everything in envelopes inside envelopes? And what’s written on each one?
By the end, you’ll know every envelope, who reads each one, and why all that packaging makes the internet work. You’ll see them all in one real packet. And there’s a pop quiz. Syn will be watching.
Start in the middle. The letter. That’s the thing you actually want to send. In Syn’s case, it’s a web page request, which is a very polite way of saying: could I please have the front page. The network doesn’t care what’s in a letter. Photo, chat message, cat video. It just carries it.
First envelope. Transport. Its real name is the T C P envelope, and it gets a whole episode soon.
Think of an apartment building. The street address gets you to the building, but a building has a lot of doors. Your computer has over sixty-five thousand of them. They’re called ports, and the envelope says which door the letter is for.
Most doors are closed. A web page knocks on door eighty. A game knocks on a different one. An update knocks on another. Nobody has ever been confused about which door is the web, because the web has a reserved door, and the letter just knocks.
This envelope also numbers the pieces. A big message gets split up, and the internet delivers the pieces the way a toddler delivers laundry. All of it, eventually, in any order. The numbers let the far end put everything back.
Second envelope. Network. This is the I P envelope, and you already know it.
On it, two addresses. Where it came from, and where it’s going. Street and house number, like last time. The router reads this one, and nothing else. It never opens the letter. It doesn’t care. It reads the address and picks the road. That is its entire personality.
Third envelope. Data link. Its real name is a frame, but think of it as the Ethernet envelope.
On it, two name tags. Who’s sending it to the next stop, and who should get it there. This is the one the switch reads, to find the right door on this street.
And here’s the clever part. This one gets thrown away and rewritten at every stop. The switch hands Syn to the router. The router rips off the old Ethernet envelope, keeps the I P one, and puts him in a new Ethernet envelope for the next street. Think of a relay race. The runner changes at every stop. The baton, with the address on it, never does.
And under all of it, the road itself. Layer one. Physical. At this level there are no envelopes, no names, no addresses. Just ones and zeros. Copper wire turns them into electricity. Fiber turns them into flashes of light. Wi-Fi turns them into radio waves, which, by the way, anyone nearby can pick up. Remember that.
So that’s the stack, counting from the bottom. Layer one, physical. Layer two, data link. Layer three, network. Layer four, transport. Remember Episode two? The switch lives at layer two. The router lives at layer three.
Teachers have a famous memory trick for this. Please do not throw sausage pizza away. The first four words are our layers. Physical. Data link. Network. Transport. The sausage pizza part is the top three. For this series, those three are just the letter. Syn is keeping the pizza.
You’ll hear two ways of counting. The O S I model has seven layers. The T C P I P model squashes them into four. Same envelopes, different labels. Argue about which is better if you want to feel like a networking professional.
Some people also joke about a layer eight. The user. When something breaks, that’s where it usually broke. Everybody has been layer eight. Syn definitely has.
And at the far end, it all runs in reverse. Open the Ethernet envelope. Open the I P envelope. Open the T C P envelope. Like the world’s slowest birthday present. And inside? A request for a web page. Each envelope was only ever meant for one reader.
Pop quiz. Pause if you like. Which envelope does the router read? Is it the Ethernet one, the I P one, or the T C P one?
The I P envelope. Layer three. The router reads the street address and nothing else. If you said that, you can put it on your job application. Possibly.
Now, here’s a real one. We asked the lab’s router to show us a single packet on its way through, and there it is. The first pair of addresses, with colons, is the Ethernet envelope. The next pair, with dots, is the I P envelope, and notice the port number glued to the end of each. That’s the T C P envelope. Three envelopes, one line.
Name tags on the outside. Street addresses in the middle. Door numbers inside. Just like we said.
Your turn. A free tool called Wireshark does exactly this on your own computer. It only watches, and changes nothing.
Open it, start a capture, and click any packet. Fair warning, it looks like a lot at first. Don’t panic. You’ll see one row for each envelope: Frame, Ethernet, Internet Protocol, Transmission Control Protocol. Click a row, and it shows you what’s written on that envelope. Do it only on your own network. And for the full walkthrough, we have a Wireshark tutorial right here on the channel. The link is in the description.
Now, here’s why hackers care about all of this.
Those envelopes keep the letter moving. They don’t keep it secret. An envelope isn’t a vault. It’s a sticky note that says please don’t read. Anyone who handles the packet, a router along the way, or someone nearby on the same Wi-Fi, can look at the outside. And if the letter inside isn’t locked, they can read that too.
Firewalls use the same layers. They read the outside envelopes, the addresses and the door numbers, and decide whether to let the packet in. That’s the bouncer from Episode two. He reads envelopes. Not letters.
So three things. Use a strong Wi-Fi password, with W P A two or W P A three, so people nearby can’t read your radio waves. On public Wi-Fi, assume the outside can be seen. And look for the lock in your browser. H T T P S locks the letter itself, and it gets its own episode.
So, let’s recap. Your data is the letter. The T C P envelope carries the door number. The I P envelope carries the street address, and the router reads it. The Ethernet envelope carries the name tags, and the switch reads it. Under all of it, wires, light and radio carry the ones and zeros. Each device opens only its own envelope.
But one envelope is still bugging Syn. The T C P one. It has numbers inside, and before he’s even allowed to send, the far server wants to say hello.
Three messages. Syn, then Syn and ack, then ack. Next time, T C P and U D P.
See you there.