1.1.
1 Introduction to Computer Networks
A computer network is a collection of two or more interconnected devices (computers,
printers, servers, routers, switches, etc.) that can exchange data and share resources.
Key Purposes of Networks:
Resource Sharing: Printers, files, applications.
Communication: Email, messaging, video calls.
Internet Access: Connecting to the wider world.
Centralized Management: Easier to manage updates and security.
📘 Benefits of Computer Networks
A computer network allows devices to connect and share resources. The main benefits are:
1. Resource Sharing
Hardware Sharing: Printers, scanners, and storage devices can be shared instead of
buying one for every computer.
Software Sharing: Applications can be installed on a server and accessed by many
users.
Example: In a college lab, 1 printer serves 50 computers.
📌 Diagram idea: One printer connected to 5 computers.
2. Communication & Collaboration
Enables instant communication via email, chat, or video conferencing.
Encourages teamwork through shared platforms like Google Drive or Microsoft
Teams.
Example: Students in different classrooms share project files and discuss via Zoom.
📌 Diagram idea: Laptops connected with arrows showing email/messages.
3. Centralized Data Management
Data stored in one central server instead of on each computer.
Easier to backup, update, and secure.
Example: A hospital stores patient records in one database accessible by doctors from
different departments.
📌 Diagram idea: One big server with multiple clients accessing files.
4. Cost Efficiency
Reduces cost by sharing resources.
Cuts down on duplicate purchases (e.g., software licenses).
Saves time and labor through centralized management.
📌 Diagram idea: A pie chart showing cost savings (hardware, software, time).
5. Data Security & Backup
Networks allow implementation of firewalls, encryption, and access control.
Regular backups protect against data loss.
Example: A bank uses secure servers with backup storage to protect customer
transactions.
📌 Diagram idea: A shield between server and internet cloud.
6. Scalability (Flexibility & Growth)
Easy to add new users or devices without affecting the whole system.
Network upgrades (e.g., adding switches, more bandwidth) allow growth.
Example: A small office expands from 5 PCs to 50 PCs using the same LAN.
📌 Diagram idea: A star topology where more PCs keep getting added to the switch.
7. Remote Access & Mobility
Users can access files and applications remotely (e.g., via VPN or cloud).
Mobile devices connect via Wi-Fi.
Example: Employees work from home while still accessing the office server.
📌 Diagram idea: Laptop connected to a cloud labeled VPN Access.
8. Reliability & Redundancy
Advanced networks use backup servers, multiple paths (mesh topology), and
failover systems.
Ensures continuous operation even when one component fails.
Example: ISPs use multiple links to keep internet running if one cable breaks.
📌 Diagram idea: Two servers, one labeled Primary and the other Backup.
Examples in Real Life:
School LAN → Students use shared printers, internet, and servers.
Bank MAN → Connects all branches in a city.
Global WAN → Internet connects businesses worldwide.
Personal PAN → Bluetooth earbuds and hotspot.
📌 Image idea: Show four circles with labels LAN, MAN, WAN, PAN connected by arrows
showing size differences.
Personal Area Network (PAN)
Definition: A very small network, usually limited to one person’s devices.
Examples: Connecting a laptop, smartphone, and Bluetooth headphones.
Use: Short-range communication (Bluetooth, USB, Infrared).
2. Local Area Network (LAN)
Definition: A network that connects computers within a limited area such as a home,
school, office, or building.
Features: High speed, privately owned, limited geographical area.
Example: Office computers connected to share files and printers.
3. Metropolitan Area Network (MAN)
Definition: A network that covers a city or a large campus.
Features: Larger than LAN but smaller than WAN, used by organizations or service
providers.
Example: A city-wide Wi-Fi network or university campus network.
4. Wide Area Network (WAN)
Definition: A network that covers a very large geographical area, often a country or
continent.
Features: Connects multiple LANs and MANs, often uses satellites, leased telephone
lines, or fiber optics.
Example: The Internet (the largest WAN).
5. Wireless Local Area Network (WLAN)
Definition: Similar to LAN but uses wireless technology (Wi-Fi) instead of cables.
Features: Provides flexibility and mobility within a limited area.
Example: Wi-Fi in homes, offices, or cafes.
6. Campus Area Network (CAN)
Definition: A network covering a campus or organization, such as a university or
military base.
Features: Larger than a LAN but smaller than a MAN.
Example: A university connecting libraries, labs, hostels, and offices.
7. Virtual Private Network (VPN)
Definition: A secure private network created over a public network (like the Internet).
Features: Provides encrypted connections for safe data transfer.
Example: Employees connecting securely to their company’s LAN from home.
1.1.2 Types of Network Topologies
Topology = the physical or logical structure of how devices connect.
1. Bus Topology
Single main cable (backbone).
All devices connect directly to it.
Advantage: Cheap, easy to set up.
Disadvantage: If the backbone fails, entire network fails.
Use case: Old Ethernet setups, small temporary labs.
Image: Draw one line across with PCs connected like branches.
2. Star Topology
Devices connected to a central hub/switch.
Advantage: Easy to troubleshoot, scalable.
Disadvantage: Central device failure = entire network down.
Use case: Modern offices, schools.
Image: Switch in center with lines going to each PC.
3. Ring Topology
Each device connected in a loop.
Data flows in one direction.
Advantage: Equal access to devices.
Disadvantage: Failure of one device breaks the loop.
Use case: Early IBM Token Ring networks.
Image: Devices connected in a circle.
4. Mesh Topology
Devices connected to every other device.
Advantage: Very reliable, multiple paths.
Disadvantage: Expensive, complex.
Use case: Military, backbone networks.
Image: 4 PCs all interconnected with crossing lines.
1.1.3 Types of Network Devices
Devices that form the building blocks of networks:
Hub
o Simple device, forwards data to all connected devices.
o Disadvantage: Causes network congestion.
o Use: Rare today, replaced by switches.
o Image: Hub box with 4 PCs, arrows going to all.
Switch
o Smarter than hub: sends data only to the target device.
o Advantage: Improves performance, security.
o Use: Office LANs.
o Image: Switch in middle, 4 PCs with direct arrows.
Router
o Connects different networks (LAN ↔ WAN).
o Assigns IP addresses, directs data.
o Use: Home/office internet.
o Image: Router connected to switch and Internet cloud.
Access Point (AP)
o Provides wireless (Wi-Fi) access.
o Use: Schools, offices, cafes.
o Image: Wi-Fi symbol with laptops/phones connected.
Modem
o Converts ISP signal (DSL, Fiber) into digital signal for network.
o Image: Modem box linked to ISP line and router.
Firewall
o Protects network by filtering incoming/outgoing traffic.
o Image: Shield icon between router and internet cloud.
Server
o Central computer that provides resources/services (web, files, applications).
o Image: Tower server connected to multiple clients.
1.1.4 Components of a Computer Network
1. End Devices: Computers, laptops, phones, printers.
2. Networking Devices: Switches, routers, access points.
3. Transmission Media:
o Wired: UTP (Ethernet), fiber optics.
o Wireless: Wi-Fi, Bluetooth, infrared.
4. Protocols: Rules of communication (TCP/IP, HTTP, FTP, SMTP).
5. Software: Network OS (Windows Server, Linux), management tools.
📌 Image idea: A layered diagram:
Top = End Devices
Middle = Networking Devices + Media
Bottom = Protocols + Software
1.1.5 Types of Network Tools
Crimping Tool: Attaches RJ45 connectors to cables.
Cable Tester: Checks continuity, detects wiring faults.
Punch-down Tool: Fixes cables into patch panels.
Wire Stripper: Removes insulation without damaging wires.
Multimeter: Measures electrical values (voltage, resistance, continuity).
📌 Image idea: Show icons of each tool with a short label.
1.1.6 Cable Colour Coding (Ethernet Standards)
Why Important: Proper wiring ensures signal flow and compatibility.
T568A Wiring Order
1. White/Green
2. Green
3. White/Orange
4. Blue
5. White/Blue
6. Orange
7. White/Brown
8. Brown
T568B Wiring Order
1. White/Orange
2. Orange
3. White/Green
4. Blue
5. White/Blue
6. Green
7. White/Brown
8. Brown
Notes:
Straight-through cable: Same standard both ends (A–A or B–B). Used for PC to
switch.
Crossover cable: One end A, other end B. Used for PC-to-PC direct connection.
📌 Image idea: Two RJ45 connectors side by side, each with 8 vertical slots colored
according to T568A and T568B standards.