Skip to content

Lesson 03 β€” TCP/IP Model

The OSI Model helps us understand how networks work.

However, the Internet itself doesn’t actually use the OSI Model.

Instead, almost every network in the worldβ€”including the Internet, AWS, Microsoft Azure, Google Cloud, and enterprise data centersβ€”uses the TCP/IP Model.

Every time you:

  • Open a website
  • Send an email
  • Connect to AWS
  • Stream a video
  • Access Microsoft Teams
  • Use ChatGPT

your data is transmitted using the TCP/IP protocol suite.

Understanding TCP/IP is one of the most important networking skills for Cloud Engineers, Cybersecurity Professionals, DevOps Engineers, and Network Engineers.


After completing this lesson, you will be able to:

  • Explain what the TCP/IP Model is.
  • Understand the four TCP/IP layers.
  • Compare the TCP/IP Model with the OSI Model.
  • Understand how data travels through the Internet.
  • Identify common TCP/IP protocols.
  • Explain why TCP/IP is the foundation of modern networking.

The TCP/IP Model (Transmission Control Protocol / Internet Protocol) is the communication framework used by the Internet and almost every modern network.

Unlike the OSI Model, which has seven conceptual layers, the TCP/IP Model simplifies networking into four practical layers.

These layers work together to ensure reliable communication between devices across local networks and the Internet.


Application Layer
↓
Transport Layer
↓
Internet Layer
↓
Network Access Layer

Every piece of data sent across a network travels through these layers before reaching its destination.


Imagine you’re opening:

https://www.gohackerscloud.com

The request follows this journey:

Web Browser
↓
Application Layer
↓
Transport Layer
↓
Internet Layer
↓
Network Access Layer
══════════════════════
Internet
══════════════════════
Network Access Layer
↑
Internet Layer
↑
Transport Layer
↑
Application Layer
↑
Website Displayed

This process happens in just a few milliseconds.


The Application Layer provides network services directly to applications used by people.

Examples include:

  • Web Browsers
  • Email Clients
  • Remote Desktop
  • File Transfers
  • DNS Requests

Common protocols include:

  • HTTP
  • HTTPS
  • FTP
  • SMTP
  • IMAP
  • POP3
  • DNS
  • SSH

This layer is where users interact with network services.


The Transport Layer is responsible for reliable communication between devices.

Responsibilities include:

  • End-to-end communication
  • Error checking
  • Data segmentation
  • Flow control
  • Port numbers

The two most important protocols are:


TCP provides reliable communication.

Characteristics:

  • Connection-oriented
  • Reliable delivery
  • Error detection
  • Packet retransmission
  • Ordered communication

Used by:

  • Websites
  • Online Banking
  • Email
  • File Transfers
  • Databases

Reliability is more important than speed.


UDP provides fast communication.

Characteristics:

  • Connectionless
  • No guaranteed delivery
  • Lower overhead
  • Faster performance

Used by:

  • Video Streaming
  • Voice Calls
  • Gaming
  • DNS Queries
  • Live Broadcasting

Speed is more important than reliability.


The Internet Layer handles communication between different networks.

Responsibilities include:

  • Logical addressing
  • Routing
  • Packet forwarding
  • Best path selection

Protocols include:

  • IPv4
  • IPv6
  • ICMP
  • ARP

Networking devices include:

  • Routers
  • Layer 3 Switches

Without this layer, communication across the Internet would not be possible.


The Network Access Layer is responsible for transmitting data across the physical network.

Responsibilities include:

  • Physical communication
  • MAC addressing
  • Ethernet
  • Wi-Fi
  • Fibre
  • Switching

Technologies include:

  • Ethernet
  • Wireless LAN
  • Fibre Optics
  • Network Interface Cards (NICs)

This layer connects devices to the network.


Although both models describe networking, they are used differently.

