From your school's WiFi to the global Internet, every message you send, every video you watch and every game you play online travels over a computer network. This chapter explains how networks are built and classified: the types of networks, how networking evolved, switching techniques, data communication terms, transmission media, network topologies, and how nodes are identified using MAC and IP addresses.
Study each section in order — concepts build on each other. Trace every diagram with your finger. Read the 📋 Board Exam Tips alongside each section, and pay particular attention to Sections 7.3, 7.5, 7.7 and 7.8 during revision.
7.1 🏁 Introduction
Think about your daily life for just a moment:
- 📱 You WhatsApp your friend in Delhi instantly
- 🎬 You stream a YouTube video from servers in the USA
- 🏦 Your parents do internet banking from home
- 💻 Your school computer lab shares ONE printer across 30 computers
ALL of this is possible because of Computer Networks!
A Computer Network is a system where two or more computers are interconnected to share resources, data, and communicate with each other.
Global Reach
Connect with anyone, anywhere on Earth
WhatsAppEmailVideo callsResource Sharing
Share printers, scanners, storage, software
School lab printer shared by 30 PCsData Sharing
Transfer files, documents, media instantly
Google Driveemail attachmentsCost Effective
One resource used by many → saves money
One internet connection shared by all"List any four advantages of networking" — a classic 2-mark question. Always mention: (1) Resource sharing, (2) Data sharing, (3) Communication, (4) Cost reduction. Bonus 5th point: (5) Reliability — data can be backed up on multiple machines.
7.2 🖧 Computer Networks — An Introduction
Definition
A Computer Network is an interconnection of autonomous (independently functioning) computers that are linked together using communication channels to share data and resources and communicate with each other.
Key word here is Autonomous — each computer can work on its own; the network just connects them for mutual benefit!
7.2.1 Components of a Computer Network
Every network — from your home WiFi to the global Internet — needs exactly five essential components:
Sender
The device that originates the communication
Your laptop sending an emailReceiver
The device that receives the communication
Your friend's phone receiving itMessage
The actual data being communicated
TextimagevideoaudiofileMedium
The physical path through which data travels
CableWiFi signalSatelliteProtocol
Rules governing how data is sent and received
TCP/IPHTTPFTPgraph LR
A["📤 Sender\nYour PC"] -->|"Message"| B["🔌 Medium\nCable / WiFi"]
B -->|"Message"| C["📥 Receiver\nFriend's PC"]
D["📋 Protocol\nTCP/IP\nCommon Rules"] -.->|"governs"| A
D -.->|"governs"| C
style A fill:#4CAF50,color:#fff
style B fill:#2196F3,color:#fff
style C fill:#FF9800,color:#fff
style D fill:#9C27B0,color:#fff
Imagine you speak Bengali and your friend speaks Tamil. You need a common language (say, English) to talk. That's exactly what a Protocol is — a set of rules that both sender and receiver agree to follow. Without protocols, networked computers cannot understand each other, even if the cables are perfectly connected!
Goals of Networking
| Goal | Description | Real-world Example |
|---|---|---|
| Resource Sharing | Hardware/software shared over network | 30 PCs share 1 printer in a lab |
| Data Sharing | Files transferred across devices instantly | Sending documents via email |
| Communication | Real-time messaging, video calls | WhatsApp, Google Meet |
| Reliability | Data backed up on multiple machines | Google Drive auto-backup |
| Remote Access | Use a distant computer from your location | Work from home, TeamViewer |
7.3 🗺️ Types of Networks
Networks are classified in two major ways — by geographical spread and by component roles.
7.3.1 Types of Networks Based on Geographical Spread
This is the main classification to learn for this chapter.
🏠 PAN — Personal Area Network
Range
Up to 10 metres
Your bedroom / deskSpeed
~1 Mbps
Adequate for personal devicesDevices
Smartphone, laptop, tablet, smartwatch
Your personal gadgetsTechnology
Bluetooth, Infrared
Short-range wirelessReal examples: Connecting phone to Bluetooth earbuds; syncing a smartwatch; AirDrop between two iPhones
🏫 LAN — Local Area Network
Range
Up to 1 km (within a building/campus)
SchoolofficehomeSpeed
10 Mbps – 1 Gbps
Very fastTechnology
Ethernet cables (UTP), WiFi
IEEE 802.3802.11Cost
Low — privately owned
Easy to set upReal examples: School computer lab, home WiFi, office network, your csip12.in server room!
LAN = Limited Area Network — only covers a local (small) area!
🏙️ MAN — Metropolitan Area Network
Range
1 km – 100 km (city-wide)
A city or large townSpeed
10 Mbps – 1 Gbps
FastTechnology
Fibre optic cables, WiMAX
IEEE 802.16Owner
Government or large companies
ISPsCable TV operatorsReal examples: Cable TV network across Durgapur; a city's public WiFi; all bank branches in one city connected together; BSNL city-level network
🌍 WAN — Wide Area Network
Range
Worldwide — unlimited!
CountriescontinentsoceansSpeed
Slower than LAN (due to distance)
56 Kbps – 100 Mbps typicalTechnology
Satellites, telephone lines, fibre optic
SONETFrame RelayBest Example
The Internet
The largest WAN ever built!Real examples: The Internet, ATM banking network (connects all ATMs nationwide), SWIFT international banking system
"Distinguish between LAN, MAN, and WAN" — a 3-mark question. Always answer in a table:
Complete Comparison Table:
| Feature | PAN | LAN | MAN | WAN |
|---|---|---|---|---|
| Full Form | Personal Area Network | Local Area Network | Metropolitan Area Network | Wide Area Network |
| Range | Up to 10 m | Up to 1 km | 1 km – 100 km | Worldwide |
| Speed | ~1 Mbps | 10 Mbps – 1 Gbps | 10 Mbps – 1 Gbps | 56 Kbps – 100 Mbps |
| Area Covered | Personal devices | Building / Campus | City | Country / World |
| Setup Cost | Very Low | Low | Moderate | Very High |
| Ownership | Private | Private | Public / Private | Public |
| Technology | Bluetooth, IR | Ethernet, WiFi | WiMAX, Fibre | Satellite, SONET |
| Example | Bluetooth earbuds | School lab network | Cable TV city network | The Internet |
graph LR
PAN["🏠 PAN\n10 metres\nBluetooth"]
LAN["🏫 LAN\n1 km\nSchool Lab"]
MAN["🏙️ MAN\n100 km\nCity Network"]
WAN["🌍 WAN\nWorldwide\nThe Internet"]
PAN -->|"extends to"| LAN
LAN -->|"extends to"| MAN
MAN -->|"extends to"| WAN
style PAN fill:#4CAF50,color:#fff
style LAN fill:#2196F3,color:#fff
style MAN fill:#FF9800,color:#fff
style WAN fill:#F44336,color:#fff
One picture, all four types: the smaller networks sit inside the bigger ones. Your earbuds (PAN) work inside your home WiFi (LAN), which joins your Internet provider's city network (MAN), which is part of the Internet (WAN).
graph TD
subgraph WAN["🌍 WAN — the Internet (worldwide)"]
subgraph MAN["🏙️ MAN — your ISP's city network"]
subgraph LAN["🏠 LAN — your home WiFi"]
subgraph PAN["📱 PAN — around you"]
PH["📱 Phone"]
EB["🎧 Earbuds"]
end
LP["💻 Laptop"]
RT["📶 WiFi Router"]
end
ISP["🏢 ISP exchange"]
end
SRV["🖥️ YouTube server\n(another country)"]
end
PH ---|"Bluetooth"| EB
PH ---|"WiFi"| RT
LP ---|"WiFi"| RT
RT ---|"fibre / cable"| ISP
ISP ---|"undersea fibre,\nsatellite"| SRV
style PAN fill:#E8F5E9,stroke:#4CAF50
style LAN fill:#E3F2FD,stroke:#2196F3
style MAN fill:#FFF3E0,stroke:#FF9800
style WAN fill:#FFEBEE,stroke:#F44336
7.3.2 Types of Networks by Component Roles
How do computers behave relative to each other within a network?
🖥️ Client-Server Network
Server
Powerful central computer that provides resources/services
File serverWeb serverDatabase serverClient
Computers that REQUEST services from the server
Your PC browsing a websiteAdvantage
Centralised control; better security; easy backup and management
Used in schoolsofficesbanksDisadvantage
If server fails → entire network goes down; Server is expensive
Single point of failuregraph TD
S["🖥️ SERVER\n(Central Resource Provider)"]
C1["💻 Client 1"]
C2["💻 Client 2"]
C3["💻 Client 3"]
C4["💻 Client 4"]
S --- C1
S --- C2
S --- C3
S --- C4
style S fill:#F44336,color:#fff
style C1 fill:#2196F3,color:#fff
style C2 fill:#2196F3,color:#fff
style C3 fill:#2196F3,color:#fff
style C4 fill:#2196F3,color:#fff
🤝 Peer-to-Peer (P2P) Network
Equal Status
Every computer is BOTH client AND server simultaneously
No hierarchy — everyone is equal!Scale
Best for small networks (2–10 computers)
Home networkssmall shopsAdvantage
No costly dedicated server needed; simple setup
Easy to configure and cheapDisadvantage
Difficult to manage as network grows; less secure; no central backup
No central admin controlExamples: BitTorrent file sharing, sharing files between 2 laptops via WiFi Direct
"Differentiate between Client-Server and Peer-to-Peer networks" — 2-mark question. Key: (1) In C-S, roles are fixed (server always serves); in P2P, every node is both client and server. (2) C-S has centralised control and better security; P2P has decentralised control. (3) C-S needs expensive dedicated server; P2P doesn't.
🧪 Worked Example — Client-Server or Peer-to-Peer?
Ask one question: is there one machine whose job is only to serve the others? If yes, it is client-server.
| Situation | Type | Why |
|---|---|---|
| Students log in to the school library catalogue to search for books | Client-Server | One library server stores the catalogue; every student PC only asks for it |
| You check your marks on the CBSE results website | Client-Server | The CBSE web server serves results to millions of clients |
| Two friends send photos phone-to-phone with Nearby Share | Peer-to-Peer | Each phone sends and receives; neither is a dedicated server |
| Three PCs in a small shop share each other's folders, with no server | Peer-to-Peer | Every PC is both a client and a server for the others |
7.4 🕰️ Evolution of Networking
7.4.1 ARPANET — Where It All Began! 🚀
The year was 1969. The Cold War was at its peak. The US military had a problem: if Soviet forces destroyed their central communication hub, the entire military communication system would collapse instantly...
Their solution? Build a decentralised network where messages could find alternate paths even if some nodes were destroyed!
ARPANET (Advanced Research Projects Agency NETwork):
| Fact | Detail |
|---|---|
| Founded by | US Department of Defense (DARPA) |
| Year | 1969 |
| First message sent | "LO" — meant to send "LOGIN" but the system crashed after 2 letters! 😂 |
| Initial nodes | 4 universities: UCLA, Stanford, UCSB, University of Utah |
| Key achievement | First network to use packet switching |
| Legacy | Became the direct ancestor of the modern Internet |
graph LR
A["🌱 1969\nARPANET\n4 nodes"] --> B["📬 1972\n23 nodes\nEmail invented!"]
B --> C["🔌 1983\nTCP/IP adopted\nTrue Internetworking begins"]
C --> D["🌐 1991\nWorld Wide Web\nTim Berners-Lee"]
D --> E["📱 Today\nBillions of devices\nThe Internet we know!"]
style A fill:#9C27B0,color:#fff
style B fill:#3F51B5,color:#fff
style C fill:#2196F3,color:#fff
style D fill:#4CAF50,color:#fff
style E fill:#FF9800,color:#fff
The very first message ever sent over ARPANET was just "LO" — because the system crashed after typing "L" and "O" of the word "LOGIN"! The Internet literally started with a crash. 😂 Decades later, it became the most reliable system ever built!
NSFNET — the bridge to the Internet (1986) 🎓
In 1986, the National Science Foundation (NSF) of the USA built NSFNET, a faster network that connected universities and research centres across the country. ARPANET was mainly for defence research, but NSFNET opened networking to education and research, and many more networks joined it. In 1990 ARPANET was shut down, and NSFNET became the backbone of the growing Internet. When NSFNET was retired in 1995, commercial companies took over, and the modern Internet as we know it was born.
graph LR
A["🚀 ARPANET\n1969\n(defence research)"]
N["🎓 NSFNET\n1986\n(universities and research)"]
I["🌐 INTERNET\n1990s onwards\n(everyone, commercial)"]
A --> N --> I
style A fill:#9C27B0,color:#fff
style N fill:#2196F3,color:#fff
style I fill:#4CAF50,color:#fff
"Write a short note on the evolution of networking (ARPANET, NSFNET, Internet)." — 3-mark question! Answer: ARPANET (1969) was the first packet-switched network, built by the US Department of Defense to connect research computers. NSFNET (1986), built by the National Science Foundation, was a faster network that connected universities and research institutions; it became the backbone after ARPANET closed in 1990. NSFNET and other networks linked together to form the Internet — a global network of networks, opened to commercial use in the 1990s.
7.4.2 The Internet 🌐
The Internet is NOT the same as the World Wide Web (WWW)! Many students mix the two up — learn the difference below.
| Feature | Internet | WWW (World Wide Web) |
|---|---|---|
| What is it? | A global network of interconnected computers | A collection of websites / web pages accessible via browsers |
| Created from | Evolved from ARPANET | Created by Tim Berners-Lee (1991) |
| Analogy | The roads and highways connecting cities | The cars, trucks, and bikes travelling on those roads |
| Protocol | TCP/IP | HTTP / HTTPS |
Internet Key Features:
Global
Connects billions of devices worldwide
No single country or company owns itPacket Switching
Data travels in small independent packets
Efficient and reliableOpen Standards
Based on open TCP/IP protocols
Anyone can connect a deviceRedundant
Multiple paths between any two points
Extremely resilientKey Services Running on the Internet:
| Service | Protocol | Purpose |
|---|---|---|
| World Wide Web | HTTP / HTTPS | Browse websites |
| SMTP, POP3, IMAP | Send and receive messages | |
| File Transfer | FTP | Transfer files between computers |
| Remote Access | Telnet, SSH | Log into and control remote computers |
| Voice / Video Call | VoIP (SIP) | WhatsApp calls, Google Meet |
| Online Gaming | UDP | Real-time multiplayer games |
7.4.3 The Interspace 🔮
The Interspace is the next generation of the Internet — a three-dimensional, immersive, collaborative virtual environment where users interact with each other and digital objects in real-time.
3D Virtual Space
A three-dimensional environment built on Internet infrastructure
Like entering a virtual roomMulti-user
Multiple users interact simultaneously as avatars
Virtual classroommeetingsReal-time Interaction
Touch, move, and interact with 3D objects and people
VR/AR experiencesFuture Status
Still evolving — the next phase of the Internet
Metaverse is today's version!The Internet delivers content on flat 2D screens (text, images, videos). The Interspace creates a 3D immersive experience — imagine attending a virtual class where you see your teacher and classmates as 3D avatars, manipulate 3D scientific models, and write on a shared virtual whiteboard — all from home! Today's Metaverse (Meta/VR platforms) is essentially the Interspace concept becoming reality.
7.5 🔄 Switching Techniques
When you send data across a network, how does it actually travel from your device to the destination? Networks use switching to route data. There are three techniques:
Imagine sending a letter from Durgapur to Mumbai:
- Circuit Switching = Booking a dedicated train compartment just for your one letter — no one else can use it even if it's mostly empty (reserved path)
- Message Switching = Your letter goes to Durgapur post office, stored, forwarded to Kolkata post office, stored, forwarded... hop by hop (store-and-forward)
- Packet Switching = Your letter is torn into 10 pieces, each piece travels by whatever route is fastest, and they're all reassembled in Mumbai!
7.5.1 Circuit Switching
A dedicated, unshared communication path is established between sender and receiver before data transfer begins. This path remains reserved for the entire duration of communication — even if no data is being sent!
Step-by-step flow:
1. SETUP : Sender requests connection → dedicated path established
2. TRANSFER : Data flows continuously on the reserved path
3. TEARDOWN : Connection is released after communication ends
graph LR
A["📱 Sender\nDurgapur"] -->|"Step 1: Path Reserved"| N1["🔄 Node 1"]
N1 -->|"Dedicated Link"| N2["🔄 Node 2"]
N2 -->|"Step 2: Data Flows"| B["📱 Receiver\nMumbai"]
style A fill:#4CAF50,color:#fff
style N1 fill:#2196F3,color:#fff
style N2 fill:#2196F3,color:#fff
style B fill:#FF9800,color:#fff
| Feature | Detail |
|---|---|
| Path | Fixed, dedicated — exclusively yours |
| Setup time | Required before transfer |
| Bandwidth efficiency | Low — reserved even when idle |
| Delay | Setup delay only; no delay after setup |
| Real-time? | ✅ Yes — perfect for voice calls |
| Best Example | Traditional telephone calls (PSTN) |
Advantages
Guaranteed bandwidth; constant delay (no jitter); reliable for voice
Traditional phone systemDisadvantages
Wasteful — channel idle when silent; slow setup; expensive
Not good for bursty internet data7.5.2 Message Switching
The entire message (no matter how large) is sent to the first intermediate node, which stores it completely, then forwards it to the next node — a store-and-forward approach. Like the traditional post office!
graph LR
A["📤 Sender\nFull Message"] -->|"Store here"| N1["🗄️ Node 1\nStore & Forward"]
N1 -->|"Store here"| N2["🗄️ Node 2\nStore & Forward"]
N2 -->|"Delivered!"| B["📥 Receiver"]
style A fill:#4CAF50,color:#fff
style N1 fill:#FF9800,color:#fff
style N2 fill:#FF9800,color:#fff
style B fill:#2196F3,color:#fff
| Feature | Detail |
|---|---|
| Path | No dedicated path; message hops through nodes |
| Storage | Full message stored at every intermediate node |
| Efficiency | Better than circuit switching (shared links) |
| Delay | High — entire message stored before forwarding |
| Message size | No fixed limit; but large messages = more delay |
| Best Example | Old email systems, telegraph networks |
Advantages
No idle bandwidth waste; can prioritise urgent messages; no dedicated path needed
Efficient use of networkDisadvantages
High latency; each node needs large storage; NOT suitable for real-time
Cannot use for live voice/video7.5.3 Packet Switching ⭐ (The Internet's Secret!)
The message is broken into small, fixed-size chunks called packets. Each packet travels independently through the network (possibly via different routes!) and is reassembled in correct order at the destination. This is exactly how the Internet works!
Structure of a Packet:
┌───────────────────────────────────────────────────────┐
│ HEADER │ DATA (Payload) │ TRAILER │
│ Source IP Address │ │ Error │
│ Destination IP Address │ Actual Data │ Check │
│ Packet Number │ (~1500 bytes │ (CRC) │
│ Total Packet Count │ for Ethernet) │ │
└───────────────────────────────────────────────────────┘
graph TD
SEND["📤 Sender sends: 'BOARD EXAM'"]
PKT["Split into Packets:\nP1='BOA' P2='RD ' P3='EXA' P4='M'"]
SEND --> PKT
PKT -->|"P1 via Route A"| NA["🔄 Node A"]
PKT -->|"P2 via Route B"| NB["🔄 Node B"]
PKT -->|"P3 via Route A"| NA
PKT -->|"P4 via Route C"| NC["🔄 Node C"]
NA --> RECV["📥 Receiver\nReassembles packets:\n'BOARD EXAM' ✅"]
NB --> RECV
NC --> RECV
style SEND fill:#4CAF50,color:#fff
style PKT fill:#9C27B0,color:#fff
style NA fill:#2196F3,color:#fff
style NB fill:#2196F3,color:#fff
style NC fill:#2196F3,color:#fff
style RECV fill:#FF9800,color:#fff
Two types of Packet Switching:
Virtual Circuit
Path decided BEFORE packets are sent; all packets follow same path
Like circuit switching for packets — ATM networksDatagram
Each packet independently routed; may take DIFFERENT paths
How the Internet works — TCP/IPComplete Switching Comparison:
| Feature | Circuit Switching | Message Switching | Packet Switching |
|---|---|---|---|
| Data Unit | Continuous stream | Entire message | Small packets |
| Path | Fixed, dedicated | Dynamic, hop-by-hop | Dynamic, independent |
| Storage at nodes | None | Yes — full message | Minimal (just buffer) |
| Bandwidth efficiency | Low (wastes idle time) | Medium | High — most efficient |
| Delay | Setup delay only | High (store & forward) | Low |
| Real-time capable? | ✅ Yes | ❌ No | ✅ Yes |
| Suitable for | Voice calls | Old email, telegram | Internet data, modern apps |
| Example | PSTN phone | Telegraph | Internet, WiFi |
"Differentiate between Circuit Switching and Packet Switching" — 3-mark question. Key points: (1) Dedicated path vs shared path. (2) Reserves bandwidth vs shares dynamically. (3) Wastes bandwidth when idle vs efficient. (4) Best for real-time voice vs best for data. (5) Entire path must be established first vs no prior setup needed.
Think of the evolution: Circuit → Message → Packet (Internet uses Packet!) Car (dedicated road lane reserved for you), Mail (letter via post office), Parcel (split into packages — different couriers!)
🧪 Worked Example — Which Switching Technique?
| Situation | Technique | Reason |
|---|---|---|
| An STD call from a landline phone | Circuit | A path is reserved for the whole call, even during silences |
| A telegram sent through post-and-telegraph offices in the 1970s | Message | The whole message was stored at each office, then passed on |
| Downloading an app from the Play Store | Packet | The app file travels as thousands of packets, rebuilt on your phone |
| Your Google Meet class | Packet | Voice and video travel over the Internet as packets — real-time does not always mean circuit switching! |
7.6 📡 Data Communication Terminologies
Before exploring transmission media, learn this vocabulary — these terms are used throughout the rest of the chapter.
Bandwidth
Maximum data transfer capacity of a channel
Like the WIDTH of a highway — more lanes = more carsData Transfer Rate
Actual speed of data transfer achieved
Cars ACTUALLY moving (may be less than capacity!)Baud Rate
Number of signal changes (symbols) per second
Signals per second — NOT same as bits!Noise
Unwanted interference that corrupts the signal
Static crackle on an old phone callComplete Terminology Reference:
| Term | Definition | Unit | Real Example |
|---|---|---|---|
| Bandwidth | Maximum data capacity of a communication channel | Hz or bps | 100 Mbps router |
| Data Transfer Rate (DTR) | Actual speed of data transmission | bps, Kbps, Mbps, Gbps | Downloading at 45 Mbps |
| Baud Rate | Number of signal state changes per second | Baud | 9600 Baud old modem |
| Bit Rate | Number of bits transmitted per second | bps | 1 Mbps = 1,000,000 bps |
| Noise | Unwanted electrical disturbances interfering with signal | dB | Radio frequency interference |
| Attenuation | Loss of signal strength as it travels over distance | dB | Signal weakens over long cables |
| Distortion | Change in the shape/form of the signal during transmission | — | Wave shape changes |
| Latency | Total time delay for data to reach from source to destination | ms | Ping in online games |
| Jitter | Variation in packet arrival times | ms | Video call freezing/stuttering |
| Protocol | Set of rules governing data communication | — | TCP/IP, HTTP, FTP |
How a signal gets spoiled on the way — and how it is fixed:
graph LR
S["📤 Sender\nstrong, clean signal"]
C1["〰️ Long cable\nATTENUATION: signal grows weaker\nNOISE: a motor nearby adds interference"]
R["🔄 Repeater\nregenerates a\nstrong, clean signal"]
D["📥 Receiver\nreads the data correctly"]
S --> C1 --> R --> D
style S fill:#C8E6C9,stroke:#4CAF50
style C1 fill:#FFE0B2,stroke:#FF9800
style R fill:#E1BEE7,stroke:#9C27B0
style D fill:#BBDEFB,stroke:#2196F3
Data Speed Units — Quick Reference:
| Unit | Value | Typical Use |
|---|---|---|
| 1 Kilobit/s (Kbps) | 1,000 bits per second | Old dial-up internet (56 Kbps) |
| 1 Megabit/s (Mbps) | 1,000,000 bits per second | Home broadband (100 Mbps) |
| 1 Gigabit/s (Gbps) | 1,000,000,000 bits per second | Fibre optic backbone (1 Gbps) |
"What is the difference between Bandwidth and Data Transfer Rate?" — 2-mark question. Bandwidth is the theoretical maximum capacity of a channel. Data Transfer Rate is the actual speed achieved during transmission. Bandwidth ≥ DTR always — actual speed is always ≤ maximum capacity.
"Differentiate between Baud Rate and Bit Rate." Baud Rate = signal changes per second. Bit Rate = bits per second. If each signal change carries more than 1 bit (e.g., 2 bits per signal), then Bit Rate = Baud Rate × bits per signal.
- Bandwidth = Number of lanes on the highway (maximum capacity)
- Data Transfer Rate = Number of vehicles actually moving now (actual)
- Attenuation = A car running out of fuel over a long journey (signal weakening)
- Noise = A construction zone blocking some lanes (interference)
- Latency = Travel time from Durgapur to Kolkata (end-to-end delay)
- Jitter = Some cars taking 1 hour, some taking 3 hours for same trip (variable delay)
🧪 Worked Examples — Calculating with Data Rates
Remember: 1 byte = 8 bits. File sizes are given in bytes (MB) but speeds in bits per second (Mbps) — always convert first! (Here 1 MB is taken as 1,000,000 bytes, like the speed units above.)
Example 1: How long does a 600 MB video take to download at 40 Mbps?
Size in bits = 600 MB × 8 = 4800 Mb (megabits)
Time = 4800 Mb ÷ 40 Mbps = 120 seconds = 2 minutes
In real life it takes a little longer: 40 Mbps is the plan's maximum, and the actual data transfer rate is usually lower.
Example 2: An old modem works at 2400 baud and sends 4 bits with every signal change. What is its bit rate?
Bit rate = Baud rate × bits per signal change
= 2400 × 4 = 9600 bps
Example 3: A school buys a 100 Mbps Internet plan. A speed test in the lab shows 45 Mbps.
- 100 Mbps is the bandwidth — the most the connection can carry.
- 45 Mbps is the data transfer rate — the speed actually achieved right now (shared by many users, slowed by noise and distance).
7.7 📡 Transmission Media
Transmission Media is the physical path (channel) through which data travels from sender to receiver. It's the "road" for your data!
graph TD
TM["🔌 Transmission Media"]
TM --> GM["📡 Guided Media\n(Wired — data directed along physical path)"]
TM --> UM["📻 Unguided Media\n(Wireless — data broadcast through air/space)"]
GM --> TPC["Twisted Pair Cable\nUTP & STP"]
GM --> CC["Coaxial Cable"]
GM --> OF["Optical Fibre"]
UM --> MW["Microwave\n(Terrestrial)"]
UM --> RW["Radio Wave\n(WiFi, Bluetooth)"]
UM --> SAT["Satellite\n(Microwave)"]
UM --> IR["Infrared"]
style TM fill:#9C27B0,color:#fff
style GM fill:#2196F3,color:#fff
style UM fill:#FF9800,color:#fff
style TPC fill:#4CAF50,color:#fff
style CC fill:#4CAF50,color:#fff
style OF fill:#4CAF50,color:#fff
style MW fill:#F44336,color:#fff
style RW fill:#F44336,color:#fff
style SAT fill:#F44336,color:#fff
style IR fill:#F44336,color:#fff
7.7.1 Twisted Pair Cable 🔌
The most common and cheapest network cable in the world! You've seen these in your school computer lab — the cables plugging into computers and switches.
How it works: Two insulated copper wires are twisted around each other in a helical pattern. The twisting is the key — it cancels out electromagnetic interference (EMI) through a process called differential signaling!
Two Types:
UTP (Unshielded Twisted Pair)
No metallic shield; cheapest and most common
Used in homesofficesschools — Category 5e (1 Gbps)Cat 6 (10 Gbps)STP (Shielded Twisted Pair)
Wrapped in metallic foil/braid shield for better EMI protection
Used in factoriesindustrial sites with high electrical interferenceUTP Cable Categories:
| Category | Max Speed | Use Today |
|---|---|---|
| Cat 3 | 10 Mbps | Obsolete (old phone lines) |
| Cat 5 | 100 Mbps | Older FastEthernet |
| Cat 5e | 1 Gbps | Most common in homes/offices |
| Cat 6 | 1–10 Gbps | Modern office networks |
| Cat 7 | 10 Gbps | Data centres |
Characteristics:
| Property | Value |
|---|---|
| Bandwidth | Up to 1 Gbps (Cat 5e) |
| Max Distance | 100 metres per segment |
| Cost | Very Low — cheapest cable |
| Installation | Easy — flexible and light |
| Connector | RJ-45 (like a wide phone plug — 8 pins!) |
| EMI Resistance | Low (UTP); Moderate (STP) |
Advantages
Cheapest; Easiest to install; Flexible; Widely available; Standard for LANs
Perfect for home/school/office LANsDisadvantages
Susceptible to EMI; Limited to 100 m; Slower than coaxial or fibre
Not for long-distance runs7.7.2 Coaxial Cable 📺
You've definitely seen these — the cable running from the wall to your cable TV set-top box!
Structure (from centre outward): each layer wraps the one inside it.
graph TD
subgraph J["1️⃣ Outer plastic jacket (PVC) — protects the cable"]
subgraph SH["2️⃣ Metallic braid shield — blocks outside interference"]
subgraph INS["3️⃣ Plastic insulator — keeps core and shield apart"]
CORE["4️⃣ ● Inner copper core\ncarries the signal"]
end
end
end
style J fill:#ECEFF1,stroke:#607D8B
style SH fill:#FFF8E1,stroke:#FFA000
style INS fill:#FFFFFF,stroke:#90A4AE
style CORE fill:#FFCC80,stroke:#E65100
Two Types:
Thinnet (10Base2, RG-58)
Thinner, flexible; up to 185 m per segment
Used in old computer labs (BNC connectors)Thicknet (10Base5, RG-11)
Thicker, rigid; up to 500 m per segment
Used as backbone cable in older networksCharacteristics:
| Property | Value |
|---|---|
| Bandwidth | Up to 10 Gbps |
| Max Distance | 185 m (Thinnet) / 500 m (Thicknet) |
| Cost | Moderate |
| EMI Resistance | Good (metallic braid shielding) |
| Connector | BNC (Bayonet Neill-Concelman) |
| Typical Use | Cable TV, older Ethernet networks |
Advantages
Better EMI shielding than twisted pair; Supports longer distances; Higher bandwidth
Cable TV distributionCCTVDisadvantages
More expensive than UTP; Heavier; Harder to bend/install; Being replaced by fibre
Largely obsolete for networking7.7.3 Optical Fibre 🌟 (The Speed Champion!)
The most advanced guided medium — uses pulses of light instead of electrical signals to transmit data through hair-thin glass or plastic fibres. Blazingly fast, completely immune to electrical interference!
How it works — Total Internal Reflection:
graph LR
E1["⚡ Electrical\nsignal"]
TX["💡 LED or Laser\nturns it into\nlight pulses"]
F["〰️ Glass fibre core\nlight bounces off the cladding\n(Total Internal Reflection)\nlike light in a mirror tube"]
RX["👁️ Photodetector\nturns light back\ninto electricity"]
E2["⚡ Electrical\nsignal"]
E1 --> TX --> F --> RX --> E2
style TX fill:#FFE0B2,stroke:#FF9800
style F fill:#BBDEFB,stroke:#2196F3
style RX fill:#E1BEE7,stroke:#9C27B0
Cross-section:
graph TD
subgraph JK["1️⃣ Protective jacket (plastic)"]
subgraph CL["2️⃣ Cladding — reflects light back in"]
CO["3️⃣ Core — light travels here (8–62 µm)\ncore: higher refractive index\ncladding: lower refractive index"]
end
end
style JK fill:#ECEFF1,stroke:#607D8B
style CL fill:#E3F2FD,stroke:#2196F3
style CO fill:#90CAF9,stroke:#1565C0
Two Types:
Single-Mode (SMF)
Very thin core (~8–10 µm); uses laser light; extremely long range
Undersea cablesinter-city connections — 100+ km without repeaterMulti-Mode (MMF)
Thicker core (~50–62.5 µm); uses LED light; shorter range
Campus networkswithin buildings — up to 2 kmCharacteristics:
| Property | Value |
|---|---|
| Bandwidth | Extremely high — up to 100 Gbps and beyond |
| Max Distance | 100+ km (single-mode, no repeater!) |
| Cost | High (cable + installation + specialised splicing tools) |
| Weight | Very light (glass/plastic — lighter than copper!) |
| EMI Resistance | 100% immune — uses light, not electricity! |
| Security | Very high — almost impossible to tap without detection |
| Signal type | Light pulses (optical) |
Advantages
Fastest; Completely immune to EMI; Most secure; Long distance without repeaters; Lightweight; No corrosion
Internet backboneundersea cablesISP infrastructureDisadvantages
Most expensive; Fragile (glass breaks!); Needs specialised tools and trained technicians; Difficult to repair
Not practical for every home (yet!)"Why is optical fibre preferred over copper cables?" — 2-mark question. Answer these 4 points: (1) Much higher bandwidth. (2) Completely immune to electromagnetic interference. (3) Signals travel at the speed of light — much longer distances without repeaters. (4) More secure — light signals cannot be tapped easily without physical damage to the cable.
7.7.4 Guided Media Compared
| Feature | Twisted Pair (UTP) | Coaxial Cable | Optical Fibre |
|---|---|---|---|
| Speed | Up to 1 Gbps | Up to 10 Gbps | 100 Gbps+ |
| Max Distance | 100 m | 185–500 m | 100+ km |
| Cost | ⭐ Cheapest | Moderate | Most Expensive |
| EMI Resistance | Low | Good | Immune (best!) |
| Security | Low | Medium | High |
| Installation | Easy | Moderate | Difficult |
| Connector | RJ-45 | BNC | ST / SC / LC |
| Signal Type | Electrical | Electrical | Light (Optical) |
| Best For | Home / Office LAN | Cable TV, CCTV | Long distance, High speed |
7.7.5 Microwave — Terrestrial Microwave 📡
Microwave uses high-frequency radio waves (1 GHz – 300 GHz) to transmit data through the open air between two ground-based stations. Terrestrial = Earth-surface-to-Earth-surface.
Critical requirement — Line of Sight (LOS): Sender and receiver dishes must be able to "see" each other directly. Microwaves travel in straight lines and cannot bend around the Earth's curvature. That's why microwave towers are placed on hilltops!
graph LR
T1["📡 Dish Antenna\nStation A\nDurgapur"]
REP["🔄 Repeater Tower\nOn Hilltop\n(Boosts signal)"]
T2["📡 Dish Antenna\nStation B\nKolkata"]
T1 -->|"Microwave Beam\n(Line of Sight)"| REP
REP -->|"Amplified Signal"| T2
style T1 fill:#FF9800,color:#fff
style REP fill:#9C27B0,color:#fff
style T2 fill:#2196F3,color:#fff
Characteristics:
| Property | Value |
|---|---|
| Frequency | 1 GHz – 300 GHz |
| Line of Sight | Required — no obstacles allowed! |
| Station Spacing | 30–50 km between repeater towers |
| Bandwidth | 1–10 Gbps |
| Weather effect | Heavy rain / fog can disrupt signal (rain fade) |
| Use | Mobile network towers (4G/5G backhaul), TV broadcast relay |
Advantages
No physical cable to lay; High bandwidth; Wide area coverage
Mobile networksTV relayconnecting buildingsDisadvantages
Line of Sight REQUIRED; Weather-sensitive; Repeater tower every 30–50 km
Blocked by hillstall buildingsheavy rain7.7.6 Radio Wave 📻
Radio waves have lower frequency (3 KHz – 1 GHz) than microwaves and can travel in all directions (omnidirectional) — no line-of-sight needed! This makes them extremely versatile.
Broadcast Radio
AM/FM radio, TV broadcast
Covers wide areas; any receiver can pick up the signalWiFi
2.4 GHz and 5 GHz bands
Home and office wireless networking (IEEE 802.11 a/b/g/n/ac/ax)Bluetooth
2.4 GHz; range 10–100 m
PAN devices — earphoneskeyboardmousespeakersCellular
700 MHz – 2600 MHz
Mobile networks — 2G/3G/4G/5GCharacteristics:
| Property | Value |
|---|---|
| Frequency | 3 KHz – 1 GHz |
| Direction | Omnidirectional — radiates in ALL directions |
| Penetration | Can pass through walls! (lower frequencies more so) |
| Range | 10 m (Bluetooth) to thousands of km (AM radio) |
| Security | Easier to intercept (because it goes everywhere) |
7.7.7 Satellite — Satellite Microwave 🛰️
When you need to communicate across continents or oceans, satellites are the solution! Satellites are essentially repeater stations orbiting Earth — receiving signals, amplifying them, and retransmitting them.
How it works:
Earth Station A → [UPLINK signal] → Satellite → [DOWNLINK signal] → Earth Station B
(Durgapur) ground to space up above space to ground (New York)
graph TD
SAT["🛰️ Satellite\n35,786 km altitude\n(GEO — appears stationary over Earth)"]
E1["📡 Earth Station A\nDurgapur, India"]
E2["📡 Earth Station B\nNew York, USA"]
E1 -->|"⬆️ UPLINK\nGround → Satellite"| SAT
SAT -->|"⬇️ DOWNLINK\nSatellite → Ground"| E2
style SAT fill:#FF9800,color:#fff
style E1 fill:#4CAF50,color:#fff
style E2 fill:#2196F3,color:#fff
Types of Satellite Orbits:
| Orbit | Altitude | Round-trip Delay | Use |
|---|---|---|---|
| GEO (Geostationary Earth Orbit) | 35,786 km | ~550 ms | DTH TV, weather satellite, internet |
| MEO (Medium Earth Orbit) | 2,000–35,786 km | ~130 ms | GPS navigation satellites |
| LEO (Low Earth Orbit) | 160–2,000 km | ~20–40 ms | Starlink, Iridium (modern internet!) |
Characteristics:
| Property | Value |
|---|---|
| Coverage | A single GEO satellite covers one-third of Earth! |
| Frequency | 1 GHz – 30 GHz (microwave range) |
| Latency | High — 270 ms one-way for GEO (problem for gaming!) |
| Cost | Very expensive (satellite launch costs millions!) |
| Weather Effect | Heavy rain causes "rain fade" — signal weakens |
| Use | DTH TV (Tata Sky, Airtel), GPS, military, remote internet |
Advantages
TRUE global coverage including oceans and deserts; No ground infrastructure needed for remote areas; Wide bandwidth
Shipsaircraftremote villagesmilitaryDisadvantages
Very high latency (270 ms GEO); Extremely expensive; Weather-sensitive; Signal delay makes real-time apps difficult
Not great for gaming or live video calls (GEO)7.7.8 Other Unguided Media
Infrared (IR) 🔴
Frequency
300 GHz – 430 THz
Just below visible light frequencyRange
Very short — 1–2 metres; Line of sight
Must point at receiver!Penetration
Cannot penetrate walls — stays in one room
Actually a privacy advantage!Today's Use
TV remotes, AC remotes, IR sensors, old IrDA ports
Being replaced by Bluetooth/WiFi- Cannot penetrate walls (one-room only)
- Must point device directly at receiver — unlike Bluetooth which works in all directions
- Very short range
- Bluetooth and WiFi have largely replaced IR for data transfer, keeping IR only for simple remote controls
Bluetooth 🦷
Frequency
2.4 GHz (ISM band)
Same range as some WiFiRange
10–100 metres
Class 1: 100 mClass 2: 10 mSpeed
Up to 50 Mbps (Bluetooth 5.0)
Enough for audiofile transferUse
Earphones, keyboards, speakers, file transfer, IoT
Personal Area NetworkBluetooth is named after Harald Bluetooth, a 10th-century Danish king famous for uniting different Scandinavian tribes under one kingdom! The technology was named Bluetooth because it unites different devices from different manufacturers under one wireless standard — just like King Harald united tribes! Even the Bluetooth logo combines Harald's initials in runic script (ᚼ + ᛒ).
7.7.9 Unguided Media Compared
| Feature | Radio Wave | Microwave (Terrestrial) | Satellite Microwave | Infrared |
|---|---|---|---|---|
| Frequency | 3 KHz – 1 GHz | 1 GHz – 300 GHz | 1–30 GHz | 300 GHz – 430 THz |
| Direction | Omnidirectional | Unidirectional | Unidirectional | Unidirectional |
| Range | Short to very long | 30–50 km/hop | Global | 1–2 m only |
| Line of Sight | Not required | Required | Required | Required |
| Penetrates walls? | ✅ Yes (lower freq) | ❌ No | ❌ No | ❌ No |
| Weather Effect | Moderate | Yes | Yes (rain fade) | Very sensitive |
| Cost | Low | Moderate | Very High | Very Low |
| Security | Low | Moderate | Moderate | High |
| Example | WiFi, AM/FM radio | Mobile backhaul | DTH TV, GPS | TV remote |
"What is Line of Sight (LOS) in wireless communication?" — 1-mark question. Line of Sight means there must be a clear, unobstructed, straight-line path between the transmitter and receiver. Microwaves, satellite, and infrared require LOS. Radio waves at lower frequencies do NOT require LOS because they can diffract around obstacles and penetrate walls.
🧪 Worked Example — Choose the Right Medium
| Need | Best medium | Why |
|---|---|---|
| Connect 30 PCs in one lab, each within 100 m of the switch, on a small budget | Twisted pair (UTP Cat 6) | Cheap, easy to fit, fast enough; every run is under 100 m |
| Join two school buildings 2 km apart at very high speed, next to a factory full of motors | Optical fibre | Long distance without repeaters, and light is immune to the factory's electrical noise |
| Send data across a valley between two hilltop towers 40 km apart, where no cable can be laid | Terrestrial microwave | Hilltops give a clear line of sight; no cable is needed |
| Give Internet access to a ship in the middle of the ocean | Satellite | The only medium that covers oceans |
| Connect wireless earbuds to a phone | Radio waves (Bluetooth) | Short range and works in every direction, even inside a pocket |
7.8 🕸️ Network Topologies
Network Topology is the physical or logical arrangement of computers and other devices in a network — essentially the shape or layout of how they are interconnected!
- Physical Topology — How the cables are actually laid out in the real world (the physical shape you can see)
- Logical Topology — How data actually flows through the network (may be different from physical!)
Example: A network may look like a star physically (all cables go to a switch), but data flows in a ring logically (like old Token Ring networks). Both descriptions are correct — just different perspectives!
7.8.1 Point-to-Point Link 🔗
The simplest topology — a direct, dedicated connection between exactly two devices. Nothing between them!
graph LR
A["💻 Computer A\nDurgapur"] <-->|"Direct Dedicated Link"| B["💻 Computer B\nKolkata"]
style A fill:#4CAF50,color:#fff
style B fill:#2196F3,color:#fff
Advantages
Simplest possible setup; Fastest (dedicated bandwidth — no sharing); Most reliable for 2 nodes
Crossover cable between 2 PCsDisadvantages
Only connects exactly 2 devices; Cannot scale beyond 2 nodes
Useless for adding more computersReal examples: Two PCs connected by a crossover cable; Laptop to projector; Modem connected to ISP router
Point-to-Point links are the building blocks of all larger topologies! Each cable connecting a computer to a switch in a Star topology is actually a P2P link. The topology determines how these P2P links are arranged!
7.8.2 Star Topology ⭐ (The Modern Standard!)
Every device has its own dedicated cable connecting it to a central hub or switch. All communication flows through the central device.
graph TD
HUB["🔌 Hub / Switch\n(Central Node — the star's centre!)"]
C1["💻 PC 1"]
C2["💻 PC 2"]
C3["💻 PC 3"]
C4["💻 PC 4"]
PR["🖨️ Printer"]
HUB --- C1
HUB --- C2
HUB --- C3
HUB --- C4
HUB --- PR
style HUB fill:#F44336,color:#fff
style C1 fill:#2196F3,color:#fff
style C2 fill:#2196F3,color:#fff
style C3 fill:#2196F3,color:#fff
style C4 fill:#2196F3,color:#fff
style PR fill:#4CAF50,color:#fff
How PC1 sends data to PC3:
PC1 → sends data TO the Hub/Switch
Hub (broadcasts to all) or Switch (sends only to PC3) → forwards data
PC3 receives data; PC2 and PC4 ignore it
Characteristics:
| Property | Detail |
|---|---|
| Central Device | Hub (dumb — broadcasts to all) or Switch (smart — sends to specific node) |
| Cable Used | Twisted Pair (UTP Cat 5e/6) — one cable per device |
| If hub/switch fails | ENTIRE network goes down (single point of failure) |
| If one cable fails | Only THAT computer is affected; others work fine! |
| Adding new device | Just plug another cable into hub — easy! |
Advantages
Easy to add/remove devices without disrupting network; One broken cable isolates only one PC; Easy to troubleshoot; Most widely used today
Schoolsofficeshomes — everywhere!Disadvantages
Hub/Switch failure = entire network fails; Requires more cable than bus (each device has own cable); Central device has cost
Single point of failure at hub/switch"What is the biggest disadvantage of star topology?" — This is asked directly! Answer: The single point of failure at the central hub or switch. If the hub/switch fails, ALL nodes lose connectivity simultaneously, even though all individual cables and computers are functioning perfectly.
7.8.3 Bus Topology 🚌 (The Old School Way)
All devices connect to a single shared cable called the bus or backbone. Data travels along this single backbone and every device receives it — but only the intended recipient accepts it!
graph TD
C1["💻 PC 1"]
C2["💻 PC 2"]
C3["💻 PC 3"]
C4["💻 PC 4"]
BUS["⊣ Terminator ═══════ BACKBONE CABLE (the bus) ═══════ Terminator ⊢"]
C5["💻 PC 5"]
PR["🖨️ Printer"]
C1 ---|"drop cable"| BUS
C2 --- BUS
C3 --- BUS
C4 --- BUS
BUS --- C5
BUS ---|"drop cable"| PR
style BUS fill:#E1BEE7,stroke:#9C27B0
style C1 fill:#2196F3,color:#fff
style C2 fill:#2196F3,color:#fff
style C3 fill:#2196F3,color:#fff
style C4 fill:#2196F3,color:#fff
style C5 fill:#2196F3,color:#fff
style PR fill:#4CAF50,color:#fff
Every device hangs off the same backbone through its own short drop cable and T-connector. The devices are not linked one after another — a broken PC leaves the backbone, and everyone else, working.
Critical Components:
- Backbone cable — the single shared cable all computers connect to
- Terminators — MANDATORY at BOTH ends — absorb signals to prevent reflection/bounce-back
- T-connectors — small T-shaped connectors attach each PC to the backbone
- Drop cables — short cable from backbone T-connector to each PC
How data travels in Bus topology:
Step 1: PC1 sends data addressed to PC3
Step 2: Signal travels in BOTH directions along the entire backbone
Step 3: ALL computers (PC2, PC3, PC4) simultaneously receive the signal
Step 4: Each computer checks the destination address in the data
Step 5: PC3 sees its own address → ACCEPTS the data
PC2, PC4 see wrong address → IGNORE the data (discard)
Characteristics:
| Property | Detail |
|---|---|
| Backbone | Single shared cable — everyone uses the same road! |
| Terminators | MANDATORY at both ends (without them — network won't work!) |
| Standard | 10Base2 (Thinnet), 10Base5 (Thicknet) |
| Cable failure | If backbone breaks anywhere → ENTIRE network fails |
| Single node failure | Doesn't affect other nodes (only that PC is disconnected) |
Advantages
Uses least amount of cable; Cheapest setup; Simple to install for small temporary networks
Old small labsquick temporary setupsDisadvantages
Backbone failure = complete network failure; Performance degrades badly as more users add load; Very hard to troubleshoot; Short maximum length
Mostly obsolete in modern networksWithout terminators at both ends of a bus backbone, electrical signals reach the end of the cable and bounce back (reflect), causing data collisions throughout the network. The entire network becomes unusable. Always mention terminators when describing bus topology — exam trick question alert! 🚨
7.8.4 Tree Topology 🌳 (The Scalable Choice!)
Tree topology is a hierarchical combination of multiple Star topologies connected together. Imagine multiple star networks, with their central hubs connected to a higher-level root hub — like the branches of a tree!
graph TD
ROOT["🖥️ ROOT Hub / Switch\n(Top of hierarchy — Level 1)"]
H1["🔌 Secondary Hub 1\n(Level 2 — Branch)"]
H2["🔌 Secondary Hub 2\n(Level 2 — Branch)"]
C1["💻 PC 1"]
C2["💻 PC 2"]
C3["💻 PC 3"]
C4["💻 PC 4"]
C5["💻 PC 5"]
C6["💻 PC 6"]
ROOT --- H1
ROOT --- H2
H1 --- C1
H1 --- C2
H1 --- C3
H2 --- C4
H2 --- C5
H2 --- C6
style ROOT fill:#F44336,color:#fff
style H1 fill:#FF9800,color:#fff
style H2 fill:#FF9800,color:#fff
style C1 fill:#2196F3,color:#fff
style C2 fill:#2196F3,color:#fff
style C3 fill:#2196F3,color:#fff
style C4 fill:#2196F3,color:#fff
style C5 fill:#2196F3,color:#fff
style C6 fill:#2196F3,color:#fff
Characteristics:
| Property | Detail |
|---|---|
| Structure | Hierarchical parent-child relationship |
| Root node | Top-level hub connecting all sub-trees |
| Fault isolation | Secondary hub failure → only its branch fails; root failure → all fail |
| Scalability | Excellent — add new branches/hubs easily |
| Use | Large organisations, universities, corporate multi-floor buildings |
Advantages
Highly scalable — easy to add new floors/branches; Fault isolated to individual branches; Supports very large networks; Easy to manage hierarchically
Universitieshospitalslarge corporate officesDisadvantages
Root hub failure = catastrophic (all fail); Needs most cable; More complex to manage; Expensive with multiple levels
High cost for many levels🛣️ Bus = One straight road — everyone on the same road ⭐ Star = Spider in the centre with webs going out 🌳 Tree = Upside-down tree — root at the top, branches below, leaves (PCs) at ends 🔗 P2P = A simple bridge between exactly two people
7.8.5 Factors to Consider for Topology Selection
Choosing the right topology is an engineering decision based on multiple practical factors:
| Factor | What to Ask | Best Topology Choice |
|---|---|---|
| Budget | How much can you spend on cables and devices? | Bus (cheapest cable) |
| Scalability | Will the network grow significantly? | Tree (most scalable) |
| Reliability | Can you afford any downtime? | Star (isolated failures) |
| Network size | How many nodes — small or large? | Bus/Star (small) → Tree (large) |
| Troubleshooting | How easy to find and fix faults? | Star (easiest to diagnose) |
| Cable length | How much cable can you run? | Bus (least cable) |
| Speed | Do you need high performance? | Star with Switches |
Complete Topology Comparison:
| Feature | Point-to-Point | Bus | Star | Tree |
|---|---|---|---|---|
| Max Nodes | 2 only | Small | Medium | Very Large |
| Cable Needed | Minimum | Least | More | Most |
| Central Device | None | None | Hub / Switch | Root Hub + Secondary Hubs |
| If one node fails | Network down | No effect on others | No effect on others | Partial (branch only) |
| If backbone fails | N/A | All fail ❌ | N/A | All fail ❌ |
| If central hub fails | N/A | N/A | All fail ❌ | All fail ❌ |
| Cost | Very Low | Low | Moderate | High |
| Scalability | None | Poor | Good | Excellent |
| Troubleshooting | Easy | Very Difficult | Easy | Moderate |
| Modern Use? | Specific links | Rare (obsolete) | ✅ Standard | ✅ Large networks |
"Compare Bus and Star topology on any four points" — 3-mark question. Key differences to mention:
- Bus has NO central device; Star has Hub/Switch
- In Bus, backbone cable failure stops ALL; in Star, one cable failure affects only that one node
- Bus uses least cable; Star uses more (one cable per device)
- Bus is very hard to troubleshoot; Star is easy (just check each cable to hub)
- Bus = mostly obsolete; Star = modern standard
🧪 Worked Example — Choose the Topology
Case 1: A small coaching centre has 6 PCs and 1 printer in one room. New PCs may be added later. → Star, with one switch in the room. A faulty cable affects only one PC, a new PC just needs one more cable, and faults are easy to find.
Case 2: A school has 3 floors with 20 PCs on each floor. Each floor must keep working even if another floor has a problem. → Tree. Put a switch on each floor (a star per floor) and connect the three floor switches to one root switch in the server room. A failed floor switch stops only that floor; only a root-switch failure would affect everyone.
Case 3: Connect just a laptop and a projector for a presentation. → Point-to-Point — one direct cable (HDMI) between the two devices.
7.9 🏷️ Identifying Nodes on a Computer Network
Every device on a network needs a unique address — just like your house needs a unique postal address so the postman knows exactly where to deliver your letter!
Networks use three levels of addressing:
graph TD
ID["Node Identification in Computer Networks"]
ID --> MAC["🔧 MAC Address\n(Hardware / Physical)\nPermanent — by manufacturer"]
ID --> IP["🌐 IP Address\n(Logical / Software)\nAssigned by network admin or DHCP"]
ID --> DN["📝 Domain Name\n(Human-readable)\nTranslated to IP by DNS"]
style ID fill:#9C27B0,color:#fff
style MAC fill:#F44336,color:#fff
style IP fill:#2196F3,color:#fff
style DN fill:#4CAF50,color:#fff
MAC Address — The Device's Permanent Identity 🔧
MAC (Media Access Control) address is a hardware address permanently burned into the Network Interface Card (NIC) by its manufacturer during production. It's your device's physical, hardware-level identity on a network.
MAC Address Format:
Format: XX:XX:XX:XX:XX:XX (hexadecimal, 6 pairs separated by colons)
Example: A4:C3:F0:85:AC:2D
─────────── ───────────
First 3 bytes Last 3 bytes
OUI — Manufacturer Device Serial
(Apple, Samsung, (unique for
Intel, etc.) each NIC)
Key Facts about MAC Address:
| Property | Detail |
|---|---|
| Length | 48 bits = 6 bytes, written in hexadecimal |
| First 3 bytes (OUI) | Organizationally Unique Identifier — identifies manufacturer |
| Last 3 bytes | Device-specific identifier — unique per device |
| Assigned by | NIC Manufacturer (permanently at production) |
| Changes? | Normally permanent (though software can "spoof" it) |
| Network layer | Data Link Layer — used within local networks only |
| Scope | Local network only — routers don't forward MAC addresses |
IP Address — The Logical Location Address 🌐
IP (Internet Protocol) address is a logical address assigned to a device to identify it on a network. Unlike MAC, IP addresses are software-assigned and can change (when you switch networks, your IP may change!).
IPv4 — Internet Protocol Version 4
Format: 4 groups of decimal numbers (0–255), separated by dots
Length: 32 bits total (4 × 8 bits)
Example: 192 . 168 . 1 . 105
↑ ↑ ↑ ↑
Octet 1 Octet 2 3 4
IPv4 Address Classes:
| Class | Range | Subnet Mask | Network/Host Bits | Use |
|---|---|---|---|---|
| A | 1.0.0.0 – 126.x.x.x | 255.0.0.0 | 8/24 | Very large organisations |
| B | 128.0.0.0 – 191.x.x.x | 255.255.0.0 | 16/16 | Medium organisations |
| C | 192.0.0.0 – 223.x.x.x | 255.255.255.0 | 24/8 | Small networks (most common!) |
Special IPv4 Addresses:
| Address | Meaning |
|---|---|
127.0.0.1 |
Loopback / Localhost — refers to your OWN computer |
192.168.x.x |
Private IP — used inside home/office LANs |
0.0.0.0 |
This host on this network |
255.255.255.255 |
Limited broadcast (send to everyone on local network) |
🧪 Worked Example — Valid or Invalid IPv4?
| Address | Valid? | Reason |
|---|---|---|
192.168.10.25 |
✅ Valid | 4 numbers, each from 0 to 255 (a private LAN address) |
10.0.0.1 |
✅ Valid | 4 numbers, each from 0 to 255 |
192.168.1.256 |
❌ Invalid | 256 is too big — each part can only go up to 255 |
172.16.5 |
❌ Invalid | Only 3 parts — IPv4 needs exactly 4 |
200.100.50.25.8 |
❌ Invalid | 5 parts — one too many |
The Big Problem with IPv4:
IPv4 has only 2³² = ~4.3 billion unique addresses. With smartphones, laptops, tablets, smart TVs, IoT devices, and billions of users — we completely ran out of IPv4 addresses around 2011! 😱
IPv6 — Internet Protocol Version 6
Created specifically to solve IPv4 exhaustion. More addresses than you could ever use!
Format: 8 groups of 4 hexadecimal digits, separated by colons
Length: 128 bits total (8 × 16 bits)
Example: 2001:0DB8:85A3:0000:0000:8A2E:0370:7334
↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
(8 groups — each 4 hex digits = 16 bits)
IPv4 vs IPv6 Comparison:
| Feature | IPv4 | IPv6 |
|---|---|---|
| Address Length | 32 bits | 128 bits |
| Address Format | Decimal, dots (.) |
Hexadecimal, colons (:) |
| Total Addresses | ~4.3 billion | 3.4 × 10³⁸ (340 undecillion!) |
| Example | 192.168.1.1 |
2001:DB8::7334 |
| Security | Optional (IPSec add-on) | Built-in IPSec |
| Configuration | Manual or DHCP | Supports auto-configuration |
| Header | Complex (variable) | Simplified (fixed) |
- Leading zeros in a group can be omitted:
0DB8→DB8 - One consecutive run of all-zero groups can be replaced with
:::2001:0000:0000:0000:0000:0000:0370:7334→2001::370:7334 ::can only appear once in an IPv6 address!
🧪 Worked Example — Shortening an IPv6 Address
Shorten 2001:0DB8:0000:0000:0000:0000:0000:0001
Step 1 — drop leading zeros in each group:
2001:DB8:0:0:0:0:0:1
Step 2 — replace the one run of all-zero groups with ::
2001:DB8::1
Is 2001::25DE::CADE a valid address? No — :: appears twice, so nobody can tell how many zero groups each :: stands for.
Which address is it? 00:1A:2B:3C:4D:5E is a MAC address (6 hex pairs with colons) · 2001:DB8::1 is an IPv6 address · 142.250.195.196 is an IPv4 address · www.cbse.gov.in is a domain name.
Domain Names and DNS 📝
Humans can barely remember a 10-digit phone number — so how would anyone remember 142.250.195.196 for Google? Domain names solve this by giving human-friendly names to IP addresses!
Domain Name Structure:
https:// www . google . com
↑ ↑ ↑ ↑
Protocol Subdomain Second-level Top-Level
(optional) Domain Domain (TLD)
More examples:
csip12.in → Domain: csip12, TLD: .in (India)
mail.google.com → Subdomain: mail, Domain: google, TLD: .com
www.cbse.gov.in → Subdomain: www, Domain: cbse, TLD: .gov.in
DNS — Domain Name System:
DNS is the Internet's telephone directory / phone book! It translates human-readable domain names into machine-usable IP addresses.
graph LR
USER["👤 You type:\nwww.google.com\nin your browser"]
DNS["🗄️ DNS Server\nLooks up the name\nin its database"]
RESULT["📍 Returns IP:\n142.250.195.196"]
GOOG["🌐 Google Server\nYour browser connects\nto this IP directly"]
USER -->|"1. DNS Query: what's\nthe IP for google.com?"| DNS
DNS -->|"2. Looks it up"| RESULT
RESULT -->|"3. Browser connects\nto this IP"| GOOG
style USER fill:#4CAF50,color:#fff
style DNS fill:#FF9800,color:#fff
style RESULT fill:#9C27B0,color:#fff
style GOOG fill:#2196F3,color:#fff
Common Top-Level Domains (TLDs):
| TLD | Meaning | Example |
|---|---|---|
.com |
Commercial / General | google.com, amazon.com |
.edu |
Educational institution | mit.edu, iit.ac.in |
.gov |
Government | india.gov.in, nasa.gov |
.org |
Non-profit Organisation | wikipedia.org, redcross.org |
.in |
India (Country Code) | csip12.in, bsnl.co.in |
.uk |
United Kingdom | bbc.co.uk |
.net |
Network / ISP | att.net |
.io |
Tech startups (Indian Ocean TLD repurposed!) | github.io |
Complete Three-Level Address Comparison:
| Feature | MAC Address | IP Address (IPv4) | Domain Name |
|---|---|---|---|
| Type | Physical / Hardware | Logical / Software | Human-readable text |
| Length | 48 bits | 32 bits | Variable (text string) |
| Format | Hexadecimal with colons | Decimal with dots | Text with dots |
| Assigned by | Manufacturer (permanent!) | Network admin / DHCP | Domain registrar |
| Changes? | Normally permanent | Can change (dynamic IP) | Can change (DNS update) |
| Network Layer | Data Link Layer (local) | Network Layer (global routing) | Application Layer |
| Example | A4:C3:F0:85:AC:2D |
192.168.1.105 |
www.google.com |
| Purpose | Deliver within local network | Route across Internet | Easy for humans to remember |
"What is the role of DNS in a network?" — 2-mark question.
Answer: DNS (Domain Name System) translates human-readable domain names (e.g., www.google.com) into numeric IP addresses (e.g., 142.250.195.196) that computers use to locate each other on the Internet. Without DNS, users would need to memorise IP addresses to visit every website.
"Why was IPv6 developed to replace IPv4?" — 2-mark question. Answer: IPv4 uses 32-bit addresses, providing only ~4.3 billion unique addresses. Due to the exponential growth of internet-connected devices (smartphones, IoT, tablets), IPv4 addresses have been exhausted. IPv6 uses 128-bit addresses, providing 3.4 × 10³⁸ addresses — sufficient for every device that will ever be connected to the Internet.
⚠️ Common Errors and Misconceptions to Avoid
| Misconception | Correct Fact |
|---|---|
| ❌ Internet = WWW | ✅ Internet is the physical infrastructure; WWW is just ONE service running on it |
| ❌ MAC address always changes | ✅ MAC is permanently burned by manufacturer; it normally doesn't change |
| ❌ Star topology has no single point of failure | ✅ The central Hub/Switch IS the single point of failure! |
| ❌ Terminators in bus topology are optional | ✅ MANDATORY at both ends — without them, signals reflect causing collisions |
| ❌ Bandwidth = Actual speed | ✅ Bandwidth is max capacity; actual Data Transfer Rate may be much lower |
| ❌ Packet switching wastes bandwidth | ✅ Opposite! Packet switching is the MOST efficient technique |
| ❌ All wireless media use radio waves | ✅ Infrared uses optical frequencies; Satellite uses microwave; Fibre uses light (guided) |
| ❌ IPv6 only has more IP addresses | ✅ IPv6 also has built-in security (IPSec), simplified headers, better auto-configuration |
| ❌ DNS is a hardware device | ✅ DNS is a protocol and a distributed system of servers (software service) |
| ❌ ARPANET was the first computer | ✅ ARPANET was the first computer NETWORK — computers existed before it |
| Network Types (By Geography) | Type | Range | Example |
|---|---|---|---|
| PAN | 10 m | Bluetooth earbuds | |
| LAN | 1 km | School computer lab | |
| MAN | 100 km | City cable TV network | |
| WAN | Worldwide | The Internet |
Network Types (By Role)
- Client-Server: Fixed roles; server is powerful central machine; centralised control
- Peer-to-Peer: All equal; every node is both client and server; decentralised
Switching (CMP Order — from oldest to newest)
- Circuit: Dedicated path reserved; used for phone calls; wastes bandwidth when idle
- Message: Full message stored at each hop; high delay; old email/telegraph
- Packet: Message split into packets; each routes independently; THE INTERNET! ⭐
Guided Transmission Media
- Twisted Pair → cheapest, 100 m, RJ-45, used everywhere
- Coaxial → better shielding, 500 m, BNC, cable TV
- Optical Fibre → fastest, 100 km+, immune to EMI, most expensive
Unguided Transmission Media
- Radio → omnidirectional, penetrates walls, WiFi/Bluetooth/cellular
- Microwave (Terrestrial) → LOS required, 30-50 km/hop, mobile backhaul
- Satellite → global coverage, high latency (GEO), DTH/GPS
Topologies
- P2P → 2 devices only; no central device
- Bus → one shared cable; terminators needed; backbone failure = all fail; obsolete
- Star → hub/switch centre; hub failure = all fail; node isolation ✅; modern standard ⭐
- Tree → hierarchical; scalable; root failure = all fail; large networks
Node Identification
- MAC → 48-bit hardware address; permanent; local network only
- IP → IPv4=32-bit decimal; IPv6=128-bit hex; logical; Internet routing
- Domain Name → human-readable; DNS translates to IP
🎯 Sample Board Exam Questions
Q1: Very Short Answer [1 mark each]
a) What does DNS stand for? → Domain Name System
b) Which switching technique does the Internet use? → Packet Switching
c) Name the transmission medium completely immune to electromagnetic interference. → Optical Fibre
d) What is the maximum range of a LAN? → Up to 1 km (within a building or campus)
e) What connector does a Twisted Pair cable use? → RJ-45 connector
Q2: Short Answer [2 marks]
Q: Distinguish between LAN and WAN.
| Feature | LAN | WAN |
|---|---|---|
| Area | Up to 1 km — building/campus | Worldwide — countries, continents |
| Speed | 10 Mbps – 1 Gbps (very fast) | 56 Kbps – 100 Mbps (slower due to distance) |
| Cost | Low — privately owned | Very high — uses public/leased infrastructure |
| Example | School computer lab | The Internet |
Q3: Short Answer [2 marks]
Q: What is the difference between a MAC address and an IP address?
Answer: A MAC address is a permanent 48-bit physical address burned into the NIC by its manufacturer. It is used for communication within a local network at the Data Link Layer and normally never changes.
An IP address is a logical address (32-bit for IPv4, 128-bit for IPv6) assigned by a network administrator or DHCP server. It is used for routing data across the Internet at the Network Layer and can change when a device moves between networks.
Q4: Short Answer [3 marks]
Q: What is packet switching? How does it differ from circuit switching?
Answer: In packet switching, the message is broken into small units called packets. Each packet may travel through different routes independently and is reassembled at the destination in the correct order. The Internet uses packet switching.
In circuit switching, a dedicated, unshared path is established between sender and receiver before communication begins, and this path remains reserved throughout the session (e.g., traditional phone calls).
Key Differences:
| Aspect | Circuit Switching | Packet Switching |
|---|---|---|
| Path | Dedicated, reserved | Shared, dynamic |
| Bandwidth | Wasted when idle | Used efficiently |
| Data unit | Continuous stream | Packets |
| Best for | Real-time voice | Data communication |
Q5: Diagram Question [3 marks]
Q: Draw and explain the Star topology.
[Hub / Switch]
/ | \ \
PC1 PC2 PC3 Printer
(See Mermaid diagram in Section 7.8.2 for visual)
Explanation: In star topology, all devices are connected to a central hub or switch via individual cables. All data passes through the central device. Advantage: If one cable breaks, only that device is affected; others work normally. Disadvantage: If the central hub or switch fails, the entire network goes down.
Q6: Identify Network Types [2 marks]
Q: Identify the type of network for each scenario:
a) Priya connects her Bluetooth earbuds to her phone. → PAN (Personal Area Network)
b) All 30 computers in a school lab share one internet connection and printer. → LAN (Local Area Network)
c) A cable TV network connects all subscribers across the city of Durgapur. → MAN (Metropolitan Area Network)
d) Amit accesses his company's database server from home, 500 km away. → WAN (Wide Area Network)
Q7: Error Spotting [2 marks]
Q: Identify the error in the following statement: "In a bus topology, terminators are placed at one end of the cable to absorb reflected signals."
Error: Terminators must be placed at BOTH ends (not just one end) of the backbone cable in bus topology. If only one terminator is used, signals reaching the unterminated end will reflect back and cause data collisions throughout the network.
✏️ Practice Problems
Try these to solidify your understanding:
- Draw and label a Tree topology with: 1 root switch → 3 secondary hubs → 4 computers each. Mark the total number of computers.
- Calculate how many unique IPv4 addresses are mathematically possible (2³² = ?). Express in billions.
- Your school has 4 floors with 25 computers each floor. Which topology would you recommend and why?
- Draw a diagram showing how packet switching sends the message "CS12" across a network — show at least 3 different routes for different packets.
- Compare Optical Fibre and Coaxial Cable on 5 different parameters in a table format.
- Write the full IPv6 address for the short form:
2001:DB8::1 - Identify the switching technique used in: (a) a regular voice phone call (b) WhatsApp message (c) email sent in 1980 (d) video streaming on YouTube
- A company's HQ in Mumbai connects to branch offices in Delhi, Chennai, and Kolkata. What type of network is this? What transmission media would you recommend?
- Explain why the first ARPANET message was "LO" instead of "LOGIN".
- What happens in a bus topology if (a) one computer's NIC fails, (b) the backbone cable breaks in the middle, (c) one terminator is accidentally removed?