Computer Network & Communication
Complete theory notes and practical tasks based on the CDC New Curriculum 2083.
This chapter introduces the fundamentals of computer networking and communication, including telecommunication, communication media, connectors, networking devices, topologies, network coverage, architecture, IP addressing, and Internet technologies. It also includes practical networking activities prescribed by the CDC New Curriculum 2083.
1.1 Concept of Telecommunication
- Telecommunication is the process of sending and receiving information over long distances with the help of electronic devices.
- The word telecommunication comes from the Greek word tele, meaning far off, and the Latin word communicare, meaning to share. Therefore, telecommunication means sharing information from far away.
- Telecommunication helps people exchange voice, text, pictures, videos, and data quickly and easily, even when they are far apart.
- Common telecommunication devices include telephones, mobile phones, radios, televisions, and computers.
- Examples of telecommunication include making phone calls, sending text messages, using the Internet, attending online meetings, and watching television programs.
In telecommunication, a network is a system in which two or more electronic devices are connected to share information and communicate with each other.
A network mainly works in two ways:
1. Wired Network: A wired network uses physical cables or telephone lines to connect devices.
2. Wireless Network: A wireless network connects devices without physical wires using technologies such as Wi-Fi and mobile networks.
Through these networks, people can easily share messages, sound, pictures, videos, and data over long distances quickly and efficiently.
Broadband is a high-speed Internet connection that allows users to send and receive large amounts of data quickly through different communication technologies. It is much faster than the old dial-up Internet connection.
Watching videos online , Attending online classes , Playing online games , Downloading files
Homes , Schools , Offices, Public places
- Uses telephone lines to provide faster Internet access for homes and small offices.
Uses television (TV) cables to deliver fast and stable Internet, mainly for homes.
Uses fiber-optic (glass) cables to provide very high-speed, reliable Internet for gaming, streaming, and large file transfers.
Uses communication satellites to provide Internet in remote and rural areas where cable connections are unavailable, but weather can affect the signal.
Uses Wi-Fi, 4G, or 5G mobile networks to provide convenient wireless Internet access without physical cables.
Throughput is the actual amount of data that is successfully sent or received over a network in a given period of time. It shows the real speed of data transfer between devices.
In simple words, throughput measures how much data is actually transferred successfully.
- bps (Bits per second)
- Kbps (Kilobits per second)
- Mbps (Megabits per second)
- Gbps (Gigabits per second)
Higher throughput means faster and smoother performance, such as quicker downloads, video streaming without buffering, and a better online experience.
- Downloading a movie quickly
- Watching YouTube videos without buffering
- Attending online classes smoothly
- Playing online games with less delay
Bandwidth is the maximum amount of data that a network can transmit in a given period of time. It represents the data-carrying capacity of a network.
In simple words, bandwidth shows how much data can be sent or received at one time.
- bps (Bits per second)
- Kbps (Kilobits per second)
- Mbps (Megabits per second)
- Gbps (Gigabits per second)
Higher bandwidth allows more data to travel at once, resulting in faster Internet access, smoother video streaming, quicker file downloads, and better online communication.
- Streaming high-quality videos
- Downloading large files quickly
- Attending online classes smoothly
- Making video calls without interruptions
| Bandwidth | Throughput |
|---|---|
| Bandwidth is the maximum amount of data that a network can transmit in a given period of time. | Throughput is the actual amount of data that is successfully transmitted over a network in a given period of time. |
| It represents the maximum capacity of a network connection. | It represents the actual performance of a network connection. |
| It is the theoretical or maximum speed that a network can provide. | It is the practical or real speed experienced by users. |
| It usually remains fixed for a particular network connection. | It changes depending on network traffic and conditions. |
| It is less affected by network congestion or interference. | It is affected by congestion, interference, hardware, and network load. |
3G is the third generation of mobile network technology. It provides faster Internet speed and better communication services than 2G.
- Faster Internet browsing
- Sending and receiving pictures and videos (multimedia messaging)
- Making video calls
- Using mobile broadband services, online games, and mobile apps
3G made smartphones more useful by providing faster Internet access and better communication services. It helped people use online learning, social media, entertainment, and other Internet-based services more easily.
4G is the fourth generation of mobile network technology. It is much faster and more reliable than 3G. It provides high-speed Internet and a better online experience on mobile devices.
- Very fast Internet speed
- Faster downloading and uploading of files
- Less delay during online activities
- High-quality video streaming (HD videos)
- Better online gaming experience
- Quick access to websites and mobile apps
4G made it easier to study online, watch videos, play games, browse the Internet, and communicate with others using mobile phones and tablets.
5G is the fifth generation of mobile network technology. It is much faster, smarter, and more powerful than 4G. It provides very high Internet speed, a strong network connection, and supports many devices at the same time.
- Super-fast Internet access
- Supports advanced technologies like Augmented Reality (AR) and Virtual Reality (VR)
- Helps self-driving cars communicate and operate efficiently
- Connects smart devices such as smart homes and smart cities
- Supports a large number of connected devices at the same time
5G is improving communication and making technology faster and more efficient. It is helping in education, healthcare, transportation, business, entertainment, and smart city development.
| Feature | 3G (Third Generation) | 4G (Fourth Generation) | 5G (Fifth Generation) |
|---|---|---|---|
| Definition | The third generation of mobile network technology that provides fast Internet and supports services like web browsing and video calling. | The fourth generation of mobile network technology that provides very fast Internet with better speed, quality, and lower latency than 3G. | The fifth and latest generation of mobile network technology that provides ultra-fast Internet, extremely low latency, and supports advanced technologies. |
| Video Calls | Supports basic video calling. | Supports high-quality video calling. | Supports Ultra HD video calling with excellent quality. |
| Online Gaming | Suitable for basic online gaming. | Provides a better gaming experience with lower latency. | Offers an excellent gaming experience with extremely low latency. |
| Latency | Has moderate latency. | Has low latency. | Has very low latency for real-time communication. |
| IoT Support | Provides limited support for IoT devices. | Provides partial support for IoT applications. | Provides excellent support for IoT and smart devices. |
| AR & VR | Does not support AR and VR applications. | Provides limited support for AR and VR. | Fully supports AR and VR applications. |
| Self-driving Vehicles | Does not support self-driving vehicles. | Provides limited support for autonomous vehicles. | Fully supports self-driving vehicles and other smart technologies. |
| Basis | 1G | 2G | 3G | 4G | 5G |
|---|---|---|---|---|---|
| Generation | First Generation | Second Generation | Third Generation | Fourth Generation | Fifth Generation |
| Technology | Analog | Digital | Advanced Digital | High-Speed Digital | Smart Network Technology |
| Internet Support | Not Available | Very Limited | Available | High-Speed | Ultra-High-Speed |
| Main Service | Voice Calls | Voice Calls and SMS | Internet and Video Calls | HD Streaming and Online Gaming | Smart Devices and Advanced Applications |
| Speed | Very Slow | Slow | Fast | Very Fast | Extremely Fast |
| Call Quality | Low | Better than 1G | Good | High | Very High |
| Device Support | Mobile Phones | Mobile Phones | Smartphones | Smartphones and Tablets | Smartphones, Smart Devices, IoT Devices |
| Examples of Use | Voice Communication | SMS and Calls | Web Browsing and Video Calls | Video Streaming and Gaming | Smart Homes, Smart Cities, AR/VR |
Data packets are small units of data into which information is divided before being sent over a network. These packets travel through the network separately and are reassembled at the destination to form the original information.
- Help send information faster
- Make data transfer more reliable
- Improve communication over long distances
Each data packet contains a part of the information along with details such as the sender's address and receiver's address, ensuring that it reaches the correct destination.
In telecommunication, frequency refers to the number of times a signal is transmitted in one second. It affects how data is sent and received through communication channels.
- Wi-Fi and Bluetooth communication
- Mobile networks such as 4G and 5G
- Radio and television broadcasting
- RFID systems and microwave ovens
kHz (Kilohertz) = 1,000 cycles per second
MHz (Megahertz) = 1,000,000 cycles per second
GHz (Gigahertz) = 1,000,000,000 cycles per second
| Technology | Frequency Range | Purpose / Use |
|---|---|---|
| Wi-Fi | 2.4 - 2.5 GHz | Wireless Internet |
| Bluetooth | 2.4 - 2.5 GHz | Wireless connection between devices |
| FM Radio | 88 - 108 MHz | Music and news broadcasting |
| AM Radio | 530 - 1710 kHz | Long-distance radio broadcasting |
| Microwave Oven | 2.45 GHz | Heating food |
| RFID (UHF) | 860 - 960 MHz | Smart cards and inventory tracking |
| Television (UHF) | 470 - 890 MHz | Digital TV broadcasting |
| 5G (mmWave) | 24 - 100 GHz | Ultra-fast mobile communication |
Communication mode refers to the direction in which data and information are transmitted between devices.
There are three types of communication modes:
In simplex mode, data is transmitted in one direction only. The receiver cannot send data back.
Radio broadcasting
Television broadcasting
Newspaper
Books
In half-duplex mode, data can flow in both directions, but only one direction at a time.
Walkie-talkie
Wireless handsets
In full-duplex mode, data can flow in both directions at the same time.
Mobile phones
Landline phones
| Basis | Simplex Mode | Half-Duplex Mode | Full-Duplex Mode |
|---|---|---|---|
| Definition | Simplex mode is a communication mode in which data is transmitted in only one direction, from the sender to the receiver. | Half-duplex mode is a communication mode in which data can travel in both directions, but only one direction at a time. | Full-duplex mode is a communication mode in which data can travel in both directions simultaneously. |
| Direction of Communication | One-way communication only. | Two-way communication, but not at the same time. | Two-way communication at the same time. |
| Data Flow | Data flows only from sender to receiver. | Data flows in both directions alternately. | Data flows in both directions simultaneously. |
| Main Advantage | Simple, reliable, and inexpensive communication. | Allows two-way communication using a single communication path. | Provides the fastest and most efficient communication with real-time interaction. |
| Main Disadvantage | Receiver cannot send any response or feedback. | Communication is slower because devices must wait for their turn. | Requires more complex and costly networking equipment. |
| Common Examples | Radio broadcasting, Television broadcasting, Newspaper, Keyboard to Computer | Walkie-talkie, Wireless handsets, CB Radio | Mobile phones, Landline telephones, Video conferencing, Online voi |
1.2 Communication Media
Communication media is the path or channel through which data and information are transmitted from one device to another. It is also known as transmission media.
Communication media helps connect devices and enables them to exchange data and information.
1. Guided Media (Wired Media) and 2. Unguided Media (Wireless Media)
Guided media is a type of communication media that uses physical cables or wires to transmit data and information between computers and other network devices.
It is also called wired media because devices are connected using cables.
Twisted Pair Cable
Coaxial Cable
Optical Fiber Cable
Guided media is generally faster, more secure, less interference from external signals and more reliable than wireless communication.
1. CAT6 (Category 6 Cable) and 2. Optical Fiber Cable
CAT6 (Category 6) is a type of network cable used to connect computers, routers, switches, and other network devices. It provides faster and more reliable communication than older cables such as CAT5e.
- Supports speeds up to 1 Gbps over a distance of 100 meters
- Can support 10 Gbps over shorter distances
- Has better insulation and tightly twisted wires
- Reduces signal interference and provides a stable connection
CAT6 cables are commonly used in homes, offices, and data centers where fast and strong internet is important.
Optical Fiber Cable is a high-speed communication cable made of thin strands of glass or plastic. It transmits data using light signals, allowing data to travel very fast over long distances.
Optical fiber is faster, more reliable, and more efficient than twisted pair and coaxial cables.
- Transmits data using light signals
- Provides very high data transmission speed
- Can carry data over long distances
- Has very low signal loss
- Offers reliable communication
High-speed Internet services
Telecommunications
Data centers
Cable television networks
ST (Straight Tip)
SMA (Screw-Mounted Adaptor)
SC (Subscriber Connector)
| CAT6 Cable | Optical Fiber Cable |
|---|---|
| CAT6 is made of copper wires that transmit data using electrical signals. | Optical fiber is made of glass or plastic fibers that transmit data using light signals. |
| It provides speeds of up to 1 Gbps over 100 m and up to 10 Gbps over shorter distances. | It provides very high-speed data transmission over long distances. |
| It is suitable for short to medium-distance communication. | It is suitable for long-distance communication. |
| It can be affected by electromagnetic interference (EMI). | It is not affected by electromagnetic interference. |
| It is less expensive and easier to install. | It is more expensive but offers better performance and reliability. |
| It commonly uses an RJ45 connector. | It commonly uses ST, SC, or SMA connectors. |
| It is mainly used in Local Area Networks (LANs). | It is mainly used by Internet Service Providers (ISPs), backbone networks, and data centers. |
- Optical fiber transmits data using light signals, making it one of the fastest communication media.
- Optical fiber cables are very thin but can carry a huge amount of data over long distances.
- Although optical fiber is made of glass or plastic, it can be bent slightly without breaking.
Unguided media is a type of communication media that transmits data and information without using physical cables or wires. It uses wireless signals such as radio waves to send and receive data between devices. It is also known as wireless media.
Unguided media is widely used for Internet access, mobile communication, and wireless data sharing.
In Nepal, permission to use wireless technology is given by the government to ensure proper use and security
Wi-Fi (Wireless Fidelity) is a wireless technology that allows devices to connect to the Internet without using cables. It uses radio waves to send and receive data between devices.
It commonly operates on 2.4 GHz and 5 GHz frequency bands.
Wi-Fi provides a fast and reliable Internet connection. It can connect many devices to the Internet at the same time through a router or access point.
Wi-Fi is widely used in homes, schools, offices, and public places for wireless Internet access.
Bluetooth is a wireless technology that allows devices to exchange data over short distances without using cables.
It is commonly used in smartphones, tablets, computers, smartwatches, wireless headphones, and fitness bands.
Bluetooth uses radio waves to connect devices and transfer files, music, photos, and other information.
It uses a technique called Frequency Hopping Spread Spectrum (FHSS), which reduces signal interference and improves connection reliability.
Bluetooth uses very little power, making it suitable for small electronic devices. It is built into most modern devices and is commonly used to connect wireless headphones, speakers, keyboards, mice, smartwatches, and other gadgets.
RFID (Radio Frequency Identification) is a wireless technology that uses radio waves to identify and track objects, animals, or people.
An RFID system consists of RFID tags and an RFID reader. When the reader scans a tag, it receives the information stored in the tag.
- Passive RFID Tag – Works without a battery.
- Active RFID Tag – Uses a battery and works over a longer distance.
RFID is widely used for identifying and tracking items. It is also used in inventory management, access control systems, and contactless payment systems.
RFID provides a fast and reliable way to collect data and is commonly used in stores, offices, schools, and transportation systems.
Satellite communication is a wireless communication system that uses artificial satellites to transmit information over long distances around the world.
Satellites receive signals from one location and transmit them to another, making global communication possible.
Satellite communication has been used for communication services such as telecommunication, radio, television, and Internet services.
It allows the transmission of text, images, audio, and video to any part of the world.
Today, satellite communication is widely used for television broadcasting, weather forecasting, GPS navigation, military communication, and Internet services.
| Basis | Guided Media | Unguided Media |
|---|---|---|
| Definition | Guided media transmits data through physical cables or wires. | Unguided media transmits data through the air using electromagnetic waves without physical cables. |
| Medium | Uses copper or fiber-optic cables as the transmission medium. | Uses air or free space as the transmission medium. |
| Signal Type | Transmits data using electrical or light signals. | Transmits data using radio waves, microwaves, infrared, or satellite signals. |
| Speed | Generally provides higher speed and a more stable connection. | Speed varies depending on signal strength, distance, and interference. |
| Reliability | More reliable because the transmission path is fixed. | Less reliable because signals can be affected by interference. |
| Security | More secure as data travels through cables. | Less secure because wireless signals can be intercepted more easily. |
| Weather Effect | Generally not affected by weather conditions. | Can be affected by rain, storms, obstacles, and other environmental factors. |
| Also Known As | Also called wired media or bounded media. | Also called wireless media or unbounded media. |
| Examples | CAT6 Cable, Coaxial Cable, Optical Fiber | Wi-Fi, Bluetooth, RFID, Satellite Communication |
1.3 Connectors
Connectors are hardware devices used to connect communication media (cables) to network devices such as computers, routers, and switches. Connectors help transfer data signals between network devices and communication media.
Connectors play an important role in computer networking because they:
Connect cables to networking devices.
Ensure stable and reliable data transmission.
Reduce signal loss during communication.
Allow easy installation and replacement of cables.
Support high-speed communication.
Help different networking devices communicate efficiently.
There are two common types of connectors:
RJ-45 Connector
Media Converter
The RJ45 connector is a standardized interface for connecting Ethernet cables to network devices like computers, routers, and switches.
It features eight pins in a modular jack format, easy insertion and removal, and follows specific wiring schemes.
It supports reliable, highspeed data transmission over Ethernet networks.
RJ-45 connectors are used in Local Area Networks (LANs), home Internet connections, school computer labs, offices, data communication, and for connecting computers to switches and routers.
A media converter is a networking device used to connect different types of communication media, such as Ethernet (copper) cables and optical fiber cables.
It converts electrical signals from copper cables into light signals for optical fiber cables, and vice versa.
A media converter converts electrical signals from Ethernet (copper) cables into light signals for optical fiber cables, and vice versa.
It is commonly used in schools, offices, and data centers to connect different network systems.
Useful when copper cables cannot cover long distances.
Allows the use of optical fiber for faster and more reliable communication.
A media converter is useful when:
Copper cable cannot cover the required distance.
Fiber optic cable is needed for higher speed.
A network needs to connect copper and fiber cables.
Better network performance is required.
Long-distance communication is needed.
| Basis | RJ-45 Connector | Media Converter |
|---|---|---|
| Definition | RJ-45 is a connector used to connect Ethernet cables to network devices. | A media converter is a networking device that connects copper and fiber optic networks. |
| Signal Type | Transmits electrical signals through copper cables. | Converts electrical signals into light signals and light signals into electrical signals. |
| Cable Used | Uses copper Ethernet cables such as CAT5e and CAT6. | Uses both copper cables and fiber optic cables. |
| Main Function | Connects Ethernet cables to computers, routers, switches, and other network devices. | Connects copper and fiber optic networks by converting signal types. |
| Transmission Distance | Supports communication up to 100 meters. | Supports communication over several kilometers using fiber optic cables. |
| Speed | Provides high-speed Ethernet communication. | Provides very high-speed communication over long distances. |
| Cost | Less expensive and economical. | More expensive due to additional hardware and fiber optic technology. |
| Installation | Easy and simple to install. | Installation is more complex and requires technical knowledge. |
| Power Supply | Does not require an external power supply. | Requires an external electrical power supply to operate. |
| Common Uses | Used in homes, schools, offices, and Local Area Networks (LANs). | Used in data centers, Internet Service Providers (ISPs), hospitals, campuses, and large organizations. |
1.4 Networking Devices
Networking devices are hardware devices used to connect computers and other devices in a network. They help establish communication, manage the flow of data, and enable users to share resources such as files, printers, and Internet connections efficiently.
The common networking devices are: Repeater , Hub , Switch , Bridge , Router
A Repeater is a networking device that receives weak signals and regenerates them to their original strength, and retransmits them to the next device.
It makes it possible for long-distance data transfer. So, it boosts the data signals that are received from the network.
A Hub is a basic networking device with multiple ports that connects several computers in a star topology. When it receives data from one device, it broadcasts the data to every connected device regardless of the intended destination.
It is simple, easier to install and low cost as compared to other devices.
It can receive or send information between the computers. Nowadays, hub is replaced by switch.
A Switch is an network connectivity device that connects multiple computers and forwards data only to the intended destination device. It makes communication faster, more secure, and more efficient than a hub.
A switch receives data from a computer.
It checks the destination MAC address.
It identifies the correct receiving device.
It sends the data only to that specific device instead of broadcasting it to all devices.
A Bridge is a networking device that connects two similar networks or LAN segments using the same communication protocol. It examines incoming data and decides whether to forward or discard it, helping reduce unnecessary network traffic.
A Router is an intelligent networking device that connects two or more different wired or wireless networks. It forwards data packets using IP addresses and automatically selects the best possible path for data transmission.
A router receives incoming data packets.
It examines the destination IP address.
It determines the most efficient route.
It forwards the data to the correct destination network.
1.5 Network Topology
Network topology is the physical or logical arrangement of computers, network devices, and cables in a computer network. It defines how devices are connected and how data travels from one device to another.
Physical topology shows the actual arrangement of cables and devices.
Logical topology shows the path through which data travels in the network.
A LAN topology refers to the layout or structure used to connect computers within a Local Area Network (LAN).
There are four main types of network topology:
Bus Topology 2. Star Topology 3. Ring Topology 4. Hybrid Topology
Bus topology is a network topology in which all computers and devices are connected to a single main cable called a bus.
The cable has terminators at both ends to prevent signal loss and ensure proper data transmission.
When the bus topology has exactly two endpoints, it is called a Linear Bus Topology.
- Requires less cable than many other topologies
- Cost-effective and economical
- Easy to understand and install
- Suitable for small networks
- Easy to expand
- Terminators are required at both ends of the cable
Requires less cable, making it low-cost.
Easy to install and maintain.
Suitable for small LANs.
Easy to add new devices.
Does not require a central device such as a switch or hub.
If the backbone cable fails, the entire network stops working.
Network performance decreases as more devices are added.
Difficult to identify faults in the cable.
Data collisions can occur when multiple devices transmit simultaneously.
Limited cable length and number of connected devices.
Common Uses : Small offices , Small computer laboratories , Temporary networks , Home networks with a few devices (older installations)
Star topology is a network topology in which all computers and devices are connected to a central device called a hub or switch through separate cables.
The hub or switch controls the communication between devices in the network.
- Provides fast performance and low network traffic
- Easy to install, troubleshoot, and modify
- Failure of one node does not affect other nodes
- Easy to add or remove devices
- Widely used in modern networks
Fast and efficient data communication.
Easy to install, manage, and troubleshoot.
Failure of one computer or cable does not affect the rest of the network.
Easy to add or remove devices without disturbing the network.
Better performance because each device has its own dedicated cable.
If the hub or switch fails, the entire network stops working.
Requires more cable than bus topology.
Installation cost is higher due to the central device and additional cables.
Network performance depends on the central hub or switch.
Schools and colleges
Computer laboratories
Offices and businesses
Banks
Modern home and office LANs
Ring topology is a network topology in which each computer is connected to the next computer, and the last computer is connected to the first, forming a closed loop or ring.
Data travels from one computer to another in a sequential manner around the ring.
- Forms a closed loop network
- Each computer has equal responsibility in data transmission
- Data is transmitted sequentially from one device to another
- Network performance is less affected by high traffic
- Can support a large number of nodes using repeaters
Data collisions are greatly reduced because data moves in one direction.
Performs well even under heavy network traffic.
Every computer has equal access to the network.
Can cover longer distances using repeaters.
Suitable for networks requiring orderly data transmission.
Failure of a single computer or cable can disrupt the entire network.
Adding or removing a computer may interrupt the network.
Troubleshooting is more difficult than in a star topology.
Data must pass through multiple computers, which may increase transmission time.
Fiber optic communication networks
Metropolitan Area Networks (MANs)
Industrial control systems
Older LAN implementations
Hybrid topology is a network topology formed by combining two or more different topologies, such as star, bus, and ring, into a single network.
It combines the advantages of different topologies to provide better flexibility, reliability, and performance.
- Allows easy expansion of the network
- Supports the addition of new devices and technologies
- Reduces the risk of complete network failure
- Combines the advantages of different topologies
- Provides better speed and efficiency
Highly flexible and scalable.
Easy to expand as the network grows.
More reliable because failure in one part usually does not affect the entire network.
Provides better performance by combining the strengths of different topologies.
Suitable for organizations with different networking requirements.
Expensive to install and maintain.
Complex to design and manage.
Troubleshooting can be difficult.
Requires more networking devices and cables.
Large companies and corporate offices
Universities and colleges
Banks
Hospitals
Government organizations
Large campus networks
| Basis | Bus Topology | Star Topology | Ring Topology | Hybrid Topology |
|---|---|---|---|---|
| Definition | All devices are connected to a single backbone cable. | All devices are connected to a central hub or switch. | Each device is connected to two neighboring devices, forming a closed loop. | A combination of two or more different network topologies. |
| Connection | Single backbone cable. | Central hub or switch. | Closed circular loop. | Combination of different topologies. |
| Central Device | Not required. | Hub or Switch is required. | Not required. | Depends on the topologies used. |
| Data Transmission | Data travels through the backbone cable. | Data passes through the hub or switch. | Data travels sequentially from one device to another. | Depends on the combined topologies. |
| Cable Required | Least amount of cable. | More cable than bus topology. | Moderate amount of cable. | Highest amount of cable. |
| Cost | Low. | Medium. | Medium. | High. |
| Installation | Easy. | Easy. | Moderate. | Complex. |
| Expansion | Easy to expand. | Easy to add new devices. | Expansion may interrupt the network. | Highly flexible and scalable. |
| Failure Effect | Failure of the backbone cable stops the entire network. | Failure of one node does not affect others, but hub/switch failure stops the network. | Failure of one node or cable may stop the entire network. | Failure in one section usually does not affect the whole network. |
| Performance | Performance decreases as more devices are added. | Fast performance with low network traffic. | Performs well under heavy traffic. | High performance by combining the strengths of different topologies. |
| Best Used For | Small networks. | Schools, offices, and LANs. | Fiber optic and industrial networks. | Large organizations and enterprise networks. |
1.6 Overview of Different Networks Based on Coverage
A computer network is a group of two or more computers and devices connected through wired or wireless communication media to exchange data, communicate, and share resources such as hardware, software, and files.
In simple words, a computer network allows multiple computers to work together and share information and resources efficiently.
- Shares hardware devices such as printers, scanners, and hard disks
- Enables communication and information sharing through the Internet
- Supports centralized administration
- Provides data and software backup facilities
Print Service: Allows multiple users to share a printer.
File Service: Enables users to store and share files.
Database Service: Allows users to access a common database.
Application Service: Shares software applications across the network.
Message Service: Supports communication through email and messaging.
The first computer network, called ARPANET, was created in 1969 and became the foundation of today's Internet.
The first message sent over ARPANET was supposed to be "LOGIN", but the system crashed after sending only "LO".
So, the first message in Internet history was simply "LO"! 😄
Types of Computer Networks Based on Coverage Area (geographical area)
1. PAN (Personal Area Network)
2. LAN (Local Area Network)
3. MAN (Metropolitan Area Network)
4. WAN (Wide Area Network)
A Personal Area Network (PAN) is a computer network that connects devices around a single person within a short distance, usually up to 10 meters.
It is mainly used for personal communication and data sharing between devices such as smartphones, tablets, laptops, smartwatches, and other personal gadgets.
- Covers a small area, usually up to 10 meters
- Connects personal devices such as smartphones, tablets, and laptops
- Allows sharing of files, photos, videos, and other data
- Easy to set up and use
Smartphone connected to a smartwatch
Laptop connected to a wireless mouse
Mobile phone connected to Bluetooth headphones
File sharing through Bluetooth
A Local Area Network (LAN) is a computer network that connects computers and devices within a small geographical area such as a room, building, school, college, or office.
LAN generally uses wired communication, although wireless LAN (WLAN) can also be used. It provides high-speed data transfer and allows devices to share resources and information.
- Covers a small geographical area
- Provides high-speed data transmission
- Connects multiple devices for resource sharing
- Has a low transmission error rate
- Communication quality is better than MAN and WAN
School computer lab
Office network
Home network
College computer lab
A WLAN is a LAN that uses wireless technology such as Wi-Fi instead of cables to connect devices.
A Metropolitan Area Network (MAN) is a computer network that covers a larger area than a LAN but a smaller area than a WAN. It usually connects computers and networks within a city, valley, or metropolitan area.
A MAN can use both wired and wireless communication technologies and is commonly used by organizations with branches located in different parts of a city.
- Covers a city, valley, or metropolitan area
- Larger than LAN but smaller than WAN
- Connects multiple LANs together
- Supports sharing of regional resources
- Can use wired or wireless communication
Network connecting bank branches in a city
University campus network
City-wide government office network
A Wide Area Network (WAN) is a computer network that connects computers and networks over a large geographical area, such as countries or continents.
WAN connects computers and networks over long distances using communication technologies such as telephone lines, optical fiber, mobile networks, and satellite communication.
The Internet is the largest example of a WAN.
- Covers a very large geographical area
- Connects networks across cities, countries, and continents
- Uses communication media such as satellites, telephone networks, and optical fiber cables
- Usually owned and managed by multiple organizations
- Enables worldwide communication
Internet
4G/5G Mobile Networks
Satellite Communication
International Banking Networks
| Basis | PAN | LAN | MAN | WAN |
|---|---|---|---|---|
| Full Form | Personal Area Network | Local Area Network | Metropolitan Area Network | Wide Area Network |
| Coverage Area | Covers a very small area (1–10 metres) around a single person. | Covers a small geographical area such as a room, office, school, or campus. | Covers a city or metropolitan area by connecting multiple LANs. | Covers a very large geographical area, such as countries or continents. |
| Ownership | Usually owned and managed by an individual user. | Usually owned and managed by a single organization or institution. | May be owned and managed by one or more organizations. | Usually managed by multiple organizations and Internet service providers (ISPs). |
| Communication Speed | Provides moderate speed for connecting personal devices. | Provides very high-speed communication with low transmission errors. | Provides high-speed communication between different LANs within a city. | Provides lower communication speed than LAN because of the large geographical distance. |
| Technology Used | Uses Bluetooth, USB, and Wi-Fi Direct for communication. | Uses Ethernet cables and Wi-Fi technology. | Uses fiber optic cables, leased lines, and high-speed communication links. | Uses fiber optics, satellites, microwave links, and the Internet. |
| Main Purpose | Used for connecting and sharing data between personal devices. | Used for sharing resources and information within a building or campus. | Used for connecting multiple LANs within a city. | Used for connecting networks across countries and continents. |
| Installation Cost | Has the lowest installation and maintenance cost. | Has a low installation and maintenance cost. | Has a moderate installation and maintenance cost. | Has the highest installation and maintenance cost because of its large coverage area. |
| Examples | Smartphone connected to wireless earbuds. | School computer lab or office network. | City-wide banking or university network. | The Internet or a multinational company network. |
1.7 Network Architecture
Network architecture is the design or structure of a computer network that determines how devices are connected, communicate, and share resources.
Client-Server Network
Peer-to-Peer Network
- A client-server network is a network architecture in which one or more powerful central computers (servers) provide services, resources, and data to other computers (clients).
- A server is a powerful computer that manages network resources and provides services to client computers.
- A client is a computer that requests and uses the services and resources provided by the server.All communication and resource sharing take place through the central server. In a client-server network, clients send requests to the central server, which processes the requests and provides the required services, resources, or data.
- A central server controls and manages the network.
- Centralized backup of data is possible.
- Dedicated servers provide faster and more efficient resource sharing.
- It provides better security because the server centrally manages access to resources.
- Multiple clients can access services from the same server.
- Centralized management of the network.
- Better security and access control.
- Easy backup and recovery of data.
- Faster and efficient resource sharing.
- Suitable for large organizations.
- If the server fails, the entire network may stop working.
- Installation and maintenance are expensive.
- Requires a dedicated server and a network administrator.
Common server operating systems include Microsoft Windows Server, Ubuntu Server, CentOS, and UNIX.
Real-Life Example
In a school computer lab, students use client computers to access files, printers, and the Internet through a central server.
A network administrator is a person who manages, maintains, and secures a computer network.
- A peer-to-peer (P2P) network is a network architecture in which all computers (peers) are equal and can communicate and share resources directly without a central server.
- A peer is a computer that can both provide and use shared resources such as files, printers, and software.
- In a peer-to-peer network, each computer acts as both a client and a server, sharing files, printers, and other resources directly with other computers without a central server.
- All computers have equal roles and responsibilities.
- Resources such as files, hardware, and software can be shared directly.
- A network administrator is not required because each user manages their own shared resources.
- The failure of one computer does not affect the functioning of other computers.
- It is suitable for small networks, such as homes and small offices.
- Easy to install and set up.
- Low installation and maintenance cost.
- Does not require a dedicated server.
- Each user can manage their own resources.
- Suitable for small organizations and home networks.
- Security is weaker because there is no central control.
- Data backup must be managed by individual users.
- Managing resources becomes difficult as the network grows.
- Not suitable for large organizations.
- Common operating systems used in peer-to-peer networks include Microsoft Windows, macOS, Ubuntu (Linux), and Fedora (Linux).
- Examples of peer-to-peer networks include home networks, small offices, computer labs, and small businesses.
- In a small office, employees can directly share files and printers with each other without using a central server.
| Basis | Client-Server Network | Peer-to-Peer (P2P) Network |
|---|---|---|
| Definition | A network architecture in which one or more servers provide services and resources to client computers. | A network architecture in which all computers are equal and share resources directly without a central server. |
| Resource Sharing | Resources are shared through the server. | Resources are shared directly between computers. |
| Security | Provides better security because the server controls access to resources. | Provides less security because each computer manages its own resources. |
| Network Administrator | Requires a network administrator. | Does not require a network administrator. |
| Cost | More expensive because a dedicated server is required. | Less expensive because no dedicated server is needed. |
| Suitable for | Large organizations and networks with many users. | Small networks with a few computers. |
| Examples | Schools, banks, hospitals, offices, and government organizations. | Home networks, small offices, small computer labs, and small businesses. |
A network protocol is a set of rules that governs the interconnection, communication, and exchange of data between computers and other devices on a network.
NCP (Network Control Protocol) was the first network protocol used for communication between computers on early computer networks. Later, it was replaced by TCP/IP, which is now the standard protocol used on the Internet.
TCP/IP is the standard network protocol used for communication over the Internet. It ensures that data is transmitted reliably and reaches the correct destination.
HTTP is a network protocol used to transfer web pages and other web resources between a web server and a web browser on the World Wide Web (WWW).
HTTPS is the secure version of HTTP that encrypts data exchanged between a web browser and a web server to provide safe and secure communication.
DHCP is a network protocol that automatically assigns IP addresses and other network configuration settings to devices connected to a network.
SMTP is a network protocol used to send e-mails over the Internet.
FTP is a network protocol used to transfer files between computers over a network or the Internet.
Example: Uploading website files to a web server.
POP is a network protocol used to receive and download e-mails from a mail server to a user's device.
| Protocol | Full Form | Use |
|---|---|---|
| TCP/IP | Transmission Control Protocol / Internet Protocol | Internet Communication |
| HTTP | Hyper Text Transfer Protocol | Web Pages |
| HTTPS | Hyper Text Transfer Protocol Secure | Secure Websites |
| DHCP | Dynamic Host Configuration Protocol | Automatic IP Address Assignment |
| SMTP | Simple Mail Transfer Protocol | Sending E-mails |
| FTP | File Transfer Protocol | File Transfer |
1.8 Concept of IP Addressing
An Internet Protocol (IP) Address is a unique numerical address assigned to every device connected to a network and routing data between devices. It identifies the device and allows data to be sent to and received from the correct destination.
Internet Protocol (IP) is a set of rules that identifies devices on a network and controls how data is sent from one device to another.
IP works like a postal system. It gives every device a unique address and ensures that data reaches the correct destination.
An IP address is important because it:
Identifies each device on a network.
Allows devices to communicate with one another.
Helps route data to the correct destination.
Prevents data from being delivered to the wrong device.
IPv4 (Internet Protocol version 4) and IPv6 (Internet Protocol version 6) are two different versions of the Internet Protocol.
IPv4 (Internet Protocol Version 4) is the fourth version of the Internet Protocol that uses a 32-bit address to uniquely identify devices and enable communication over a network.
Uses a 32-bit IP address.
Can generate about 4.29 billion unique IP addresses.
Addresses are written in decimal numbers separated by dots (.). (e.g., 192.168.1.1)
An IPv4 address consists of 4 octets, with each octet containing 8 bits.
It is simple, fast, and widely supported by network devices.
Every device connected to a network is assigned a unique IPv4 address.
When data is sent, the sender includes the destination IPv4 address in the data packet.
Routers read the destination address and forward the packet through the network.
The data reaches the correct destination device.
The biggest limitation of IPv4 is its limited number of addresses.
As the number of computers, smartphones, tablets, and other Internet-connected devices has increased rapidly, the available IPv4 addresses have nearly run out. This problem is known as IPv4 address exhaustion.
IPv6 (Internet Protocol Version 6) is the latest version of the Internet Protocol that uses a 128-bit address to identify devices and provide communication over a network.
Uses a 128-bit IP address.
Can generate approximately 3.4 × 10³⁸ unique IP addresses.
Addresses are written in hexadecimal notation and separated by colons (:).
An IPv6 address consists of 8 groups, with each group containing 4 hexadecimal digits.
Provides better security, faster communication, and automatic address configuration.
IPv6 addresses are written in hexadecimal notation.
Example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
The address consists of 8 groups, and each group contains 4 hexadecimal digits (0–9 and A–F).
A device connected to a network receives an IPv6 address automatically or from a network administrator.
When data is sent, the destination IPv6 address is attached to the data packet.
Routers read the destination IPv6 address.
The data is forwarded through the network.
The data reaches the correct destination device.
IPv6 was developed to overcome the limited address space of IPv4 and to provide better security, improved performance, and support for the growing number of Internet-connected devices.
| Basis | IPv4 | IPv6 |
|---|---|---|
| Address Length | IPv4 uses a 32-bit IP address. | IPv6 uses a 128-bit IP address. |
| Address Format | IPv4 addresses are written in decimal notation and separated by dots (.), e.g., 192.168.1.1. | IPv6 addresses are written in hexadecimal notation and separated by colons (:), e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334. |
| Address Space | IPv4 can generate about 4.29 billion (4.29 × 10⁹) unique IP addresses. | IPv6 can generate approximately 3.4 × 10³⁸ unique IP addresses. |
| Configuration | IPv4 mainly uses manual configuration or DHCP to assign IP addresses. | IPv6 supports automatic address configuration (Auto-Configuration) as well as manual configuration. |
| Security | IPv4 does not provide built-in encryption and authentication. | IPv6 includes built-in security (IPsec) with encryption and authentication support. |
| Purpose | IPv4 was developed for the early Internet but has a limited number of IP addresses. | IPv6 was developed to overcome IPv4 address exhaustion and support the growing number of Internet-connected devices. |
1.9 Concept of Internet, Intranet, and Extranet
The Internet is a worldwide network of interconnected computers and devices that allows people to communicate, access information, and share resources across the globe.
It uses TCP/IP protocols to transfer data between devices through wired or wireless connections.
Global network connecting millions of devices worldwide.
Publicly accessible to anyone with an Internet connection.
Provides services like websites, e-mail, cloud storage, and online communication.
Supports fast information sharing and communication.
Uses standard protocols such as TCP/IP.
Web browsing , E-mail , Social media , Online shopping
Video streaming , Online gaming , Cloud storage , Video conferencing
Provides access to vast amounts of information.
Enables fast communication through e-mail, chat, and video calls.
Supports online education, banking, shopping, and entertainment.
Allows global connectivity and collaboration.
Offers cloud storage and online services.
Security risks such as hacking and malware.
Privacy issues due to data theft and tracking.
Spread of false or misleading information.
Internet addiction and time wastage.
Exposure to inappropriate or harmful content.
An Intranet is a private network used within an organization that allows employees to communicate, share information, and access company resources securely.
Unlike the Internet, an intranet is accessible only to members of the organization.
It uses Internet technologies such as TCP/IP, HTTP, and HTML to provide services within the organization.
Private network used within an organization.
Accessible only to authorized users or employees.
Provides secure sharing of files, data, and resources.
Improves communication and collaboration within the organization.
Protected by firewalls and user authentication.
Provides secure communication within an organization.
Allows easy sharing of files and resources.
Improves teamwork and employee productivity.
Reduces paperwork and communication costs.
Access is restricted to authorized users, increasing security.
Limited access only within the organization.
Installation and maintenance can be costly.
Requires technical support and management.
Network failure can disrupt internal communication.
Employees need proper training to use it effectively.
An Extranet is a private network that allows an organization to securely share information with authorized external users such as customers, suppliers, and business partners.
It provides controlled and secure access to selected users outside the organization using Internet technologies.
Private network with controlled access for external users.
Allows customers, suppliers, or business partners to access selected information.
Provides secure communication and data sharing between organizations.
Uses authentication and encryption for security.
Improves business collaboration while protecting internal resources.
Enables secure communication with customers, suppliers, and business partners.
Improves business collaboration and coordination.
Allows controlled sharing of information.
Reduces communication time and operational costs.
Supports faster business transactions and services.
More expensive to set up and maintain than an intranet.
Requires strong security measures to prevent unauthorized access.
Managing user permissions can be complex.
Security breaches may expose confidential business data.
Depends on reliable Internet connectivity for remote access.
Internet is a public network, whereas Intranet and Extranet are private networks.
Internet is accessible to everyone, whereas Intranet is accessible only to employees.
Extranet allows access to authorized external users such as customers and business partners.
Intranet is used for internal communication, whereas Extranet is used for communication with external partners.
| S.N. | Internet | Intranet | Extranet |
|---|---|---|---|
| 1. Definition | The Internet is a global public network that connects millions of computers and devices worldwide. | An Intranet is a private network used within an organization for internal communication and resource sharing. | An Extranet is a private network that provides secure access to selected external users such as customers, suppliers, and business partners. |
| 2. Access | It is accessible to anyone with an Internet connection. | It is accessible only to authorized employees of the organization. | It is accessible to authorized employees and selected external users. |
| 3. Main Purpose | Its main purpose is to share information and provide communication and online services worldwide. | Its main purpose is to improve communication, collaboration, and resource sharing within an organization. | Its main purpose is to securely share information and collaborate with external users. |
| 4. Security | It is less secure because it is open to the public and requires security measures such as firewalls and antivirus software. | It is more secure because access is restricted to authorized users within the organization. | It is highly secure because only authorized external users are allowed to access specific resources. |
| 5. Users | Used by the general public around the world. | Used by employees or members of an organization. | Used by employees, customers, suppliers, and business partners. |
| 6. Examples | Google, YouTube, Facebook, Gmail, and Wikipedia. | School portal, company employee portal, hospital management system. | Supplier portal, customer portal, online banking partner system, vendor management portal. |
To check the IP Address and Default Gateway of a computer.
Press Windows + R.
Type cmd and press Enter.
Type the following command:
ipconfig
Press Enter.
Example Output:
IPv4 Address . . . . . . . . . : 192.168.1.10 Subnet Mask . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . : 192.168.1.1
IP Address: Unique address assigned to a computer on a network.
Default Gateway: Address of the router used to communicate with other networks and the Internet.
Tests network connectivity between two devices.
ping google.com
Checks whether a website or device is reachable.
Measures response time.
Displays network configuration information.
ipconfig
Displays IP Address.
Displays Subnet Mask.
Displays Default Gateway.
Shows the route taken by data packets to reach a destination.
tracert google.com
Identifies network routes.
Helps troubleshoot network issues.
Finds the IP address of a domain name.
nslookup google.com
Checks DNS functionality.
Converts domain names into IP addresses.
These commands are useful for network troubleshooting and configuration checking.
Small plastic connector with 8 metal pins.
Used with Ethernet cables (CAT5e/CAT6).
Connects computers, switches, and routers in a LAN.
Transmits data using electrical signals.
SC (Subscriber Connector)
LC (Lucent Connector)
ST (Straight Tip)
Used in fiber optic cables.
Transmits data using light signals.
| RJ45 Connector | Fiber Connector |
|---|---|
| Uses copper cable | Uses fiber optic cable |
| Uses electrical signals | Uses light signals |
| Lower speed | Higher speed |
| Short distance | Long distance |
Strip the cable jacket.
Arrange wires according to standard color codes.
Insert wires into the RJ45 connector.
Crimp using a crimping tool.
Connect the cable to a network port.
High speed
Long-distance communication
High bandwidth
Low signal loss
Immune to electromagnetic interference
Local Area Networks (LANs)
Offices
Schools
Homes
ISP networks
Data centers
Telecommunications
Backbone networks
RJ45 connectors are used in Ethernet networks, while fiber connectors are used for high-speed and long-distance communication.
Function: Connects different networks and provides Internet access.
Function: Connects multiple devices in a LAN and forwards data to the correct destination.
Function: Connects multiple devices and broadcasts data to all connected devices.
Function: Connects a computer network to an Internet Service Provider (ISP).
Function: Provides wireless (Wi-Fi) connectivity to devices.
Use: Commonly used in LANs with RJ45 connectors.
Use: High-speed and long-distance communication using light signals.
Use: Cable television and broadband Internet connections.
| Device/Cable | Function |
|---|---|
| Router | Connects networks and provides Internet access |
| Switch | Connects devices in a LAN |
| Hub | Broadcasts data to all devices |
| Modem | Connects network to ISP |
| Access Point | Provides wireless connectivity |
| UTP Cable | Transfers data through copper wires |
| Fiber Optic Cable | Transfers data through light signals |
| Coaxial Cable | Used for cable TV and broadband Internet |
Networking devices and cables work together to establish communication and data transfer within a computer network.
Practical Tasks
Demonstrate and identify networking devices, CAT6 cable, optical fiber cable, RJ45 connector, and media converter.
Find the IP address, subnet information, and default gateway of a computer.
Demonstrate ping, ipconfig, tracert, and nslookup.
Demonstrate RJ45 and fiber connectors and explain where they are used.




