Introduction to Computer Network
gocourse.in Maintenance

We'll be back soon

Our CDN (cdn.gocourse.in) is currently unreachable. Some images, JavaScript, or CSS files may not load properly.

Estimated downtime: ~30 minutes

Introduction to Computer Network

kumudha

What is a Computer Network?

A computer network is a group of interconnected devices that communicate with each other to share data, resources, and services. These devices can include computers, smartphones, printers, servers, routers, and other smart devices.

A network allows devices to exchange information through communication links such as cables, fiber optics, or wireless signals.

For example, when you send an email, watch an online video, or access a website, your device communicates with other devices through a computer network.

A computer network mainly consists of:
  • Nodes: Devices connected to a network, such as computers, printers, and servers.
  • Communication Links: The medium that connects devices, such as Ethernet cables, fiber cables, or Wi-Fi signals.
  • Protocols: A set of rules that define how devices communicate with each other.

Why Do We Need Computer Networks?

Computer networks make communication faster, easier, and more efficient. They allow organizations and individuals to share information and resources.

Benefits of Computer Networks

Benefits of Computer Networks.svg

1. Data Sharing

Networks allow multiple users to access and share files, applications, and databases.

Example:
In an office environment, employees can access shared documents stored on a company server instead of keeping separate copies.

2. Resource Sharing

A network allows multiple devices to share hardware resources.

Example:
Many computers in an organization can use the same network printer.

3. Communication

Computer networks enable different types of communication, including:
  • Email
  • Instant messaging
  • Video conferencing
  • Voice calls
  • Social media communication
Applications like online meetings and messaging systems depend on computer networks.

4. Data Management

Organizations use networks to store and manage large amounts of data.

Centralized storage helps with:
  • Data backup
  • Security management
  • Easy access
  • Data organization

5. Remote Access

Networks allow users to access systems from different locations.

Example:
Employees can connect to company servers or cloud platforms while working remotely.

6. Network Security

Networks provide security mechanisms to control user access and protect sensitive information.

Example:
A bank customer can access their own account through online banking without accessing the bank's internal systems.

Distributed Processing in Computer Networks

Modern computer networks use distributed processing, where tasks are divided among multiple computers instead of depending on a single system.

Each computer handles a specific part of the task, and together they complete the entire operation.

Example:

Large websites use multiple servers to handle millions of user requests. One server may handle login requests, another may process payments, and another may store data.

Computer Network Models

Computer networking involves many complex components including:
  • Hardware devices
  • Software applications
  • Communication protocols
  • Electrical signals
  • Network technologies

To simplify networking concepts, communication is divided into different layers.

Each layer performs a specific function and works together with other layers.

The two major networking models are:
Computer Network Models (1).svg

OSI Model (Open Systems Interconnection Model)

The OSI model is a reference model that explains how data moves from one device to another through a network.

It contains seven layers:
OSI Model.svg
  1. Physical Layer
  2. Data Link Layer
  3. Network Layer
  4. Transport Layer
  5. Session Layer
  6. Presentation Layer
  7. Application Layer

Layer 1: Physical Layer

The Physical Layer is responsible for transmitting raw bits (0s and 1s) across a communication medium.

It defines:
  • Cables
  • Connectors
  • Electrical signals
  • Radio signals
  • Data transmission methods
Functions
  • Bit transmission
  • Signal encoding
  • Data rate specification
  • Physical network connections
Topics Covered
  • Network Topology
  • Digital Transmission
  • Transmission Media
  • Guided Media
  • Unguided Media
  • Multiplexing
  • Switching
Example

An Ethernet cable connecting a computer to a switch operates at the Physical Layer.

Network Topology

Topology refers to the physical or logical arrangement of devices in a network.

Common topologies include:
  • Bus
  • Star
  • Ring
  • Mesh
  • Tree
Example

Most modern LANs use a Star Topology, where all devices connect to a central switch.

Transmission Media

Transmission media carry data signals between devices.

Guided Media

Signals travel through physical cables.

