Connect the world, one packet at a time! From your school's WiFi to the global Internet โ every message you send, every video you watch, every game you play online โ it all runs on computer networks. This chapter unlocks how it all actually works! ๐
> [!TIP]
> **How to use these notes:** Study each section in order โ concepts build on each other. Trace every diagram with your finger. Pay extra attention to **๐ Board Exam Tips** โ they appear every year. Focus especially on Sections 7.3, 7.5, 7.7, and 7.8 โ examiner favourites!
---
## 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.
::: grid
::: card ๐ | Global Reach | Connect with anyone, anywhere on Earth | WhatsApp, Email, Video calls
::: card ๐ | Resource Sharing | Share printers, scanners, storage, software | School lab printer shared by 30 PCs
::: card ๐พ | Data Sharing | Transfer files, documents, media instantly | Google Drive, email attachments
::: card ๐ฐ | Cost Effective | One resource used by many โ saves money | One internet connection shared by all
:::
> [!IMPORTANT]
> **Board Exam Tip**
> "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**:
::: grid
::: card ๐ค | Sender | The device that originates the communication | Your laptop sending an email
::: card ๐ฅ | Receiver | The device that receives the communication | Your friend's phone receiving it
::: card ๐จ | Message | The actual data being communicated | Text, image, video, audio, file
::: card ๐ | Medium | The physical path through which data travels | Cable, WiFi signal, Satellite
::: card ๐ | Protocol | Rules governing how data is sent and received | TCP/IP, HTTP, FTP
:::
```mermaid
graph 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
```
> [!NOTE]
> **Protocol โ The Language of Networks**
> 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 **most important classification** โ and the most commonly asked in board exams!
#### ๐ PAN โ Personal Area Network
::: grid
::: card ๐ | Range | Up to 10 metres | Your bedroom / desk
::: card โก | Speed | ~1 Mbps | Adequate for personal devices
::: card ๐ฑ | Devices | Smartphone, laptop, tablet, smartwatch | Your personal gadgets
::: card ๐ต | Technology | Bluetooth, Infrared | Short-range wireless
:::
**Real examples:** Connecting phone to Bluetooth earbuds; syncing a smartwatch; AirDrop between two iPhones
---
#### ๐ซ LAN โ Local Area Network
::: grid
::: card ๐ | Range | Up to 1 km (within a building/campus) | School, office, home
::: card โก | Speed | 10 Mbps โ 1 Gbps | Very fast
::: card ๐ | Technology | Ethernet cables (UTP), WiFi | IEEE 802.3, 802.11
::: card ๐ฐ | Cost | Low โ privately owned | Easy to set up
:::
**Real examples:** School computer lab, home WiFi, office network, your csip12.in server room!
> [!TIP]
> **Memory Trick:** LAN = **L**imited **A**rea **N**etwork โ only covers a **local** (small) area!
---
#### ๐๏ธ MAN โ Metropolitan Area Network
::: grid
::: card ๐ | Range | 1 km โ 100 km (city-wide) | A city or large town
::: card โก | Speed | 10 Mbps โ 1 Gbps | Fast
::: card ๐ | Technology | Fibre optic cables, WiMAX | IEEE 802.16
::: card ๐๏ธ | Owner | Government or large companies | ISPs, Cable TV operators
:::
**Real 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
::: grid
::: card ๐ | Range | Worldwide โ unlimited! | Countries, continents, oceans
::: card โก | Speed | Slower than LAN (due to distance) | 56 Kbps โ 100 Mbps typical
::: card ๐ | Technology | Satellites, telephone lines, fibre optic | SONET, Frame Relay
::: card ๐ | Best Example | The Internet | The largest WAN ever built!
:::
**Real examples:** The Internet, ATM banking network (connects all ATMs nationwide), SWIFT international banking system
---
> [!IMPORTANT]
> **Board Exam Tip โ Network Types Comparison**
> "Distinguish between LAN, MAN, and WAN" โ appears **every single year** as 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 |
```mermaid
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
```
---
### 7.3.2 Types of Networks by Component Roles
How do computers behave **relative to each other** within a network?
#### ๐ฅ๏ธ Client-Server Network
::: grid
::: card ๐ฅ๏ธ | Server | Powerful central computer that provides resources/services | File server, Web server, Database server
::: card ๐ป | Client | Computers that REQUEST services from the server | Your PC browsing a website
::: card โ | Advantage | Centralised control; better security; easy backup and management | Used in schools, offices, banks
::: card โ | Disadvantage | If server fails โ entire network goes down; Server is expensive | Single point of failure
:::
```mermaid
graph 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
::: grid
::: card ๐ | Equal Status | Every computer is BOTH client AND server simultaneously | No hierarchy โ everyone is equal!
::: card ๐ | Scale | Best for small networks (2โ10 computers) | Home networks, small shops
::: card โ | Advantage | No costly dedicated server needed; simple setup | Easy to configure and cheap
::: card โ | Disadvantage | Difficult to manage as network grows; less secure; no central backup | No central admin control
:::
**Examples:** BitTorrent file sharing, sharing files between 2 laptops via WiFi Direct
> [!IMPORTANT]
> **Board Exam Tip**
> "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.
---
## 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 |
```mermaid
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
```
> [!NOTE]
> **Fun Fact! ๐**
> 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!
---
### 7.4.2 The Internet ๐
> **The Internet is NOT the same as the World Wide Web (WWW)!**
> This is the most common misconception students carry into the exam!
| 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:**
::: grid
::: card ๐ | Global | Connects billions of devices worldwide | No single country or company owns it
::: card ๐ก | Packet Switching | Data travels in small independent packets | Efficient and reliable
::: card ๐ | Open Standards | Based on open TCP/IP protocols | Anyone can connect a device
::: card ๐ | Redundant | Multiple paths between any two points | Extremely resilient
:::
**Key Services Running on the Internet:**
| Service | Protocol | Purpose |
| :--- | :--- | :--- |
| World Wide Web | HTTP / HTTPS | Browse websites |
| Email | 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.
::: grid
::: card ๐ | 3D Virtual Space | A three-dimensional environment built on Internet infrastructure | Like entering a virtual room
::: card ๐ฅ | Multi-user | Multiple users interact simultaneously as avatars | Virtual classroom, meetings
::: card ๐ฎ | Real-time Interaction | Touch, move, and interact with 3D objects and people | VR/AR experiences
::: card ๐ฎ | Future Status | Still evolving โ the next phase of the Internet | Metaverse is today's version!
:::
> [!NOTE]
> **Interspace vs Internet โ The Simple Difference**
> 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:
> [!NOTE]
> **The Durgapur-to-Mumbai Analogy ๐**
> 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
```
```mermaid
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) |
::: grid
::: card โ | Advantages | Guaranteed bandwidth; constant delay (no jitter); reliable for voice | Traditional phone system
::: card โ | Disadvantages | Wasteful โ channel idle when silent; slow setup; expensive | Not good for bursty internet data
:::
---
### 7.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!
```mermaid
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 |
::: grid
::: card โ | Advantages | No idle bandwidth waste; can prioritise urgent messages; no dedicated path needed | Efficient use of network
::: card โ | Disadvantages | High latency; each node needs large storage; NOT suitable for real-time | Cannot use for live voice/video
:::
---
### 7.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) โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
```
```mermaid
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:**
::: grid
::: card ๐ | Virtual Circuit | Path decided BEFORE packets are sent; all packets follow same path | Like circuit switching for packets โ ATM networks
::: card ๐ฒ | Datagram | Each packet independently routed; may take DIFFERENT paths | How the Internet works โ TCP/IP
:::
---
**Complete 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 |
> [!IMPORTANT]
> **Board Exam Tip**
> "Differentiate between Circuit Switching and Packet Switching" โ **3-mark** question, appears very frequently.
> 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.
> [!TIP]
> **Memory Trick: CMP**
> Think of the evolution: **C**ircuit โ **M**essage โ **P**acket (Internet uses Packet!)
> **C**ar (dedicated road lane reserved for you), **M**ail (letter via post office), **P**arcel (split into packages โ different couriers!)
---
## 7.6 ๐ก Data Communication Terminologies
Before exploring transmission media, master this vocabulary โ these terms appear in questions every single year!
::: grid
::: card ๐ถ | Bandwidth | Maximum data transfer capacity of a channel | Like the WIDTH of a highway โ more lanes = more cars
::: card ๐ | Data Transfer Rate | Actual speed of data transfer achieved | Cars ACTUALLY moving (may be less than capacity!)
::: card ๐ต | Baud Rate | Number of signal changes (symbols) per second | Signals per second โ NOT same as bits!
::: card ๐ | Noise | Unwanted interference that corrupts the signal | Static crackle on an old phone call
:::
**Complete 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 |
**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) |
> [!IMPORTANT]
> **Board Exam Tip**
> "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**.
> [!NOTE]
> **The Highway Analogy ๐**
> - **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)
---
## 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!
```mermaid
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 magic โ it **cancels out electromagnetic interference (EMI)** through a process called differential signaling!
**Two Types:**
::: grid
::: card ๐ต | UTP (Unshielded Twisted Pair) | No metallic shield; cheapest and most common | Used in homes, offices, schools โ Category 5e (1 Gbps), Cat 6 (10 Gbps)
::: card ๐ก๏ธ | STP (Shielded Twisted Pair) | Wrapped in metallic foil/braid shield for better EMI protection | Used in factories, industrial sites with high electrical interference
:::
**UTP 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) |
::: grid
::: card โ | Advantages | Cheapest; Easiest to install; Flexible; Widely available; Standard for LANs | Perfect for home/school/office LANs
::: card โ | Disadvantages | Susceptible to EMI; Limited to 100 m; Slower than coaxial or fibre | Not for long-distance runs
:::
---
### 7.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):**
```
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Outer Plastic Jacket (PVC) โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Metallic Braid Shield (Ground) โ โ
โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ
โ โ โ Plastic Insulator (Dielectric)โ โ โ
โ โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ โ
โ โ โ โ โ Inner Copper Core โ โ โ โ
โ โ โ โ (Signal Carrier) โ โ โ โ
โ โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ โ
โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
```
**Two Types:**
::: grid
::: card ๐ต | Thinnet (10Base2, RG-58) | Thinner, flexible; up to 185 m per segment | Used in old computer labs (BNC connectors)
::: card ๐บ | Thicknet (10Base5, RG-11) | Thicker, rigid; up to 500 m per segment | Used as backbone cable in older networks
:::
**Characteristics:**
| 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 |
::: grid
::: card โ | Advantages | Better EMI shielding than twisted pair; Supports longer distances; Higher bandwidth | Cable TV distribution, CCTV
::: card โ | Disadvantages | More expensive than UTP; Heavier; Harder to bend/install; Being replaced by fibre | Largely obsolete for networking
:::
---
### 7.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:**
```
Electrical Signal โ [LED or Laser] โ Light Pulses โ [Glass Fibre] โ [Photodetector] โ Electrical Signal
โ
Light bounces inside the core
(Total Internal Reflection)
like light in a mirror tube!
```
**Cross-section:**
```
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Protective Jacket (Plastic) โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Cladding (Lower refractive index) โ โ
โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ
โ โ โ Core (Higher refractive idx) โ โ โ
โ โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ โ
โ โ โ Light travels here (8โ62 ยตm) โ โ โ
โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
```
**Two Types:**
::: grid
::: card ๐ด | Single-Mode (SMF) | Very thin core (~8โ10 ยตm); uses laser light; extremely long range | Undersea cables, inter-city connections โ 100+ km without repeater
::: card ๐ | Multi-Mode (MMF) | Thicker core (~50โ62.5 ยตm); uses LED light; shorter range | Campus networks, within buildings โ up to 2 km
:::
**Characteristics:**
| 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) |
::: grid
::: card โ | Advantages | Fastest; Completely immune to EMI; Most secure; Long distance without repeaters; Lightweight; No corrosion | Internet backbone, undersea cables, ISP infrastructure
::: card โ | Disadvantages | Most expensive; Fragile (glass breaks!); Needs specialised tools and trained technicians; Difficult to repair | Not practical for every home (yet!)
:::
> [!IMPORTANT]
> **Board Exam Tip**
> "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!
```mermaid
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 |
::: grid
::: card โ | Advantages | No physical cable to lay; High bandwidth; Wide area coverage | Mobile networks, TV relay, connecting buildings
::: card โ | Disadvantages | Line of Sight REQUIRED; Weather-sensitive; Repeater tower every 30โ50 km | Blocked by hills, tall buildings, heavy rain
:::
---
### 7.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.
::: grid
::: card ๐ป | Broadcast Radio | AM/FM radio, TV broadcast | Covers wide areas; any receiver can pick up the signal
::: card ๐ถ | WiFi | 2.4 GHz and 5 GHz bands | Home and office wireless networking (IEEE 802.11 a/b/g/n/ac/ax)
::: card ๐ง | Bluetooth | 2.4 GHz; range 10โ100 m | PAN devices โ earphones, keyboard, mouse, speakers
::: card ๐ฑ | Cellular | 700 MHz โ 2600 MHz | Mobile networks โ 2G/3G/4G/5G
:::
**Characteristics:**
| 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)
```
```mermaid
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 |
::: grid
::: card โ | Advantages | TRUE global coverage including oceans and deserts; No ground infrastructure needed for remote areas; Wide bandwidth | Ships, aircraft, remote villages, military
::: card โ | Disadvantages | 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) ๐ด
::: grid
::: card ๐ก | Frequency | 300 GHz โ 430 THz | Just below visible light frequency
::: card ๐ | Range | Very short โ 1โ2 metres; Line of sight | Must point at receiver!
::: card ๐ | Penetration | Cannot penetrate walls โ stays in one room | Actually a privacy advantage!
::: card ๐ฑ | Today's Use | TV remotes, AC remotes, IR sensors, old IrDA ports | Being replaced by Bluetooth/WiFi
:::
> [!NOTE]
> **Why Infrared is rare today:**
> - 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 ๐ฆท
::: grid
::: card ๐ถ | Frequency | 2.4 GHz (ISM band) | Same range as some WiFi
::: card ๐ | Range | 10โ100 metres | Class 1: 100 m, Class 2: 10 m
::: card โก | Speed | Up to 50 Mbps (Bluetooth 5.0) | Enough for audio, file transfer
::: card ๐ฑ | Use | Earphones, keyboards, speakers, file transfer, IoT | Personal Area Network
:::
> [!NOTE]
> **The Quirky Origin Story ๐ฆท**
> Bluetooth 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 |
> [!IMPORTANT]
> **Board Exam Tip**
> "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.
---
## 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!
> [!TIP]
> **Physical vs Logical Topology โ Know the Difference!**
> - **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!
```mermaid
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
```
::: grid
::: card โ | Advantages | Simplest possible setup; Fastest (dedicated bandwidth โ no sharing); Most reliable for 2 nodes | Crossover cable between 2 PCs
::: card โ | Disadvantages | Only connects exactly 2 devices; Cannot scale beyond 2 nodes | Useless for adding more computers
:::
**Real examples:** Two PCs connected by a crossover cable; Laptop to projector; Modem connected to ISP router
> [!NOTE]
> 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.
```mermaid
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! |
::: grid
::: card โ | Advantages | Easy to add/remove devices without disrupting network; One broken cable isolates only one PC; Easy to troubleshoot; Most widely used today | Schools, offices, homes โ everywhere!
::: card โ | 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
:::
> [!IMPORTANT]
> **Board Exam Tip**
> "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!
```mermaid
graph LR
T1["โฃ Terminator\n(Required!)"]
C1["๐ป PC 1"]
C2["๐ป PC 2"]
C3["๐ป PC 3"]
C4["๐ป PC 4"]
T2["Terminator โข\n(Required!)"]
T1 --- C1
C1 --- C2
C2 --- C3
C3 --- C4
C4 --- T2
style T1 fill:#9C27B0,color:#fff
style T2 fill:#9C27B0,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
```
**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) |
::: grid
::: card โ | Advantages | Uses least amount of cable; Cheapest setup; Simple to install for small temporary networks | Old small labs, quick temporary setups
::: card โ | Disadvantages | Backbone failure = complete network failure; Performance degrades badly as more users add load; Very hard to troubleshoot; Short maximum length | Mostly obsolete in modern networks
:::
> [!WARNING]
> **Terminators are NOT Optional โ They're MANDATORY!**
> Without 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!
```mermaid
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 |
::: grid
::: card โ | Advantages | Highly scalable โ easy to add new floors/branches; Fault isolated to individual branches; Supports very large networks; Easy to manage hierarchically | Universities, hospitals, large corporate offices
::: card โ | Disadvantages | Root hub failure = catastrophic (all fail); Needs most cable; More complex to manage; Expensive with multiple levels | High cost for many levels
:::
> [!TIP]
> **Topology Memory Tricks ๐จ**
> ๐ฃ๏ธ **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 |
> [!IMPORTANT]
> **Board Exam Tip โ Compare Bus and Star**
> "Compare Bus and Star topology on any four points" โ **3-mark** question asked almost every year!
> Key differences to mention:
> 1. Bus has NO central device; Star has Hub/Switch
> 2. In Bus, backbone cable failure stops ALL; in Star, one cable failure affects only that one node
> 3. Bus uses least cable; Star uses more (one cable per device)
> 4. Bus is very hard to troubleshoot; Star is easy (just check each cable to hub)
> 5. Bus = mostly obsolete; Star = modern standard
---
## 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**:
```mermaid
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) |
**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) |
> [!NOTE]
> **IPv6 Shortening Rules (Important!)**
> 1. **Leading zeros in a group can be omitted:** `0DB8` โ `DB8`
> 2. **One consecutive run of all-zero groups can be replaced with `::`:**
> `2001:0000:0000:0000:0000:0000:0370:7334` โ `2001::370:7334`
> 3. `::` can only appear **once** in an IPv6 address!
---
### 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.
```mermaid
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. IP Address: 142.250.195.196"| USER
USER -->|"3. Connect to 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 |
> [!IMPORTANT]
> **Board Exam Tip โ DNS**
> "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.
> [!IMPORTANT]
> **Board Exam Tip โ Why IPv6?**
> "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 |
---
## ๐ Quick Revision โ Exam Ready!
**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:
1. Draw and label a Tree topology with: 1 root switch โ 3 secondary hubs โ 4 computers each. Mark the total number of computers.
2. Calculate how many unique IPv4 addresses are mathematically possible (2ยณยฒ = ?). Express in billions.
3. Your school has 4 floors with 25 computers each floor. Which topology would you recommend and why?
4. Draw a diagram showing how packet switching sends the message "CS12" across a network โ show at least 3 different routes for different packets.
5. Compare Optical Fibre and Coaxial Cable on 5 different parameters in a table format.
6. Write the full IPv6 address for the short form: `2001:DB8::1`
7. 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
8. 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?
9. Explain why the first ARPANET message was "LO" instead of "LOGIN".
10. 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?
> [!TIP]
> **How to use these notes:** Study each section in order โ concepts build on each other. Trace every diagram with your finger. Pay extra attention to **๐ Board Exam Tips** โ they appear every year. Focus especially on Sections 7.3, 7.5, 7.7, and 7.8 โ examiner favourites!
---
## 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.
::: grid
::: card ๐ | Global Reach | Connect with anyone, anywhere on Earth | WhatsApp, Email, Video calls
::: card ๐ | Resource Sharing | Share printers, scanners, storage, software | School lab printer shared by 30 PCs
::: card ๐พ | Data Sharing | Transfer files, documents, media instantly | Google Drive, email attachments
::: card ๐ฐ | Cost Effective | One resource used by many โ saves money | One internet connection shared by all
:::
> [!IMPORTANT]
> **Board Exam Tip**
> "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**:
::: grid
::: card ๐ค | Sender | The device that originates the communication | Your laptop sending an email
::: card ๐ฅ | Receiver | The device that receives the communication | Your friend's phone receiving it
::: card ๐จ | Message | The actual data being communicated | Text, image, video, audio, file
::: card ๐ | Medium | The physical path through which data travels | Cable, WiFi signal, Satellite
::: card ๐ | Protocol | Rules governing how data is sent and received | TCP/IP, HTTP, FTP
:::
```mermaid
graph 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
```
> [!NOTE]
> **Protocol โ The Language of Networks**
> 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 **most important classification** โ and the most commonly asked in board exams!
#### ๐ PAN โ Personal Area Network
::: grid
::: card ๐ | Range | Up to 10 metres | Your bedroom / desk
::: card โก | Speed | ~1 Mbps | Adequate for personal devices
::: card ๐ฑ | Devices | Smartphone, laptop, tablet, smartwatch | Your personal gadgets
::: card ๐ต | Technology | Bluetooth, Infrared | Short-range wireless
:::
**Real examples:** Connecting phone to Bluetooth earbuds; syncing a smartwatch; AirDrop between two iPhones
---
#### ๐ซ LAN โ Local Area Network
::: grid
::: card ๐ | Range | Up to 1 km (within a building/campus) | School, office, home
::: card โก | Speed | 10 Mbps โ 1 Gbps | Very fast
::: card ๐ | Technology | Ethernet cables (UTP), WiFi | IEEE 802.3, 802.11
::: card ๐ฐ | Cost | Low โ privately owned | Easy to set up
:::
**Real examples:** School computer lab, home WiFi, office network, your csip12.in server room!
> [!TIP]
> **Memory Trick:** LAN = **L**imited **A**rea **N**etwork โ only covers a **local** (small) area!
---
#### ๐๏ธ MAN โ Metropolitan Area Network
::: grid
::: card ๐ | Range | 1 km โ 100 km (city-wide) | A city or large town
::: card โก | Speed | 10 Mbps โ 1 Gbps | Fast
::: card ๐ | Technology | Fibre optic cables, WiMAX | IEEE 802.16
::: card ๐๏ธ | Owner | Government or large companies | ISPs, Cable TV operators
:::
**Real 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
::: grid
::: card ๐ | Range | Worldwide โ unlimited! | Countries, continents, oceans
::: card โก | Speed | Slower than LAN (due to distance) | 56 Kbps โ 100 Mbps typical
::: card ๐ | Technology | Satellites, telephone lines, fibre optic | SONET, Frame Relay
::: card ๐ | Best Example | The Internet | The largest WAN ever built!
:::
**Real examples:** The Internet, ATM banking network (connects all ATMs nationwide), SWIFT international banking system
---
> [!IMPORTANT]
> **Board Exam Tip โ Network Types Comparison**
> "Distinguish between LAN, MAN, and WAN" โ appears **every single year** as 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 |
```mermaid
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
```
---
### 7.3.2 Types of Networks by Component Roles
How do computers behave **relative to each other** within a network?
#### ๐ฅ๏ธ Client-Server Network
::: grid
::: card ๐ฅ๏ธ | Server | Powerful central computer that provides resources/services | File server, Web server, Database server
::: card ๐ป | Client | Computers that REQUEST services from the server | Your PC browsing a website
::: card โ | Advantage | Centralised control; better security; easy backup and management | Used in schools, offices, banks
::: card โ | Disadvantage | If server fails โ entire network goes down; Server is expensive | Single point of failure
:::
```mermaid
graph 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
::: grid
::: card ๐ | Equal Status | Every computer is BOTH client AND server simultaneously | No hierarchy โ everyone is equal!
::: card ๐ | Scale | Best for small networks (2โ10 computers) | Home networks, small shops
::: card โ | Advantage | No costly dedicated server needed; simple setup | Easy to configure and cheap
::: card โ | Disadvantage | Difficult to manage as network grows; less secure; no central backup | No central admin control
:::
**Examples:** BitTorrent file sharing, sharing files between 2 laptops via WiFi Direct
> [!IMPORTANT]
> **Board Exam Tip**
> "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.
---
## 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 |
```mermaid
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
```
> [!NOTE]
> **Fun Fact! ๐**
> 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!
---
### 7.4.2 The Internet ๐
> **The Internet is NOT the same as the World Wide Web (WWW)!**
> This is the most common misconception students carry into the exam!
| 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:**
::: grid
::: card ๐ | Global | Connects billions of devices worldwide | No single country or company owns it
::: card ๐ก | Packet Switching | Data travels in small independent packets | Efficient and reliable
::: card ๐ | Open Standards | Based on open TCP/IP protocols | Anyone can connect a device
::: card ๐ | Redundant | Multiple paths between any two points | Extremely resilient
:::
**Key Services Running on the Internet:**
| Service | Protocol | Purpose |
| :--- | :--- | :--- |
| World Wide Web | HTTP / HTTPS | Browse websites |
| Email | 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.
::: grid
::: card ๐ | 3D Virtual Space | A three-dimensional environment built on Internet infrastructure | Like entering a virtual room
::: card ๐ฅ | Multi-user | Multiple users interact simultaneously as avatars | Virtual classroom, meetings
::: card ๐ฎ | Real-time Interaction | Touch, move, and interact with 3D objects and people | VR/AR experiences
::: card ๐ฎ | Future Status | Still evolving โ the next phase of the Internet | Metaverse is today's version!
:::
> [!NOTE]
> **Interspace vs Internet โ The Simple Difference**
> 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:
> [!NOTE]
> **The Durgapur-to-Mumbai Analogy ๐**
> 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
```
```mermaid
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) |
::: grid
::: card โ | Advantages | Guaranteed bandwidth; constant delay (no jitter); reliable for voice | Traditional phone system
::: card โ | Disadvantages | Wasteful โ channel idle when silent; slow setup; expensive | Not good for bursty internet data
:::
---
### 7.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!
```mermaid
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 |
::: grid
::: card โ | Advantages | No idle bandwidth waste; can prioritise urgent messages; no dedicated path needed | Efficient use of network
::: card โ | Disadvantages | High latency; each node needs large storage; NOT suitable for real-time | Cannot use for live voice/video
:::
---
### 7.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) โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
```
```mermaid
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:**
::: grid
::: card ๐ | Virtual Circuit | Path decided BEFORE packets are sent; all packets follow same path | Like circuit switching for packets โ ATM networks
::: card ๐ฒ | Datagram | Each packet independently routed; may take DIFFERENT paths | How the Internet works โ TCP/IP
:::
---
**Complete 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 |
> [!IMPORTANT]
> **Board Exam Tip**
> "Differentiate between Circuit Switching and Packet Switching" โ **3-mark** question, appears very frequently.
> 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.
> [!TIP]
> **Memory Trick: CMP**
> Think of the evolution: **C**ircuit โ **M**essage โ **P**acket (Internet uses Packet!)
> **C**ar (dedicated road lane reserved for you), **M**ail (letter via post office), **P**arcel (split into packages โ different couriers!)
---
## 7.6 ๐ก Data Communication Terminologies
Before exploring transmission media, master this vocabulary โ these terms appear in questions every single year!
::: grid
::: card ๐ถ | Bandwidth | Maximum data transfer capacity of a channel | Like the WIDTH of a highway โ more lanes = more cars
::: card ๐ | Data Transfer Rate | Actual speed of data transfer achieved | Cars ACTUALLY moving (may be less than capacity!)
::: card ๐ต | Baud Rate | Number of signal changes (symbols) per second | Signals per second โ NOT same as bits!
::: card ๐ | Noise | Unwanted interference that corrupts the signal | Static crackle on an old phone call
:::
**Complete 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 |
**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) |
> [!IMPORTANT]
> **Board Exam Tip**
> "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**.
> [!NOTE]
> **The Highway Analogy ๐**
> - **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)
---
## 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!
```mermaid
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 magic โ it **cancels out electromagnetic interference (EMI)** through a process called differential signaling!
**Two Types:**
::: grid
::: card ๐ต | UTP (Unshielded Twisted Pair) | No metallic shield; cheapest and most common | Used in homes, offices, schools โ Category 5e (1 Gbps), Cat 6 (10 Gbps)
::: card ๐ก๏ธ | STP (Shielded Twisted Pair) | Wrapped in metallic foil/braid shield for better EMI protection | Used in factories, industrial sites with high electrical interference
:::
**UTP 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) |
::: grid
::: card โ | Advantages | Cheapest; Easiest to install; Flexible; Widely available; Standard for LANs | Perfect for home/school/office LANs
::: card โ | Disadvantages | Susceptible to EMI; Limited to 100 m; Slower than coaxial or fibre | Not for long-distance runs
:::
---
### 7.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):**
```
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Outer Plastic Jacket (PVC) โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Metallic Braid Shield (Ground) โ โ
โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ
โ โ โ Plastic Insulator (Dielectric)โ โ โ
โ โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ โ
โ โ โ โ โ Inner Copper Core โ โ โ โ
โ โ โ โ (Signal Carrier) โ โ โ โ
โ โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ โ
โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
```
**Two Types:**
::: grid
::: card ๐ต | Thinnet (10Base2, RG-58) | Thinner, flexible; up to 185 m per segment | Used in old computer labs (BNC connectors)
::: card ๐บ | Thicknet (10Base5, RG-11) | Thicker, rigid; up to 500 m per segment | Used as backbone cable in older networks
:::
**Characteristics:**
| 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 |
::: grid
::: card โ | Advantages | Better EMI shielding than twisted pair; Supports longer distances; Higher bandwidth | Cable TV distribution, CCTV
::: card โ | Disadvantages | More expensive than UTP; Heavier; Harder to bend/install; Being replaced by fibre | Largely obsolete for networking
:::
---
### 7.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:**
```
Electrical Signal โ [LED or Laser] โ Light Pulses โ [Glass Fibre] โ [Photodetector] โ Electrical Signal
โ
Light bounces inside the core
(Total Internal Reflection)
like light in a mirror tube!
```
**Cross-section:**
```
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Protective Jacket (Plastic) โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Cladding (Lower refractive index) โ โ
โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ
โ โ โ Core (Higher refractive idx) โ โ โ
โ โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ โ
โ โ โ Light travels here (8โ62 ยตm) โ โ โ
โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
```
**Two Types:**
::: grid
::: card ๐ด | Single-Mode (SMF) | Very thin core (~8โ10 ยตm); uses laser light; extremely long range | Undersea cables, inter-city connections โ 100+ km without repeater
::: card ๐ | Multi-Mode (MMF) | Thicker core (~50โ62.5 ยตm); uses LED light; shorter range | Campus networks, within buildings โ up to 2 km
:::
**Characteristics:**
| 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) |
::: grid
::: card โ | Advantages | Fastest; Completely immune to EMI; Most secure; Long distance without repeaters; Lightweight; No corrosion | Internet backbone, undersea cables, ISP infrastructure
::: card โ | Disadvantages | Most expensive; Fragile (glass breaks!); Needs specialised tools and trained technicians; Difficult to repair | Not practical for every home (yet!)
:::
> [!IMPORTANT]
> **Board Exam Tip**
> "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!
```mermaid
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 |
::: grid
::: card โ | Advantages | No physical cable to lay; High bandwidth; Wide area coverage | Mobile networks, TV relay, connecting buildings
::: card โ | Disadvantages | Line of Sight REQUIRED; Weather-sensitive; Repeater tower every 30โ50 km | Blocked by hills, tall buildings, heavy rain
:::
---
### 7.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.
::: grid
::: card ๐ป | Broadcast Radio | AM/FM radio, TV broadcast | Covers wide areas; any receiver can pick up the signal
::: card ๐ถ | WiFi | 2.4 GHz and 5 GHz bands | Home and office wireless networking (IEEE 802.11 a/b/g/n/ac/ax)
::: card ๐ง | Bluetooth | 2.4 GHz; range 10โ100 m | PAN devices โ earphones, keyboard, mouse, speakers
::: card ๐ฑ | Cellular | 700 MHz โ 2600 MHz | Mobile networks โ 2G/3G/4G/5G
:::
**Characteristics:**
| 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)
```
```mermaid
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 |
::: grid
::: card โ | Advantages | TRUE global coverage including oceans and deserts; No ground infrastructure needed for remote areas; Wide bandwidth | Ships, aircraft, remote villages, military
::: card โ | Disadvantages | 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) ๐ด
::: grid
::: card ๐ก | Frequency | 300 GHz โ 430 THz | Just below visible light frequency
::: card ๐ | Range | Very short โ 1โ2 metres; Line of sight | Must point at receiver!
::: card ๐ | Penetration | Cannot penetrate walls โ stays in one room | Actually a privacy advantage!
::: card ๐ฑ | Today's Use | TV remotes, AC remotes, IR sensors, old IrDA ports | Being replaced by Bluetooth/WiFi
:::
> [!NOTE]
> **Why Infrared is rare today:**
> - 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 ๐ฆท
::: grid
::: card ๐ถ | Frequency | 2.4 GHz (ISM band) | Same range as some WiFi
::: card ๐ | Range | 10โ100 metres | Class 1: 100 m, Class 2: 10 m
::: card โก | Speed | Up to 50 Mbps (Bluetooth 5.0) | Enough for audio, file transfer
::: card ๐ฑ | Use | Earphones, keyboards, speakers, file transfer, IoT | Personal Area Network
:::
> [!NOTE]
> **The Quirky Origin Story ๐ฆท**
> Bluetooth 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 |
> [!IMPORTANT]
> **Board Exam Tip**
> "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.
---
## 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!
> [!TIP]
> **Physical vs Logical Topology โ Know the Difference!**
> - **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!
```mermaid
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
```
::: grid
::: card โ | Advantages | Simplest possible setup; Fastest (dedicated bandwidth โ no sharing); Most reliable for 2 nodes | Crossover cable between 2 PCs
::: card โ | Disadvantages | Only connects exactly 2 devices; Cannot scale beyond 2 nodes | Useless for adding more computers
:::
**Real examples:** Two PCs connected by a crossover cable; Laptop to projector; Modem connected to ISP router
> [!NOTE]
> 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.
```mermaid
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! |
::: grid
::: card โ | Advantages | Easy to add/remove devices without disrupting network; One broken cable isolates only one PC; Easy to troubleshoot; Most widely used today | Schools, offices, homes โ everywhere!
::: card โ | 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
:::
> [!IMPORTANT]
> **Board Exam Tip**
> "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!
```mermaid
graph LR
T1["โฃ Terminator\n(Required!)"]
C1["๐ป PC 1"]
C2["๐ป PC 2"]
C3["๐ป PC 3"]
C4["๐ป PC 4"]
T2["Terminator โข\n(Required!)"]
T1 --- C1
C1 --- C2
C2 --- C3
C3 --- C4
C4 --- T2
style T1 fill:#9C27B0,color:#fff
style T2 fill:#9C27B0,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
```
**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) |
::: grid
::: card โ | Advantages | Uses least amount of cable; Cheapest setup; Simple to install for small temporary networks | Old small labs, quick temporary setups
::: card โ | Disadvantages | Backbone failure = complete network failure; Performance degrades badly as more users add load; Very hard to troubleshoot; Short maximum length | Mostly obsolete in modern networks
:::
> [!WARNING]
> **Terminators are NOT Optional โ They're MANDATORY!**
> Without 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!
```mermaid
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 |
::: grid
::: card โ | Advantages | Highly scalable โ easy to add new floors/branches; Fault isolated to individual branches; Supports very large networks; Easy to manage hierarchically | Universities, hospitals, large corporate offices
::: card โ | Disadvantages | Root hub failure = catastrophic (all fail); Needs most cable; More complex to manage; Expensive with multiple levels | High cost for many levels
:::
> [!TIP]
> **Topology Memory Tricks ๐จ**
> ๐ฃ๏ธ **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 |
> [!IMPORTANT]
> **Board Exam Tip โ Compare Bus and Star**
> "Compare Bus and Star topology on any four points" โ **3-mark** question asked almost every year!
> Key differences to mention:
> 1. Bus has NO central device; Star has Hub/Switch
> 2. In Bus, backbone cable failure stops ALL; in Star, one cable failure affects only that one node
> 3. Bus uses least cable; Star uses more (one cable per device)
> 4. Bus is very hard to troubleshoot; Star is easy (just check each cable to hub)
> 5. Bus = mostly obsolete; Star = modern standard
---
## 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**:
```mermaid
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) |
**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) |
> [!NOTE]
> **IPv6 Shortening Rules (Important!)**
> 1. **Leading zeros in a group can be omitted:** `0DB8` โ `DB8`
> 2. **One consecutive run of all-zero groups can be replaced with `::`:**
> `2001:0000:0000:0000:0000:0000:0370:7334` โ `2001::370:7334`
> 3. `::` can only appear **once** in an IPv6 address!
---
### 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.
```mermaid
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. IP Address: 142.250.195.196"| USER
USER -->|"3. Connect to 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 |
> [!IMPORTANT]
> **Board Exam Tip โ DNS**
> "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.
> [!IMPORTANT]
> **Board Exam Tip โ Why IPv6?**
> "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 |
---
## ๐ Quick Revision โ Exam Ready!
**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:
1. Draw and label a Tree topology with: 1 root switch โ 3 secondary hubs โ 4 computers each. Mark the total number of computers.
2. Calculate how many unique IPv4 addresses are mathematically possible (2ยณยฒ = ?). Express in billions.
3. Your school has 4 floors with 25 computers each floor. Which topology would you recommend and why?
4. Draw a diagram showing how packet switching sends the message "CS12" across a network โ show at least 3 different routes for different packets.
5. Compare Optical Fibre and Coaxial Cable on 5 different parameters in a table format.
6. Write the full IPv6 address for the short form: `2001:DB8::1`
7. 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
8. 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?
9. Explain why the first ARPANET message was "LO" instead of "LOGIN".
10. 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?