You're offline — cached pages and worlds still work
Drishti Innovations logo
Drishti Innovations
Syllabus /School /Class 8 /cs /Networking Concepts

Networking Concepts

Networking Concepts — notes and practice.

What you'll learn

  • The seven layers of the OSI model and each layer's role
  • How the TCP/IP model compares to the OSI model
  • IPv4 vs IPv6 addressing
  • Types of network devices and what each one does
  • Cybersecurity basics — malware types, passwords, and HTTPS

Key concepts

1. OSI Model — 7 Layers

The OSI (Open Systems Interconnection) model is a conceptual framework that standardises how different computer systems communicate over a network. It has 7 layers, each with a specific role.

Memory aid — layers 7 to 1: All People Seem To Need Data Processing

Layer #Layer NameRoleExample protocols/devices
7ApplicationInterface between network and user applicationsHTTP, FTP, DNS, SMTP
6PresentationTranslates, encrypts, and compresses dataSSL/TLS, JPEG, ASCII
5SessionEstablishes, maintains, and ends communication sessionsNetBIOS, RPC
4TransportReliable end-to-end data delivery; error checkingTCP, UDP
3NetworkLogical addressing and routing (IP)IP, ICMP, Routers
2Data LinkPhysical addressing (MAC address); error detectionEthernet, Switches, MAC
1PhysicalTransmits raw bits over physical mediumCables, Hubs, Wi-Fi signals

Key layer roles to remember:

  • Layer 7 (Application): What the user interacts with — web browsing (HTTP), email (SMTP)
  • Layer 4 (Transport): TCP ensures all data arrives correctly; UDP is faster but no guarantee
  • Layer 3 (Network): IP addresses live here; routers work at this layer
  • Layer 2 (Data Link): MAC addresses live here; switches work at this layer
  • Layer 1 (Physical): Actual electrical signals, light pulses, or radio waves

2. TCP/IP Model vs OSI Model

The TCP/IP model (also called the Internet model) is the practical model actually used on the internet. It has 4 layers that map approximately to the OSI model's 7 layers.

TCP/IP LayerMaps to OSI LayersKey protocols
Application5 + 6 + 7 (Session + Presentation + Application)HTTP, FTP, DNS, SMTP
Transport4 (Transport)TCP, UDP
Internet3 (Network)IP, ICMP
Network Access1 + 2 (Physical + Data Link)Ethernet, Wi-Fi

Comparison table:

FeatureOSI ModelTCP/IP Model
Number of layers74
PurposeConceptual/theoreticalPractical implementation
Developed byISODARPA (US Department of Defense)
UsageReference frameworkActually used on the internet
Transport layer protocolsTCP, UDPTCP, UDP

OSI is like a blueprint — it tells you how things should work. TCP/IP is like the actual building — it's how the internet actually works.


3. IP Addressing — IPv4 vs IPv6

An IP address is a unique numerical label assigned to every device on a network, used for identification and communication.

IPv4 (Internet Protocol version 4)

  • Format: 4 groups of numbers, each 0–255, separated by dots
  • Example: 192.168.10.1
  • Total possible addresses: about 4.3 billion (2³²)
  • Problem: The world is running out of IPv4 addresses due to billions of internet-connected devices

IPv6 (Internet Protocol version 6)

  • Format: 8 groups of hexadecimal digits, separated by colons
  • Example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
  • Total possible addresses: 340 undecillion (3.4 × 10³⁸) — effectively unlimited
  • Developed to replace IPv4 as the internet expanded

IPv4 vs IPv6 comparison:

FeatureIPv4IPv6
Address length32 bits128 bits
FormatDecimal (0–255.0–255…)Hexadecimal (groups of 4 hex digits)
Total addresses~4.3 billion~340 undecillion
SecurityOptional (IPSec)Built-in IPSec
ConfigurationManual or DHCPAuto-configuration supported
Example192.168.1.12001:db8::1

4. Network Devices — Comparison Table

DeviceOSI LayerFunctionKey fact
HubLayer 1 (Physical)Broadcasts data to ALL devices in the networkInefficient — causes network congestion; largely replaced by switches
SwitchLayer 2 (Data Link)Sends data only to the specific destination device using MAC addressSmarter than a hub; reduces congestion
RouterLayer 3 (Network)Connects different networks; routes data using IP addressesYour home router connects LAN to the internet
ModemLayer 1/2Converts digital signals to analog (for phone lines) and backMOdulator-DEModulator; needed for broadband connections
FirewallLayer 3/4Monitors and filters incoming/outgoing traffic based on security rulesBlocks unauthorised access; can be hardware or software

Simple analogy:

  • Hub = Shouting in a room (everyone hears)
  • Switch = Passing a note directly to one person (only the target receives it)
  • Router = Post office (decides which road each letter should travel)
  • Modem = Translator (converts digital language to phone line language)
  • Firewall = Security guard (checks who is allowed in and out)

5. Cybersecurity Basics

Cybersecurity is the practice of protecting computers, networks, and data from digital attacks and unauthorised access.

Types of Malware

Malware (malicious software) is any software designed to harm, disrupt, or gain unauthorised access to a system.

Malware typeHow it worksHow it spreadsExample
VirusAttaches to a file; activates when the file is run; damages filesInfected email attachments, USB drivesILOVEYOU virus
WormSelf-replicates and spreads without user actionNetwork connections, emailWannaCry
TrojanDisguises as a legitimate program; opens a backdoorDownloaded from untrusted websitesRemote Access Trojans
SpywareSecretly monitors and steals dataBundled with free softwareKeyloggers
RansomwareEncrypts files and demands paymentPhishing emails, downloadsWannaCry, Petya
AdwareDisplays unwanted ads; may track browsingFree software installationsBrowser toolbars

Strong Passwords

A strong password is your first line of defence against unauthorised access.

Strong password checklist:

RuleWhy
At least 12 characters longLonger = harder to crack
Mix of uppercase + lowercase lettersIncreases complexity
Include numbers (0–9)Adds more possible combinations
Include symbols (!@#$%^&*)Further increases complexity
No dictionary wordsDictionary attacks try common words
No personal infoAttackers may know your name, birthdate
Different for each accountOne breach won't compromise everything

Weak vs Strong password examples:

WeakStrong
password123P@ssw0rd!#Xq7
rajkumarr@Jkum@R$2026
12345678!mAking#Gr3at$Passw0rd

HTTPS and Safe Browsing

Safe practiceWhy it matters
Use HTTPS sitesData is encrypted between your browser and server
Look for the padlock iconConfirms the site has a valid SSL certificate
Don't click unknown linksPhishing links steal credentials
Keep software updatedUpdates patch known security vulnerabilities
Use 2-Factor Authentication (2FA)Even if password is stolen, account stays secure

Quick check

  1. Match each OSI layer to its function: (a) Layer 1 — (b) Layer 3 — (c) Layer 7. Choose from: [Transmits raw bits] [Routes data using IP addresses] [User-facing applications like HTTP].

  2. How many layers does the TCP/IP model have, and how do they map to the 7 layers of the OSI model?

  3. What is the main reason IPv6 was developed to replace IPv4?

  4. A company wants to prevent unauthorised users from accessing its internal network from the internet. Which network device should they use, and why?

  5. A student receives an email with an attachment that says "Click to get free games." They download and open it — now their files are encrypted and they are asked to pay money. What type of malware is this?


Open the Practice tab for graded questions on Networking Concepts.

0 topics • Notes • Practice • AI explanations available

For generative engines & students

Every topic page delivers structured HTML (headings, lists, tables, takeaways) in the first response. Perfect for citations in AI overviews and fast scanning by students and parents.