0% found this document useful (0 votes)
3 views179 pages

Advanced Computer Networking

The document is a comprehensive guide on computer networking, detailing its definition, evolution, goals, applications, and various types and topologies. It emphasizes the importance of layered architecture in managing network complexity, promoting standardization, and facilitating independent development. The content is structured into chapters covering fundamental concepts, protocols, and emerging technologies in networking.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views179 pages

Advanced Computer Networking

The document is a comprehensive guide on computer networking, detailing its definition, evolution, goals, applications, and various types and topologies. It emphasizes the importance of layered architecture in managing network complexity, promoting standardization, and facilitating independent development. The content is structured into chapters covering fundamental concepts, protocols, and emerging technologies in networking.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Copyright © 2022 Shoolini University Center of Online and

Distance Education (SCODE)

All rights reserved. This book or any portion thereof may not be
reproduced or used in any manner whatsoever without the express
written permission of the publisher except for the use of brief
quotations in a book review.

Printed by Shoolini University Center of Online and Distance


Education (SCODE)

First printing, 2022.

Shoolini University
Bajhol, Solan, Himachal Pradesh
173229
Editorial Board

Dr. Amar Raj Singh


Director and Professor
Shoolini University Centre for Distance & Online Education
Shoolini University, Solan (HP)

Dr. Pankaj Vaidya Dr. Pooja Verma


Head of School and Professor Assistant Director and Associate
Yogananda School of AI, Computer, Professor
and Data Sciences Shoolini University Centre for
Shoolini University, Solan (HP) Distance & Online Education

Dr. Purnima Bali Dr. Neeraj Gandotra

Associate Professor Professor

Chitrakoot School of Liberal Arts Yogananda School of AI, Computer,


and Data Sciences
Shoolini University, Solan (HP)
Shoolini University, Solan (HP)

Shoolini University Centre for Distance and Online Education


Shoolini University
Solan (HP)
Contents

CHAPTER 1- INTRODUCTION TO COMPUTER NETWORKS ___________________________ 1

CHAPTER 2- LAYERED ARCHITECTURE __________________________________________ 15

CHAPTER 3- PHYSICAL AND DATA LINK LAYER OVERVIEW _________________________ 26

CHAPTER 4- NETWORK LAYER CONCEPTS _______________________________________ 38

CHAPTER 5- IP ADDRESSING _________________________________________________ 48

CHAPTER 6- NETWORK PROTOCOLS (ARP, RARP, ICMP) ___________________________ 61

CHAPTER 7- ROUTING ALGORITHMS ___________________________________________ 74

CHAPTER 8- TRANSPORT LAYER FUNDAMENTALS ________________________________ 88

CHAPTER 9- TCP AND UDP PROTOCOLS ________________________________________ 98

CHAPTER 10- TCP MECHANISMS _____________________________________________ 111

CHAPTER 11-APPLICATION LAYER PROTOCOLS _________________________________ 122

CHAPTER 12- WIRELESS AND MOBILE NETWORKS _______________________________ 138

CHAPTER 13- NETWORK SECURITY ___________________________________________ 149

CHAPTER 14- EMERGING NETWORKING TECHNOLOGIES _________________________ 162


1 SHOOLINI UNIVERSITY

CHAPTER 1- INTRODUCTION TO COMPUTER


NETWORKS

CONTENT:
 Objectives
1.1 Introduction
1.2 Definition and Evolution of Computer Networks
1.3 Goals of Computer Networking
1.4 Applications of Computer Networks
1.6 Network Topologies
1.7 Advantages and Limitations of Computer Networks
1.8 Case Study - Smart Campus Network
1.9 Activity - Identify Network Topology
1.10 Summary
1.11 Keywords
1.12 Review Questions
1.13 Further Readings

OBJECTIVES:
• Understand the basic concept of computer networks
• Learn the evolution of networking technologies
• Identify different types of computer networks
• Recognize various network topologies
• Understand applications of computer networks
2 ADVANCED COMPUTER NETWORKING

1.1 INTRODUCTION
The rapid advancement of information and communication technologies has profoundly
transformed the way individuals, organizations, and societies interact. Computer networks
form the backbone of this transformation by enabling communication, data exchange, and
resource sharing across geographically distributed systems. From educational institutions and
healthcare facilities to agricultural systems and industrial enterprises, networking infrastructure
supports almost every aspect of modern digital life.

A computer network can be defined as a collection of interconnected computing devices that


communicate with one another through communication links and standardized protocols to
exchange data and share resources.

These devices may include personal computers, servers, mobile devices, sensors and embedded
systems, connected through wired or wireless transmission media. Networking enables
collaboration, improves efficiency, and supports distributed processing, making it an essential
component of modern information systems.
3 SHOOLINI UNIVERSITY

1.2 DEFINITION AND EVOLUTION OF COMPUTER NETWORKS


1.2.1 Definition of Computer Network

A computer network is an arrangement of autonomous computers interconnected by


communication links that allow them to exchange information and share resources such as
hardware, software, and data. Communication within a network is governed by protocols that
define rules for data transmission, error handling, and synchronization.

1.2.2 Evolution of Computer Networks

The evolution of computer networks reflects the growing demand for efficient data sharing and
collaborative computing. Initially, computing systems operated as standalone machines with
no direct communication capabilities. Data transfer was performed using physical storage
media, such as magnetic tapes and disks, which was time-consuming and inefficient. The
introduction of Local Area Networks (LANs) enabled communication within organizations,
facilitating file sharing and printer access. The development of client-server architecture
introduced centralized resource management, improving scalability and security. A major
milestone was the emergence of the Internet, which interconnected networks globally and
enabled applications such as email, web services, and electronic commerce. In recent years,
networking has evolved further with the introduction of cloud computing, mobile
4 ADVANCED COMPUTER NETWORKING

communication, Internet of Things (IoT), and edge computing, enabling intelligent and
real-time applications.

1.3 GOALS OF COMPUTER NETWORKING


Computer networking is designed to achieve several key objectives that enhance efficiency and
collaboration. One primary goal is resource sharing, which allows multiple users to access
hardware devices (such as printers and storage), software applications, and data repositories.
Communication is another fundamental objective, enabling information exchange through
email, instant messaging, video conferencing, and collaborative platforms. Networking also
improves reliability by enabling redundancy and backup mechanisms. Scalability ensures that
networks can expand with minimal redesign, while cost efficiency is achieved through shared
infrastructure. Additionally, distributed processing allows computational tasks to be divided
among multiple systems, improving performance and reducing processing delays.
5 SHOOLINI UNIVERSITY

1.4 APPLICATIONS OF COMPUTER NETWORKS


Computer networks support a wide range of applications across various domains.
6 ADVANCED COMPUTER NETWORKING

1.4.1 Education

In education, networks enable virtual classrooms, e-learning platforms, digital libraries and
collaborative research. Students and educators can access learning resources remotely and
participate in interactive learning environments.

1.4.2 Agriculture

Agricultural systems use networking for precision farming, where sensor networks monitor
soil moisture, temperature, and environmental conditions. This improves crop yield and
resource utilization.

1.4.3 Healthcare

Healthcare networks support telemedicine, electronic health records, remote diagnostics, and
real-time patient monitoring, improving accessibility and quality of medical services.

1.4.4 Internet of Things (IoT)

IoT integrates interconnected devices in smart homes, industrial automation, and smart city
infrastructures. Networks enable real-time data exchange and intelligent decision-making.
7 SHOOLINI UNIVERSITY

1.5 NETWORK TYPES


Computer networks are classified based on their geographical coverage.

1.5.1 Local Area Network (LAN)

A LAN connects devices within a limited area such as homes, offices or campuses. It offers
high-speed communication and low latency.

1.5.2 Metropolitan Area Network (MAN)

A MAN covers a city or metropolitan region, interconnecting multiple LANs and supporting
urban communication infrastructure.

1.5.3 Wide Area Network (WAN)

A WAN spans large geographical areas, connecting networks across regions or countries. The
Internet is the largest example of a WAN.
8 ADVANCED COMPUTER NETWORKING

1.6 NETWORK TOPOLOGIES


Network topology describes the physical or logical arrangement of nodes and communication
links.

1.6.1 Bus Topology

All devices share a single communication backbone. It is simple and cost-effective but lacks
fault tolerance.
9 SHOOLINI UNIVERSITY

1.6.2 Ring Topology

Devices form a closed loop and data travels sequentially. Failure of one node can disrupt
communication.

1.6.3 Star Topology

All devices connect to a central hub or switch. It offers easy management and fault isolation.

1.6.4 Mesh Topology

Multiple paths exist between nodes, providing high reliability and redundancy.

1.6.5 Tree and Hybrid Topologies

Tree topology follows a hierarchical structure, while hybrid topology combines features of
multiple topologies.
10 ADVANCED COMPUTER NETWORKING

1.7 ADVANTAGES AND LIMITATIONS OF COMPUTER NETWORKS


Advantages

• Efficient communication
11 SHOOLINI UNIVERSITY

• Resource sharing

• Centralized data management

• Remote access

• Scalability and reliability

Limitations

• Security vulnerabilities

• High infrastructure cost

• Network congestion

• Management complexity

• Dependence on network availability

1.8 CASE STUDY - SMART CAMPUS NETWORK


A modern university campus network integrates classrooms, research laboratories,
administrative offices, and residential facilities through a unified networking infrastructure.
Wireless access enables students to access digital learning resources, centralized servers
support research collaboration and IoT devices monitor energy usage and environmental
conditions. This case highlights the practical application of networking concepts in improving
institutional efficiency and collaboration.

1.9 ACTIVITY - IDENTIFY NETWORK TOPOLOGY


Instructions:
Identify the most suitable network topology for the following scenarios and justify your choice.
12 ADVANCED COMPUTER NETWORKING

1. A computer laboratory with all systems connected to a central switch

2. A city-wide cable television network

3. A military communication system requiring high reliability

4. A small office using a single communication cable

1.10 SUMMARY
This chapter introduced the fundamental concepts of computer networks, including their
definition, evolution, goals, and applications. Different network types and topologies were
discussed along with their advantages and limitations. Practical elements such as a case study
and activity provided insight into real-world networking implementations, forming a
foundation for advanced networking topics.

1.11 KEYWORDS
• Computer Network
• Network Topology
• Bus Topology
• Star Topology
• Mesh Topology

1.12 REVIEW QUESTIONS


• A computer network is a collection of:
a) Standalone computers
b) Interconnected devices sharing resources
c) Software applications
d) Hardware devices only
• The Internet is an example of:
a) LAN
b) MAN
13 SHOOLINI UNIVERSITY

c) WAN
d) PAN
• Which topology uses a central connecting device?
a) Bus
b) Ring
c) Star
d) Mesh
• Precision farming is an application of networking in:
a) Education
b) Healthcare
c) Agriculture
d) Banking
• Which is NOT an advantage of computer networks?
a) Resource sharing
b) Scalability
c) Security risks
d) Remote access

Answer Key: 1-b, 2-c, 3-c, 4-c, 5-c

Short Answer

• Define a computer network.


• State the goals of computer networking.
• What is a network topology?

Long Answer

• Explain the evolution of computer networks.


• Discuss applications of computer networks in different domains.
• Describe various network topologies with advantages and limitations.
14 ADVANCED COMPUTER NETWORKING

1.13 FURTHER READINGS


• Forouzan, B. A., Data Communications and Networking, McGraw-Hill Education.
• Tanenbaum, A. S. and Wetherall, D. J., Computer Networks, Pearson Education.
• Kurose, J. F. and Ross, K. W., Computer Networking: A Top-Down Approach,
Pearson.
• Stallings, W., Data and Computer Communications, Pearson Education.
15 SHOOLINI UNIVERSITY

CHAPTER 2- LAYERED ARCHITECTURE

CONTENT:
 Objectives
2.1 Introduction to Layered Architecture
2.2 Need for Layering in Computer Networks
2.5 OSI vs TCP/IP Comparison
2.6 Encapsulation and Decapsulation
2.7 Advantages of Layered Architecture
2.8 Summary
2.9 Keywords
2.10 Review Questions
2.11 Further Readings

OBJECTIVES:
• Understand the concept of layered architecture
• Learn the need for layering in networks
• Identify the layers of the OSI model
• Understand the TCP/IP model basics
• Learn encapsulation and decapsulation processes
16 ADVANCED COMPUTER NETWORKING

2.1 INTRODUCTION TO LAYERED ARCHITECTURE


Computer networks form the backbone of modern communication systems, enabling data
exchange between devices across local and global environments. As networking systems
evolved, they became increasingly complex, incorporating diverse technologies, protocols,
hardware devices and applications. Managing such complexity using a single monolithic
design approach would be impractical, inefficient, and error prone. To address this challenge,
networking systems adopted the concept of layered architecture, which divides the overall
communication process into smaller, well-defined functional layers. Layered architecture is a
systematic approach in which each layer performs a specific set of functions and provides
services to the layer above it while relying on the services of the layer below it. This
hierarchical organization enables abstraction, modularity, and standardization, which are
essential for the design, implementation, and maintenance of large-scale networks. The layered
approach also allows different vendors and developers to work independently on specific
layers, provided that standardized interfaces are followed. The concept of layered architecture
is fundamental to understanding how data is transmitted across networks. It provides a logical
framework that explains how raw data generated by applications is converted into electrical or
optical signals for transmission and how received signals are reconstructed back into
meaningful information at the destination.

2.2 NEED FOR LAYERING IN COMPUTER NETWORKS


17 SHOOLINI UNIVERSITY

The adoption of layering in computer networks is driven by several technical and practical
requirements that arise from the complexity and scale of modern communication systems.

2.2.1 Managing Network Complexity

Network communication involves numerous tasks such as data formatting, addressing, routing,
error detection, flow control, and application-level interaction. Handling all these tasks within
a single system would result in an overly complex design that is difficult to understand and
manage. Layering decomposes this complexity by assigning specific responsibilities to
individual layers, making the system more structured and manageable. Each layer focuses on
a limited set of functions, allowing network designers and engineers to understand, implement,
and test individual components independently. This separation of concerns significantly
reduces system complexity.

2.2.2 Standardization and Interoperability

One of the primary objectives of layering is to promote standardization. By defining clear


functional boundaries and interfaces for each layer, standardized protocols can be developed
18 ADVANCED COMPUTER NETWORKING

and adopted globally. This enables interoperability between devices and systems manufactured
by different vendors.

For example, a computer manufactured by one company can communicate with a router
manufactured by another company because both adhere to standardized layered protocols.
Without layering and standardization, such interoperability would be extremely difficult to
achieve.

2.2.3 Independent Development and Technological Evolution

Layered architecture allows each layer to evolve independently without affecting the overall
system. Improvements or changes in one layer do not require redesigning other layers, provided
that interfaces remain unchanged.

For instance, advancements in physical transmission technologies such as fiber optics or


wireless communication do not impact application-layer protocols like email or web services.
This independence accelerates technological innovation and allows networks to adapt to new
requirements and technologies with minimal disruption.

2.2.4 Simplified Troubleshooting and Maintenance

When a network problem occurs, layered architecture helps isolate the issue to a specific layer.
For example, if data is not reaching its destination, the problem could be investigated at the
physical or data link layer. If data reaches the destination but appears corrupted, the issue may
lie in the transport or application layer. This structured troubleshooting approach reduces
diagnostic time and improves network reliability.

2.2.5 Reusability and Cost Efficiency

Protocols and services developed for a particular layer can be reused across different
networking systems. This reusability reduces development effort, lowers cost, and improves
consistency across networks.
19 SHOOLINI UNIVERSITY

2.3 OSI Model


20 ADVANCED COMPUTER NETWORKING

The Open Systems Interconnection (OSI) model is a conceptual framework that standardizes
the functions of a communication system into seven distinct layers. Developed to provide a
universal standard for network communication, the OSI model serves as a reference model that
explains how data moves through a network from source to destination.

