Understanding Computer Networks and Evolution
Understanding Computer Networks and Evolution
1. Communication Channels
Communication channels are the mediums used to transfer data from the sender to the
receiver.
They can be classified into two main types:
Physical Channels: These include cables, fiber optics, and other tangible mediums.
For example, Ethernet cables and optical fiber are physical channels used for wired
communication.
Wireless Channels: These use electromagnetic waves to transmit data. Examples
include Wi-Fi, Bluetooth, and cellular networks.
2. Transmission Modes
Transmission modes describe how data is sent over the communication channel. They can
be categorized as follows:
Simplex: Data flows in one direction only. Example: A keyboard sending input to a
computer.
Half-Duplex: Data flows in both directions, but not
simultaneously. Example: Walkie-talkies where you can talk or listen, but not both at
the same time.
Full-Duplex: Data flows in both directions simultaneously. Example: Telephones
where both parties can speak and listen at the same time.
3. Data Transmission
Data transmission is the process of sending data from one point to another. It can be
characterized by:
Analog Transmission: Data is transmitted in continuous
signals. Example: Traditional radio broadcasts.
Digital Transmission: Data is transmitted in discrete signals. Example: Data sent
over the Internet using binary code.
1. Sender
The sender is the device or system that initiates communication by generating and sending
the data. This could be a computer, smartphone, or any other network-enabled device.
Example: When you send an email, your computer or smartphone acts as the sender.
Role:
Data Generation: The sender creates or processes the data to be transmitted.
Data Encoding: The sender encodes the data into a suitable format for transmission
(e.g., converting text into binary).
2. Receiver
The receiver is the device or system that receives and processes the data sent by the
sender. It could be another computer, server, or any device capable of receiving data.
Example: When you receive an email, the device you use to read the email is the receiver.
Role:
Data Reception: The receiver accepts the incoming data from the communication
channel.
Data Decoding: The receiver decodes the data back into its original format for use.
3. Message
The message is the actual data or information being transmitted from the sender to the
receiver. This could be text, audio, video, or any other form of data.
Example: The content of an email, a video file, or a text message are all examples of
messages.
Role:
Data Content: The message contains the information or instructions that need to be
communicated.
Format: Messages need to be formatted properly to ensure they can be understood
by the receiver.
4. Communication Media
Communication media refer to the physical or logical pathways through which data is
transmitted from the sender to the receiver. This includes both hardware and software
components.
Types:
Physical Media: Cables, fiber optics, and other tangible media. For
example, Ethernet cables and optical fiber are used for wired communication.
Wireless Media: Radio waves, microwaves, and other wireless technologies.
Examples include Wi-Fi, Bluetooth, and cellular signals.
Role:
Data Transmission: Provides the pathway for data to travel between sender and
receiver.
Medium Selection: The choice of media affects the speed, reliability, and quality of
communication.
5. Protocols
Protocols are standardized sets of rules and procedures that dictate how data is formatted,
transmitted, and received over a network. They ensure that data is transferred correctly
and efficiently.
Examples:
TCP/IP (Transmission Control Protocol/Internet Protocol): The fundamental
suite for internet communication, ensuring reliable data transmission.
HTTP/HTTPS (Hypertext Transfer Protocol/Secure): Used for transferring web
pages and secure communications on the web.
FTP (File Transfer Protocol): Used for transferring files between systems.
Role:
Data Formatting: Protocols define how data should be structured and formatted.
Error Checking: Includes mechanisms for error detection and correction to ensure
data integrity.
Communication Rules: Specifies rules for establishing and maintaining
communication sessions.
.
Measuring Capacity of Communication Media (bandwidth, data transfer rate)
1. Bandwidth
Bandwidth refers to the maximum amount of data that can be transmitted over a
communication channel or network in a given period of time. It is essentially the capacity of
the communication medium
Measurement:
Units: Bandwidth is typically measured in bits per second (bps), kilobits per second
(Kbps), megabits per second (Mbps), or gigabits per second (Gbps).
Example: A network with a bandwidth of 100 Mbps can theoretically transfer 100
megabits of data every second.
IP Address
1. Types of IP Addresses
a. IPv4 (Internet Protocol version 4)
i. Format: IPv4 addresses are written in a 32-bit format, divided into four
octets separated by period.
ii. Range: IPv4 provides about 4.3 billion unique addresses, which were
initially thought to be more than enough but are now running out due to
the growth of internet-connected devices.
iii. Example: Your home router might use an IPv4 address like [Link]
to identify itself on your local network.
a. Static IP Address:
Definition: A static IP address is a fixed address that does not change. It is
manually assigned to a device and remains constant.
Usage: Often used for servers, network printers, and other devices where a
consistent address is required.
Example: Your company’s web server may have a static IP like [Link].
b. Dynamic IP Address:
Definition: A dynamic IP address is assigned by a network's DHCP (Dynamic Host
Configuration Protocol) server and can change periodically.
Usage: Commonly used for devices that connect to networks frequently, such as
home computers and mobile devices.
Example: When you connect to your home Wi-Fi, you might be assigned a
dynamic IP address like [Link] that could change when you reconnect.
b. Private IP Address:
Definition: Private IP addresses are used within a local network and are not
visible to the outside world. They are reserved for internal use.
Usage: These addresses allow devices within the same local network to
communicate with each other.
Example: Common private IP address ranges include 192.168.x.x, 10.x.x.x, and
172.16.x.x to 172.31.x.x.
1. Circuit Switching
Circuit switching is a technique where a dedicated communication path or circuit is
established between two devices for the duration of their conversation. This path remains
open and exclusive to the two devices for the entire session.
Example:
Traditional Telephone Networks: When you make a phone call, a dedicated
circuit is established between your phone and the recipient's phone for the duration
of the call.
Pros:
Reliable Connection: Since the path is dedicated, there is less chance of data loss
or delay due to other traffic.
Consistent Quality: The quality of the communication is consistent throughout the
session.
Cons:
Inefficient Use of Resources: The dedicated path is reserved whether or not data
is being transmitted, which can lead to inefficient use of network resources.
Scalability Issues: Circuit switching is less flexible and can be less scalable
compared to other techniques.
2. Packet Switching
Packet switching is a technique where data is divided into small packets, which are sent
independently through the network. Each packet may take a different path to reach the
destination, where they are reassembled in the correct order.
Example:
The Internet: When you browse the web or send an email, data is split into packets
that travel through different routes and are reassembled at the destination.
Pros:
Efficient Resource Utilization: Network resources are used more effectively as
packets from multiple sources can share the same network paths.
Scalability: Packet switching is highly scalable and can handle a large number of
simultaneous communications.
Cons:
Variable Quality: The quality of communication can vary due to the shared nature
of the network paths and possible delays or packet loss.
Overhead: Packet switching introduces some overhead due to the need for packet
headers and reassembly at the destination.
Circuit Switching Packet Switching
Circuit switching requires a dedicated Packet switching does not require any
path before sending data from source to dedicated path to send data from source to
destination. destination.
Each packet follows the same route A packet can follow any route
Transmission Media
Transmission media are the physical or logical channels through which data is transmitted
from one device to another in a network.
They can be broadly categorized into two types
b. Coaxial Cables
Comprises a central conductor, an insulating layer, a metallic shield, and an outer
insulating layer.
Speed and Range: Supports higher bandwidth than twisted pair cables.
Commonly used for cable television and broadband internet.
Example: Coaxial cables are used to connect cable modems to routers.
a. Radio Waves
Electromagnetic waves used for various types of wireless communication.
Speed and Range: Suitable for short to medium-range communication.
Commonly used in Wi-Fi and Bluetooth.
Example: Wi-Fi routers use radio waves to provide wireless internet access in
homes and offices.
b. Microwaves
High-frequency radio waves used for point-to-point communication over long
distances.
Speed and Range: Can support high data rates but require line-of-sight
between the transmitting and receiving antennas. Used in satellite
communication and some long-distance communication systems.
Example: Satellite television and microwave relay stations.
c. Infrared
Electromagnetic radiation with wavelengths longer than visible light but shorter than
microwaves.
Speed and Range: Typically used for short-range communication. Requires
direct line-of-sight between devices. Commonly used in remote controls and
some short-range data transfers.
Example: Remote controls for televisions and some data transfer applications
between devices.
d. Satellite Communication
Uses satellites in geostationary orbits to relay data between ground stations.
Speed and Range: Can cover large geographical areas and provide high-
speed communication. Subject to latency due to the distance signals must
travel.
Example: Satellite internet services and global broadcasting.
Network Devices
Network devices are hardware components that facilitate communication and data
exchange within and between networks. Together, these devices ensure efficient and
reliable network operation.
1. Modem
Function: 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.
Usage: Connects your home network to the Internet via your ISP.
2. Ethernet Card
Function: A hardware component that allows a computer to connect to a network
via Ethernet cables.
Usage: Provides wired network connectivity for data transfer.
3. RJ45 Connector
Function: A type of connector used for Ethernet cables. It has eight pins that
connect to the wires inside the cable.
Usage: Commonly used to connect computers, routers, and other network devices.
4. Repeater
Function: A network repeater is a device that amplifies or regenerates signals that
have been weakened or distorted.
Usage: Used to boost the signal in long-distance networks, such as in larger
buildings or between network segments.
5. Hub
Function: A network hub is a device that connects multiple computers or devices in
a local area network.
Usage: Transmits data to all connected devices, regardless of which device the data
is meant for (broadcasting).
6. Switch
Function: A switch is a device that connects multiple computers or devices in a local
area network and directs data only to the specific device it is intended for.
Usage: More efficient than a hub because it reduces unnecessary data traffic and
increases network performance.
7. Router
Function: A router is a device that directs data packets from source machine to
destination machine over the network using the shortest path.
Usage: Manages local network traffic and connects your devices to the wider
Internet.
8. Gateway
Function: The term Gateway is used in networking to describe the “Gate” to the
Internet. The Gateway controls traffic that travels from the inside network to the
Internet and provides security from traffic that wants to enter the inside network
from the Internet.
Usage: Connects networks that use different protocols or architectures, such as
connecting a company’s internal network to the Internet.
9. Wi-Fi Card
Function: Allows a computer or device to connect to a wireless network. It can be
internal ( build inside the device like mobile devices) or can be external usb device
that can be attached to any device to make it wifi capable like desktop computer.
Usage: Provides wireless network access without the need for physical cables.
Types of Networks
Networks are categorized based on their size, scope, and the technology used to connect
devices.
Networking Topologies
Networking topologies refer to the pattern in which the devices in a network are connected
1. Bus Topology
In a bus topology, all devices are connected to a single central cable, called the backbone.
Data sent by a device travels along the bus and is received by all other devices.
Characteristics:
Simplicity: Easy to set up and cost-effective for small networks.
Performance: Can suffer from performance issues as more devices are added, due
to data collisions.
Failure: If the central bus cable fails, the entire network is affected.
Example: Early computer networks often used bus topology, such as the old
Ethernet networks.
2. Star Topology
In a star topology, all devices are connected to a central hub or switch. The hub acts as a
repeater for data transmitted from one device to another.
Characteristics:
Centralized Management: Easy to manage and troubleshoot since all connections
are centralized at the hub.
Performance: Better performance compared to bus topology because each device
has a dedicated connection to the hub.
Failure: If the central hub fails, the entire network is affected, but individual device
failures do not impact the rest of the network.
Example: Most modern office networks use star topology, with a central switch
connecting computers and printers.
3. Tree Topology
Tree topology combines characteristics of both star and bus topologies. The structure of the
network is like a tree, its best suited for applications having hierarchical flow of data.
Characteristics:
Scalability: Supports expansion by adding new star-configured networks to the
backbone.
Hierarchy: Organized in a hierarchical manner, making it easier to manage large
networks.
Failure: A failure in the backbone can affect entire branches of the network, but
issues in individual star networks are isolated.
Example: Large organizational networks often use tree topology, allowing for
multiple departments or floors to be connected in a structured manner.
Network Protocol
Network protocols define rules and conventions for communication between devices on a
network. Here’s a brief overview of some key protocols: HTTP, FTP, PPP, SMTP, TCP/IP,
POP3, HTTPS, TELNET, VoIP
Domain Names
A domain name is a human-readable address used to identify a website or online resource
on the Internet. It translates numeric IP addresses into a format that is easy for people to
remember.
Domain Name
Structure:
Top-Level Domain (TLD): The suffix at the end of a domain name, such
as .com, .org, or .net. TLDs indicate the type or origin of the site.
Second-Level Domain: The part directly before the TLD, often representing the
name of the organization or the website. For example, in [Link], "example" is
the second-level domain.
Subdomain: An optional prefix before the second-level domain that further divides
the domain into sections. For instance, in [Link], "blog" is the
subdomain.
Example: In [Link], "example" is the second-level domain, and ".com"
is the TLD.
Uniform
Resource Locator
Example:
[Link]
Protocol: https://
Domain Name: [Link]
Path: /path/to/resource
Query Parameters: name=value
Fragment: #section
Website
Definition: A collection of web pages and related content, typically hosted on a web server,
and accessible via the Internet. Websites can include text, images, videos, and interactive
elements.
Components:
Web Pages: Individual documents that make up a website, usually written in HTML
and styled with CSS.
Domain Name: The address used to access the website (e.g., [Link]).
Content: Includes text, images, videos, and other media displayed on the web
pages.
Example: [Link] is a website that might contain an about page, a blog,
and a contact form.
Web Browser
A software application used to access and view websites and web pages. Web browsers
interpret and display HTML, CSS, and JavaScript content.
Features:
User Interface: Provides navigation controls like the address bar, back/forward
buttons, and bookmarks.
Rendering Engine: Processes HTML and CSS to render web pages visually.
Security: Offers features like private browsing and protection against malicious
sites.
Examples: Google Chrome, Mozilla Firefox, Microsoft Edge, Safari.
Web Server
A computer system or software that stores, processes, and serves web pages to clients
(web browsers) over the Internet. It responds to requests from browsers and delivers the
requested content.
Functions:
Hosting: Stores website files and resources.
Serving Content: Processes incoming requests and sends the appropriate web
pages or data.
Handling Requests: Uses protocols like HTTP/HTTPS to communicate with web
browsers.
Examples: Apache HTTP Server, Nginx, Microsoft Internet Information Services (IIS).
Web Hosting
A service that provides the technology and infrastructure needed to host a website on the
Internet. It involves renting space on a server where your website’s files are stored. Any
web application or website is typically made of many files, such as images, videos, text, and
code, that you need to store on special computers called servers. The web hosting service
provider maintains, configures, and runs physical servers that you can rent for your files
Types:
Shared Hosting: Multiple websites share the same server resources, which is cost-
effective but can affect performance.
VPS Hosting: Virtual Private Server hosting offers more resources and control than
shared hosting by partitioning a server into virtual machines.
Dedicated Hosting: Provides an entire server exclusively for one website, offering
maximum control and performance.
Cloud Hosting: Uses a network of servers (the cloud) to host websites, providing
scalability and flexibility.
Example: Companies like Bluehost, HostGator, and SiteGround provide web hosting
services where you can upload and manage your website’s files.