Examples:
  • Twisted Pair Cable
  • Coaxial Cable
  • Fiber Optic Cable

Unguided Media

Signals travel through air.

Examples:
  • Wi-Fi
  • Bluetooth
  • Satellite Communication

Multiplexing

Multiplexing allows multiple signals to share the same communication channel.

Example

Many phone calls can travel simultaneously through a fiber-optic cable.

Switching

Switching determines how data travels from source to destination.

Types include:
  • Circuit Switching
  • Packet Switching
  • Message Switching
The Internet primarily uses Packet Switching.

Layer 2: Data Link Layer

The Data Link Layer ensures reliable communication between directly connected devices.

It organizes data into units called frames.

Functions

  • Framing
  • Error Detection
  • Error Correction
  • Flow Control
  • MAC Addressing
Example

Ethernet operates at the Data Link Layer.

Error Detection

Networks use techniques to identify transmission errors.

Common methods include:
  • Parity Check
  • Checksum
  • Cyclic Redundancy Check (CRC)

Error Correction

Error correction techniques allow recovery from corrupted data.

Examples:
  • Forward Error Correction (FEC)
  • Hamming Code

Flow Control

Flow control prevents a fast sender from overwhelming a slow receiver.

Example

A smartphone downloading data from a high-speed server uses flow control mechanisms.

Sliding Window Protocol

The Sliding Window Protocol improves efficiency by allowing multiple frames to be transmitted before receiving acknowledgments.

Benefits:
  • Better throughput
  • Reduced waiting time
  • Efficient bandwidth utilization

Layer 3: Network Layer

The Network Layer handles logical addressing and routing.

It determines the best path for data packets.

Functions

  • Routing
  • Logical Addressing
  • Packet Forwarding
  • Congestion Management

IP Addressing

Every device on a network requires a unique logical address called an IP Address.

Two major versions exist:

IPv4

Example:

192.168.1.10

Uses 32-bit addresses.

IPv6

Example:

2001:0db8:85a3::8a2e:0370:7334

Uses 128-bit addresses.

Provides:
  • More address space
  • Better security
  • Improved efficiency

Public vs Private IP Addresses

Public IP

Accessible over the Internet.

Example:

203.0.113.10

Private IP

Used within local networks.

Examples:

192.168.x.x
10.x.x.x
172.16.x.x – 172.31.x.x

Routing Algorithms

Routing algorithms determine the best path for packet delivery.

Importance

Efficient routing improves:
  • Speed
  • Reliability
  • Network performance

Distance Vector Routing

Routers share routing information with neighboring routers.

Example Protocol:
  • RIP (Routing Information Protocol)
Advantages
  • Simple implementation
Disadvantages
  • Slow convergence
Link State Routing

Routers build a complete map of the network.

Example Protocol:
  • OSPF (Open Shortest Path First)
Advantages
  • 8 scalability

Layer 4: Transport Layer

The Transport Layer provides end-to-end communication between applications.

Functions

  • Segmentation
  • Error Recovery
  • Flow Control
  • Congestion Control

TCP (Transmission Control Protocol)

TCP provides reliable communication.

Features:
  • Connection-oriented
  • Error checking
  • Retransmission
  • Ordered delivery
Example

Web browsing and online banking rely on TCP.

TCP Connection Termination

TCP closes connections using a four-step process:
  1. FIN
  2. ACK
  3. FIN
  4. ACK
This ensures all data is delivered properly.

UDP (User Datagram Protocol)

UDP is faster but less reliable.

Features:
  • Connectionless
  • Low latency
  • No retransmission
Example

UDP is widely used in:
  • Online gaming
  • Video streaming
  • Voice calls

Layer 5: Session Layer

The Session Layer manages communication sessions between applications.

Functions

Session establishment
Session maintenance
Session termination

Example

A video conference session remains active through the Session Layer.

Layer 6: Presentation Layer

The Presentation Layer ensures data is presented in a readable format.

Functions

  • Data Translation
  • Encryption
  • Compression
Example

Converting text into a standardized format before transmission.

Secure Socket Layer (SSL)