Each OSI layer performs a specific role and communicates logically with its corresponding
layer at the destination system. This peer-to-peer communication ensures consistency and
reliability in data exchange.

2.3.1 Detailed Functions of OSI Layers

Layer 7: Application Layer

The Application Layer is the topmost layer of the OSI model and provides network services
directly to end-user applications. It acts as an interface between the user and the network,
enabling applications to access network resources. Functions of the Application Layer include
file transfer, electronic mail, web services and remote login. This layer does not provide
services to other layers but instead supports user-oriented network processes.

Layer 6: Presentation Layer

The Presentation Layer is responsible for data representation and translation. It ensures that
data sent by the application layer of one system can be correctly interpreted by the application
layer of another system. Key functions include data formatting, character encoding, data
compression, and encryption/decryption. By handling these tasks, the presentation layer
ensures compatibility between systems with different data formats and architectures.

Layer 5: Session Layer

The Session Layer manages sessions or dialogs between communicating systems. It


establishes, maintains, synchronizes and terminates sessions, ensuring orderly data exchange.
21 SHOOLINI UNIVERSITY

This layer provides synchronization points that allow communication to resume from a known
state in case of interruption, improving reliability in long data transfers.

Layer 4: Transport Layer

The Transport Layer is responsible for end-to-end communication between source and
destination systems. It ensures reliable or unreliable data delivery depending on the protocol
used. Functions include segmentation and reassembly of data, flow control to prevent buffer
overflow, and error control to ensure data integrity. This layer plays a critical role in
maintaining quality of service.

Layer 3: Network Layer

The Network Layer handles logical addressing and routing of data packets across
interconnected networks. It determines the best path for data transmission based on network
conditions and topology. This layer enables internetworking by allowing data to travel across
multiple networks to reach its destination.

Layer 2: Data Link Layer

The Data Link Layer provides reliable node-to-node data transfer over a physical medium. It
handles framing, physical addressing, error detection and flow control at the link level. By
ensuring error-free transmission between adjacent nodes, this layer forms a reliable foundation
for higher layers.

Layer 1: Physical Layer

The Physical Layer defines the physical characteristics of the transmission medium and is
responsible for transmitting raw bits over the network. It specifies voltage levels, data rates,
transmission modes and physical connectors. This layer forms the hardware foundation of
network communication.
22 ADVANCED COMPUTER NETWORKING

2.4 TCP/IP Model


23 SHOOLINI UNIVERSITY

The TCP/IP model is a practical networking model developed to support real-world internet
communication. Unlike the OSI model, which is primarily conceptual, the TCP/IP model is
protocol-oriented and widely implemented. The TCP/IP model consists of four layers, each
combining multiple OSI layers based on functional similarity. The Application Layer in
TCP/IP integrates the functions of the OSI application, presentation, and session layers. The
Transport Layer provides end-to-end communication services. The Internet Layer handles
logical addressing and routing, while the Network Access Layer manages physical
transmission and hardware addressing. The simplicity and robustness of the TCP/IP model
make it suitable for large-scale, heterogeneous networks such as the internet.

2.5 OSI VS TCP/IP COMPARISON


Conceptual and Functional Differences

The OSI model emphasizes strict layering and clear separation of functions, making it ideal for
educational and theoretical understanding. In contrast, the TCP/IP model prioritizes practicality
and efficiency, resulting in fewer layers and flexible implementation. While OSI provides
detailed conceptual clarity, TCP/IP dominates real-world networking due to its scalability,
robustness, and protocol support.

2.6 ENCAPSULATION AND DECAPSULATION


24 ADVANCED COMPUTER NETWORKING

Encapsulation is the process by which data moves down the protocol stack at the sender’s side,
with each layer adding its own header (and sometimes trailer) containing control information.
This layered packaging ensures proper addressing, routing, and error detection.

Decapsulation is the reverse process at the receiver’s side, where headers are removed layer by
layer as data moves upward through the protocol stack. This systematic removal ensures that
each layer processes only the information relevant to it.

Encapsulation and decapsulation illustrate the cooperative functioning of layered architecture


and explain how abstract data is converted into transmittable signals and back.

2.7 ADVANTAGES OF LAYERED ARCHITECTURE


Layered architecture offers numerous benefits including modular design, ease of development,
enhanced interoperability, simplified troubleshooting, and support for scalability. It provides a
structured framework that enables reliable and efficient network communication.

2.8 SUMMARY
This chapter presented an in-depth theoretical discussion on layered architecture in computer
networks. It explained the need for layering, detailed the OSI model and its seven layers,
discussed the TCP/IP model, and highlighted key differences between the two models. The
concepts of encapsulation and decapsulation were elaborated to demonstrate data flow in
layered communication systems. Together, these concepts form the foundation of modern
network design and operation.

2.9 KEYWORDS
• Network stack
• Decapsulation
• OSI Model
• Abstraction
• Protocol
25 SHOOLINI UNIVERSITY

2.10 REVIEW QUESTIONS


• Why is layering essential in modern computer networks?
• Explain the functions of each OSI layer in detail.
• Describe the TCP/IP model and its advantages.
• Compare OSI and TCP/IP models from conceptual and practical perspectives.
• Explain encapsulation and decapsulation with examples.

2.11 FURTHER READINGS


• Forouzan, B. A., Data Communications and Networking, McGraw-Hill Education.
(Comprehensive explanation of OSI and TCP/IP models with diagrams and examples.)
• Tanenbaum, A. S. and Wetherall, D. J., Computer Networks, Pearson Education.
(Detailed conceptual discussion on layered network architecture and protocol design.)
• Kurose, J. F. and Ross, K. W., Computer Networking: A Top-Down Approach,
Pearson.
(Clear explanation of encapsulation, protocol layering, and internet architecture.)
• Stallings, W., Data and Computer Communications, Pearson Education.
(Strong theoretical foundation of layered communication systems.)
• ISO/IEC 7498-1, Information Technology – Open Systems Interconnection – Basic
Reference Model.
(Official OSI model specification document.)
26 ADVANCED COMPUTER NETWORKING

CHAPTER 3- PHYSICAL AND DATA LINK LAYER


OVERVIEW

CONTENT:
 Objectives
3.1 Introduction
3.2 Transmission Media
3.3 Data Link Layer Services
3.4 Framing
3.5 Flow Control Techniques
3.6 Error Detection and Correction
3.7 Role of Physical and Data Link Layers in Real Networks
3.8 Summary
3.9 Keywords
3.10 Review Questions
3.11 Further Readings

OBJECTIVES:
• Understand Physical and Data Link layer functions
• Identify types of transmission media
• Learn services of the Data Link Layer
• Understand framing and flow control techniques
• Learn error detection and correction methods
27 SHOOLINI UNIVERSITY

3.1 INTRODUCTION
In the layered architecture of computer networks, the Physical Layer and the Data Link Layer
together form the lowest levels of the communication hierarchy. These layers are responsible
for the actual movement of data across communication channels and for ensuring reliable
delivery between directly connected devices.

While higher layers deal with routing, end-to-end communication, and application services, the
Physical and Data Link layers focus on the fundamental task of transmitting data accurately
from one node to the next. The Physical Layer handles the transmission of raw binary data in
the form of electrical, optical, or radio signals. It defines the physical characteristics of the
communication medium and the signaling mechanisms required for data transfer. However,
transmission alone is not sufficient, as physical communication is prone to noise, interference,
and signal distortion.

To overcome these limitations, the Data Link Layer is responsible for organizing bits into
structured frames, detecting transmission errors, and regulating the flow of data between
adjacent nodes. Together, these layers provide a reliable foundation upon which all higher-
layer networking functions are built.

3.2 TRANSMISSION MEDIA


28 ADVANCED COMPUTER NETWORKING

Transmission media refers to the physical path used to carry signals from a sender to a receiver.
The choice of transmission medium has a direct impact on data rate, transmission distance,
cost, and reliability of communication. Transmission media are broadly classified into guided
(wired) and unguided (wireless) media.

3.2.1 Guided Transmission Media

Guided transmission media provide a physical conduit that guides signals along a specific path.
These media are commonly used in wired networks due to their predictable performance and
controlled signal propagation.
29 SHOOLINI UNIVERSITY

Twisted Pair Cable

Twisted pair cable consists of pairs of insulated copper wires twisted together to reduce
electromagnetic interference and crosstalk. Twisting causes interference to affect both wires
equally, allowing the receiver to cancel out noise. Twisted pair cables are widely used in local
area networks and telephone systems due to their low cost and ease of installation. However,
they offer limited bandwidth and are more susceptible to noise compared to other guided media.

Coaxial Cable

Coaxial cable consists of a central conductor surrounded by insulation, a metallic shield and an
outer protective covering. The shielding provides better protection against noise and
interference, allowing coaxial cables to support higher data rates over longer distances than
twisted pair cables. Coaxial cables are commonly used in cable television networks and
broadband internet connections. Despite their improved performance, they are bulkier and
more expensive than twisted pair cables

Optical Fiber Cable

Optical fiber uses light signals to transmit data through thin strands of glass or plastic. Since
light is immune to electromagnetic interference, optical fiber offers extremely high bandwidth,
low signal attenuation, and high security. Optical fiber is widely used in backbone networks,
long-distance communication, and high-speed data transmission. Although it offers superior
performance, its installation and maintenance require specialized equipment and expertise.

3.2.2 Unguided Transmission Media

Unguided transmission media transmit data through electromagnetic waves without using a
physical conductor. These media support wireless communication and mobility.

Radio Waves

Radio waves are omnidirectional and can penetrate obstacles such as walls and buildings. They
are used in wireless networks, cellular communication, and broadcasting. However, radio
communication is vulnerable to interference and security threats.
30 ADVANCED COMPUTER NETWORKING

Microwaves

Microwaves are directional and require line-of-sight communication between transmitter and
receiver. They are used for point-to-point links and satellite communication, offering high data
rates over long distances.

Infrared Communication

Infrared signals are used for short-range communication and require direct line-of-sight. They
are commonly used in remote controls and short-distance device communication.

3.3 DATA LINK LAYER SERVICES


The Data Link Layer is responsible for providing reliable communication between two directly
connected network nodes. It ensures that data transferred across the physical medium is
organized, synchronized, and free from errors. One of the primary services of the Data Link
Layer is framing, which divides a continuous stream of bits into identifiable units. It also
provides physical addressing, enabling devices to be uniquely identified on a network. Error
detection and correction mechanisms allow the detection of transmission errors caused by noise
or interference. Additionally, flow control ensures that a fast sender does not overwhelm a
slower receiver. By performing these services, the Data Link Layer transforms an unreliable
physical channel into a reliable communication link.

3.4 FRAMING
Framing is the process of dividing a continuous stream of bits received from the Physical Layer
into discrete data units known as frames. Frames provide structure to the data stream and enable
synchronization, error detection and flow control. Different framing methods are used to mark
the beginning and end of frames. Character count framing specifies the number of characters
in a frame, while flag-based framing uses special bit or byte patterns as frame delimiters. Bit
stuffing or byte stuffing techniques are used to prevent ambiguity between data and control
information. Framing ensures that the receiver can correctly identify and process individual
data units.
31 SHOOLINI UNIVERSITY

3.5 FLOW CONTROL TECHNIQUES


32 ADVANCED COMPUTER NETWORKING

Flow control regulates the rate of data transmission between sender and receiver to prevent
buffer overflow and data loss. Without flow control, a fast sender may transmit data faster than
the receiver can process it. The stop-and-wait technique requires the sender to wait for an
acknowledgment after sending each frame. While simple, this method results in poor channel
utilization for high-speed networks. The sliding window technique allows multiple frames to
be transmitted before receiving acknowledgments. By adjusting the window size, sliding
window protocols improve throughput and efficiency.

3.6 ERROR DETECTION AND CORRECTION


33 SHOOLINI UNIVERSITY

Transmission errors occur due to noise, attenuation, and interference in communication


channels. The Data Link Layer employs error detection and correction techniques to ensure
data integrity.

Parity Check

Parity checking is a simple error detection technique that adds an extra bit to data to make the
number of 1s either even or odd. At the receiver, parity is recalculated to detect errors. While
effective for detecting single-bit errors, parity checks cannot detect multiple-bit errors reliably.

Cyclic Redundancy Check (CRC)

CRC is a powerful error detection technique that treats data as a binary polynomial and
performs division using a generator polynomial. The remainder obtained is appended to the
data and transmitted. At the receiver, the same operation is performed to verify data integrity.
CRC is widely used due to its strong error detection capability.
34 ADVANCED COMPUTER NETWORKING

3.7 ROLE OF PHYSICAL AND DATA LINK LAYERS IN REAL NETWORKS


In real-world networks, these layers are implemented in hardware and firmware within network
interface cards, switches, and routers. Laboratory experiments often demonstrate framing, flow
control, and CRC mechanisms, reinforcing theoretical understanding through practical
application.

3.8 SUMMARY
This chapter presented an in-depth theoretical discussion of the Physical and Data Link layers.
It explained transmission media, services of the Data Link Layer, framing techniques, flow
control mechanisms, and error detection and correction methods. These layers together provide
the essential foundation for reliable data communication in computer networks.

3.9 KEYWORDS
• Physical Layer
• Data Link Layer
• Transmission Media
• Framing
• Cyclic Redundancy Check (CRC)

3.10 REVIEW QUESTIONS


• Explain the role of the Physical Layer in computer networks.
• Describe guided and unguided transmission media with suitable examples.
• Discuss the importance of transmission media selection in network design.
• Explain the services provided by the Data Link Layer.
• What is framing? Explain different framing techniques.
• Why is flow control required in data communication?
• Compare stop-and-wait and sliding window flow control techniques.
• Explain parity checking and its limitations.
• Describe the working principle of Cyclic Redundancy Check (CRC).
• Explain how the Physical and Data Link layers work together to ensure reliable
communication.
35 SHOOLINI UNIVERSITY

Choose the correct answer:

• The primary responsibility of the Physical Layer is to:


a) Perform routing
b) Detect errors
c) Transmit raw bits over a medium
d) Control data flow
• Which of the following is a guided transmission medium?
a) Radio waves
b) Microwaves
c) Infrared
d) Optical fiber
• Which transmission medium offers the highest bandwidth and immunity to
electromagnetic interference?
a) Twisted pair cable
b) Coaxial cable
c) Optical fiber cable
d) Radio waves
• Framing is a function of which layer?
a) Physical Layer
b) Data Link Layer
c) Network Layer
d) Transport Layer
• Which framing technique uses special bit patterns to mark the beginning and end of
frames?
a) Character count framing
b) Byte-oriented framing
c) Flag-based framing
d) Time-based framing
• Flow control is mainly required to:
a) Reduce noise
b) Prevent buffer overflow at the receiver
36 ADVANCED COMPUTER NETWORKING

c) Increase transmission speed


d) Perform routing
• In stop-and-wait flow control, the sender:
a) Sends all frames continuously
b) Sends one frame and waits for acknowledgment
c) Sends frames based on window size
d) Ignores acknowledgments
• Which flow control technique improves channel utilization in high-speed networks?
a) Stop-and-wait
b) Sliding window
c) Parity check
d) Framing
• Parity check can reliably detect:
a) Burst errors
b) Multiple-bit errors
c) Single-bit errors
d) All types of errors
• CRC is based on:
a) Bit counting
b) Logical addressing
c) Polynomial division
d) Window size

Answers

1-c, 2-d, 3-c, 4-b, 5-c, 6-b, 7-b, 8-b, 9-c, 10-c

3.11 FURTHER READINGS


• Forouzan, B. A., Data Communications and Networking, McGraw-Hill Education.
(Detailed explanation of Physical and Data Link layers with numericals and CRC
examples.)
37 SHOOLINI UNIVERSITY

• Tanenbaum, A. S. and Wetherall, D. J., Computer Networks, Pearson Education.