OSI Model TCP/IP Model
7 Layers 4 Layers
Conceptual Model Practical Model
Used for learning and troubleshooting Used by the Internet
Developed by ISO Developed by DARPA
Reference Model Communication Protocol Suite

The OSI Model explains how networking works.

The TCP/IP Model explains how networking is actually implemented.


OSI Model TCP/IP Model
Application ┐
Presentation β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Ί Application
Session β”˜
Transport ─────────────► Transport
Network ───────────────► Internet
Data Link ┐
Physical β”˜β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Ί Network Access

Understanding this mapping helps connect theoretical networking concepts with real-world implementations.


Layer Common Protocols
Application HTTP, HTTPS, FTP, DNS, SMTP, SSH
Transport TCP, UDP
Internet IPv4, IPv6, ICMP
Network Access Ethernet, Wi-Fi, ARP

These protocols form the backbone of modern enterprise and cloud networks.


Imagine downloading a PDF.

The process looks like this:

Application Layer
HTTP Request
↓
Transport Layer
TCP Segment
↓
Internet Layer
IP Packet
↓
Network Access Layer
Ethernet Frame
↓
Physical Network
↓
Destination Server

Each layer adds its own information before sending the data.

This process is called Encapsulation.

When the destination receives the data, each layer removes its own information.

This is called Decapsulation.


Every cloud platform relies on TCP/IP.

Examples include:

  • AWS EC2 Communication
  • Azure Virtual Machines
  • Google Compute Engine
  • Kubernetes Networking
  • APIs
  • Load Balancers
  • VPN Connections

Understanding TCP/IP is essential for cloud networking.


Cybersecurity professionals analyze TCP/IP traffic to:

  • Detect attacks
  • Monitor communications
  • Investigate incidents
  • Capture network packets
  • Analyze malware traffic
  • Identify suspicious activity

Most security monitoring tools inspect TCP/IP communications.


Throughout your career, you’ll frequently use tools such as:

  • ipconfig
  • ping
  • tracert
  • netstat
  • nslookup
  • ip
  • ifconfig
  • ping
  • traceroute
  • ss
  • tcpdump
  • Wireshark
  • Nmap
  • Nessus
  • Zeek

You’ll gain hands-on experience with many of these tools in future GoHackersCloud labs.


Imagine a user accesses:

https://learn.gohackerscloud.com

The communication flow is:

Browser
↓
DNS
↓
TCP Connection
↓
HTTPS Request
↓
Internet
↓
Cloud Load Balancer
↓
Application Server
↓
Database
↓
HTTPS Response
↓
Browser Displays Website

Every step depends on the TCP/IP protocol suite.


As an IT professional:

  • Understand both the OSI and TCP/IP Models.
  • Learn common TCP/IP protocols.
  • Know when to use TCP vs UDP.
  • Practice troubleshooting network connectivity.
  • Capture and analyze packets.
  • Secure network communications.
  • Understand cloud networking concepts.

Mastering TCP/IP will make every advanced networking topic easier to understand.


After completing this lesson, you should understand:

  • What the TCP/IP Model is.
  • The four TCP/IP layers.
  • The responsibilities of each layer.
  • The differences between the TCP/IP and OSI Models.
  • Common networking protocols.
  • Why TCP/IP powers the modern Internet.

The TCP/IP Model is the foundation of modern networking.

Every cloud service, website, enterprise application, mobile application, and AI platform relies on TCP/IP protocols for communication.

Understanding how these protocols work will help you troubleshoot networks, secure communications, build cloud infrastructure, and become a more effective IT professional.

Throughout the remainder of this module, you’ll continue building on these concepts as you explore IP addressing, routing, DNS, firewalls, VPNs, and enterprise networking.


➑️ Lesson 04 β€” IPv4 & IPv6 Addressing

In the next lesson, you’ll learn how devices are uniquely identified on a network, understand IPv4 and IPv6 addressing, explore subnetting concepts, and discover how IP addressing enables communication across local networks and the Internet.