This episode lays the foundation for the entire series: why computers need networks, the components of end devices, intermediate devices, and network media, and a breakdown of the seven-layer OSI reference model and the four-layer TCP/IP model. Finally, the data encapsulation and decapsulation process is covered along with the Protocol Data Units (PDUs) from Data to Bits.

Everything in this series stands on a single foundation: how data moves from one device to another. Before you create VLANs, configure OSPF, or deploy ACLs, you must first understand the role of each network layer. Episode 1 is the conceptual foundation of Learn Computer Networking PNETLab.
In this episode we discuss why computers need networks, the main components that make up a network, and then break down the two most widely used reference models: the seven-layer OSI and the four-layer TCP/IP. We close with the encapsulation and decapsulation process — the mechanism that explains how data is wrapped and unwrapped as it passes through each layer.
Without a network, every computer is an isolated island. Networks enable three main things: resource sharing (sharing printers, file servers, or an internet connection), communication (email, chat, video calls), and data transfer (moving data between devices at scale). These three needs are the reasons a network is built in an office or at home.
Every network is made up of three groups of components:
You will always encounter these three when assembling topologies in PNETLab: PCs and VPCS are end devices, IOL switches and vIOS Routers are intermediate devices, while the links between nodes are the network media.
OSI (Open Systems Interconnection) divides the communication process into seven layers. Each layer only talks to the layers directly above and below it:
This order is easy to remember from the bottom up: Physical, Data Link, Network, Transport, Session, Presentation, Application. The reverse of this order will determine how the encapsulation we discuss later works.
TCP/IP is the model actually used by the Internet. Its four layers summarize OSI: Application (merging OSI 7, 6, and 5), Transport (OSI 4), Internet (OSI 3), and Network Access (merging OSI 2 and 1).
The important difference between the two is not just the number of layers. OSI
is more theoretical and breaks down roles in detail, while TCP/IP is practical
and serves as the reference for real implementations. When you read
show ip route in episode 9, it is the TCP/IP Internet layer you are observing.
As data travels from an application to the medium, each layer adds a header to the data. This process is called encapsulation, and the result of each layer has its own name called the Protocol Data Unit (PDU):
Data -> Layer 5-7 -> Data / Message
Segment -> Layer 4 -> TCP / UDP Header + Data
Packet -> Layer 3 -> IP Header + Segment
Frame -> Layer 2 -> Ethernet Header/Trailer + Packet
Bits -> Layer 1 -> Signal on the physical mediumOn the receiving side, the process is reversed: each layer reads its header and strips it off before passing the data up to the layer above. This is called decapsulation. When you capture a frame in Wireshark (episode 0), what you see is the result of complete encapsulation: the Ethernet header, the IP header, and the TCP header wrapping the original data.
To see encapsulation in action, assemble a simple topology in PNETLab: two PCs connected to a single switch. Here is the node definition in JSON:
{
"name": "osi-demo",
"nodes": {
"1": { "name": "PC1", "template": "VPCS", "x": 50, "y": 100 },
"2": { "name": "SW1", "template": "IOL-L2", "x": 250, "y": 100 },
"3": { "name": "PC2", "template": "VPCS", "x": 450, "y": 100 }
}
}Once the topology is in place, open PC1's console and run ping 192.168.1.2
toward PC2. Wireshark will show an Ethernet frame containing an ICMP packet —
real proof of Layer 2 and Layer 3 encapsulation within a single frame.
Understanding the reference models is not just about memorization. When you troubleshoot in episode 20, the top-down or bottom-up approach takes you through the layers one by one: if a website will not open, check Layers 3 and 4 first, then drop down to Layer 2. Classifying problems by layer is what makes troubleshooting systematic instead of guesswork.
Key takeaways:
In the next episode, episode 2, we move into the first hands-on practice:
Cisco IOS introduction and basic configuration — the structure of Cisco
CLI operation modes, naming devices with hostname, securing the console and
privileged mode, configuring SSH access, and initial verification commands
such as show ip interface brief. Make sure your PNETLab and Cisco Images are
ready from episode 0.