(Strong conceptual treatment of transmission media, framing, and flow control.)
• Kurose, J. F. and Ross, K. W., Computer Networking: A Top-Down Approach,
Pearson.
(Clear explanation of link-layer services and error detection mechanisms.)
• Stallings, W., Data and Computer Communications, Pearson Education.
38 ADVANCED COMPUTER NETWORKING

CHAPTER 4- NETWORK LAYER CONCEPTS

CONTENT:
 Objectives
4.1 Introduction to the Network Layer
4.2 Logical Addressing
4.3 Packet Forwarding
4.4 Fragmentation
4.5 Datagram vs Virtual Circuit
4.6 Role of Network Layer in Internetworking
4.8 Keywords
4.9 Review Questions
4.10 Further Readings

OBJECTIVES:
• Understand the role of the Network Layer
• Learn the concept of logical addressing
• Understand packet forwarding process
• Learn fragmentation in networks
• Differentiate datagram and virtual circuit networks
39 SHOOLINI UNIVERSITY

4.1 INTRODUCTION TO THE NETWORK LAYER


The Network Layer is the third layer of the layered architecture and plays a crucial role in
enabling communication between devices located on different networks. While the Data Link
Layer is concerned with node-to-node delivery, the Network Layer is responsible for source-
to-destination delivery across multiple interconnected networks. It ensures that data
generated by a sender reaches the intended receiver, even when the two systems are separated
by several intermediate routers. The Network Layer provides mechanisms for logical
addressing, routing, packet forwarding, and fragmentation. It abstracts the complexity of
underlying physical networks and presents a unified communication service to the Transport
Layer. Without the Network Layer, large-scale internetworking such as the internet would not
be possible.

4.2 LOGICAL ADDRESSING

Logical addressing refers to the assignment of addresses that uniquely identify devices across
an internetwork. Unlike physical (MAC) addresses, which are hardware-dependent, logical
addresses are software-defined and hierarchical, allowing scalable and flexible network
communication.
40 ADVANCED COMPUTER NETWORKING

The most widely used logical addressing scheme is the Internet Protocol (IP) addressing
system. Logical addresses consist of two main parts:

• Network identifier - identifies the network

• Host identifier - identifies the device within that network

Logical addressing enables routers to determine the destination network and forward packets
accordingly. Because logical addresses are independent of hardware, devices can move
between networks and still communicate effectively by acquiring new logical addresses.

4.3 PACKET FORWARDING


41 SHOOLINI UNIVERSITY
42 ADVANCED COMPUTER NETWORKING

Packet forwarding is the process by which a router receives a packet on one interface and
forwards it to the appropriate outgoing interface toward its destination. Forwarding decisions
are made based on the destination logical address contained in the packet header.

Each router maintains a forwarding table, which maps destination network addresses to
outgoing interfaces. When a packet arrives, the router examines the destination address,
searches the forwarding table, and forwards the packet to the next hop. Packet forwarding
operates independently at each router.

The packet may traverse multiple routers before reaching its final destination. This hop-by-hop
forwarding mechanism ensures scalability and fault tolerance in large networks.

4.3.1 Packet Forwarding Example (SLM Element)

Scenario:
A packet is sent from Host A (IP: [Link]) to Host B (IP: [Link]).

Steps involved:

1. Host A encapsulates data into a packet with Host B’s IP address.

2. The packet is sent to the default gateway (Router R1).

3. Router R1 checks its forwarding table and forwards the packet to Router R2.

4. Router R2 repeats the process and forwards the packet toward the destination network.

5. The packet finally reaches Host B through its local router.

This example demonstrates how packet forwarding enables end-to-end delivery across multiple
networks.
43 SHOOLINI UNIVERSITY

4.4 FRAGMENTATION

Fragmentation is the process of dividing a large packet into smaller fragments so that it can be
transmitted over a network with a smaller maximum transmission unit (MTU). Different
networks may support different frame sizes, and packets exceeding the MTU must be
fragmented. Fragmentation is performed at the Network Layer, typically by the sender or by
intermediate routers. Each fragment is treated as an independent packet and carries its own
header information. At the destination, fragments are reassembled to reconstruct the original
packet.

While fragmentation ensures compatibility across heterogeneous networks, excessive


fragmentation can reduce network performance due to increased overhead.

4.5 DATAGRAM VS VIRTUAL CIRCUIT


4.5.1 Datagram Network

In a datagram network, each packet is treated independently and routed separately. Routers
make forwarding decisions for each packet based on the destination address. Packets may take
44 ADVANCED COMPUTER NETWORKING

different paths and arrive out of order. The internet is a classic example of a datagram network.
This approach offers flexibility, scalability and robustness.

4.5.2 Virtual Circuit Network

In a virtual circuit network, a logical path is established between sender and receiver before
data transmission begins. All packets follow the same path and arrive in sequence. Virtual
circuits provide predictable performance and easier congestion control but require setup and
maintenance overhead.

4.5.3 Comparison: Datagram vs Virtual Circuit

Feature Datagram Network Virtual Circuit Network

Connection setup Not required Required

Routing Per packet Fixed path

Packet order May vary Preserved

Reliability Best effort More predictable

Flexibility High Moderate

4.6 ROLE OF NETWORK LAYER IN INTERNETWORKING


The Network Layer enables communication across heterogeneous networks by providing
uniform addressing, routing and packet handling mechanisms. It hides differences in physical
45 SHOOLINI UNIVERSITY

technologies and ensures global connectivity. The success of the internet is largely attributed
to the efficiency and scalability of Network Layer functions.

Connection Oriented VS Connectionless Service

Network Layer services can be broadly classified into datagram-based (connectionless) and
virtual circuit-based (connection-oriented) approaches.

4.7 SUMMARY
This chapter discussed the fundamental concepts of the Network Layer. It explained logical
addressing and its importance in internetworking, described packet forwarding mechanisms
with an example, and examined fragmentation as a solution to MTU limitations. The chapter
also compared datagram and virtual circuit approaches, highlighting their advantages and
limitations. Together, these concepts form the foundation of routing and data delivery in
modern networks.

4.8 KEYWORDS
• Network Layer
46 ADVANCED COMPUTER NETWORKING

• Logical Addressing
• Packet Forwarding
• Fragmentation
• Datagram

4.9 REVIEW QUESTIONS


• Explain the functions of the Network Layer.
• What is logical addressing? How is it different from physical addressing?
• Explain packet forwarding with a suitable example.
• What is fragmentation? Why is it required?
• Differentiate between datagram and virtual circuit networks.

Choose the correct one

• The Network Layer is responsible for:


a) Framing
b) Logical addressing
c) Signal transmission
d) Error correction
• Which device performs packet forwarding?
a) Switch
b) Hub
c) Router
d) Repeater
• Fragmentation is required when:
a) Packet size < MTU
b) Packet size > MTU
c) Network is congested
d) Routing fails
• Internet follows which Network Layer approach?
a) Virtual circuit
b) Circuit switching
47 SHOOLINI UNIVERSITY

c) Datagram
d) Packet reservation

Answers: 1-b, 2-c, 3-b, 4-c

4.10 FURTHER READINGS


• Forouzan, B. A., Data Communications and Networking, McGraw-Hill Education.
• Tanenbaum, A. S. and Wetherall, D. J., Computer Networks, Pearson Education.
• Kurose, J. F. and Ross, K. W., Computer Networking: A Top-Down Approach,
Pearson.
• Stallings, W., Data and Computer Communications, Pearson Education.
• RFC 791, Internet Protocol Specification.
48 ADVANCED COMPUTER NETWORKING

CHAPTER 5- IP ADDRESSING

CONTENT:
 Objectives
5.1 Introduction to IP Addressing
5.2 IPv4 Address Structure
5.3 Classful Addressing
5.4 Subnetting
5.5 CIDR (Classless Inter-Domain Routing)
5.6 IPv6 Overview
5.7 Summary
5.8 Keywords
5.9 Review Questions
5.10 Further Readings

OBJECTIVES:
• Understand the concept of IP addressing
• Learn IPv4 address structure
• Identify classful addressing types
• Understand subnetting basics
• Learn CIDR and IPv6 overview
49 SHOOLINI UNIVERSITY

5.1 INTRODUCTION TO IP ADDRESSING


In computer networks, effective communication between devices requires a unique and
systematic method of identification. IP addressing provides this identification mechanism at
the Network Layer, enabling devices to locate one another across local and global networks.
An IP address uniquely identifies a host or network interface and plays a central role in packet
routing, forwarding, and delivery. IP addressing is a logical addressing scheme, meaning
addresses are assigned through software configuration rather than fixed hardware. This
flexibility allows networks to scale, reorganize, and interconnect efficiently. Over time, IP
addressing has evolved from the original IPv4 system to more advanced techniques such as
subnetting, Classless Inter-Domain Routing (CIDR) and IPv6 to meet the growing demand for
address space and routing efficiency.

5.2 IPV4 ADDRESS STRUCTURE

IPv4 (Internet Protocol version 4) uses a 32-bit addressing scheme, allowing for
approximately 4.3 billion unique addresses. These addresses are typically represented in dotted
decimal notation, where the 32 bits are divided into four 8-bit sections called octets.
50 ADVANCED COMPUTER NETWORKING

5.2.1 Binary and Decimal Representation

Each octet ranges from 0 to 255 in decimal form.


Example IPv4 address:

Binary: 11000000.10101000.00000001.00000010
Decimal: [Link]

5.2.2 Network and Host Portions

An IPv4 address consists of:

• Network portion- identifies the network

• Host portion- identifies the device within that network

The division between network and host portions depends on the addressing method used
(classful, subnetted, or CIDR).

5.3 CLASSFUL ADDRESSING


51 SHOOLINI UNIVERSITY

Classful addressing is an early IP addressing scheme where IPv4 addresses are divided into
predefined classes based on the value of the first octet.

5.3.1 IP Address Classes

Class First Octet Range Network Bits Host Bits Usage

A 1–126 8 24 Large networks

B 128–191 16 16 Medium networks

C 192–223 24 8 Small networks

D 224–239 — — Multicast

E 240–255 — — Experimental

5.3.2 Limitations of Classful Addressing

Classful addressing leads to inefficient address utilization. Organizations often received far
more IP addresses than required, resulting in rapid depletion of the IPv4 address space. These
limitations led to the development of subnetting and CIDR.
52 ADVANCED COMPUTER NETWORKING

5.4 SUBNETTING

Subnetting is the process of dividing a large network into smaller logical sub-networks called
subnets. It improves address utilization, network performance and security. Subnetting is
achieved by borrowing bits from the host portion of the IP address to create additional network
identifiers.

5.4.1 Subnet Mask

A subnet mask is a 32-bit value that identifies the network portion of an IP address.

Example:

IP Address: [Link]

Subnet Mask: [Link]


53 SHOOLINI UNIVERSITY

5.4.2 Step-by-Step Subnetting (SLM Element)

Problem: Subnet the network [Link]/24 into 4 subnets.

Step 1: Determine number of bits needed –

4 subnets → 2² = 4 → borrow 2 bits

Step 2: New subnet mask –

/24 + 2 = /26

Subnet mask = [Link]

Step 3: Calculate block size –

256 − 192 = 64

Step 4: Identify subnets

Subnet No. Network Address Broadcast Address Host Range

1 [Link] [Link] .1 – .62

2 [Link] [Link] .65 – .126

3 [Link] [Link] .129 – .190

4 [Link] [Link] .193 – .254


54 ADVANCED COMPUTER NETWORKING

5.5 CIDR (CLASSLESS INTER-DOMAIN ROUTING)


55 SHOOLINI UNIVERSITY

CIDR is an advanced addressing method that removes class boundaries and allows flexible
allocation of IP addresses using prefix notation.
56 ADVANCED COMPUTER NETWORKING

5.5.1 CIDR Notation

Format:

IP_address / prefix_length

Example: [Link]/20

The prefix length specifies the number of bits used for the network portion.

5.5.2 CIDR Numerical Example (SLM Element)

Problem:
How many hosts are supported by [Link]/22?

Solution:

Total bits = 32
Network bits = 22
Host bits = 32 − 22 = 10

Number of hosts = 2¹⁰ − 2 = 1022

5.5.3 CIDR Address Aggregation

CIDR supports route aggregation, reducing routing table size and improving routing
efficiency by combining multiple networks into a single routing entry.

5.6 IPV6 OVERVIEW


IPv6 was developed to overcome the limitations of IPv4, particularly address exhaustion.
57 SHOOLINI UNIVERSITY

5.6.1 IPv6 Address Structure

• 128-bit address space

• Written in hexadecimal

• Divided into eight 16-bit blocks


58 ADVANCED COMPUTER NETWORKING

Example:

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

5.6.2 Advantages of IPv6

• Vast address space

• Improved routing efficiency

• Built-in security support

• No need for NAT

• Simplified header structure

5.7 SUMMARY
This chapter provided an extensive discussion on IP addressing concepts. It explained IPv4
structure and classful addressing, highlighting their limitations. Subnetting and CIDR were
discussed with step-by-step numerical examples to demonstrate efficient address allocation.
The chapter concluded with an overview of IPv6 and its advantages, emphasizing its role in
future internet expansion.

5.8 KEYWORDS
• IP Address
• Subnetting
• Subnet Mask
• CIDR
• IPv6

5.9 REVIEW QUESTIONS


• Subnet [Link]/24 into 8 subnets.
• Calculate the number of hosts supported by [Link]/18.
59 SHOOLINI UNIVERSITY

• Identify network and broadcast addresses for [Link]/21.


• Convert 11000000.10101000.00000001.00001010 into dotted decimal.

ACTIVITY WORKSHEET

Activity:
Design an IP addressing scheme for a college network with:

• 4 departments
• Each department requires at least 50 hosts
• One central server network

Tasks:

• Choose a suitable IP block.


• Perform subnetting.
• Assign network, host range and broadcast addresses.
• Justify the choice of subnet mask.

(Students may submit calculations and network diagrams.)

• Explain the structure of an IPv4 address.


• Describe classful addressing and its limitations.
• Explain subnetting with a suitable numerical example.
• What is CIDR? How does it improve IP address utilization?
• Compare IPv4 and IPv6.

5.10 FURTHER READINGS


• Forouzan, B. A., Data Communications and Networking, McGraw-Hill Education.
• Kurose, J. F. and Ross, K. W., Computer Networking: A Top-Down Approach,
Pearson.
60 ADVANCED COMPUTER NETWORKING

• Tanenbaum, A. S. and Wetherall, D. J., Computer Networks, Pearson Education.


• Stallings, W., Data and Computer Communications, Pearson.
• RFC 791 (IPv4) and RFC 8200 (IPv6).
61 SHOOLINI UNIVERSITY

CHAPTER 6- NETWORK PROTOCOLS (ARP,


RARP, ICMP)

CONTENT:
 Objectives
6.1 Introduction
6.2 Address Resolution Protocol (ARP)
6.3 Reverse Address Resolution Protocol (RARP)
6.4 Internet Control Message Protocol (ICMP)
6.5 Role of ARP, RARP and ICMP in Troubleshooting
6.6 Wireshark Activity
6.7 Summary
6.8 Keywords
6.9 Review Questions
6.10 Further Readings

OBJECTIVES:
• Understand the purpose of ARP
• Learn the working of RARP
• Identify ICMP functions and message types
• Understand role of protocols in troubleshooting
• Learn basic Wireshark packet analysis
62 ADVANCED COMPUTER NETWORKING

6.1 INTRODUCTION
Network communication relies on a set of well-defined protocols that enable devices to identify
each other, report errors, and manage control information. While the Internet Protocol (IP) is
responsible for logical addressing and packet delivery, it cannot function effectively in
isolation.

Supporting protocols such as Address Resolution Protocol (ARP), Reverse Address


