1. Introduction
A computer network consists of interconnected computers, communication devices and transmission links that allow computers to exchange data and share resources.
To understand how a network works, we study its structure and architecture.
- Network Structure → describes the physical and functional components of a network and how they are organized.
- Network Architecture → defines the rules, layers, protocols and standards used for communication between network devices.
2. Computer Network Structure
The basic structure of a computer network can be represented as:
Computer A
|
|
Network Device
(Switch/Router)
|
Communication
Network
|
Network Device
|
|
Computer B
A network mainly consists of the following components.
1. End Devices / Hosts
These are devices that send or receive data.
Examples:
- Desktop computers
- Laptops
- Smartphones
- Servers
- Printers
- IoT devices
They are also called hosts or end systems.
2. Communication Links
Communication links provide the path through which data travels.
They can be:
Wired
- Twisted-pair cable
- Coaxial cable
- Optical fiber
Wireless
- Radio waves
- Microwave
- Infrared
For example:
Computer A ===== Cable ===== Computer B
3. Networking Devices
Networking devices connect computers and networks.
Important devices include:
| Device | Main Function |
|---|---|
| Hub | Connects multiple devices and broadcasts data |
| Switch | Connects devices within a LAN and forwards frames |
| Router | Connects different networks and forwards packets |
| Bridge | Connects network segments |
| Gateway | Connects networks using different protocols |
| Access Point | Provides wireless network access |
| Modem | Converts signals for communication over certain access networks |
4. Network Software
Network hardware needs software to control communication.
Examples include:
- Network operating systems
- Network protocols
- Device drivers
- Network management software
- Security software
3. Types of Network Structure
Networks can be organized in different ways.
A. Client-Server Structure
In this structure, a server provides services to clients.
SERVER
|
-------------------
| | |
Client Client Client
Example:
A college server stores student records, while computers in different departments access those records.
Advantages:
- Centralized management
- Better security
- Easy backup
- Centralized data storage
B. Peer-to-Peer Structure
In a Peer-to-Peer (P2P) network, computers can communicate directly with each other.
Computer A
/ \
/ \
Computer B ----- Computer C
Each computer can act as both a client and a server.
Advantages:
- Simple to set up
- Low cost
- No dedicated server required
Disadvantages:
- Difficult to manage as the network grows
- Security can be weaker
- Backup is more difficult
4. Computer Network Architecture
Network architecture refers to the overall design of a network, including:
- Network layers
- Protocols
- Services
- Interfaces
- Communication rules
The main purpose of network architecture is to divide the complex communication process into smaller, manageable layers.
Two important network architectures/models are:
- OSI Reference Model
- TCP/IP Model
5. Layered Architecture
Instead of designing networking as one large system, networking functions are divided into layers.
For example:
+-----------------------+
| Application Layer |
+-----------------------+
| Transport Layer |
+-----------------------+
| Network Layer |
+-----------------------+
| Data Link Layer |
+-----------------------+
| Physical Layer |
+-----------------------+
Each layer performs a specific function and communicates with the layer above and below it.
Why use layers?
Layering provides several benefits:
- Reduces complexity
- Makes network design easier
- Allows independent development of layers
- Makes troubleshooting easier
- Provides standard interfaces
- Allows protocols to be changed without redesigning the entire network
6. Protocols
A protocol is a set of rules that controls communication between devices.
For example, when two computers communicate, they need rules regarding:
- Format of data
- Addressing
- Error handling
- Data transmission
- Timing
- Flow control
Examples of network protocols:
- HTTP
- FTP
- TCP
- UDP
- IP
- DNS
- Ethernet
7. Services and Protocols
A service tells us what a layer provides to the layer above it.
A protocol tells us how two corresponding layers communicate.
For example:
Computer A Computer B
Transport Layer <----------> Transport Layer
TCP
The two Transport Layers communicate using a transport protocol such as TCP.
The Transport Layer provides services to the Application Layer.
8. Connection-Oriented and Connectionless Architecture
Network communication can broadly be divided into two types.
Connection-Oriented Service
A connection is established before data transfer.
Connection Establishment
↓
Data Transfer
↓
Connection Release
Example: TCP
It provides reliable and ordered delivery of data.
Connectionless Service
No connection is established before sending each packet.
Data → Packet → Network
Each packet is treated independently.
Example: IP and UDP-based communication.
It is generally faster but may not provide reliable delivery by itself.
9. Network Architecture Example
Consider opening a website.
User
↓
Application Layer
↓
Transport Layer
↓
Network Layer
↓
Data Link Layer
↓
Physical Layer
↓
Internet / Network
↓
Destination Server
At the sender, data moves down through the layers.
At the receiver, data moves up through the layers.
This process is called encapsulation and decapsulation.
10. Encapsulation
When data moves down through the network layers, each layer may add its own control information.
Application Data
↓
Transport Header + Data
↓
Network Header + Transport Segment
↓
Data Link Header + Packet + Trailer
↓
Bits
At the receiving computer, the headers are removed layer by layer.
This is called decapsulation.
11. Structure vs Architecture
| Network Structure | Network Architecture |
|---|---|
| Describes network components | Describes overall communication design |
| Focuses on devices and connections | Focuses on layers, protocols and services |
| Includes hosts, switches, routers, links | Includes OSI, TCP/IP and protocols |
| More concerned with organization | More concerned with communication rules |
| Can describe physical arrangement | Describes logical organization |
Conclusion
Computer Network Structure describes the components of a network, such as hosts, communication links, switches, routers and servers, and how they are connected.
Computer Network Architecture describes the logical organization of communication using layers, protocols and services. Layered architectures such as the OSI and TCP/IP models make computer networks easier to design, understand, implement and troubleshoot.
⭐ Important MCA Exam Question
“Explain the structure and architecture of a computer network. Discuss layered architecture, protocols, services and client-server/peer-to-peer structures with suitable diagrams.”
This can easily be prepared as a 10-mark answer.
