Standards and Concepts

Foundation of modern computer networking

TCP/IP Model

The TCP/IP model is a set of rules and steps that explains how data moves from one device to another over a network or the internet.

πŸ‘‰ Think of TCP/IP like a delivery system (Amazon / Swiggy style 🚚) that decides:
  • How data is created
  • How it is packed
  • How it travels
  • How it is delivered correctly
Without TCP/IP β†’ Internet cannot work at all ❌

What is the TCP/IP Model?

What is TCP IP Model

🌐 Real-World Example (VERY IMPORTANT πŸ’‘)

πŸ“± You open google.com on your phone.

  1. Your phone creates a request
  2. Data is broken into small packets
  3. Packets travel through routers on the internet
  4. Google’s server receives and understands the request
  5. Google sends the response back (page loads)
πŸ‘‰ All of this works because of the TCP/IP model βœ…

🧩 TCP/IP Model Layers (CCST Focus ⭐)

Layer No. Layer Name What It Does
4️⃣ Application What the user uses
3️⃣ Transport How data is delivered
2️⃣ Internet IP address & routing
1️⃣ Network Access Physical sending of data

TCP/IP Data Flow

TCP IP Data Flow

🟦 Layer 4: Application Layer

Closest layer to the user. Allows apps and software to use the network.

Common Protocols:
  • HTTP / HTTPS β†’ Websites
  • FTP β†’ File transfer
  • SMTP β†’ Sending emails
  • DNS β†’ Name β†’ IP conversion
🧠 Example:
Typing https://youtube.com
πŸ‘‰ Application layer understands: β€œUser wants a website”

🟩 Layer 3: Transport Layer

  • TCP β†’ Reliable, safe, slower
  • UDP β†’ Fast, no guarantee
πŸŽ₯ Watching YouTube β†’ UDP (speed matters)
🏦 Online banking β†’ TCP (accuracy matters)
Exam Trick:
TCP = Reliable
UDP = Fast

🟨 Layer 2: Internet Layer

Handles IP addresses and routing.

Main Protocol: IP

Example:
  • Your IP β†’ 192.168.1.10
  • Google IP β†’ 142.250.182.14
πŸ‘‰ Internet layer decides the best path 🌍

πŸŸ₯ Layer 1: Network Access Layer

Responsible for physical data transmission.

Examples:
  • Ethernet cable
  • Wi-Fi
  • Network Interface Card (NIC)
Data becomes:
⚑ Electrical signals (cable)
πŸ“‘ Radio waves (Wi-Fi)

πŸ” How Data Flows (VERY IMPORTANT πŸ”₯)

πŸ“€ Sending Device
Application β†’ Transport β†’ Internet β†’ Network Access

πŸ“₯ Receiving Device
Network Access β†’ Internet β†’ Transport β†’ Application

πŸ“Œ Same layers, reverse direction
🧠 One-Line Memory Trick (Exam GOLD πŸ₯‡)

β€œApplication creates data, Transport delivers it, Internet routes it, Network sends it.”

OSI Model (Open Systems Interconnection)

The OSI Model is a 7-layer conceptual model that explains how data moves in a network step by step.

πŸ“Œ It is not a real protocol
πŸ“Œ It is a learning + troubleshooting model
πŸ’‘ Think like this:

TCP/IP β†’ How the internet actually works
OSI β†’ How humans understand and fix network problems

OSI Model – 7 Layers Overview

OSI Model 7 Layers

🧠 Why OSI Model is IMPORTANT for CCST (Very Important πŸ”₯)

As a network support technician, your main job is troubleshooting.

You must answer questions like:
  • ❓ Is the cable faulty?
  • ❓ Is IP missing?
  • ❓ Is the application down?
πŸ‘‰ The OSI model helps you find EXACTLY where the problem is.

πŸ“Œ Instead of guessing, you check layer by layer.

🧩 OSI Model – 7 Layers (Top to Bottom)

Layer No. Layer Name Easy Meaning
7️⃣ Application What the user uses
6️⃣ Presentation Format & security
5️⃣ Session Connection control
4️⃣ Transport Reliable delivery
3️⃣ Network IP & routing
2️⃣ Data Link MAC & switching
1️⃣ Physical Cables & signals

OSI 7 Layers Explained (Detail)

OSI 7 Layers Detailed Explanation

🧠 Memory Trick (EXAM GOLD πŸ₯‡)

πŸ‘‰ All People Seem To Need Data Processing
  • Application
  • Presentation
  • Session
  • Transport
  • Network
  • Data Link
  • Physical
πŸ“Œ This trick is VERY popular in exams and interviews.

🟦 Layer 7: Application Layer

Direct interaction with user applications.

Examples:
  • Web browser (Chrome)
  • Email client (Gmail, Outlook)
Protocols:
  • HTTP / HTTPS
  • FTP
  • SMTP
  • DNS
🧠 Problem Example:
❌ Website not opening
βœ” First check Application layer

🟩 Layer 6: Presentation Layer

Handles:
  • Data formatting
  • Encryption & decryption
  • Compression
🧠 Examples:
  • HTTPS encryption πŸ”
  • JPEG, PNG images
  • MP4 videos
πŸ“Œ Data unreadable β†’ Presentation layer issue

🟨 Layer 5: Session Layer

Manages:
  • Session start
  • Session maintenance
  • Session termination
🧠 Examples:
  • Staying logged into a website
  • Session timeout after inactivity
πŸ“Œ Connection drops repeatedly β†’ Session layer problem

πŸŸ₯ Layer 4: Transport Layer

Handles:
  • End-to-end delivery
  • Error correction
  • Flow control
Protocols:
  • TCP β†’ Reliable, safe
  • UDP β†’ Fast, no guarantee
🧠 Examples:
  • File download β†’ TCP
  • Video streaming β†’ UDP
πŸ“Œ CCST Tip:
TCP = Reliable
UDP = Fast

πŸŸͺ Layer 3: Network Layer

Handles:
  • IP addressing
  • Routing between networks
Protocol: IP (IPv4 / IPv6)

🧠 Examples:
  • No IP address
  • Router not working
πŸ‘‰ Network layer problem

🟧 Layer 2: Data Link Layer

Handles:
  • MAC addressing
  • Switching
  • Error detection (frames)
Devices:
  • Switch
  • Network Interface Card (NIC)
🧠 Examples:
  • Switch port disabled
  • MAC address issue
πŸ‘‰ Data Link layer problem

⬛ Layer 1: Physical Layer

Handles physical transmission using:
  • Electrical signals
  • Optical signals
  • Radio waves
Examples:
  • Ethernet cable
  • Fiber cable
  • Wi-Fi signals
🧠 Examples:
  • Cable unplugged ❌
  • No Wi-Fi signal ❌
πŸ‘‰ Physical layer issue

OSI vs TCP/IP Model

OSI vs TCP IP Model

OSI vs TCP/IP Diagram

OSI vs TCP IP Diagram

πŸ” How Technicians Troubleshoot (Real Method)

Support engineers usually check Bottom β†’ Top:

1️⃣ Check cable
2️⃣ Check switch
3️⃣ Check IP
4️⃣ Check service

πŸ“Œ This saves TIME and avoids confusion.
🎯 Final One-Line Summary (Remember This πŸ’‘)

OSI Model helps you understand WHERE the network problem is, layer by layer.

Frames and Packets (Networking Fundamentals)

⭐ CCST GOLD LINE (VERY IMPORTANT)

Packets are used by routers (IP)
Frames are used by switches (MAC)

πŸ‘‰ This one line alone answers many CCST exam questions.

πŸ“¦ What is a Packet?

A packet is a small piece of data created at the Network Layer (Layer 3). It contains IP addresses, so routers know where the data should go.

πŸ“Œ Packets are used when data needs to:
  • Travel between different networks
  • Be routed using IP addresses

🧠 What does a Packet contain?

  • βœ… Source IP address
  • βœ… Destination IP address
  • βœ… Actual data (payload)

🌍 Real-World Example

You send a message from:
Your laptop β†’ Google server

Packets created:
  • From IP: 192.168.1.10
  • To IP: 142.250.182.14
πŸ‘‰ Routers read packets, not frames
Because routers work with IP addresses.

Difference Between Frames and Packets

Difference Between Frames and Packets

πŸ“¨ What is a Frame?

A frame is a data unit at the Data Link Layer (Layer 2). It contains MAC addresses and is used for local delivery.

πŸ“Œ Frames are used for:
  • Communication inside the same network (LAN)
  • Delivery from one device to the next

🧠 What does a Frame contain?

  • βœ… Source MAC address
  • βœ… Destination MAC address
  • βœ… The packet inside it
πŸ‘‰ Yes πŸ˜„ A packet is wrapped inside a frame

🏠 Real-World Example (Home Network)

Inside your home:
  • Laptop β†’ Wi-Fi Router
  • Router β†’ Switch
Frames use MAC addresses like:
00:1A:2B:3C:4D:5E

πŸ‘‰ Switches read frames, not packets

🧩 Packet vs Frame (Side-by-Side – VERY IMPORTANT)

Feature Packet Frame
OSI Layer Layer 3 (Network) Layer 2 (Data Link)
Address Type IP Address MAC Address
Used by Routers Switches
Scope Between networks Within same network
Contains Data Packet + MAC info

Packets, Frames & OSI Layers

OSI Model Headers Frames Packets