Resolution Protocol (RARP) and Internet Control Message Protocol (ICMP) play a crucial
role in facilitating communication, error handling and network diagnostics.

These protocols operate closely with IP and are often referred to as auxiliary network-layer
protocols. They do not carry application data but provide essential control and management
functions that ensure reliable and efficient network operation.

6.2 ADDRESS RESOLUTION PROTOCOL (ARP)


63 SHOOLINI UNIVERSITY
64 ADVANCED COMPUTER NETWORKING

6.2.1 Purpose of ARP

In a local network, devices communicate using physical (MAC) addresses, whereas IP uses
logical addresses. ARP bridges this gap by mapping an IP address to its corresponding MAC
address.

Without ARP, a device would know the destination IP address but would be unable to deliver
frames at the Data Link Layer.

6.2.2 Working of ARP

The working of ARP follows a request–reply mechanism:

1. ARP Request
When a host wants to send a packet to another host on the same network, it checks its
ARP cache for the destination MAC address. If no entry is found, the host broadcasts
an ARP request containing the destination IP address.

2. ARP Reply
The device with the matching IP address responds with an ARP reply containing its
MAC address.

3. ARP Cache Update


The sender stores this IP–MAC mapping in its ARP cache for future communication.

This process minimizes broadcast traffic by caching address mappings for a limited duration.

6.2.3 ARP Cache

The ARP cache is a temporary table maintained by hosts and routers. It stores recently resolved
IP-to-MAC mappings, reducing the need for repeated ARP broadcasts and improving network
efficiency.
65 SHOOLINI UNIVERSITY

6.3 REVERSE ADDRESS RESOLUTION PROTOCOL (RARP)


66 ADVANCED COMPUTER NETWORKING

6.3.1 Concept of RARP

RARP performs the reverse function of ARP. While ARP resolves an IP address from a MAC
address, RARP allows a device to discover its IP address using its MAC address. This
protocol was designed for diskless workstations that did not have permanent storage to store
IP configuration.

6.3.2 Working of RARP

In RARP, a device broadcasts a RARP request containing its MAC address. A RARP server,
which maintains a database of MAC-to-IP mappings, responds with the corresponding IP
address. The requesting device then configures itself using the received IP address.

6.3.3 Limitations of RARP

RARP has several limitations:

• Requires a dedicated RARP server

• Works only within a local network

• Limited scalability and flexibility

Due to these limitations, RARP has largely been replaced by more advanced protocols such as
BOOTP and DHCP.

6.4 INTERNET CONTROL MESSAGE PROTOCOL (ICMP)


6.4.1 Purpose of ICMP

ICMP is used for error reporting and network diagnostics. Unlike ARP and RARP, ICMP
does not assist in address resolution but instead provides feedback about network conditions to
67 SHOOLINI UNIVERSITY

hosts and routers. ICMP messages are encapsulated within IP packets and are not used to carry
user data.
68 ADVANCED COMPUTER NETWORKING

6.4.2 ICMP Message Types

ICMP messages are broadly classified into error-reporting messages and query messages.

a) Error-Reporting Messages

• Destination Unreachable – Indicates that a packet could not reach its destination

• Time Exceeded – Indicates that a packet’s Time-To-Live (TTL) value expired

• Redirect – Informs a host of a better route

b) Query Messages

• Echo Request and Echo Reply – Used by the ping command

• Timestamp Request and Reply – Used to measure time delays

6.5 ROLE OF ARP, RARP AND ICMP IN TROUBLESHOOTING


These protocols play a critical role in diagnosing and resolving network issues:

• ARP helps detect duplicate IP addresses and incorrect MAC mappings.


69 SHOOLINI UNIVERSITY

• RARP historically enabled address configuration for diskless systems.

• ICMP supports tools such as ping and traceroute, which are essential for connectivity
testing, latency measurement, and route analysis.

Network administrators rely heavily on ICMP-based tools to verify network health and identify
failures.
70 ADVANCED COMPUTER NETWORKING

6.6 WIRESHARK ACTIVITY


Objective: To observe and analyze ARP and ICMP packets using Wireshark.

Procedure

1. Install and launch Wireshark on a system connected to a local network.

2. Start packet capture on the active network interface.

3. Open the command prompt and execute:

• ping <gateway IP>

4. Apply display filters:

• arp to view ARP packets

• icmp to view ICMP packets

Observation

• ARP requests and replies can be observed during initial communication.

• ICMP Echo Request and Echo Reply messages appear during ping operations.

• Packet details show source and destination addresses, message type, and checksum
information.

Learning Outcome

Students gain hands-on understanding of protocol operation, packet structure and real-time
network behaviour.
71 SHOOLINI UNIVERSITY

6.7 SUMMARY
This chapter discussed essential network-layer protocols that support IP communication. ARP
enables mapping between logical and physical addresses, RARP allows address discovery for
diskless systems, and ICMP provides error reporting and diagnostic capabilities. Together,
these protocols ensure smooth network operation and effective troubleshooting.

6.8 KEYWORDS
• ARP
• RARP
• ICMP
• MAC Address
• Network Troubleshooting

6.9 REVIEW QUESTIONS


A. Multiple Choice Questions

• The primary function of ARP is to:


a) Convert MAC address to IP address
b) Convert IP address to MAC address
c) Detect routing loops
d) Assign IP addresses dynamically
• ARP operates at which layer of the OSI model?
a) Data Link Layer
b) Transport Layer
c) Network Layer
d) Application Layer
• What type of message is sent by a host when the MAC address of the destination is
unknown?
a) ARP Reply
b) ICMP Echo Request
c) ARP Request
d) RARP Request
72 ADVANCED COMPUTER NETWORKING

• ARP Request packets are sent using:


a) Unicast
b) Multicast
c) Anycast
d) Broadcast
• RARP is mainly used to:
a) Discover the MAC address of a host
b) Discover the IP address using MAC address
c) Report network errors
d) Test network connectivity
• Which device maintains the ARP cache?
a) Hub
b) Switch only
c) Host and Router
d) Repeater
• ICMP is primarily used for:
a) Data transmission
b) Logical addressing
c) Error reporting and diagnostics
d) Encryption
• Which ICMP message type is used by the ping command?
a) Redirect
b) Destination Unreachable
c) Echo Request / Echo Reply
d) Time Exceeded
• The ICMP message generated when a packet’s TTL expires is:
a) Redirect
b) Echo Reply
c) Destination Unreachable
d) Time Exceeded
• Which protocol has largely replaced RARP in modern networks?
a) ARP
b) ICMP
73 SHOOLINI UNIVERSITY

c) BOOTP / DHCP
d) FTP

ANSWER KEY

1-b, 2-c, 3-c, 4-d, 5-b, 6-c, 7-c, 8-c, 9-d, 10-c

SHORT ANSWER QUESTIONS

• Explain the working of ARP.


• Why is RARP considered obsolete?
• How does ICMP help in network troubleshooting?

6.10 FURTHER READINGS


• Forouzan, B. A., Data Communications and Networking, McGraw-Hill Education.
• Kurose, J. F. and Ross, K. W., Computer Networking: A Top-Down Approach,
Pearson.
• Tanenbaum, A. S. and Wetherall, D. J., Computer Networks, Pearson Education.
• Stallings, W., Data and Computer Communications, Pearson Education.
• RFC 826 (ARP) and RFC 792 (ICMP).
74 ADVANCED COMPUTER NETWORKING

CHAPTER 7- ROUTING ALGORITHMS

CONTENT:
 Objectives
7.1 Introduction
7.2 Routing Principles
7.3 Distance Vector Routing
7.4 Link State Routing
7.5 Bellman-Ford Algorithm
7.6 Dijkstra Algorithm
7.7 Detailed Comparison: Distance Vector vs Link State Routing
7.8 Simulation Exercise
7.9 Summary
7.10 Keywords
7.11 Review Questions
7.12 Further Readings

OBJECTIVES:
• Understand basic routing concepts
• Learn routing principles and metrics
• Identify distance vector routing
• Understand link state routing
• Learn shortest path algorithms
75 SHOOLINI UNIVERSITY

7.1 INTRODUCTION
Routing is one of the most critical functions performed at the Network Layer of a computer
network. It determines the path that data packets follow from a source to a destination across
one or more interconnected networks. Unlike packet forwarding, which is a local operation
performed by a router for each incoming packet, routing is a global process that involves
discovering, selecting, and maintaining optimal paths through the network. A routing
algorithm is a procedure used by routers to decide the best path for packet delivery. These
algorithms evaluate various parameters such as hop count, bandwidth, delay, cost, and
reliability to determine efficient routes. The effectiveness of routing algorithms directly
impacts network performance, scalability, convergence speed and fault tolerance. As networks
grow in size and complexity, the role of efficient routing algorithms becomes increasingly
important.

7.2 ROUTING PRINCIPLES


76 ADVANCED COMPUTER NETWORKING

Routing principles define the fundamental concepts and design goals that guide routing
decisions in a network.

7.2.1 Goals of Routing

The primary goals of routing include:

• Correctness – Packets must reach the intended destination

• Optimality – Routes should minimize cost based on selected metrics

• Simplicity – Algorithms should be easy to implement and maintain

• Robustness – The network should adapt to failures and topology changes

• Scalability – Routing should remain efficient as the network grows


77 SHOOLINI UNIVERSITY

7.2.2 Routing Metrics

Routing decisions are based on one or more metrics such as:

• Hop count

• Bandwidth

• Delay

• Load

• Reliability

Different routing algorithms prioritize different metrics depending on network requirements.

7.2.3 Static vs Dynamic Routing

• Static routing uses manually configured routes and is suitable for small, stable
networks.

• Dynamic routing uses routing algorithms to automatically update routing tables in


response to network changes.

7.3 DISTANCE VECTOR ROUTING


78 ADVANCED COMPUTER NETWORKING

Distance Vector Routing is a dynamic routing approach in which each router maintains a
routing table (distance vector) containing the distance to every known destination and the next
hop to reach it. Routers periodically exchange their routing tables with immediate neighbours.

7.3.1 Working Principle

Each router:

1. Maintains a distance vector listing destination networks, cost and next hop

2. Shares this vector with neighbouring routers

3. Updates its routing table using received information


79 SHOOLINI UNIVERSITY

The distance vector algorithm is based on the Bellman-Ford algorithm, which iteratively
calculates shortest paths.

7.3.2 Characteristics of Distance Vector Routing

• Information shared only with neighbours

• Periodic updates

• Simple implementation

• Slow convergence

7.3.3 Problems in Distance Vector Routing

• Routing loops

• Count-to-infinity problem

• Slow reaction to topology changes

Techniques such as split horizon, poisoned reverse and hold-down timers are used to reduce
these problems.

7.4 LINK STATE ROUTING


80 ADVANCED COMPUTER NETWORKING

Link State Routing is a dynamic routing approach in which each router has complete
knowledge of the network topology. Instead of sharing routing tables, routers share information
about the state of their links.
81 SHOOLINI UNIVERSITY

7.4.1 Working Principle

1. Each router discovers its neighbours and link costs

2. Link state information is flooded to all routers

3. Each router builds a link state database

4. Shortest Path First (SPF) algorithm is applied

7.4.2 Characteristics of Link State Routing

• Faster convergence

• Accurate and loop-free routing

• Higher memory and processing requirements

• More complex implementation

7.4.3 Advantages over Distance Vector Routing

Link State Routing provides better scalability and faster adaptation to network changes, making
it suitable for large and complex networks.

7.5 BELLMAN-FORD ALGORITHM


82 ADVANCED COMPUTER NETWORKING

The Bellman-Ford algorithm is a shortest path algorithm used as the foundation for distance
vector routing. It computes the shortest paths from a source node to all other nodes by
repeatedly relaxing edges.

7.5.1 Algorithm Steps

1. Initialize distance to source as zero and others as infinity

2. Update distances using neighbouring information

3. Repeat until no further updates occur

7.5.2 Numerical Example (SLM Element)

Given graph:

From source A:

• Distance to B = 2
83 SHOOLINI UNIVERSITY

• Distance to C = 2 + 1 = 3

• Distance to D = 2 + 3 = 5

Shortest paths are determined after iterations.

Link Cost

A–B 2

A–C 5

B–C 1

B–D 3

C–D 2

7.6 DIJKSTRA ALGORITHM


84 ADVANCED COMPUTER NETWORKING

Dijkstra’s algorithm is a shortest path algorithm used in link state routing protocols. It
calculates the shortest path from a source to all other nodes using a greedy approach.

7.6.1 Algorithm Steps

1. Assign tentative distances

2. Select the node with minimum distance

3. Update distances of neighbours

4. Repeat until all nodes are processed

7.6.2 Numerical Example (SLM Element)

Using the same graph, Dijkstra’s algorithm builds a shortest path tree from the source node
and ensures optimal, loop-free routing.

7.7 DETAILED COMPARISON: DISTANCE VECTOR VS LINK STATE ROUTING


7.7.1 Conceptual Comparison

Distance vector routing relies on local information and neighbour updates, whereas link state
routing uses global topology knowledge. This fundamental difference affects convergence
speed, scalability and reliability.
85 SHOOLINI UNIVERSITY

7.7.2 Tabular Comparison (Elaborated)

Feature Distance Vector Routing Link State Routing

Knowledge Neighbour information only Complete network topology

Algorithm Bellman-Ford Dijkstra

Updates Periodic Event-driven

Convergence Slow Fast

Routing Loops Possible Rare

Memory Usage Low High

Processing Overhead Low High

Scalability Limited High

Network Size Small to medium Large networks

Complexity Simple Complex

7.7.3 Practical Implications

Distance vector routing is easier to configure and maintain but struggles with large dynamic
networks. Link state routing requires more resources but provides superior performance,
reliability, and scalability.
86 ADVANCED COMPUTER NETWORKING

7.8 SIMULATION EXERCISE


Objective: Simulate Distance Vector and Link State routing using a network simulator (e.g.,
Packet Tracer / NS-3).

Tasks:

1. Create a network topology with multiple routers

2. Configure distance vector routing

3. Observe convergence time

4. Reconfigure using link state routing

5. Compare routing tables and convergence behaviour

Learning Outcome: Students understand practical differences between routing algorithms.

7.9 SUMMARY
This chapter presented a detailed discussion of routing algorithms. It explained routing
principles, distance vector routing, and link state routing, along with their underlying
algorithms—Bellman-Ford and Dijkstra. Numerical examples illustrated algorithm operation,
while a detailed comparison highlighted their strengths and limitations. Routing algorithms
form the backbone of efficient and reliable network communication.

7.10 KEYWORDS
• Routing
• Distance Vector Routing
• Link State Routing
• Bellman-Ford Algorithm
• Dijkstra Algorithm
87 SHOOLINI UNIVERSITY

7.11 REVIEW QUESTIONS


• Explain the basic principles of routing.
• Describe the working of distance vector routing.
• What problems are associated with distance vector routing?
• Explain link state routing with advantages.
• Explain Bellman-Ford algorithm with an example.
• Describe Dijkstra’s algorithm step by step.
• Compare distance vector and link state routing in detail.

7.12 FURTHER READINGS


• Forouzan, B. A., Data Communications and Networking, McGraw-Hill Education.
• Tanenbaum, A. S. and Wetherall, D. J., Computer Networks, Pearson Education.
• Kurose, J. F. and Ross, K. W., Computer Networking: A Top-Down Approach,
Pearson.
• Stallings, W., Data and Computer Communications, Pearson Education.
• RFC 1058 – Routing Information Protocol (RIP).
88 ADVANCED COMPUTER NETWORKING

CHAPTER 8- TRANSPORT LAYER


FUNDAMENTALS

CONTENT:
 Objectives
8.1 Introduction
8.2 Services Provided by the Transport Layer
8.3 Port Addressing
8.4 Multiplexing and Demultiplexing
8.5 Reliable vs Unreliable Transport
8.6 Importance of Transport Layer in Network Communication
8.7 Summary
8.8 Keywords
8.9 Review Questions
8.10 Further Readings

