CCNA Networking Models


CCNA Networking Models

Simon
Alright Anna, today we're tackling two big networking models: the OSI model and the TCP/IP suite. These give structure to all the protocols that make networks work.

Anna
I've heard of TCP/IP, obviously, but the OSI model is new to me. Why do we need both? Isn't TCP/IP the one actually used?

Simon
Great question. The OSI model is a conceptual model from the late 1970s, created by the ISO. It's not directly used today, but it shaped how network engineers think and talk about networks. We still refer to its seven layers all the time.

Anna
Okay, so what are those seven layers? I remember hearing about 'Layer 2 switches' and 'Layer 3 routers'.

Simon
Exactly. Let's start from the top. Layer 7 is the application layer. It's closest to the end user and interacts with software that needs network communication, like a web browser. Protocols like HTTP and HTTPS live here.

Anna
So when I type a URL, the browser uses HTTP, which is a Layer 7 protocol. Got it. But I've also heard about encryption — where does that come in?

Simon
That happens at Layer 6, the presentation layer. It translates data between application formats and network formats. It handles encryption, decryption, and sometimes compression. Next is Layer 5, the session layer, which manages the dialogue, or session, between hosts — establishing, maintaining, and terminating connections.

Anna
So the top three layers are really about the application's interaction with the network. Are those the layers network engineers focus on?

Simon
Not usually. Those are more for application developers. Network engineers work with the bottom four layers. Layer 4 is the transport layer, which segments data and provides host-to-host communication. It adds a header to create a segment.

Anna
Segmentation makes sense — break big data into smaller pieces so errors don't ruin everything. And then we add more headers as we go down, right?

Simon
Exactly. The segment goes to Layer 3, the network layer. That adds a header with logical addressing — IP addresses — and handles path selection. Routers operate here. The combination of data plus Layer 4 and Layer 3 headers is called a packet.

Anna
Then Layer 2, the data link layer, adds both a header and a trailer, right? That's what makes a frame. Switches operate at Layer 2, checking MAC addresses.

Simon
Perfect. And finally, Layer 1, the physical layer, converts the frame into bits — electrical signals or radio waves — and sends them over the medium. So the PDU names are: segment at Layer 4, packet at Layer 3, frame at Layer 2, and bit at Layer 1.

Anna
I've got a mnemonic to remember the layer order: 'All People Seem To Need Data Processing' from top to bottom. And another one going up: 'Please Do Not Teach Students Pointless Acronyms'.

Simon
Those are fun. But now let's compare with the TCP/IP suite. It has fewer layers: application, transport, internet, and link. The application layer combines OSI's top three. The transport layer is the same. The internet layer matches the network layer. And the link layer combines data link and physical.

Anna
So if someone says 'there's a Layer 2 problem', they're referring to OSI's data link layer, not TCP/IP's internet layer. That's confusing.

Simon
Right — always use OSI numbering when talking about layers. Even though TCP/IP is the model in use, we still think in OSI terms. For example, when data travels from Host A to Host B through routers, each router only needs layers 1-3 to forward packets.

Anna
And the transport layer provides host-to-host communication end to end. The segment stays intact across the entire path, even as lower layers change. That's same-layer interaction.

Simon
Exactly. In the quiz, one question asked: 'HTTP data sent from a YouTube server to your browser is an example of what?' The answer was same-layer interaction, because both ends are using Layer 7 HTTP.

Anna
Another question: 'HTTP data encapsulated with three headers and one trailer — what's the PDU called?' That's a frame, because it has a Layer 4 header, Layer 3 header, Layer 2 header, and a Layer 2 trailer.

Simon
And network engineers work with layers 4, 3, 2, and 1 — transport, network, data link, physical. That was another quiz question. The top three are for app developers.

Anna
Also, the TCP/IP link layer is equivalent to OSI's data link and physical combined. And host-to-host communication is provided by the transport layer.

Simon
Good recap. That covers the essentials. By standardizing protocols, these models ensure that a Dell PC and an iMac can communicate over the Internet — all thanks to industry standards.

Ask anything
We've read this whole study set, so questions about it get the best answers.