🚚 Data Journey (Step-by-Step Flow)

1️⃣ Application creates data
2️⃣ Transport layer breaks data
3️⃣ Network layer creates packet (IP)
4️⃣ Data Link layer wraps packet into frame (MAC)
5️⃣ Physical layer sends bits (0s & 1s)

πŸ‘‰ This process is called encapsulation

πŸ” What Happens at Each Device?

πŸ–₯️ End Device (PC / Phone)
β€’ Creates packet
β€’ Wraps it inside a frame

πŸ”€ Switch
β€’ Looks only at MAC address
β€’ Forwards frame
β€’ ❌ Does NOT care about IP

🌐 Router
β€’ Removes old frame
β€’ Reads packet (IP)
β€’ Decides next path
β€’ Creates new frame for next network

πŸ“Œ Frame changes at every hop
πŸ“Œ Packet usually stays the same

πŸ› οΈ CCST Troubleshooting Example (Real Exam Logic)

❌ Problem: Internet not working

Symptom Likely Issue
Switch light OFF Frame / Layer 2 issue
No IP address Packet / Layer 3 issue
Can ping IP but website not loading Application layer issue
πŸ‘‰ OSI + Packet/Frame knowledge = fast troubleshooting πŸš€
🧠 Memory Trick (Easy Recall)

Frame = Local delivery (MAC)
Packet = Global delivery (IP)

Addressing Concepts in Networking

⭐ CCST GOLD LINE (Remember This!)

IP = Who (device)
MAC = Which hardware
Port = Which application

πŸ‘‰ If you remember this one line, half of addressing questions are solved βœ…

πŸ”Ή Why Addressing is Needed

Imagine sending a courier without:

❌ House address
❌ Flat number
❌ Person name

Same in networking:

  • IP finds the device
  • MAC finds the hardware on local network
  • Port finds the application

Home Network Addressing Overview

Home Network Addressing Setup

🧩 1️⃣ IP Address (Network Layer – Layer 3)

An IP address is a logical address that uniquely identifies a device on a network.

🧠 Think of IP as a home address 🏠

πŸ”Ή Examples

IPv4: 192.168.1.10
IPv6: 2001:db8::1

πŸ”Ή Types of IP

  • Private IP β†’ Inside LAN (home / office)
  • Public IP β†’ On the internet

🧠 Easy Example

Your laptop IP β†’ 192.168.1.10
Google server IP β†’ 142.250.182.14

πŸ‘‰ Routers use IP addresses to route packets 🌐

🧩 2️⃣ MAC Address (Data Link Layer – Layer 2)

A MAC address is a physical (hardware) address permanently assigned to a network device.

🧠 Think of MAC as a fingerprint πŸ†”

πŸ”Ή Example

00:1A:2B:3C:4D:5E

πŸ”Ή Key Points

  • Fixed to NIC (Network Interface Card)
  • Works inside the local network (LAN)
  • Used by switches

🧠 Easy Example

Inside your home:
Laptop β†’ Router β†’ Switch

Communication happens using MAC addresses (frames)
πŸ‘‰ Switches read MAC, not IP

MAC Address vs IP Address

MAC Address vs IP Address

🧩 3️⃣ Port Number (Transport Layer – Layer 4)

A port number identifies which application or service should receive the data.

🧠 Think of port as a room number in a house πŸšͺ

πŸ”Ή Common Port Numbers (VERY IMPORTANT)

Service Port
HTTP 80
HTTPS 443
FTP 21
SSH 22
SMTP 25
DNS 53

🧠 Easy Example

You open:
https://google.com

Behind the scenes:
IP β†’ Google server
Port β†’ 443 (HTTPS)

πŸ‘‰ Same server, different apps β†’ different ports

🧠 How All Three Work Together (Real Flow)

When you open a website:

IP Address β†’ Finds the device (server)
MAC Address β†’ Finds device in local network
Port Number β†’ Finds the correct application

πŸ” Real Example

Destination IP β†’ 142.250.182.14
Destination Port β†’ 443
Destination MAC β†’ Router’s MAC (local hop)

🧩 Comparison Table (Exam Friendly)

Feature IP Address MAC Address Port Number
OSI Layer Layer 3 Layer 2 Layer 4
Identifies Device Hardware Application
Used by Routers Switches TCP / UDP
Scope Global Local (LAN) Application level
Changes? Yes (DHCP) No (mostly) No

πŸ› οΈ CCST Troubleshooting Examples

Problem Likely Cause
No internet, no IP IP addressing issue
Devices not visible in LAN MAC / Layer 2 issue
Website opens, email not working Port issue
🧠 Final Memory Trick (Don’t Forget!)

IP = Where the device is
MAC = Which device it is
Port = Which app it is