OBJECTIVES:
• Understand the role of the Transport Layer
• Learn Transport Layer services
• Understand port addressing
• Learn multiplexing and demultiplexing
• Differentiate reliable and unreliable transport
89 SHOOLINI UNIVERSITY

8.1 INTRODUCTION
The Transport Layer occupies a crucial position in the layered architecture of computer
networks. It acts as a bridge between the Network Layer, which is responsible for routing
packets across networks, and the Application Layer, which provides services directly to end
users.

While the Network Layer ensures delivery of packets from one host to another, it does not
guarantee reliable, orderly, or error-free communication. These responsibilities are fulfilled by
the Transport Layer. The Transport Layer provides end-to-end communication services
between processes running on different hosts.

It ensures that data generated by an application at the source is delivered correctly, completely,
and in the proper order to the corresponding application at the destination. By offering a variety
of services such as reliability, flow control, error control, and congestion control, the Transport
Layer plays a vital role in maintaining the quality and efficiency of network communication.

8.2 SERVICES PROVIDED BY THE TRANSPORT LAYER

The Transport Layer offers several essential services that support reliable and efficient
communication between applications.
90 ADVANCED COMPUTER NETWORKING

8.2.1 Process-to-Process Communication

Unlike the Network Layer, which delivers data between hosts, the Transport Layer enables
communication between specific processes on those hosts.

This is achieved using port numbers, allowing multiple applications to communicate


simultaneously over the same network connection.

8.2.2 Segmentation and Reassembly

Data received from the Application Layer is often large and must be broken into smaller units
called segments before transmission. This process is known as segmentation. At the receiving
end, the Transport Layer reassembles the segments to reconstruct the original data stream.

8.2.3 Flow Control

Flow control ensures that a fast sender does not overwhelm a slow receiver. The Transport
Layer regulates the amount of data transmitted based on the receiver’s buffer capacity,
preventing data loss due to buffer overflow.

8.2.4 Error Control

The Transport Layer detects and corrects errors that may occur during data transmission. It
uses mechanisms such as checksums, acknowledgements and retransmissions to ensure data
integrity.

8.2.5 Congestion Control

Congestion control prevents excessive traffic from overloading the network. By adjusting
transmission rates based on network conditions, the Transport Layer helps maintain stable and
efficient communication.
91 SHOOLINI UNIVERSITY

8.3 PORT ADDRESSING


8.3.1 Concept of Port Numbers

A port number is a logical identifier assigned to a process or service running on a host. Each
segment contains source and destination port numbers, which together with IP addresses
uniquely identify a communication session.

Port addressing is a fundamental mechanism that enables the Transport Layer to deliver data
to the correct application process.
92 ADVANCED COMPUTER NETWORKING

8.3.2 Types of Port Numbers

Port numbers are classified into three categories:

• Well-known ports (0–1023): Reserved for standard services such as web and email

• Registered ports (1024–49151): Assigned to user applications

• Dynamic or ephemeral ports (49152–65535): Temporarily assigned for client-side


communication

Port addressing allows multiple applications to share the same network connection without
interference.
93 SHOOLINI UNIVERSITY

8.4 MULTIPLEXING AND DEMULTIPLEXING

Multiplexing and demultiplexing are key Transport Layer functions that support concurrent
communication between multiple applications.

8.4.1 Multiplexing

Multiplexing is the process by which the Transport Layer at the sender accepts data from
multiple application processes, adds appropriate headers, and forwards the segments to the
Network Layer. Each segment is tagged with port numbers to identify the source application.

This mechanism allows efficient utilization of network resources by enabling multiple


applications to transmit data simultaneously.

8.4.2 Demultiplexing

Demultiplexing is the reverse process performed at the receiver. The Transport Layer examines
the destination port number in each incoming segment and delivers the data to the appropriate
application process.

Without demultiplexing, it would be impossible to distinguish between data streams belonging


to different applications.
94 ADVANCED COMPUTER NETWORKING

8.5 RELIABLE VS UNRELIABLE TRANSPORT

Transport Layer services can be broadly classified into reliable and unreliable transport
mechanisms, depending on the level of assurance required by applications.

8.5.1 Reliable Transport

Reliable transport ensures that data is delivered accurately, in sequence, and without loss. It
provides several guarantees that are essential for applications requiring data integrity and
correctness.

Key characteristics of reliable transport include:

• Connection-oriented communication

• Sequencing of segments

• Acknowledgements for received data

• Retransmission of lost or corrupted segments


95 SHOOLINI UNIVERSITY

• Flow control and congestion control

Reliable transport is suitable for applications such as file transfer, email, and web
communication, where correctness of data is critical.

8.5.2 Unreliable Transport

Unreliable transport does not guarantee delivery, ordering, or duplication prevention. It


provides a best-effort service, focusing on speed and efficiency rather than reliability.

Key characteristics of unreliable transport include:

• Connectionless communication

• No acknowledgements or retransmissions

• Minimal overhead

• Faster data transmission

Unreliable transport is suitable for real-time applications such as video streaming, online
gaming, and voice communication, where timely delivery is more important than perfect
accuracy.

8.5.3 Comparison: Reliable vs Unreliable Transport

Feature Reliable Transport Unreliable Transport

Connection setup Required Not required

Data delivery Guaranteed Best effort


96 ADVANCED COMPUTER NETWORKING

Feature Reliable Transport Unreliable Transport

Ordering Preserved Not preserved

Error recovery Yes No

Overhead High Low

Speed Moderate High

Application use File transfer, email Streaming, VoIP

8.6 IMPORTANCE OF TRANSPORT LAYER IN NETWORK COMMUNICATION


The Transport Layer ensures that applications can communicate effectively without worrying
about the complexities of underlying networks. By offering both reliable and unreliable
services, it supports a wide range of applications with diverse requirements. The flexibility and
robustness of the Transport Layer make it indispensable in modern networking systems.

8.7 SUMMARY
This chapter discussed the fundamental concepts of the Transport Layer. It explained the
services provided by the Transport Layer, the importance of port addressing, and the role of
multiplexing and demultiplexing. A detailed comparison of reliable and unreliable transport
highlighted how different application requirements are met. The Transport Layer plays a
central role in enabling efficient, flexible and dependable end-to-end communication.

8.8 KEYWORDS
• Transport Layer
• Port Addressing
97 SHOOLINI UNIVERSITY

• Multiplexing
• Reliable Transport
• Unreliable Transport

8.9 REVIEW QUESTIONS


• Explain the role and services of the Transport Layer.
• What is port addressing? Why is it necessary?
• Explain multiplexing and demultiplexing in the Transport Layer.
• Describe reliable transport mechanisms in detail.
• Compare reliable and unreliable transport services with examples.

8.10 FURTHER READINGS


• Forouzan, B. A., Data Communications and Networking, McGraw-Hill Education.
• Tanenbaum, A. S. and Wetherall, D. J., Computer Networks, Pearson Education.
• Kurose, J. F. and Ross, K. W., Computer Networking: A Top-Down Approach,
Pearson.
• Stallings, W., Data and Computer Communications, Pearson Education.
• RFC 793 – Transmission Control Protocol (TCP) Specification.
• RFC 768 – User Datagram Protocol (UDP) Specification.
98 ADVANCED COMPUTER NETWORKING

CHAPTER 9- TCP AND UDP PROTOCOLS

CONTENT:
 Objectives
9.1 Introduction
9.2 User Datagram Protocol (UDP)
9.3 Transmission Control Protocol (TCP)
9.4 Comparison of TCP and UDP
9.5 Use Cases of TCP and UDP
9.6 Wireshark Analysis Activity
9.7 Summary
9.8 Keywords
9.9 Review Questions
9.10 Further Readings

OBJECTIVES:
• Understand TCP and UDP basics
• Learn features of UDP protocol
• Understand features of TCP protocol
• Compare TCP and UDP
• Identify use cases of TCP and UDP
99 SHOOLINI UNIVERSITY

9.1 INTRODUCTION
At the Transport Layer of the TCP/IP architecture, protocols are responsible for providing end-
to-end communication services between application processes running on different hosts.
While the Transport Layer defines the services required for communication, specific transport
protocols implement these services in different ways.

Among these protocols, Transmission Control Protocol (TCP) and User Datagram
Protocol (UDP) are the most widely used and form the backbone of modern internet
communication. TCP and UDP represent two contrasting approaches to transport-layer
communication. TCP emphasizes reliability, accuracy, and ordered delivery, whereas UDP
focuses on speed, simplicity, and low overhead. Understanding these protocols is essential
for selecting the appropriate transport mechanism for different applications and for diagnosing
performance and reliability issues in networks.

9.2 USER DATAGRAM PROTOCOL (UDP)


The User Datagram Protocol (UDP) is a connectionless, unreliable transport protocol that
provides a simple mechanism for sending data between applications. UDP does not establish a
connection before transmitting data, nor does it guarantee delivery, ordering or duplication
prevention. Instead, it offers a best-effort service with minimal processing overhead.

9.2.1 Features of UDP

UDP is characterized by the following features:

• Connectionless communication: No session establishment is required before data


transmission.

• Unreliable delivery: Packets may be lost, duplicated, or delivered out of order.

• No flow control: The sender transmits data without considering receiver capacity.

• No congestion control: UDP does not adjust its transmission rate based on network
conditions.
100 ADVANCED COMPUTER NETWORKING

• Low overhead: Minimal header size results in faster transmission.

• Process-to-process delivery: Achieved using port numbers.

These characteristics make UDP suitable for applications where speed is more important than
reliability.

9.2.2 UDP Header Format

The UDP header is simple and consists of only 8 bytes, making it one of the smallest protocol
headers.

Field Size Description

Source Port 16 bits Identifies the sending application

Destination Port 16 bits Identifies the receiving application

Length 16 bits Length of UDP header and data

Checksum 16 bits Error detection for header and data

Because of its small header and lack of control mechanisms, UDP introduces minimal delay
and processing overhead.

9.2.3 Operation of UDP

When an application sends data using UDP, the Transport Layer encapsulates the data into a
UDP segment by adding the UDP header. The segment is then passed to the Network Layer
101 SHOOLINI UNIVERSITY

for routing. At the receiver, UDP delivers the data directly to the destination application based
on the port number, without performing error recovery or reordering.

9.3 TRANSMISSION CONTROL PROTOCOL (TCP)


102 ADVANCED COMPUTER NETWORKING

The Transmission Control Protocol (TCP) is a connection-oriented, reliable transport


protocol designed to provide accurate and ordered delivery of data. TCP is widely used by
applications that require correctness and completeness of data, such as web browsing, file
transfer, and email communication.

9.3.1 Features of TCP

TCP provides several advanced features to ensure reliable communication:

• Connection-oriented communication: A connection is established before data


transmission.

• Reliable data transfer: Lost or corrupted segments are retransmitted.

• Sequencing: Data segments are numbered to ensure in-order delivery.

• Flow control: Prevents the sender from overwhelming the receiver.


103 SHOOLINI UNIVERSITY

• Congestion control: Adjusts transmission rate based on network conditions.

• Full-duplex communication: Data can flow simultaneously in both directions.

These features make TCP robust and suitable for critical data transmission.

9.3.2 TCP Header Format

The TCP header is more complex and larger than the UDP header, with a minimum size of 20
bytes.

Field Description

Source Port Sending application identifier

Destination Port Receiving application identifier

Sequence Number Byte number of first data byte

Acknowledgement Number Next expected byte

Header Length Size of TCP header

Control Flags SYN, ACK, FIN, RST, PSH, URG

Window Size Flow control

Checksum Error detection


104 ADVANCED COMPUTER NETWORKING

Field Description

Urgent Pointer Indicates urgent data

The TCP header supports mechanisms for reliability, flow control, and congestion control.

9.3.3 Working of TCP Communication

TCP communication begins with connection establishment, followed by reliable data transfer,
and ends with connection termination. During data transmission, TCP continuously monitors
acknowledgements and network conditions, retransmitting lost segments and adjusting its
transmission rate as needed.

9.4 COMPARISON OF TCP AND UDP


105 SHOOLINI UNIVERSITY

9.4.1 Feature-wise Comparison

Feature TCP UDP

Connection type Connection-oriented Connectionless

Reliability Reliable Unreliable

Ordering Guaranteed Not guaranteed

Flow control Yes No

Congestion control Yes No

Header size 20 bytes (minimum) 8 bytes

Speed Slower Faster


106 ADVANCED COMPUTER NETWORKING

9.4.2 Performance and Design Comparison

TCP prioritizes data integrity and correctness at the cost of increased overhead and latency.
UDP sacrifices reliability to achieve faster transmission and lower delay. The choice between
TCP and UDP depends on application requirements, network conditions, and performance
constraints.

9.5 USE CASES OF TCP AND UDP


9.5.1 TCP Use Cases

TCP is preferred in applications where accuracy and completeness of data are essential:

• Web browsing (HTTP/HTTPS)

• File transfer (FTP)

• Email communication (SMTP, POP, IMAP)

• Remote login

9.5.2 UDP Use Cases

UDP is used in applications where speed and real-time performance are more important than
reliability:

• Video streaming

• Voice over IP (VoIP)

• Online gaming

• DNS queries
107 SHOOLINI UNIVERSITY

9.6 WIRESHARK ANALYSIS ACTIVITY


108 ADVANCED COMPUTER NETWORKING

Objective:

To analyze and compare TCP and UDP packets using Wireshark and understand their header
fields and behaviour in real network communication.

Procedure:

1. Install and open Wireshark on a network-connected system.

2. Start capturing packets on the active network interface.

3. Perform a web browsing activity to generate TCP traffic.

4. Run a DNS query or stream media to generate UDP traffic.

5. Apply display filters:

• tcp for TCP packets

• udp for UDP packets

Observation

• TCP packets show sequence numbers, acknowledgements and control flags.


109 SHOOLINI UNIVERSITY

• UDP packets contain only port numbers, length and checksum.

• TCP traffic exhibits retransmissions and acknowledgements.

• UDP traffic is sent without acknowledgements.

Analysis

Wireshark clearly highlights the complexity of TCP compared to the simplicity of UDP. TCP’s
additional fields support reliability and congestion control, while UDP’s lightweight structure
supports faster transmission.

Learning Outcome

Students gain practical insight into protocol behaviour, packet structure and performance
differences between TCP and UDP.

9.7 SUMMARY
This chapter presented a comprehensive discussion of TCP and UDP protocols. It explained
the features and header formats of both protocols, compared their design philosophies, and
discussed their use cases.

An elaborative Wireshark activity demonstrated real-time protocol behaviour, reinforcing


theoretical concepts through practical observation.

9.8 KEYWORDS
• TCP
• UDP
• Reliable Transport
• Connectionless Protocol
• Port Number
110 ADVANCED COMPUTER NETWORKING

9.9 REVIEW QUESTIONS


• Explain the features of UDP and its header format.
• Describe the features of TCP and explain its header fields.
• Compare TCP and UDP in terms of reliability and performance.
• Explain suitable use cases for TCP and UDP.
• How does Wireshark help in analyzing transport-layer protocols?

9.10 FURTHER READINGS


• Forouzan, B. A., Data Communications and Networking, McGraw-Hill Education.
• Tanenbaum, A. S. and Wetherall, D. J., Computer Networks, Pearson Education.
• Kurose, J. F. and Ross, K. W., Computer Networking: A Top-Down Approach,
Pearson.
• Stallings, W., Data and Computer Communications, Pearson Education.
• RFC 793 – Transmission Control Protocol (TCP).
• RFC 768 – User Datagram Protocol (UDP).
111 SHOOLINI UNIVERSITY

CHAPTER 10- TCP MECHANISMS

CONTENT:
 Objectives
