📘 PAPER 6 – DATA COMMUNICATION & NETWORKS (UNIT 3 – NETWORK LAYER) university of allahabad

 

🔴 UNIT 3 – NETWORK LAYER


1️⃣ Network Layer – Introduction

✅ Definition

The Network Layer is responsible for:

👉 It ensures data reaches the correct destination network.


2️⃣ Functions of Network Layer

✔ Logical addressing
✔ Routing
Packet forwarding
✔ Congestion control
Internetworking


3️⃣ Network Layer Services

🔹 Connection-Oriented Service


🔹 Connectionless Service

  • No prior connection

  • Fast but unreliable

  • Example: Internet (IP)


4️⃣ Routing

✅ Definition

Routing is the process of selecting the best path to transfer data from source to destination.


5️⃣ Types of Routing


🔹 1. Static Routing


🔹 2. Dynamic Routing


6️⃣ Routing Algorithms


🔹 1. Distance Vector Routing

Features:

Example:

RIP (Routing Information Protocol)


Problems:

Count to infinity
❌ Slow convergence


🔹 2. Link State Routing

Features:

Example:

OSPF (Open Shortest Path First)


Advantages:

✔ Fast
✔ Accurate


7️⃣ Congestion Control

✅ Definition

Congestion occurs when:

Network traffic exceeds capacity.


Causes:

  • Too many packets

  • Limited bandwidth

  • Slow routers


Congestion Control Techniques:


🔹 Open Loop

  • Prevent congestion

  • No feedback

Examples:
Traffic shaping
Admission control


🔹 Closed Loop

  • Detect & correct congestion

  • Uses feedback

Examples:
Backpressure
Choke packet


8️⃣ Internetworking

Definition:

Connecting multiple networks together to form the Internet.


Devices Used:

  • Router

  • Gateway

  • Bridge


9️⃣ Internet Protocol (IP)

✅ IP

Responsible for:


🔹 IPv4 Address


IPv4 Classes

ClassRange
A1–126
B128–191
C192–223
DMulticast
EExperimental

🔹 IPv6

Features:

128-bit address
✔ Larger address space
✔ Better security
✔ No NAT needed


Example:

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

🔟 Difference Between IPv4 and IPv6

IPv4IPv6
32-bit128-bit
Limited addressesLarge address space
NAT requiredNo NAT
Less secureMore secure

📌 EXAM IMPORTANT QUESTIONS (UNIT 3)

✔ Explain Network Layer
✔ Routing algorithms
✔ Difference between distance vector & link state
✔ Congestion control
✔ IPv4 vs IPv6
✔ IP addressing

Comments

Popular Posts