A computer network is a collection of interconnected devices that share resources and information.
These
devices can include computers, servers, printers, and other hardware. Networks allow for the efficient
exchange of data, enabling various applications such as email, file sharing, and internet browsing.
Uses of Computer Networks
Communication: Email, chat, and video conferencing.
Resource Sharing: Share printers, scanners, and files to save cost and effort.
Remote Access: Access data and systems from anywhere.
Collaboration: Work together on projects, share ideas, and review work.
E-commerce: Enable online shopping and secure payments.
Education: Support online learning, research, and student–teacher collaboration.
Characteristics of Computer Networks
1. Security
Protects data from unauthorized access, hacking, and viruses.
Uses tools like firewalls, encryption, and authentication to ensure safety.
2. Reliability
Ensures data and resources are always available.
Redundancy and backups keep the network running during failures.
3. Scalability
The ability to grow and handle more devices/users without performance loss.
Example: The internet supports millions of new users daily.
4. High Performance
Fast data transfer, low latency, and high throughput improve user experience.
Performance depends on bandwidth, response time, and processing power.
5. Quality of Service (QoS)
Prioritizes important data for faster delivery.
Ensures smooth communication, especially for streaming and video calls.
Types of Network - LAN, WAN and MAN
The Network allows computers to connect and communicate with different computers via any medium.
LAN, MAN, and WAN are the three major types of networks designed to operate over the area they cover.
. Local Area Network (LAN)
A LAN connects computers and devices within a small area like a home, office, school, or hospital. It usually
uses switches, routers, and private IP addresses. LANs are high-speed, inexpensive to set up, and easy to
maintain.
Coverage: Up to 2 km (limited area).
Speed: Earlier 4–16 Mbps; now 100–1000 Mbps.
Medium: Mostly wired (Ethernet cables, twisted-pair, coaxial), though wireless can also be used.
Example: Students playing a multiplayer game in the same room without internet.
Advantages:
Provides fast data transfer rates and high-speed communication.
Easy to set up and manage.
Can be used to share peripheral devices such as printers and scanners.
Disadvantages:
Limited geographical coverage.
Limited scalability and may require significant infrastructure upgrades to accommodate growth.
May experience congestion and network performance issues with increased usage.
3. Metropolitan Area Network (MAN)
A MAN spans 5–50 km, covering more area than a LAN but less than a WAN. It connects computers across a
city or between nearby cities. MANs provide high-speed connectivity (in Mbps), can act as ISPs, and are
useful for organizations needing fast communication. However, they are costly, complex to design, and
harder to maintain.
Advantages:
Provides high-speed connectivity over a larger geographical area than LAN.
Can be used as an ISP for multiple customers.
Offers higher data transfer rates than WAN in some cases.
Disadvantages:
Can be expensive to set up and maintain.
May experience congestion and network performance issues with increased usage.
May have limited fault tolerance and security compared to LANs.
4. Wide Area Network (WAN)
A WAN covers large geographical areas (above 50 km), often connecting multiple LANs through telephone
lines, radio waves, or satellites. It can be private (for organizations) or public (like the internet). WANs offer
high-speed communication but are costly to set up and maintain.
Advantages:
Covers large geographical areas and can connect remote locations.
Provides connectivity to the internet.
Offers remote access to resources and applications.
Disadvantages:
Can be expensive to set up and maintain.
Offers slower data transfer rates than LAN or MAN.
May have lower fault tolerance and security compared to LANs.
Network Topologies
Computer network topologies describe the physical ( The actual arrangement of the devices and cables in the
network) or logical (The path that data takes through the network, which may differ from the physical layout)
layout and arrangement of devices (nodes) and their connections within a network. Common types
include Bus, Star, Ring, Mesh, Tree, and Hybrid topologies.
Common Network Topologies
Bus Topology: All devices connect to a single main cable, called the bus or backbone. Data travels in both
directions along this cable.
Star Topology: Each device connects to a central hub or switch. Data is sent to the hub, which then forwards it
to the intended recipient.
Ring Topology: Devices are connected in a circular fashion, forming a ring. Data travels in one direction around
the ring.
Mesh Topology:
Every device is connected to every other device in the network. This provides high redundancy but is costly to
implement.
Tree Topology: Also known as a star-bus topology, it's a hierarchical structure where multiple stars are
connected to a main bus.
Hybrid Topology: A combination of two or more different topologies, like a star-ring or bus-star, to meet
specific network requirements.
Network Devices
Network devices are fundamental hardware components in computer networking that operate across
different layers of the OSI and TCP/IP models. They facilitate data transmission, regulate traffic flow,
provide interconnectivity between heterogeneous networks, and enforce security policies.
Router: A router is a networking device that forwards data packets between different computer networks. It
connects multiple packet-switched networks or subnetworks, managing traffic by directing packets to their
intended IP addresses. Routers allow multiple devices to share an Internet connection efficiently.
Switch: The Switch is a network device that is used to segment the networks into different subnetworks
called subnets or LAN segments. It is responsible for filtering and forwarding the packets between LAN
segments based on MAC address.
Switches have many ports, and when data arrives at any port, the destination address is examined first and
some checks are also done and then it is processed to the devices. Different types of communication are
supported here like unicast, multicast, and broadcast communication.
Modem: Modem stands for Modulator/Demodulator. The modem is defined as a networking device that is
used to connect devices connected in the network to the internet. The main function of a modem is to
convert the analog signals that come from telephone wire into a digital form. In digital form, these
converted signals are stored in the form of 0s and 1s. The modem can perform both the task
of modulation and demodulation simultaneously. Modems are majorly used to transfer digital data in
personal systems. The modem is also known as a signal translator as it translates one signal into another
signal by modulating the digital signal into an analog signal for transmission and then demodulates receiving
analog signals into digital signals.
Key Roles & Applications of Network Devices
Connectivity & Communication
Role: Facilitate the exchange of data between various devices, like computers, printers, and
servers.
Application: Building the backbone of local networks and the internet, allowing users to access
websites, send emails, and share files.
Data Transmission & Routing
Role: Direct data packets efficiently to their intended destinations, ensuring data reaches the correct
device.
Application: Devices like routers use IP addresses to route traffic between different networks,
connecting your home network to the internet. Switches use MAC addresses to forward frames within a
local network, connecting devices in an office.
Signal Conversion & Transmission
Role: Convert digital data into signals suitable for transmission over different media (like phone or cable
lines) and convert them back again.
Application: Modems enable devices to connect to the internet by converting signals between digital
and analog forms.
Wireless Access & Mobility
Role: Provide wireless connectivity and allow for seamless roaming between wireless networks.
Application: Access Points (APs) create Wi-Fi networks, allowing devices like laptops, tablets, and
smartphones to connect to the internet without physical cables.
Network Security
Role: Protect networks from unauthorized access and cyber threats by filtering and controlling network
traffic.
Application: Firewalls monitor incoming and outgoing network traffic, enforcing security rules to
prevent malicious activity. VPN gateways encrypt data to provide secure remote access.
Traffic Management & Optimization
Role: Distribute network traffic across multiple servers to prevent overload and improve performance.
Application: Load balancers ensure high availability and responsiveness of applications by distributing
traffic across a server farm.
Inter-network Connection
Role: Connect two different types of networks or network segments, often acting as a translator.
Application: Gateways allow devices on one network to communicate with devices on a completely
different type of network, such as connecting a company's internal network to the internet.
Client-server architecture:
Client-server architecture is a distributed network model where client devices request resources or services
from powerful central servers, which then process the requests and send back responses. This architecture
divides tasks between the client, which initiates an action (like opening a webpage), and the server, which
provides the data or functionality (like sending the webpage files). It's essential for modern applications,
including websites, email, online banking, and e-commerce, offering benefits like centralized management,
scalability, reliability, and enhanced security.
How it Works
1. Client Initiates Request: A client device (e.g., your phone or computer) sends a request for a specific service or
data over a network.
2. Request Travels: The request, often in the form of a message like HTTP, is sent to the server's address.
3. Server Processes Request: The server receives the request, processes it (e.g., queries a database, runs logic),
and prepares a response.
4. Server Sends Response: The server then sends the processed information back to the client.
5. Client Receives Response: The client receives the response and displays it to the user.
Key Components
Clients: These are devices like computers, smartphones, or web browsers that initiate requests for services.
Servers: High-performance computers designed to handle multiple client requests, providing resources such as
data storage, computing power, or network services.
Network: The communication medium (like the internet) that connects clients and servers, enabling them to
exchange requests and responses.