10.1 Introduction
10.2 Characteristics of TCP
10.3 TCP Segment Structure
10.4 TCP Connection-Oriented Communication
10.5 Three-Way Handshake Mechanism
10.6 Importance of Three-Way Handshake
10.7 TCP State Transition During Connection Establishment
10.9 Summary
10.10 Keywords
10.11 Review Questions
10.12 Further Readings

OBJECTIVES:
• Understand TCP characteristics
• Learn TCP segment structure
• Understand TCP connection process
• Learn three-way handshake mechanism
• Understand TCP state transitions
112 ADVANCED COMPUTER NETWORKING

10.1 INTRODUCTION
The Transport Layer plays a crucial role in the layered architecture of computer networks by
providing end-to-end communication services between processes running on different hosts.
While the Network Layer is responsible for logical addressing and routing, the Transport Layer
ensures that data is delivered reliably in sequence and without duplication, depending on the
protocol used. Transmission Control Protocol (TCP) is one of the core protocols of the Internet
Protocol Suite and is designed to provide reliable, connection-oriented communication. It is
extensively used by applications that require guaranteed delivery, such as web browsing, file
transfer, email communication and remote login. TCP overcomes the limitations of unreliable
network services by incorporating mechanisms such as connection establishment, flow control,
error control, congestion control and orderly connection termination. These mechanisms
collectively ensure that data transmission remains efficient and dependable even under varying
network conditions.

10.2 CHARACTERISTICS OF TCP


TCP possesses several distinguishing features that make it suitable for reliable data
communication:

• Connection-Oriented Protocol: TCP follows a connection-oriented approach, meaning a


logical connection must be established between the sender and receiver before any data is
transmitted. This connection is created using the Three-Way Handshake, during which both
ends agree on initial sequence numbers and communication parameters. By establishing a
connection in advance, TCP ensures that both devices are synchronized and ready for data
exchange, reducing the chances of miscommunication or data loss.

• Reliable Data Transfer: Reliability is the core strength of TCP. Each byte of data
transmitted is assigned a sequence number, allowing the receiver to reorder segments
correctly and detect missing data. Acknowledgements are sent to confirm successful receipt
of data, and if an acknowledgement is not received within a specified time, TCP retransmits
the lost or corrupted segment. Additionally, TCP uses checksums to detect transmission
errors, ensuring that only error-free data is delivered to the application layer.
113 SHOOLINI UNIVERSITY

• Full-Duplex Communication: TCP supports full-duplex communication, allowing data to


be transmitted simultaneously in both directions over the same connection. This feature
improves communication efficiency and reduces latency, especially for interactive
applications such as web browsing, remote login and video conferencing, where continuous
two-way data exchange is required.

• Byte Stream Service: Unlike protocols that treat data as discrete packets, TCP provides a
byte stream service. It views the data sent by applications as a continuous stream of bytes
without preserving message boundaries. TCP segments this stream into manageable units
for transmission and reassembles them at the receiver in the correct order. This abstraction
simplifies application design and ensures smooth and orderly data delivery.

• Congestion-Aware Protocol: TCP is designed to be sensitive to network congestion. It


continuously monitors network conditions such as packet loss and delay and adjusts its
transmission rate accordingly. Using congestion control mechanisms like Slow Start,
Congestion Avoidance and Additive Increase Multiplicative Decrease (AIMD), TCP
prevents network overload, minimizes packet loss and promotes fair bandwidth sharing
among multiple connections. This adaptive behaviour helps maintain network stability and
overall performance.

These characteristics make TCP a preferred protocol for applications where data integrity and
correctness are critical.

10.3 TCP SEGMENT STRUCTURE


114 ADVANCED COMPUTER NETWORKING

A TCP segment consists of a header followed by application data. The header contains essential
control information required for reliable communication.

Fields of TCP Header

1) Source Port (16 bits)


Identifies the sending application.
2) Destination Port (16 bits)
Identifies the receiving application.
3) Sequence Number (32 bits)
Specifies the byte number of the first data byte in the segment.
4) Acknowledgement Number (32 bits)
Indicates the next expected byte from the sender.
5) Header Length
Specifies the size of the TCP header.
6) Control Flags
• SYN – Synchronize
115 SHOOLINI UNIVERSITY

• ACK – Acknowledgement
• FIN – Finish
• RST – Reset
• PSH – Push
• URG – Urgent
7) Window
Used for flow control.
8) Checksum
Ensures error detection.
9) Urgent
Points to urgent data, if any.

10.4 TCP CONNECTION-ORIENTED COMMUNICATION


Unlike connectionless protocols, TCP requires a pre-established connection before data
transmission. This connection ensures that both sender and receiver agree on:

• Initial sequence numbers


• Buffer sizes
• Communication readiness

The process of establishing this connection is achieved using the Three-Way Handshake
mechanism, which is fundamental to TCP reliability.

10.5 THREE-WAY HANDSHAKE MECHANISM


116 ADVANCED COMPUTER NETWORKING

The Three-Way Handshake is a method used by TCP to establish a connection between two
hosts. It ensures synchronization of sequence numbers and confirms that both ends are ready
to transmit data.

Steps Involved

Step 1: SYN

• The client sends a TCP segment with the SYN flag set
• Includes an initial sequence number (ISN)

Step 2: SYN-ACK

• The server responds with:


• SYN flag (its own ISN)
• ACK flag acknowledging the client’s sequence number
117 SHOOLINI UNIVERSITY

Step 3: ACK

• The client sends an ACK confirming the server’s sequence number


• Connection is now established

✔ This process guarantees:

• Bidirectional communication readiness


• Prevention of old duplicate connections
• Synchronization of sequence numbers

10.6 IMPORTANCE OF THREE-WAY HANDSHAKE


The Three-Way Handshake serves multiple purposes:

• Prevents half-open connections: The handshake ensures that both the client and server
explicitly acknowledge each other’s connection requests before data transfer begins. This
prevents situations where one host believes a connection is established while the other
does not, thereby avoiding half-open or incomplete connections that could lead to data loss
or resource wastage.

• Confirms network reachability: By exchanging SYN, SYN-ACK and ACK segments,


the Three-Way Handshake verifies that the communication path between the two hosts is
active and bidirectional. This confirmation ensures that both hosts can send and receive
data over the network before starting actual data transmission.

• Enables reliable session establishment: The handshake synchronizes initial sequence


numbers at both ends, which is essential for ordered and reliable data delivery. This
synchronization allows TCP to accurately track transmitted and received bytes, supporting
error detection, retransmission and proper data sequencing throughout the session.

• Allocates necessary resources at both ends: During the handshake process, both the
client and server allocate buffers, initialize control variables and reserve system resources
118 ADVANCED COMPUTER NETWORKING

required for the connection. This preparation ensures that once the connection is
established, data transfer can proceed smoothly and efficiently.

Without this mechanism, TCP would be vulnerable to miscommunication, data loss and
security risks.

10.7 TCP STATE TRANSITION DURING CONNECTION ESTABLISHMENT


During connection setup, TCP transitions through different states:

• CLOSED
The CLOSED state indicates that there is no active connection between the sender and
receiver. At this stage, no resources are allocated for communication. A client begins
the connection process from this state by initiating a connection request, while a server
moves out of this state when it starts listening for incoming connections.

• LISTEN
In the LISTEN state, the server is ready and waiting for incoming connection requests
from clients. The server has allocated minimal resources and is monitoring a specific
port for SYN segments. This state is essential for accepting new connections without
actively initiating them.

• SYN-SENT
The SYN-SENT state occurs on the client side after it sends a SYN segment to request
a connection. In this state, the client is waiting for a response from the server. If a SYN-
ACK is received, the connection process continues; if no response arrives within a
certain time, the client may retransmit the request or terminate the attempt.

• SYN-RECEIVED
The SYN-RECEIVED state is entered by the server after it receives a SYN segment
from the client and responds with a SYN-ACK. At this stage, the server has partially
established the connection and is waiting for the client’s final ACK to confirm
successful synchronization.
119 SHOOLINI UNIVERSITY

• ESTABLISHED
The ESTABLISHED state indicates that the connection has been successfully set up at
both ends. Sequence numbers are synchronized, resources are fully allocated and
reliable data transfer can begin. Most of the data exchange between applications occurs
while the connection remains in this state.

These states help TCP manage connection reliability and detect abnormal termination.

Figure: TCP State Transition Diagram Showing Connection Establishment and Connection
Termination
120 ADVANCED COMPUTER NETWORKING

10.8 ADVANTAGES OF TCP CONNECTION SETUP


• Ensures synchronized communication: During connection establishment, both the
sender and receiver exchange initial sequence numbers and acknowledge each other’s
readiness to communicate. This synchronization allows both ends to maintain a common
understanding of data flow, ensuring that transmitted data is received in the correct order
and without ambiguity.

• Prevents data corruption: TCP connection setup enables the use of sequence numbers,
acknowledgements and checksums throughout the communication session. These
mechanisms help detect lost, duplicated or corrupted segments and ensure that only error-
free data is delivered to the receiving application, maintaining data integrity

• Enables effective congestion and flow control: Once a connection is established, TCP
can dynamically regulate the rate of data transmission based on receiver buffer capacity
(flow control) and network conditions (congestion control). This prevents buffer overflow
at the receiver and avoids network congestion, leading to stable and efficient data transfer.

• Supports full-duplex transmission: TCP allows simultaneous data transfer in both


directions over a single connection. This bidirectional communication improves efficiency
and responsiveness, making TCP suitable for interactive applications such as web
browsing, remote login and file transfer.

10.9 SUMMARY
This chapter discussed the fundamental mechanisms of TCP that enable reliable transport layer
communication. It explained the role of TCP in providing connection-oriented services, its key
characteristics, segment structure and the importance of the Three-Way Handshake.

The connection establishment process, state transitions and advantages of TCP setup were also
elaborated. Together, these mechanisms ensure accurate, secure and efficient data transmission
across modern computer networks.
121 SHOOLINI UNIVERSITY

10.10 KEYWORDS
• Transport Layer
• TCP
• Connection-Oriented Protocol
• Sequence Number
• Three-Way Handshake

10.11 REVIEW QUESTIONS


• Explain the role of the Transport Layer in computer networks.
• What are the key characteristics of TCP?
• Describe the structure of a TCP segment.
• Explain the Three-Way Handshake mechanism with steps.
• Why is the Three-Way Handshake important for reliable communication?
• List and explain TCP states during connection establishment.
• State the advantages of TCP connection-oriented communication.

10.12 FURTHER READINGS


• Forouzan, B. A., Data Communications and Networking, McGraw-Hill.
• Tanenbaum, A. S., Computer Networks, Pearson Education.
• Kurose, J. F., and Ross, K. W., Computer Networking: A Top-Down Approach,
Pearson.
• RFC 793 – Transmission Control Protocol Specification.
122 ADVANCED COMPUTER NETWORKING

CHAPTER 11-APPLICATION LAYER PROTOCOLS

CONTENT:
 Objectives
11.1 Introduction
11.2 Domain Name System (DNS)
11.3 Hypertext Transfer Protocol (HTTP)
11.4 Hypertext Transfer Protocol Secure (HTTPS)
11.5 File Transfer Protocol (FTP)
11.6 Email Protocols
11.7 Comparison of Email Protocols
11.8 Activity
11.9 Summary
11.10 Keywords
11.11 Review Questions
11.12 Further Readings

OBJECTIVES:
• Understand Application Layer functions
• Learn the working of DNS
• Understand HTTP and HTTPS protocols
• Learn FTP and email protocols
• Identify real-world applications of protocols
123 SHOOLINI UNIVERSITY

11.1 INTRODUCTION
The Application Layer is the topmost layer in both the OSI and TCP/IP reference models and
is directly responsible for providing network services to end users and application programs.
Unlike lower layers, which focus on data transmission, routing and error control, the
Application Layer defines how applications interact with the network and how user requests
are translated into meaningful network communication. This layer does not represent a single
piece of software; instead, it consists of a collection of protocols that support services such as
web access, file transfer, electronic mail, remote login and name resolution. Application layer
protocols determine the format of messages, request-response mechanisms, authentication
procedures and error reporting methods used by networked applications. In modern Internet
communication, application layer protocols operate over reliable transport services (usually
TCP) and play a critical role in ensuring usability, security and efficiency. Without these
protocols, users would not be able to browse websites, send emails or download files in a
structured and standardized manner.

11.2 DOMAIN NAME SYSTEM (DNS)


124 ADVANCED COMPUTER NETWORKING

The Domain Name System (DNS) is a distributed and hierarchical naming system that
translates human-readable domain names into IP addresses required for communication
between networked devices. Since remembering numerical IP addresses is impractical for
users, DNS acts as the “phonebook of the Internet.”
125 SHOOLINI UNIVERSITY

Need for DNS

Computers communicate using IP addresses, whereas humans prefer meaningful names. DNS
bridges this gap by mapping domain names to IP addresses, enabling seamless Internet usage.

DNS Hierarchy

DNS follows a hierarchical structure:

• Root servers – Top-level authority

• Top-Level Domain (TLD) servers – .com, .org, .edu, .in

• Authoritative servers – Store actual domain-to-IP mappings

DNS Resolution Process

1. User enters a domain name in the browser

2. Query is sent to the local DNS resolver

3. Resolver contacts root server → TLD server → authoritative server

4. IP address is returned and cached

5. Browser establishes connection with destination server

Features of DNS

• Distributed architecture
126 ADVANCED COMPUTER NETWORKING

• Fault tolerance

• Faster access through caching

• Load balancing support

DNS is fundamental to Internet functionality and significantly improves usability and


efficiency.

11.3 HYPERTEXT TRANSFER PROTOCOL (HTTP)


127 SHOOLINI UNIVERSITY

HTTP is an application layer protocol used for transferring hypertext and multimedia content
over the World Wide Web. It follows a client–server architecture, where the browser acts as
a client and the web server responds to requests.

Working of HTTP

• Client sends an HTTP request

• Server processes the request

• Server sends an HTTP response

Each request is independent, making HTTP a stateless protocol.

HTTP Methods

• GET – Retrieve data

• POST – Submit data

• PUT – Update data

• DELETE – Remove data


128 ADVANCED COMPUTER NETWORKING

HTTP Status Codes

• 200 – OK

• 404 – Page not found

• 500 – Internal server error

Limitations of HTTP

• No encryption

• Vulnerable to attacks

• Not suitable for sensitive data

Despite limitations, HTTP remains efficient for general web content delivery.

11.4 HYPERTEXT TRANSFER PROTOCOL SECURE (HTTPS)


129 SHOOLINI UNIVERSITY
130 ADVANCED COMPUTER NETWORKING

HTTPS is the secure version of HTTP, designed to protect sensitive information exchanged
over the Internet. It uses SSL/TLS encryption to ensure secure communication.

Security Features

• Data encryption

• Authentication using digital certificates

• Data integrity protection

Working of HTTPS

1. Browser requests secure connection


131 SHOOLINI UNIVERSITY

2. Server sends digital certificate

3. SSL/TLS handshake establishes encryption

4. Secure data transfer begins

Advantages of HTTPS

• Protects user credentials

• Prevents eavesdropping

• Builds user trust

• Required for e-commerce and banking

HTTPS has become the standard protocol for modern websites.

11.5 FILE TRANSFER PROTOCOL (FTP)


132 ADVANCED COMPUTER NETWORKING

FTP is used for transferring files between computers over a network.


133 SHOOLINI UNIVERSITY

FTP Architecture

FTP uses two separate connections:

• Control connection (port 21)

• Data connection (port 20)

FTP Modes

• Active mode – Server initiates data connection

• Passive mode – Client initiates data connection

Applications of FTP

• Website file upload

• Data backup

• Software distribution

Limitations

• No encryption

• Security risks

11.6 EMAIL PROTOCOLS


134 ADVANCED COMPUTER NETWORKING

Email communication relies on multiple protocols working together.

Simple Mail Transfer Protocol (SMTP)

