1. Introduction to Computer Networks

A computer network is a collection of two or more computers and other hardware devices (printers, routers, switches) interconnected by communication links to share resources, data and information.

Benefits of Networking

Benefit Explanation Example
Resource Sharing Hardware and software resources shared across users One printer shared by 20 computers in an office
Data/File Sharing Files and databases accessible to authorised users Students accessing shared study material on a school server
Communication Email, messaging, video calls across distances Video conferencing between two offices in different cities
Reduced Cost Shared resources reduce per-user hardware cost One high-speed internet connection shared by all employees
Reliability Data backed up across multiple systems If one server fails, another takes over

2. Evolution of Networking — ARPANET, NSFNET, Internet

Network Full Form Year Key Facts
ARPANET Advanced Research Projects Agency Network 1969 Funded by the US Department of Defence (ARPA). First network to use packet switching. Connected 4 universities initially (UCLA, Stanford, UC Santa Barbara, University of Utah). Precursor to the modern Internet.
NSFNET National Science Foundation Network 1986 Created by the US National Science Foundation to connect supercomputing centres. Extended networking to universities and research institutions across the US. Replaced ARPANET as the backbone of the Internet in the US. Decommissioned in 1995 when commercial networks took over.
Internet Interconnected Network 1991 (WWW) A global network of networks using TCP/IP protocol suite. The World Wide Web (WWW) was introduced in 1991 by Tim Berners-Lee making the Internet user-friendly. Internet came to India in 1995 (launched by VSNL). Today connects billions of devices worldwide.

Key Milestones in Networking Evolution

  • 1969: ARPANET — first 4-node network; introduced packet switching concept.
  • 1971: First email sent over ARPANET (by Ray Tomlinson — first use of @ in email addresses).
  • 1973: TCP/IP protocols developed by Vint Cerf and Bob Kahn.
  • 1983: ARPANET switched to TCP/IP — considered the "birth of the Internet."
  • 1986: NSFNET created to extend networking to academics.
  • 1991: Tim Berners-Lee introduced the World Wide Web — HTML, HTTP, URL.
  • 1993: Mosaic — first graphical web browser — made WWW accessible to general public.
  • 1995: Internet introduced in India by VSNL; NSFNET decommissioned.

3. Data Communication — Concepts and Components

Data communication is the process of transferring data between two or more devices over a transmission medium (guided or unguided).

Components of Data Communication

Component Role Example
Sender Device that originates and sends the message Your computer when sending an email
Receiver Device that receives the transmitted message Recipient's computer/phone receiving the email
Message The actual data/information being transmitted Text, images, audio, video, files
Communication Media The physical path through which the message travels Ethernet cable, fibre-optic cable, Wi-Fi signal
Protocols Set of rules governing how data is transmitted and received TCP/IP, HTTP, FTP — defines format, timing, error control

Common Networking Terms

Term Definition
Node Any device connected to a network (computer, printer, router, smartphone)
Workstation A computer connected to a network used by an individual user
Server A powerful computer that provides services (files, databases, web pages) to other nodes on the network
Client A device that requests and uses services provided by a server
Protocol A set of rules/standards that govern how data is transmitted between devices on a network
Domain Name Human-readable name mapped to an IP address (e.g., www.google.com)

4. Measuring Network Capacity — Bandwidth and Data Transfer Rate

Term Definition Unit
Bandwidth The maximum capacity of a communication channel to transmit data — the theoretical upper limit of data transfer bps, Kbps, Mbps, Gbps
Data Transfer Rate (DTR) The actual speed at which data is successfully transferred from sender to receiver in practice — always ≤ Bandwidth bps, Kbps, Mbps, Gbps

Units of Data Transfer

Unit Full Form Value
bps Bits per second Base unit
Kbps Kilobits per second 1,000 bps
Mbps Megabits per second 1,000 Kbps = 10⁶ bps
Gbps Gigabits per second 1,000 Mbps = 10⁹ bps

Analogy: Bandwidth is like the width of a highway (maximum lanes of traffic); Data Transfer Rate is the actual traffic flow at any given time.

5. IP Address

An IP (Internet Protocol) Address is a unique numerical label assigned to every device connected to a network that uses the Internet Protocol for communication. It serves two main purposes: host identification and location addressing.

Version Bits Format Example Total Addresses
IPv4 32-bit 4 octets separated by dots (decimal) 192.168.1.1 ≈ 4.3 billion (2³²)
IPv6 128-bit 8 groups of 4 hex digits separated by colons 2001:0db8:85a3::8a2e:0370:7334 ≈ 3.4 × 10³⁸ (2¹²⁸)
  • IPv4 addresses are running out — IPv6 was developed to solve this.
  • Each octet in IPv4 ranges from 0 to 255 (8 bits).
  • IP addresses are logical addresses (software-assigned, can change).
  • MAC (Media Access Control) Address is the physical address — permanently burned into the network card (48-bit hexadecimal).

6. Switching Techniques

Switching is the method by which data is routed from the sender to the receiver through a network. There are two main techniques in the CBSE syllabus:

Feature Circuit Switching Packet Switching
Definition A dedicated physical path is established between sender and receiver before data transmission begins Data is broken into small packets; each packet may travel a different route independently and is reassembled at the destination
Path Fixed, dedicated path throughout communication No fixed path — each packet routed independently
Resource usage Resources reserved even if not in use (wasteful) Resources used only when needed (efficient)
Setup time Time required to establish the circuit before data flows No setup time — packets sent immediately
Delay Once circuit established, delay is minimal and consistent Variable delay — packets may arrive out of order
Failure handling If the path fails, the entire connection breaks Packets can be rerouted around failures
Best for Voice calls — requires consistent, uninterrupted connection Internet data — emails, web pages, files
Example Traditional telephone (PSTN) calls Internet — the entire web uses packet switching

What is a Packet?

In packet switching, data is divided into small chunks called packets. Each packet contains:

  • Header: Source IP, Destination IP, packet number, total packets — used for routing and reassembly.
  • Payload (Data): The actual fragment of the original message.
  • Trailer: Error detection information (checksum).

Packets are independently routed, may arrive out of order, and are reassembled at the destination. ARPANET was the first network to use packet switching.