SSL and its successor TLS provide secure communication over networks.

Benefits:
  • Encryption
  • Authentication
  • Data Integrity
Example

HTTPS websites use SSL/TLS to protect user information.

Layer 7: Application Layer

The Application Layer is the closest layer to the user.

It provides services directly to applications.

Functions

  • Web Access
  • Email Communication
  • File Transfers
  • Name Resolution
Example

Opening a website in a browser involves Application Layer protocols.

Client-Server Model

Most network applications follow the client-server architecture.

Client

Requests services.

Examples:
  • Web Browser
  • Mobile App

Server

Provides services.

Examples:

  • Web Server
  • Database Server

DNS (Domain Name System)

DNS converts domain names into IP addresses.

Example

When you type:

www.google.com

DNS finds the corresponding IP address so your browser can connect to the server.

FTP (File Transfer Protocol)

FTP transfers files between computers over a network.

Common Uses:
  • Website management
  • File sharing
  • Data backup

Telnet

Telnet provides remote command-line access.

Note: It is largely replaced by SSH because SSH provides encryption and better security.

SMTP

SMTP is responsible for sending email messages between mail servers.

SNMP

Simple Network Management Protocol (SNMP) helps monitor and manage network devices.

Examples:

Routers
Switches
Servers

HTTP and HTTPS

HTTP enables communication between web browsers and web servers.

HTTPS is the secure version of HTTP that uses encryption.

TCP/IP Model

The TCP/IP Model is the practical networking model used on the Internet.

It consists of four layers:
  • Application Layer
  • Transport Layer
  • Internet Layer
  • Network Access Layer
The TCP/IP Model forms the foundation of modern Internet communication.

Cloud Networking

Cloud networking applies traditional networking principles to cloud environments.

Organizations can deploy applications and services without maintaining physical infrastructure.

Benefits:
  • Scalability
  • Flexibility
  • Cost Efficiency
  • Global Availability

Types of Cloud Services

Types of Cloud Services.svg

Infrastructure as a Service (IaaS)

Provides virtual infrastructure.

Example:

Virtual Machines

Platform as a Service (PaaS)

Provides development platforms.

Example:

Application hosting environments

Software as a Service (SaaS)

Provides complete software solutions.

Example:

Web-based email and collaboration tools

Virtual Private Network (VPN)

A VPN creates an encrypted tunnel between a user and a network.

Benefits:
  • Secure communication
  • Remote access
  • Privacy protection
Example

Employees securely access company resources from home using a VPN.

Network Function Virtualization (NFV)

NFV replaces dedicated networking hardware with software-based network functions.

Examples:
  • Virtual Routers
  • Virtual Firewalls
  • Virtual Load Balancers
Benefits:
  • Reduced cost
  • Faster deployment
  • Greater flexibility

Emerging Networking Trends

Networking technologies continue to evolve rapidly.

5G Networks

Benefits include:
  • Ultra-fast speeds
  • Low latency
  • Massive device connectivity
Applications:
  • Smart Cities
  • Autonomous Vehicles
  • Industrial Automation

Network Slicing

Network slicing allows multiple virtual networks to operate on a single physical network infrastructure.

Benefits:

Better resource utilization
Customized services
Improved performance

Computer Network Security

Network security protects systems, data, and communications from threats and unauthorized access.
Computer Network Security.svg

Security

Security mechanisms include:
  • Firewalls
  • Antivirus Software
  • Intrusion Detection Systems
  • Access Control Policies

Privacy

Privacy ensures that personal and organizational data remains confidential.

Methods include:
  • Encryption
  • Secure Authentication
  • Access Control

Digital Signature

A digital signature verifies:
  • Identity of the sender
  • Authenticity of the message
  • Integrity of the data
Digital signatures are widely used in:
  • Online transactions
  • Secure emails
  • Digital certificates

Pretty Good Privacy (PGP)

PGP is an encryption system used to secure emails and files.

Features:
  • Data Encryption
  • Authentication
  • Digital Signatures

Our website uses cookies to enhance your experience. Learn More
Accept !