• Used for sending emails

• Push-based protocol

• Works on port 25 / 587

Post Office Protocol (POP3)

• Downloads emails to local device


135 SHOOLINI UNIVERSITY

• Server storage is temporary

• Suitable for single-device access

Internet Message Access Protocol (IMAP)

• Emails stored on server

• Supports multi-device synchronization

• Preferred in modern systems

11.7 COMPARISON OF EMAIL PROTOCOLS


Feature SMTP POP3 IMAP

Purpose Sending Receiving Receiving

Storage Server → Forward Local Server

Multi-device support No No Yes

Usage Outgoing mail Offline access Online access

11.8 ACTIVITY
Activity: Browser Developer Tools

Objective:
To understand real-time application layer communication.
136 ADVANCED COMPUTER NETWORKING

Steps:

1. Open a website

2. Press F12 → Network tab

3. Observe:

• HTTP/HTTPS requests

• Headers and methods

• Status codes

• Response times

Learning Outcome: Students gain practical insight into how application layer protocols
operate behind the scenes.

Case Study: Online Food Delivery Platform

An online food delivery platform uses:

• DNS to resolve domain names

• HTTPS to secure user login and payments

• HTTP methods for order processing

• SMTP for order confirmation emails

This demonstrates how multiple application layer protocols work together to deliver seamless
digital services.
137 SHOOLINI UNIVERSITY

11.9 SUMMARY
This chapter examined the role and functioning of major application layer protocols that enable
Internet communication. DNS facilitates name resolution, HTTP and HTTPS support web
communication, FTP enables file transfer and email protocols manage electronic messaging.
Together, these protocols form the backbone of modern Internet applications, ensuring
accessibility, reliability and security.

11.10 KEYWORDS
• Application Layer
• DNS
• HTTP
• HTTPS
• FTP
• SMTP
• POP3
• IMAP
• Web Communication
• Internet Protocols

11.11 REVIEW QUESTIONS


• Explain the functions of the Application Layer.
• Describe the DNS resolution process.
• Differentiate between HTTP and HTTPS.
• Explain FTP and its modes.
• Compare SMTP, POP3 and IMAP.
• Why is HTTPS essential for modern web applications?

11.12 FURTHER READINGS


• Forouzan – Data Communications and Networking
• Kurose & Ross – Computer Networking: A Top-Down Approach
• RFC 1035 – DNS, RFC 2616 – HTTP
138 ADVANCED COMPUTER NETWORKING

CHAPTER 12- WIRELESS AND MOBILE


NETWORKS

CONTENT:
 Objectives
12.1 Introduction
12.2 Wireless Local Area Networks (WLAN – IEEE 802.11)
12.3 Mobile IP
12.4 Cellular Networks Overview
12.5 Challenges in Wireless and Mobile Networks
12.6 Summary
12.7 Keywords
12.8 Review Questions
12.9 Further Readings

OBJECTIVES:
• Understand wireless and mobile network concepts
• Learn WLAN architecture and standards
• Understand Mobile IP working
• Learn basics of cellular networks
• Identify challenges in wireless networks
139 SHOOLINI UNIVERSITY

12.1 INTRODUCTION
Wireless and mobile networks play a vital role in modern communication systems by enabling
data transmission without the use of physical cables. Unlike wired networks, wireless networks
rely on electromagnetic waves such as radio waves, microwaves and infrared signals to
transmit information. This allows users to access network services with greater flexibility and
mobility. Mobile networks further enhance wireless communication by supporting user
movement across different geographical locations while maintaining continuous connectivity.
The rapid growth of smartphones, laptops, tablets and Internet of Things (IoT) devices has
significantly increased the demand for reliable wireless and mobile communication.
Applications such as mobile internet access, video streaming, online education, telemedicine
and cloud services depend heavily on wireless and mobile networks. Despite their advantages,
wireless and mobile networks face several challenges, including limited bandwidth, signal
interference, mobility management issues and security vulnerabilities. Understanding the
architecture, working and limitations of these networks is essential for designing efficient and
secure communication systems.

12.2 WIRELESS LOCAL AREA NETWORKS (WLAN – IEEE 802.11)


A Wireless Local Area Network (WLAN) provides network connectivity within a limited area
such as homes, offices, campuses and public hotspots. WLANs are standardized by the IEEE
802.11 family of standards and are commonly referred to as Wi-Fi networks. The primary
objective of WLANs is to offer mobility, flexibility and ease of installation while providing
high-speed data communication.

12.2.1 IEEE 802.11 Architecture

The architecture of a WLAN consists of the following components:

• Station (STA): A station refers to any wireless device such as a laptop, smartphone or
tablet that is equipped with a wireless network interface.
• Access Point (AP): An access point acts as a central device that connects wireless
stations to the wired network and controls communication within its coverage area.
• Basic Service Set (BSS): A BSS is a group of stations that communicate with each
other through a single access point.
140 ADVANCED COMPUTER NETWORKING

• Extended Service Set (ESS): An ESS consists of multiple BSSs interconnected


through a distribution system, allowing wider network coverage.
• Distribution System (DS): The distribution system connects access points and enables
communication between different BSSs.

Figure: WLAN (IEEE 802.11) Architecture

12.2.2 Modes of WLAN Operation

WLANs operate in two primary modes:

• Infrastructure Mode: In this mode, all communication takes place through an access
point. It is the most commonly used mode in organizations and public networks.
• Ad-hoc Mode: In ad-hoc mode, wireless devices communicate directly with each other
without the use of an access point. This mode is suitable for temporary or small
networks.

12.2.3 IEEE 802.11 Standards

Different versions of the IEEE 802.11 standard provide varying data rates and operate on
different frequency bands:
141 SHOOLINI UNIVERSITY

• 802.11b-Operates at 2.4 GHz with a maximum data rate of 11 Mbps


• 802.11g-Operates at 2.4 GHz with a data rate of 54 Mbps
• 802.11n-Operates at 2.4/5 GHz with higher throughput
• 802.11ac-Operates at 5 GHz with gigabit data rates
• 802.11ax-Provides improved efficiency in dense networks

12.2.4 Medium Access Control in WLAN (CSMA/CA)

Wireless networks use Carrier Sense Multiple Access with Collision Avoidance
(CSMA/CA) to regulate access to the shared wireless medium. Since collision detection is
difficult in wireless environments, CSMA/CA attempts to avoid collisions before data
transmission.

The steps involved include:

• Channel sensing
• Waiting for an interframe space
• Random backoff
• Frame transmission
• Acknowledgement reception

Figure: CSMA/CA Mechanism in WLAN


142 ADVANCED COMPUTER NETWORKING

12.2.5 WLAN Security

Security is a major concern in WLANs due to the open nature of wireless communication.
Common security mechanisms include:

• Wired Equivalent Privacy (WEP)


• Wi-Fi Protected Access (WPA, WPA2, WPA3)
• Authentication and encryption techniques

Improper security configuration can expose WLANs to unauthorized access and data
interception.

12.3 MOBILE IP
12.3.1 Need for Mobile IP

In traditional IP networks, an IP address is associated with a fixed network location. When a


device moves to a different network, its IP address changes, which can disrupt ongoing
communication sessions. Mobile IP was introduced to overcome this limitation by allowing a
mobile device to retain the same IP address while moving across networks.

12.3.2 Components of Mobile IP

The main components of Mobile IP are:

• Mobile Node (MN) – A device that moves from one network to another
• Home Agent (HA) – Maintains information about the mobile node’s location
• Foreign Agent (FA) – Provides services to the mobile node in the visited network
• Care-of Address (CoA) – Temporary address assigned to the mobile node

12.3.3 Working of Mobile IP

The operation of Mobile IP involves the following steps:

• The mobile node enters a foreign network


143 SHOOLINI UNIVERSITY

• A care-of address is assigned by the foreign agent


• The home agent tunnels packets to the care-of address
• The foreign agent forwards packets to the mobile node

Figure: Mobile IP Architecture

This mechanism ensures uninterrupted communication even while the device is moving.

12.3.4 Advantages and Limitations of Mobile IP

Advantages of Mobile IP

• Continuous Connectivity: Mobile IP allows a mobile node to maintain uninterrupted


communication while moving across different networks. Even when the device changes
its point of attachment, ongoing sessions such as voice calls, video streaming, or data
transfers continue without disruption. This feature is essential for real-time and
interactive applications.
• Location Transparency: With Mobile IP, applications are not required to be aware of
the mobile node’s current location. The mobile node continues to use its permanent
home IP address, and the responsibility of tracking movement is handled by the network
144 ADVANCED COMPUTER NETWORKING

through home and foreign agents. This transparency simplifies application design and
operation.
• Session Persistence: Mobile IP ensures that active transport-layer and application-
layer sessions are preserved during movement. Since the IP address remains unchanged,
connections established using protocols such as TCP do not need to be re-established
when the mobile node changes networks.
• Compatibility with Existing Internet Infrastructure: Mobile IP is designed to work
with the existing IP architecture and does not require major changes to routers or end
systems. This backward compatibility allows Mobile IP to be deployed incrementally
without disrupting current network operations.
• Support for User Mobility: Mobile IP enables true mobility by allowing users to move
freely across different networks while remaining connected. This is particularly useful
for mobile professionals, wireless devices and applications that require constant
network access.

Limitations of Mobile IP

• Triangle Routing Problem: In Mobile IP, data packets from the correspondent node
are first sent to the home agent and then tunneled to the mobile node’s care-of address.
This indirect routing, known as triangle routing, increases path length and results in
higher delay and inefficient use of network resources.
• Increased Latency: The tunneling mechanism used in Mobile IP adds extra processing
and transmission overhead. Encapsulation and decapsulation of packets at the home
and foreign agents introduce delays, which can degrade performance for delay-sensitive
applications such as voice and video communication.
• Security Vulnerabilities: Mobile IP introduces additional security concerns, such as
unauthorized registration, spoofing of care-of addresses, and interception of tunneled
packets. Protecting registration messages and tunneled data requires strong
authentication and encryption mechanisms, increasing system complexity.
• Scalability Issues: As the number of mobile nodes increases, the home agent may
become a bottleneck due to the need to maintain location information and handle
tunneling for many devices. This can limit the scalability of Mobile IP in large-scale
networks.
145 SHOOLINI UNIVERSITY

• Dependence on Foreign Agents: In some implementations, Mobile IP relies on foreign


agents in visited networks. If a foreign agent is unavailable or improperly configured,
mobility support may be limited, reducing the effectiveness of Mobile IP.

12.4 CELLULAR NETWORKS OVERVIEW


Cellular networks are designed to support mobile communication over large geographical
areas. The entire coverage area is divided into smaller regions called cells, each served by a
base station. This architecture enables efficient frequency reuse and supports a large number
of users simultaneously.

12.4.1 Components of Cellular Networks

• Mobile Station (MS)


• Base Station (BS)
• Base Station Controller (BSC)
• Mobile Switching Center (MSC)

Figure: Cellular Network Architecture


146 ADVANCED COMPUTER NETWORKING

12.4.2 Evolution of Cellular Networks

• 1G-Analog voice communication


• 2G-Digital voice and SMS
• 3G-Multimedia and mobile data
• 4G-High-speed internet and LTE
• 5G-Ultra-low latency and IoT support

12.4.3 Handoff in Cellular Networks

Handoff is the process of transferring an active call or data session from one cell to another as
the user moves. Efficient handoff mechanisms are essential to maintain service continuity and
quality.

12.5 CHALLENGES IN WIRELESS AND MOBILE NETWORKS


Wireless and mobile networks face several challenges due to their dynamic and shared nature.

• Limited Bandwidth: Wireless spectrum is limited and shared among users, leading to
congestion and reduced performance.
• Signal Interference and Noise: Wireless signals are affected by interference, fading
and environmental obstacles.
• Mobility Management: Maintaining seamless connectivity during movement requires
efficient handoff and location management.
• Security Challenges: Wireless networks are vulnerable to eavesdropping, spoofing and
unauthorized access.
• Power Consumption Constraints: Mobile devices rely on batteries, and continuous
communication increases power usage.
• Quality of Service (QoS) Issues: Providing consistent QoS is difficult due to variable
network conditions.
• Scalability: Managing a large number of mobile users increases network complexity.
147 SHOOLINI UNIVERSITY

Figure: Challenges in Wireless and Mobile Networks

12.6 SUMMARY
This chapter discussed the fundamentals of wireless and mobile networks. It explained WLAN
architecture and operation, Mobile IP and its working, and the basic structure of cellular
networks. The chapter also highlighted the major challenges faced by wireless and mobile
communication systems. Understanding these concepts is essential for designing efficient,
secure and scalable wireless networks.
148 ADVANCED COMPUTER NETWORKING

12.7 KEYWORDS
• Wireless Networks
• IEEE 802.11
• Mobile IP
• Cellular Networks
• Handoff

12.8 REVIEW QUESTIONS


• Explain the concept of wireless and mobile networks.
• Describe the architecture of IEEE 802.11 WLAN.
• Explain the working of Mobile IP.
• Discuss the evolution of cellular networks.
• Elaborate on the challenges faced by wireless and mobile networks.

12.9 FURTHER READINGS


• Forouzan, B. A., Data Communications and Networking, McGraw-Hill.
• Tanenbaum, A. S., Computer Networks, Pearson Education.
• Kurose, J. F. and Ross, K. W., Computer Networking: A Top-Down Approach,
Pearson.
149 SHOOLINI UNIVERSITY

CHAPTER 13- NETWORK SECURITY

CONTENT:
 Objectives
13.1 Introduction
13.2 CIA Triad
13.3 Firewalls
13.4 Intrusion Detection System (IDS)
13.5 Encryption
13.6 SSL/TLS
13.7 Security Scenario Analysis
13.8 Summary
13.9 Keywords
13.10 Review Questions
13.11 Further Readings

OBJECTIVES:
• Understand basics of network security
• Learn CIA triad principles
• Identify types of firewalls
• Understand IDS and its working
• Learn encryption and SSL/TLS concepts
150 ADVANCED COMPUTER NETWORKING

13.1 INTRODUCTION
Network Security refers to the protection of computer networks and the data transmitted over
them from unauthorized access, misuse, modification, and disruption. In modern digital
environments, networks form the backbone of communication systems, supporting services
such as web applications, cloud computing, online banking, e-commerce, and institutional
databases. As dependence on networked systems increases, so does exposure to security threats
including malware, hacking, phishing, denial-of-service attacks, and data breaches. Network
security employs a combination of hardware devices, software mechanisms, cryptographic
techniques, and security policies to safeguard network infrastructure and information. Its
objective is not only to prevent unauthorized access but also to ensure reliable data
transmission, continuous service availability, and protection of sensitive information. Effective
network security mechanisms operate in a layered manner, providing preventive, detective, and
corrective controls to counter evolving cyber threats.

13.2 CIA TRIAD


The CIA Triad is the fundamental security model that defines the core objectives of network
and information security. It consists of Confidentiality, Integrity and Availability, which
together ensure comprehensive protection of network resources and data.

13.2.1 Confidentiality

Confidentiality ensures that information is accessible only to authorized users and systems. In
network environments, confidentiality is achieved through authentication mechanisms, access
control policies, encryption techniques, and secure communication protocols. By restricting
data access, confidentiality prevents unauthorized disclosure of sensitive information such as
passwords, personal records, financial data, and institutional databases. Failure to maintain
confidentiality can result in data leakage, identity theft, and violation of privacy, making it a
critical component of network security.

13.2.2 Integrity

Integrity refers to the assurance that data remains accurate, consistent, and unaltered during
transmission or storage. Network security mechanisms such as cryptographic hash functions,
151 SHOOLINI UNIVERSITY

message authentication codes, and digital signatures are used to verify that data has not been
tampered with. Integrity protection is essential to prevent unauthorized modification,
accidental corruption, or malicious alteration of data, which could otherwise lead to incorrect
decision-making and system malfunction.

