1-IntroductIon To Computer Network
1-IntroductIon To Computer Network
networks
2. Network Types
Computer networks can be categorized based on their
geographic coverage, scale, and purpose. The major types
include:
a) Local Area Network (LAN)
A LAN connects devices within a limited geographical area,
such as a single building or campus. LANs are characterized
by high data transfer rates and low latency. Common uses
include home networks, office networks, and educational
institutions.
b) Metropolitan Area Network (MAN)
A MAN spans a larger geographic area than a LAN, typically
covering a city or a large campus. It connects multiple
LANs, enabling data sharing and communication among
them. MANs are often used by municipalities for public
services, such as citywide Wi-Fi.
a) Bus Topology
In a bus topology, all devices are connected to a single
central cable (the bus). Data is transmitted in both
directions along the bus, and devices listen for messages
addressed to them. This topology is easy to install and
cost-effective but can suffer from performance issues and
is prone to cable failures.
b) Star Topology
A star topology consists of a central hub or switch to which
all devices are connected. Data flows through the hub,
allowing for easy management and troubleshooting. This
topology is highly reliable; if one connection fails, it
doesn’t affect the entire network. However, if the central
hub fails, the whole network goes down.
c) Ring Topology
In a ring topology, each device is connected to two other
devices, forming a circular path for data transmission. Data
travels in one direction around the ring. This topology can
provide consistent data transfer rates but is vulnerable to
failures; if one device goes down, it can disrupt the entire
network.
d) Mesh Topology
A mesh topology connects each device to multiple other
devices, providing multiple paths for data transmission.
This topology enhances redundancy and reliability, as
there are multiple routes for data. However, it can be
complex and costly to set up and maintain.
e) Hybrid Topology
A hybrid topology combines two or more different
topologies, leveraging their strengths while mitigating
weaknesses. For example, a star-bus topology combines
the star and bus topologies, providing flexibility and
scalability.
4. Network Models
Network models define how data is transmitted across a
network and how various network components interact.
The two most widely used models are the OSI Model and
the TCP/IP Model.
a) OSI Model
The Open Systems Interconnection (OSI) Model is a
conceptual framework that standardizes network
communication into seven layers. Each layer serves a
specific function and interacts with the layers above and
below it:
1. Physical Layer: Deals with the physical connection
between devices, including cables, switches, and
electrical signals.
2. Data Link Layer: Provides node-to-node data transfer
and error detection, ensuring reliable communication
over the physical layer.
3. Network Layer: Manages the routing of data packets
across the network, determining the best path for data
transmission.
4. Transport Layer: Ensures reliable data transfer between
devices, managing error correction and flow control.
5. Session Layer: Manages sessions or connections
between applications, ensuring proper communication
and data exchange.
6. Presentation Layer: Translates data formats and handles
encryption and compression, ensuring that data is in a
readable format for the application layer.
7. Application Layer: Interfaces with user applications and
provides network services to end users, such as email
and file transfer.
b) TCP/IP Model
The Transmission Control Protocol/Internet Protocol
(TCP/IP) Model is a more practical framework used in the
design of the internet. It consists of four layers, which can
be compared to the OSI model: