CCNA Networking Models
Networking Models: OSI and TCP/IP
This lesson introduces two fundamental networking models that categorize and structure networking protocols and standards. The OSI model is a conceptual framework that influenced how network engineers think about networks, while the TCP/IP suite is the model actually used in modern networks like the Internet.
Why Networking Models Matter
Without standardized networking models, different manufacturers would create incompatible communication systems. For example, Dell PCs and Apple iMacs would each speak their own "language," preventing cross-platform communication. Standard models ensure that devices from various vendors can communicate seamlessly, as long as they follow the same protocols.
The OSI Model (Open Systems Interconnection)
Created by the International Organization for Standardization (ISO) in the late 1970s/early 1980s.
An open standard (not proprietary to any company).
Divides network functions into 7 layers.
Even though it's not directly used today, OSI terminology remains the standard way network engineers discuss networking issues.
Layer 7 – Application Layer
Closest to the end user.
Interacts with software applications that have communication components (e.g., web browsers).
Provides protocols like HTTP and HTTPS (visible in URLs such as
https://www.cisco.com).Functions: identifying communication partners, synchronizing communication.
Note: Layer 7 itself is not the application (e.g., Chrome), but the protocols the application uses.
Layer 6 – Presentation Layer
Translates data between application format and network format.
Handles encryption/decryption of data.
Converts between different application-layer formats so the receiving host can understand the data.
Layer 5 – Session Layer
Controls dialogues (sessions) between communicating hosts.
Establishes, manages, and terminates connections between a local application (e.g., your browser) and a remote application (e.g., YouTube’s servers).
Manages multiple simultaneous sessions.
Network engineers rarely work with Layers 5–7 directly – that's the domain of application developers.
Layer 4 – Transport Layer
Segments and reassembles data for communications between end hosts.
Breaks large data into smaller segments to reduce impact of transmission errors.
Example: In video streaming, if one segment fails, only a brief skip occurs instead of total loss.
Provides host-to-host (end-to-end) communication and also process-to-process communication for applications.
The PDU at this layer is called a segment (data + Layer 4 header).
Layer 3 – Network Layer
Provides connectivity between end hosts on different networks (outside the local LAN).
Uses logical addressing – IP addresses.
Performs path selection (routing) between source and destination.
Routers operate at Layer 3.
The PDU here is called a packet (data + Layer 4 header + Layer 3 header).
Layer 2 – Data Link Layer
Provides node-to-node connectivity and data transfer (e.g., PC to switch, switch to router, router to router).
Defines how data is formatted for transmission over a physical medium (like copper UTP cables).
Detects and may correct errors from the physical layer.
Uses its own addressing system (MAC addresses), separate from Layer 3 IP addressing.
Switches operate at Layer 2.
The PDU here is called a frame (data + Layer 4 header + Layer 3 header + Layer 2 header + Layer 2 trailer).
Layer 1 – Physical Layer
Defines physical characteristics of the transmission medium:
Voltage levels
Maximum transmission distances (cable lengths)
Physical connectors
Cable specifications
Converts digital bits into electrical signals (wired) or radio signals (wireless).
The PDU at Layer 1 is called a bit.
All cable and interface standards from the Day 2 video fall into this layer.
Encapsulation and De-encapsulation
Encapsulation (Sending Data)
When an application sends data, each layer adds its own header (and Layer 2 adds a trailer) as data moves down the stack:
Upper layers (5-7): Prepare the raw data.
Transport layer: Adds Layer 4 header → Segment.
Network layer: Adds Layer 3 header (IP addresses) → Packet.
Data link layer: Adds Layer 2 header and trailer → Frame.
Physical layer: Transmits the frame as bits over the medium.
De-encapsulation (Receiving Data)
The reverse process occurs at the receiving device:
Physical layer: Receives bits and converts to a frame.
Data link layer: Removes Layer 2 header and trailer → Packet.
Network layer: Removes Layer 3 header → Segment.
Transport layer: Removes Layer 4 header → Data.
Upper layers: Present the data to the application.
Same-Layer vs. Adjacent-Layer Interaction
Same-layer interaction: Communication between the same layer on two different hosts (e.g., the application layer of YouTube’s server and your browser). This allows each layer to "ignore" the other layers and focus on its own functions.
Adjacent-layer interaction: Communication between different layers on the same host (e.g., transport layer passing a segment down to the network layer).
PDU Names Summary
Layer | PDU Name |
|---|---|
Application/Presentation/Session | Data (or upper-layer data) |
Transport (Layer 4) | Segment |
Network (Layer 3) | Packet |
Data Link (Layer 2) | Frame |
Physical (Layer 1) | Bit |
The TCP/IP Suite
A conceptual model and set of communications protocols actually used in the Internet and modern networks.
Named after two foundational protocols: TCP (Transmission Control Protocol) and IP (Internet Protocol).
Developed by the U.S. Department of Defense through DARPA.
Has fewer layers than the OSI model.
TCP/IP Model Layers (with OSI Equivalents)
TCP/IP Layer | OSI Equivalent Layers |
|---|---|
Application | Application (7) + Presentation (6) + Session (5) |
Transport | Transport (4) |
Internet | Network (3) |
Link | Data Link (2) + Physical (1) |
Important: When network engineers refer to "Layer 2" or "Layer 4" problems, they always use OSI numbering, not TCP/IP. For example, "a Layer 4 problem" means the OSI Transport layer, not TCP/IP's Application layer.
Alternate Names for Layers (from Wikipedia)
The Link layer is sometimes called the Network Interface layer or Network Access layer.
A popular 5-layer model combines the top 3 OSI layers into one Application layer but keeps Data Link and Physical separate – this reflects how many network engineers think.
Example: Data Flow Across Two Routers (Host A → Router 1 → Router 2 → Host B)
Host A: An application (e.g., Skype) sends data. Encapsulation occurs through Application, Transport (TCP/UDP), Internet (IP), and Link layers. The frame is sent over Ethernet to Router 1.
Router 1: De-encapsulates up to the Internet layer to read the destination IP address. Then re-encapsulates and forwards the frame to Router 2 (possibly over long-distance fiber).
Router 2: Same process – checks IP, re-encapsulates, sends frame to Host B.
Host B: De-encapsulates fully, delivering the original data to the Skype application.
Key point: Routers operate only at Layers 1-3 (Link and Internet in TCP/IP). They do not need to examine higher-layer data.
This illustrates same-layer interaction: The Transport layer segment remains unchanged end-to-end, as if Host A and Host B are directly communicating.
Comparing the OSI and TCP/IP Models
Feature | OSI Model | TCP/IP Suite |
|---|---|---|
Developed by | ISO (International Organization for Standardization) | DARPA (U.S. Department of Defense) |
Number of layers | 7 | 4 (or 5 in some interpretations) |
Usage | Conceptual – not directly implemented | Actual model used in Internet |
Layer naming | Application, Presentation, Session, Transport, Network, Data Link, Physical | Application, Transport, Internet, Link |
Common reference | Network engineers use OSI numbering when troubleshooting | The underlying protocols are TCP/IP |
Quiz Questions and Answers
Question 1
HTTP data sent from a YouTube web server is displayed via your web browser. This is an example of what?
A) Adjacent-layer interaction
B) Same-layer interaction
C) Encapsulation
D) De-encapsulation
Answer: B) Same-layer interaction. Both YouTube’s server and your browser operate at OSI Layer 7 (Application) using HTTP. Same-layer interaction focuses on communication between the same layer on different hosts.
Question 2
HTTP data has been encapsulated with three separate headers and one trailer. What is the appropriate name for this PDU?
A) Packet
B) Segment
C) Frame
D) Data
Answer: C) Frame. A frame has Layer 2, 3, and 4 headers plus a Layer 2 trailer. A segment has only one header (Layer 4), a packet has two headers (Layers 3 and 4), and data has no headers or trailers.
Question 3
Which layers of the OSI model are most relevant to the role of a network engineer?
A) Transport, Network, Data Link, and Physical
B) Transport, Network, and Data Link
C) Network only
D) Application, Presentation, and Session
Answer: A) Network engineers work primarily with Layers 1-4. The top three layers are the domain of application developers.
Question 4
The Link layer of the TCP/IP Model is equivalent to what layer(s) of the OSI Model?
A) Transport and Network
B) Network and Data Link
C) Data Link
D) Data Link and Physical
Answer: D) The TCP/IP Link layer combines the functions of OSI Data Link (Layer 2) and Physical (Layer 1).
Question 5
Which layer of the OSI model provides host-to-host communications?
A) Application
B) Network
C) Transport
D) Data Link
Answer: C) The Transport layer provides end-to-end, host-to-host communication. Application provides process-to-process; Network and Data Link do not provide end-to-end connectivity.
Key Takeaways
Networking models organize protocols and standards, enabling interoperability.
The OSI model (7 layers) is the conceptual framework used for discussion and troubleshooting.
The TCP/IP suite (4 or 5 layers) is the operational model of the Internet.
Encapsulation adds headers/trailers as data moves down the stack; de-encapsulation removes them as data moves up.
PDU names: Segment (L4), Packet (L3), Frame (L2), Bit (L1).
Same-layer interaction allows each layer to communicate directly with its peer on another host – a key concept for understanding protocol operation.
Routers operate at Layer 3 (Internet layer), switches at Layer 2 (Data Link layer).

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