13.2.3 Availability

Availability ensures that network services, systems, and data are accessible to authorized users
whenever required. It is maintained through redundancy, fault tolerance, regular maintenance,
and protection against attacks such as denial-of-service (DoS) and distributed denial-of-service
(DDoS). A lack of availability can disrupt organizational operations, reduce productivity, and
affect service continuity. Hence, availability is equally important as confidentiality and
integrity.

13.3 FIREWALLS
152 ADVANCED COMPUTER NETWORKING
153 SHOOLINI UNIVERSITY

A Firewall is a network security device or software that monitors and controls incoming and
outgoing network traffic based on predefined security rules. It acts as a barrier between a trusted
internal network and an untrusted external network such as the internet.

Firewalls analyze data packets and decide whether to allow or block them based on parameters
such as IP address, port number, protocol type, and session state.

13.3.1 Types of Firewalls

• Packet Filtering Firewall: Packet filtering firewalls examine individual packets and
allow or deny them based on source address, destination address, port number, and
protocol. They are fast and efficient but provide limited security as they do not inspect
packet content.
• Stateful Inspection Firewall: Stateful firewalls monitor the state of active connections
and make decisions based on session information. By tracking connection states, they
offer improved security compared to packet filtering firewalls.
• Proxy Firewall: Proxy firewalls operate at the application layer and act as
intermediaries between users and external servers. They inspect application-level data
and provide higher security, though they may introduce latency.
• Next-Generation Firewall (NGFW): NGFWs integrate traditional firewall functions
with intrusion detection, intrusion prevention, and deep packet inspection, offering
enhanced protection against modern threats.

13.3.2 Importance of Firewalls

Firewalls prevent unauthorized access, enforce security policies, reduce exposure to external
threats, and serve as the first line of defense in network security architecture.

13.4 INTRUSION DETECTION SYSTEM (IDS)


An Intrusion Detection System (IDS) is a security mechanism designed to monitor network
traffic or system activities for malicious behavior, policy violations, or suspicious patterns. IDS
complements firewalls by detecting attacks that bypass preventive controls.
154 ADVANCED COMPUTER NETWORKING
155 SHOOLINI UNIVERSITY

13.4.1 Types of IDS

• Network-Based IDS (NIDS): NIDS monitors traffic flowing across the network and
detects suspicious activities such as port scanning, flooding attacks and malware
propagation.
• Host-Based IDS (HIDS): HIDS is installed on individual systems and monitors log
files, file integrity, system calls and user activities.

13.4.2 Detection Techniques

• Signature-Based Detection: Identifies known attack patterns stored in a database


• Anomaly-Based Detection: Detects deviations from normal network behaviour

IDS provides real-time alerts, enabling administrators to respond quickly to potential threats.
156 ADVANCED COMPUTER NETWORKING

13.5 ENCRYPTION
157 SHOOLINI UNIVERSITY

Encryption is the process of converting readable data (plaintext) into an unreadable form
(ciphertext) to protect information from unauthorized access.

13.5.1 Symmetric Encryption

Symmetric encryption uses a single shared secret key for both encryption and decryption. It is
computationally efficient and suitable for encrypting large volumes of data. Common
symmetric algorithms include AES and DES. However, secure key distribution is a major
limitation.

13.5.2 Asymmetric Encryption

Asymmetric encryption uses a pair of keys: a public key for encryption and a private key for
decryption. It supports secure key exchange and digital signatures. Algorithms such as RSA
and ECC are widely used, though they are slower than symmetric methods.

13.5.3 Hybrid Encryption

Modern communication systems use hybrid encryption, combining asymmetric encryption for
secure key exchange and symmetric encryption for fast data transmission.
158 ADVANCED COMPUTER NETWORKING

13.6 SSL/TLS
159 SHOOLINI UNIVERSITY

Secure Sockets Layer (SSL) and Transport Layer Security (TLS) are cryptographic
protocols designed to secure communication over computer networks.

13.6.1 Working of SSL/TLS

SSL/TLS involves:

• Authentication of server and client


• Secure exchange of cryptographic keys
• Encrypted data transmission

This process ensures confidentiality and integrity of transmitted data.

13.6.2 Importance of SSL/TLS

SSL/TLS is widely used in HTTPS, online banking, email communication, and virtual private
networks to protect sensitive information from interception and tampering.

13.7 SECURITY SCENARIO ANALYSIS


Scenario: Network Security Breach in an Educational Institution

An educational institution experiences unauthorized access to its internal database due to weak
firewall rules and absence of intrusion detection systems.

Problems Identified:

• No real-time traffic monitoring


• Unencrypted internal data transmission
• Weak access control policies

Security Measures Implemented


160 ADVANCED COMPUTER NETWORKING

• Deployment of stateful firewall


• Installation of network-based IDS
• Enforcement of TLS-based encrypted communication

Result
The application of layered network security significantly reduced vulnerabilities and improved
overall protection.

13.8 SUMMARY
This chapter presented a detailed discussion of network security concepts, beginning with the
CIA triad as the foundation of security principles. It explained the role of firewalls and intrusion
detection systems in protecting networks, followed by encryption techniques and SSL/TLS
protocols for secure communication. The chapter also demonstrated practical application
through a security scenario analysis. Together, these mechanisms ensure secure, reliable, and
resilient network operations.

13.9 KEYWORDS
• CIA Triad
• Firewall
• Intrusion Detection System
• Encryption
• SSL/TLS

13.10 REVIEW QUESTIONS


• Define network security and explain its objectives.
• Explain the CIA triad in detail.
• Describe different types of firewalls with their functions.
• What is an Intrusion Detection System? Explain its types.
• Differentiate between symmetric and asymmetric encryption.
• Explain the working of SSL/TLS.
• Discuss network security using a suitable real-life scenario.
161 SHOOLINI UNIVERSITY

13.11 FURTHER READINGS


• Forouzan, B. A., Data Communications and Networking, McGraw-Hill Education.
• Tanenbaum, A. S. and Wetherall, D. J., Computer Networks, Pearson Education.
• Kurose, J. F. and Ross, K. W., Computer Networking: A Top-Down Approach,
Pearson.
• Stallings, W., Network Security Essentials: Applications and Standards, Pearson
Education.
• RFC 5246 – The Transport Layer Security (TLS) Protocol.
• RFC 4301 – Security Architecture for the Internet Protocol (IPsec).
162 ADVANCED COMPUTER NETWORKING

CHAPTER 14- EMERGING NETWORKING


TECHNOLOGIES

CONTENT:
 Objectives
14.1 Introduction
14.2 Internet of Things (IoT) Networking
14.3 Software-Defined Networking (SDN)
14.4 Cloud Networking
14.5 Future Trends in Networking
14.6 Summary
14.7 Keywords
14.8 Review Questions
14.9 Further Readings

OBJECTIVES:
• Understand emerging networking technologies
• Learn basics of IoT networking
• Understand SDN architecture and benefits
• Learn cloud networking concepts
• Identify future trends in networking
163 SHOOLINI UNIVERSITY

14.1 INTRODUCTION
The continuous advancement of digital technologies has led to an unprecedented growth in
network usage, data generation, and interconnected devices. Traditional networking
approaches, which rely heavily on static configurations and hardware-based control
mechanisms, are increasingly inadequate in handling modern requirements such as real-time
communication, massive scalability, dynamic traffic management, and intelligent automation.
To overcome these limitations, emerging networking technologies have been developed,
focusing on flexibility, programmability, efficiency, and intelligent decision-making.
Emerging networking technologies redefine how networks are designed, deployed and
managed.

They integrate software-driven control, virtualization, cloud infrastructure and intelligent data
processing to support applications such as smart cities, autonomous systems, industrial
automation, healthcare monitoring, and global cloud services. These technologies enable
networks to adapt dynamically to changing conditions, support heterogeneous devices, and
provide high performance with optimized resource utilization. Among the most significant
emerging networking technologies are Internet of Things (IoT) networking, Software-Defined
Networking (SDN) and cloud networking. In addition, future trends such as artificial
intelligence-based networking, edge computing and next-generation wireless technologies
continue to shape the evolution of modern communication systems.

14.2 INTERNET OF THINGS (IOT) NETWORKING


The Internet of Things (IoT) represents a paradigm in which everyday physical objects are
embedded with sensors, actuators, and communication capabilities, enabling them to collect,
exchange, and process data over a network. IoT networking provides the communication
framework that connects these devices to gateways, cloud platforms, and applications, enabling
automated data-driven decision-making. Unlike traditional networks that primarily connect
computers and servers, IoT networks support a vast number of resource-constrained devices
that generate small amounts of data but require continuous connectivity. These devices often
operate in diverse environments and use different communication technologies, making IoT
networking highly heterogeneous in nature.
164 ADVANCED COMPUTER NETWORKING
165 SHOOLINI UNIVERSITY

14.2.1 Characteristics of IoT Networking

IoT networking exhibits several distinct characteristics that differentiate it from conventional
networking systems:

• Massive scalability: IoT networks are designed to support thousands or even millions
of connected devices, requiring scalable addressing and routing mechanisms.

• Low power operation: Most IoT devices are battery-powered and must operate for
extended periods with minimal energy consumption.

• Heterogeneous communication: IoT networks integrate various communication


technologies such as wireless sensor networks, cellular networks and short-range
protocols.

• Real-time data transmission: Many IoT applications require timely data delivery for
monitoring and control purposes.

These characteristics demand specialized networking architectures and protocols optimized for
efficiency and reliability.

14.2.2 IoT Networking Architecture

IoT networking commonly follows a layered architecture that organizes communication and
processing functions:

• Device Layer: This layer consists of sensors and actuators responsible for data
generation and physical interaction with the environment.

• Gateway Layer: Gateways aggregate data from multiple devices, perform protocol
translation, and provide connectivity to external networks.
166 ADVANCED COMPUTER NETWORKING

• Network Layer: This layer handles data transmission using wired or wireless
networks, ensuring reliable and secure communication.

• Application Layer: The application layer processes data, performs analytics, and
provides services to end users.

This layered approach improves scalability, interoperability and manageability of IoT


networks.

14.2.3 Applications and Importance of IoT Networking

IoT networking plays a crucial role in enabling smart systems across various domains. In
healthcare, IoT networks support remote patient monitoring and wearable devices. In
agriculture, they enable precision farming through real-time environmental monitoring.
Industrial IoT networks enhance automation, predictive maintenance, and operational
efficiency. Without reliable networking infrastructure, the full potential of IoT applications
cannot be realized.

14.3 SOFTWARE-DEFINED NETWORKING (SDN)


167 SHOOLINI UNIVERSITY

Software-Defined Networking (SDN) is an innovative networking approach that introduces


programmability and centralized control into network management. Traditional networks
embed control logic within individual networking devices, making configuration complex and
inflexible. SDN overcomes this limitation by separating the control plane from the data plane.
168 ADVANCED COMPUTER NETWORKING

In SDN, the control plane is managed by a centralized controller that maintains a global view
of the network and determines how traffic should be handled. The data plane consists of
forwarding devices such as switches and routers that simply execute the instructions provided
by the controller.

14.3.1 SDN Architecture

SDN architecture is structured into three logical layers:

• Application Layer: Contains network applications that define desired network


behaviour, such as load balancing, security policies and traffic optimization.

• Control Layer: Hosts the SDN controller, which acts as the central intelligence of the
network.

• Infrastructure Layer: Comprises physical or virtual switches and routers responsible


for packet forwarding.

Communication between these layers is achieved through standardized interfaces, enabling


dynamic and automated network control.

14.3.2 Advantages of SDN

SDN offers several advantages over traditional networking:

• Simplified network management through centralized control

• Dynamic traffic engineering and efficient resource utilization

• Faster deployment of new services and applications

• Improved scalability and flexibility


169 SHOOLINI UNIVERSITY

These benefits make SDN particularly suitable for large-scale data centers and cloud
environments.

14.3.3 Challenges of SDN

Despite its advantages, SDN also introduces challenges such as controller security, scalability
of centralized control, and dependency on software reliability. Addressing these challenges is
essential for secure and stable SDN deployment.

14.4 CLOUD NETWORKING


170 ADVANCED COMPUTER NETWORKING
171 SHOOLINI UNIVERSITY

Cloud networking refers to the delivery of networking services through cloud-based


infrastructure rather than physical hardware. It enables organizations to create, configure, and
manage networks using software-defined resources hosted in cloud environments.

Cloud networking abstracts physical infrastructure and allows users to deploy virtual networks
on demand. These networks can be scaled, modified, and secured dynamically based on
application requirements.

14.4.1 Cloud Networking Architecture

Cloud networking architecture typically includes virtual networks, cloud routers, virtual
switches, load balancers and security services such as firewalls. These components work
together to provide reliable and high-performance connectivity between cloud resources and
end users.

14.4.2 Types of Cloud Networking

• Public Cloud Networking: Shared infrastructure offered by cloud service providers.

• Private Cloud Networking: Dedicated cloud infrastructure for a single organization.

• Hybrid Cloud Networking: Integration of public and private cloud networks.

Each model offers different levels of control, scalability, and security.

14.4.3 Benefits of Cloud Networking

Cloud networking offers cost efficiency, scalability, high availability and simplified
management.

It supports rapid application deployment and global connectivity, making it essential for
modern digital services.
172 ADVANCED COMPUTER NETWORKING

14.5 FUTURE TRENDS IN NETWORKING


173 SHOOLINI UNIVERSITY

Future networking technologies focus on intelligent automation, ultra-low latency


communication and decentralized data processing.

14.5.1 Artificial Intelligence in Networking

AI-driven networks use machine learning algorithms to analyze traffic patterns, predict
failures, and automate network management. These networks are capable of self-optimization
and self-healing, reducing manual intervention.
174 ADVANCED COMPUTER NETWORKING

14.5.2 5G and Next-Generation Networks

5G technology offers high data rates, ultra-low latency, and massive device connectivity. It
enables advanced applications such as autonomous vehicles, remote surgery and immersive
virtual environments.

14.5.3 Edge Computing

Edge computing brings computation closer to data sources, reducing latency and bandwidth
usage. It complements IoT and cloud networking by enabling real-time data processing at the
network edge.

14.6 SUMMARY
This chapter provided an in-depth theoretical discussion on emerging networking technologies,
including IoT networking, Software-Defined Networking, and cloud networking. It explained
their architectures, working principles, advantages, and applications. The chapter also
examined future networking trends such as AI-driven networks, 5G and edge computing,
highlighting their role in shaping next-generation communication systems.

14.7 KEYWORDS
• Emerging Networking Technologies
• Internet of Things
• Software-Defined Networking
• Cloud Networking
• Edge Computing
• 5G

14.8 REVIEW QUESTIONS


• Explain the concept and architecture of IoT networking.
• Describe the working principle and advantages of Software-Defined Networking.
• Discuss cloud networking and its types.
175 SHOOLINI UNIVERSITY

• Explain the role of emerging networking technologies in modern communication


systems.
• Discuss future trends in networking technologies.

14.9 FURTHER READINGS


• Forouzan, B. A., Data Communications and Networking, McGraw-Hill Education.
• Tanenbaum, A. S. and Wetherall, D. J., Computer Networks, Pearson Education.
• Kurose, J. F. and Ross, K. W., Computer Networking: A Top-Down Approach,
Pearson.
• Stallings, W., Foundations of Modern Networking: SDN, NFV, QoS, IoT, and Cloud,
Pearson Education.
• Cisco Press, Software Defined Networking (SDN): Anatomy of OpenFlow, Cisco
Systems.
• IEEE Communications Society, Internet of Things and Cloud Computing Standards
and Applications.
• RFC 7426 – Software-Defined Networking (SDN): Layers and Architecture
Terminology.
• ITU-T Recommendations, IMT-2020 (5G) Network Architecture and Requirements.

You might also like