Computer Networking - Notes
Computer Networking - Notes
The first computer network is ARPHANET (advance research project agency network).
“a group of computer or devices are connected to each other for the purpose of sharing
the resources is called computer network”
- Example: A home Wi-Fi network connects your laptop, phone, and smart TV to share
internet access
- Key Purpose: Facilitate data transfer, communication, and resource sharing efficiently
and securely
Characteristics of computer networks;
1. Resource sharing
2. Communication speed
3. Backup
4. Scalability (more devices can connect in an network)
5. Reliability
6. Software and hardware sharing
7. Security
Advantages:
Open to everyone
File sharing
Security
Easy to add new devices
Backup and Storage
Disadvantages:
Network devices required
Virus attack
Required handler
High speed internet
Server
Network devices:
These devices use to build the network.
1. HUB
2. Switch
3. Router
4. Modem
5. Gateway
6. Bridge
7. Repeater etc.
Types of network:
1. PAN(personal area network)
PAN Range is 10m
Use in home(for the personal use)
2. LAN (local area network)
LAN Range is 150m
Use in particular office (building)
3. MAN (metropolitan area network)
Connection of LAN network is MAN
MAN Range id 50 km
Use with in city
4. WAN(wide area network)
Combination of LAN and WAN
WAN Range is not fixed.
Use for the countries (to connect the countries with a network)
LAN MAN WAN
local area network Metropolitan area network Wide area network
Use for the building ,home It is use for the cities It is use for the countries
or offices
Transmission speed of data Transmission speed of data Transmission speed of data
is high is average is low
Range 0 to 150m Range is 5 to 50 km Range is not fixed
LAN network ownership is MAN ownership may be WAN ownership also
private private or public private or public
Easy to maintain Difficult to maintain then It is also difficult to
LAN maintain then MAN as well
as LAN
Error rate and step up rate Error rate and step up rate Error rate and step up rate
is low is average is high
(all around the word.)
Protocol Architecture
A protocol is a set of rules that governs how data is transmitted and received over a
network Protocol architecture organizes these rules into structured layers to
standardize communication and ensure interoperability between devices
- Mnemonic: Please Do Not Touch Steve’s Pet Alligator (Physical, Data Link, Network,
Transport, Session, Presentation, Application)
- Key Idea: Each layer interacts with the layer above and below it For example, the
Network layer relies on the Data Link layer to deliver packets and provides services to
the Transport layer
4 Transport layer: Reliable data transfer, error correction, flow control TCP, UDP.
The data come form the session layer it divide the data into segments (the
segmentation process).
TCP : use this protocol if the data send with the establishing the connection
UDP: use this protocol If the data send without establishing the connection send data
(fast transmission of data).
5 Network layer: Logical addressing, routing, path determination IP, ICMP, RIP, OSPF .
The data come from transport layer to network layer the network make packets of data
and transfer it .
it will store the sender and receiver IP Address.
It also decided the path the data transfer for the fast transmission.
6 Data Link layer: Error-free transfer of frames, MAC addressing, flow control
Ethernet, Wi-Fi, PPP .
The packet form network layer covert into the farms in the data link layer. OR the
data link layer coverts the packets data into farms.
Its responsibilities are:
1. It checks the data is error free or not.
2. Transfer the error free data ,if there is an error remove it and cleans the
data
3. Control the data flow in sender and receiver side (maintain the data
speed).
7 Physical layer: Transmission of raw bits over physical medium (cables, signals,
connectors) Cables, hubs, RJ45, fiber optics.
The data link layer send data to physical layer and the physical layer coverts the data
into the form of the bits (0,1) {digital or binary data}.
There are many network transfer data, it also decide the data send through wires or
wireless.
The sender physical layer and the receiver physical layer and the same process done
inversely.
The TCP/IP model is a set of rules used for sending data over the internet. It has 4
layers, and each layer has a specific job to help data move from one device to another.
[Link] Layer
This layer allows users and applications to access network services, such as browsing
websites or sending emails.
What it does: Helps programs like web browsers or email apps talk to the
network.
Examples:
o HTTP – used for websites
o SMTP – used for sending emails
o FTP – used for file transfers
Think of it as: The layer where users interact with internet services.
2. Transport Layer
This layer ensures reliable communication between devices. It checks for errors
and manages data flow.
What it does: Makes sure data gets delivered correctly and in order.
Examples:
o TCP – reliable and checks for errors
o UDP – faster but less reliable
Think of it as: A delivery manager making sure your package reaches the right
place safely.
[Link] Layer
This layer is responsible for addressing and routing data between different networks
using IP addresses.
What it does: Finds the best path to send the data across networks.
Main protocol:
o IP (Internet Protocol) – adds IP addresses so the data knows where to go.
Think of it as: A GPS that helps data find its way across different networks.
This layer handles the physical connection to the network. It manages how data is sent
over cables, Wi-Fi, or other media.
What it does: Handles the actual hardware (like cables and Wi-Fi) that moves the
data.
Includes:
o Physical devices (e.g., network cards, routers)
o Data link protocols (e.g., Ethernet, Wi-Fi)
Think of it as: The road that the data physically travels on.
OR
Define the standard data transfer over the [Link] TCP/IP model is a simplified,
practical model used in real-world networking, particularly for the internet
TCP= transmission control protocol
IP= internet protoco
TCP/IP = 2 layers
TCP(transmission UDP(user
control protocol) datagram protocol)
Internet layer
Use: They divide complex networking tasks into manageable layers, enabling
standardization, troubleshooting, and interoperability
_____________________________________________________________
Basic Concepts of Networking
1 Data Transmission: The process of sending data from one device to another It can
be:
Unicast: One-to-one (eg, emailing a single person)
Multicast: One-to-many (eg, live streaming to a group)
Broadcast: One-to-all (eg, sending a message to all devices in a network)
OR(explaine)
Data transmission in a computer network is the process of moving data from one device
to another within the network, often using wired or wireless connections. This transfer
involves various methods and protocols to ensure the data is reliably and efficiently
conveyed.
Types:
Diagram:
Simplex: A→B
Half Duplex: A ↔ B (but one at a time)
Full Duplex: A ⇄ B (simultaneous)
2 Bandwidth: The maximum rate of data transfer, measured in bits per second (bps)
Higher bandwidth means faster data transfer
Formula:- (f_max - f_min) f= frequency the difference between the maximum and
minimum frequencies (f_max - f_min) a system can handle.
- Example: A 100 Mbps internet connection can transfer 100 megabits per second
OR(explaine)
Bandwidth:
OR
Bandwidth is the maximum rate at which data can be transferred over a network path.
It is measured in bits per second (bps).
Example Calculation:
If you download a 100MB file with a bandwidth of 10 Mbps:
1. Convert file size to bits:
o 100 MB = 100 × 8 = 800 Megabits
2. Time = Data / Bandwidth = 800 Mb / 10 Mbps = 80 seconds
Diagram:
the delay in communication, specifically the time it takes for data to travel from one
point to another.
Real-Life Example:
A ping test to a server shows 50ms. That means it takes 50 milliseconds for the
signal to reach the server and come back.
Diagram:
OR
An IP Address is like the home address of your computer or mobile on the internet.
It helps your device send and receive data correctly.
Types of IP Address:
[Link]
Part Meaning
192.168.1 Network part (which street/area)
.5 Host part (house number)
Diagram:
What is IPv4?
Features:
Example:
[Link]
🧱 Structure:
[Number].[Number].[Number].[Number]
192 .168 . 0 . 1
Problem:
Since there are billions of devices today (mobiles, computers, smart TVs), IPv4 addresses
are running out.
What is IPv6?
Example:
2001:0db8:85a3:0000:0000:8a2e:0370:7334
Structure:
[Group1]:[Group2]:[Group3]:...[Group8]
Benefits:
No shortage of addresses
Better security
Faster routing in some networks
5 Client-Server Model: A client (eg, your browser) requests services from a server (eg,
a web server hosting a website)
- Example: Accessing Google’s website involves your browser (client) requesting data
from Google’s servers
OR(explanation)
Definition:
A network architecture where one system (server) provides services/resources and the
other (client) requests them.
Diagram:
+-----------+
| Server |
+-----------+
↑ ↑ ↑
/ | \
Client Client Client
Example: Web browsing – Your browser (client) sends a request to a web server to get a
webpage.
6 Peer-to-Peer (P2P): Devices act as both clients and servers, sharing resources
directly without a central server
- Example: File-sharing via BitTorrent
OR(explanation)
Definition:
All systems act as both clients and servers. Resources are shared directly without a
central server.
Diagram:
(BitTorrent is a protocol and software application for distributing files over the
internet in a peer-to-peer (P2P) manner. It works by breaking down large files
into smaller pieces and distributing these pieces among multiple users, or
peers.)
Network Topologies
Network topology refers to the physical or logical arrangement of devices in a network
Each topology has trade-offs in terms of cost, scalability, and reliability
1 Star Topology:
- All devices connect to a central hub or switch
- Advantages: Easy to install, scalable, failure of one device doesn’t affect others
- Disadvantages: Central hub failure disrupts the entire network
- Example: Most home Wi-Fi networks use a star topology with a router as the hub
2 Bus Topology:
- All devices connect to a single cable (bus)
- Advantages: Simple and inexpensive
- Disadvantages: Cable failure disrupts the network; collisions reduce efficiency
- Example: Early Ethernet networks
3 Ring Topology:
- Devices form a closed loop, with each device connected to the next
- Advantages: Equal access to the network, predictable performance
- Disadvantages: Failure of one device can disrupt the network
- Example: Token Ring networks
4 Mesh Topology:
- Every device connects to every other device (full mesh) or partially (partial mesh)
- Advantages: Highly reliable; multiple paths for data
- Disadvantages: Expensive and complex to implement
- Example: Large-scale wireless networks or internet backbone
- Exam Focus: Star topology is most common in modern networks (eg, offices, homes)
Bus topology is simpler but outdated
Layered Architecture
Structure (like OSI, TCP/IP) to divide tasks and simplify networking.
OSI vs TCP/IP
- OSI Model: Theoretical, detailed, with 7 layers Used for teaching and designing
protocols
- TCP/IP Model: Practical, simplified, with 4 layers Used in real-world internet
communication
- Key Difference: OSI separates Application, Presentation, and Session layers, while
TCP/IP combines them into a single Application layer
Role
The Physical layer deals with the physical connection between devices, transmitting raw
bits (0s and 1s) over a medium
Functions
Defines hardware specifications: Cables (eg, Ethernet, fiber optic), connectors (eg,
RJ45), and signals (eg, voltage levels)
- Transmits bits: Converts data into electrical, optical, or radio signals
- Specifies transmission media: Wired (copper, fiber) or wireless (radio waves)
Examples
- Devices: Hubs, repeaters, network interface cards (NICs)
- Media: Twisted pair cables, coaxial cables, fiber optics
- Standards: Ethernet (IEEE 802.3), USB, Bluetooth
Key Idea: The Physical layer is the foundation of networking, handling the "raw"
transmission of bits
Role
The Data Link layer ensures reliable data transfer between adjacent devices on the same
network It organizes bits into frames and handles error detection and correction
Functions
- Framing: Groups bits into frames for transmission
- Error Detection/Correction: Uses techniques like CRC (Cyclic Redundancy Check) to
detect errors
- Flow Control: Prevents overwhelming the receiver with too much data
- MAC Addressing: Uses Media Access Control (MAC) addresses to identify devices on
the same network
- Access Control: Manages which device can transmit data (eg, CSMA/CD in Ethernet)
Examples
- Protocols: Ethernet (IEEE 802.3), Wi-Fi (IEEE 802.11), PPP (Point-to-Point Protocol)
- Devices: Switches, bridges
- Trick:
- Physical Layer = Hardware-level bit transmission
- Data Link Layer = Error-free frame delivery to the next device
Packet Switching
- Breaks data into small packets, each sent independently over the network, taking the
best available path.
Packet switching divides the data into small packets ,which are sent independently
across the network and reassemble at the destination.
e.g: send email email divided into packets each carrying a portion of message and
addressing information.
Advantages:
1. Efficient for data networks.
2. Not startup time
3. Better resource utilization.
Disadvantages:
1. variable delay
2. packets may be lost
3. more complex protocols need to resemble data and handle errors.
- Characteristics:
- Efficient use of bandwidth (shared)
- Packets may arrive out of order and are reassembled
- Robust; reroutes around failures
- Example: Internet, email, web browsing
- Use: Modern networks (TCP/IP-based)
- Exam Focus: Packet switching is dominant in modern networks due to its efficiency
and flexibility
LAN Technologies
Local Area Networks (LANs) connect devices within a small geographic area (eg, office,
home).
In LAN the computers and devices are connected in limited area such as a home, school
or office. It allows the user to share files, printers, and internet connections efficiently.
Disadvantages:
1. limited mobility
2. data collision
- Wired technology using twisted pair or fiber optic cables
- Speeds: 10 Mbps (Fast Ethernet), 1 Gbps (Gigabit Ethernet), and beyond
2 Wi-Fi: (Standards: IEEE 80211)
Uses the radio waves to connect devices wirelessly through a router or access
- Wireless point. using
technology
Advantages: radio waves
Wireless Networks
Wireless networks transmit data using radio waves, eliminating the need for physical
cables
Types
1 Wi-Fi:
- Used for LANs in homes, offices, and public spaces
- Example: Connecting your phone to a home router
2 Bluetooth:
- Short-range, low-power wireless for connecting devices like headphones or
keyboards
3 Cellular Networks:
- Wide-area networks (eg, 4G, 5G) for mobile communication
Advantages
- Mobility: Devices can move freely
- Easy setup: No cables required
- Scalability: Easy to add devices
Disadvantages
- Interference: Radio signals can be disrupted
- Security: Wireless signals are easier to intercept
- Speed: Generally slower than wired connections
MAC Addressing
What is a MAC Address?
A Media Access Control (MAC) address is a unique 48-bit identifier assigned to a
device’s network interface card (NIC) by the manufacturer.
MAC stand for “media assess control” it is also known as physical or hardware address
It is an unique and permanent address for all the electronic and networking devices.
- Format: 6 pairs of hexadecimal digits, separated by colons or dashes
(eg, 00:1A:2B:3C:4D:5E)
MM:MM:MM:SS:SS:SS
- Structure:
- First 3 bytes: Manufacturer ID (assigned by IEEE)
- Last 3 bytes: Device-specific ID(provided by manufacturer, to separate each divide
unique for each device)
- Purpose: Identifies devices at the Data Link layer for communication within the same
network
Uses:
4. device tracking
5. ??????
MAC vs IP Address
- MAC Address: Hardware address, fixed, used in the Data Link layer
- IP Address: Logical address, assignable, used in the Network layer
- Example: A laptop’s MAC address is permanent, but its IP address changes when it
connects to different networks
IP Address MAC Address
IP stand for internet protocol MAC stand for media access control
It is an logical address It is an physical address
The length of IP is 32 bit for IPv 4 and 128 The length of MAC address is 48 bit
bit for IPv 6
ISP (internet service provider) provided IP NIC provided MAC address
address
We an change the IP address of any MAC address cannot be change, only if
device At any time we change the LAN card of that device
An IP address identifies a connection to a MAC address identifies a device
device
e.g:[Link] e.g: 00:1A:2B:3C:4D:5E
Networking Devices
Networking devices connect, manage, and direct data traffic in a network
Hub
Working: It receives data from one device and sends (broadcasts) it to all other
connected devices, even if it's not meant for them.
Advantages:
Disadvantages:
Switch
A switch is a smarter device that connects devices like computers and printers in
a LAN.
It is an network device that connect the multiple computers together in the
[Link] is mainly use to send the private massage as well as there is no
wasting of data.
Switch can easily identify that which device is connected with which port by using
the MAC address that’s why it delivers massage on particular destination
machine.
It is more intelligent than HUB.(it note the source and destination address)
Working: It reads the MAC address of the incoming data and sends it only to the
intended device.
Example: In an office, a switch connects 10 computers. If PC1 sends data to PC5,
only PC5 receives it, not all others.
Advantage:
Disadvantages:
Router
Advantages:
Modem (Modulator-Demodulator)
A modem converts digital signals from your computer to analog signals for
transmission over phone/cable lines and vice versa.
It is placed b/w the computer system and telephone line.
It has two parts modulator and demodulator. The modulator converts digital
signal to analog signals as demodulator converts the analog signals to digital
signal.
It allows us to computer to connect internet
Purpose: Required to connect to the internet over telephone or cable networks.
Example: When you use a DSL connection, your modem converts digital signals
so your ISP can understand them and send data back.
Advantages:
Disadvantages:
In a home network:
Repeater:
Repeater is a network device through which we can boost up the weak signals.
When the signals travels in the network after traveling some distance the
intensity of the signals becomes low.
In order to regenerate the weak signal we should use repeater device.
Diagram:
signals
Advantages:
Disadvantages:
Bridge:
Bridge is a network device that is used to separate LAN into number of section.
Diagram:
HUB HUB
BRIDGE
LAN 1 LAN 2
It receive the data from receive and examine it , it make an table of MAC Address and the port no of the destination and save or note the
MAC address of each device connected to the HUB and the port no. where the device are connected or on which port the device is
connected. After the examination it will send or forward the data to the destination place according to the MAC address and in this way
data broadcast.
Note: it operates both physical as well as data link layer of OSI model.
Advantages:
Disadvantages:
Gateway:
Diagram:
Server
Switch
Here the switch is acting as an Gateway.
If we need a data the switch give it to us but if we need that data which we have not in our local network then the switch act as
an Gateway and get data from server and give it to that particular device.
The server is Gateway server and anyone can access it, it can be say as wide area network, and the local network is LAN.
Advantages:
Disadvantages:
It is more expensive
Data transmission rate is slower.
Difficult to maintain as well as very complex
It is less intelligent
NIC stand for “network interface card”, it us hardware device without which we can’t
connect computer to the network /internet.
Types:
The card may be internal or external but it has an 48 bit MAC Address. Through which
each NIC card have it unique identity, and connect to an network or internet.
Internal network card: In this cards the motherboard has a slot for the network card
where it can be inserted, it required a network cable (cable name Rj45) to provide
network access.
External network card: in desktop and laptop that do not have an internal NIC ,external
NICs are used.
2 USB cable:(connect one side of cable with the mobile or computer and other side with
the NIC)
Advantages:
Network layer protocols are rules and tools that help devices send and receive data
packets across networks. They handle addressing (like putting a correct address on a
letter) and routing (like choosing the best roads to deliver that letter).
1. IP (Internet Protocol)
Definition: The Internet Protocol is the main protocol that gives every device a
unique address (called an IP address) and helps route data packets across
networks.
Types:
o IPv4: Uses 32-bit addresses (e.g., [Link]). It’s older and still widely
used but has limited addresses.
o IPv6: Uses 128-bit addresses (e.g.,
2001:0db8:85a3:0000:0000:8a2e:0370:7334). It’s newer and supports
more devices.
Example: When you visit a website, your computer uses IP to send a request to
the website’s server using its IP address.
Explanation: Think of IP as the postal system. Your device (like your house) has
an IP address, and the data packet is like a letter. IP makes sure the letter gets to
the right house, even if it’s across the world.
2. Routing protocols:
Routing protocols are sets of rules and algorithms that enable routers (devices that
direct data traffic) to find the best path for data packets to travel from one device to
another, especially across different networks. They work at the network layer (Layer 3 of
the OSI model) alongside IP to ensure data gets to the right place.
Main Job: Share information about network paths and pick the fastest or easiest route
for data.
Analogy: Think of routers as delivery drivers and routing protocols as their GPS,
choosing the best roads to deliver a package.
Definition: RIP is a protocol that helps routers decide the best path for data by
sharing information about routes.
Example: In a small office network, RIP helps routers figure out the quickest way
to send data between computers.
Explanation: Think of RIP as a map app for routers. It tells them, “Hey, this road is
faster!” by counting the number of “hops” (steps) to reach a destination. It’s
simple but not used in huge networks because it’s a bit slow.
Key Features:
Definition: OSPF is a more advanced routing protocol that finds the fastest path
for data by calculating the shortest route based on multiple factors (not just
hops).
Example: In a large company network, OSPF helps routers choose the best path
to send data, even if the network is complex.
Explanation: OSPF is like a super-smart GPS that considers traffic, road
conditions, and distance to pick the best route, making it faster and more
efficient than RIP.
Key Features:
Definition: ICMP is used for error messages and diagnostics in networks. It helps
devices communicate issues, like when a server is unreachable.
Example: When you use the ping command to check if a website is online, ICMP
sends a small packet to the server and waits for a reply.
Explanation: ICMP is like a network doctor. If something goes wrong (e.g., a
server is down), ICMP sends a message back to say, “Hey, there’s a problem!” It’s
not used for sending actual data but for troubleshooting.
Definition: IGMP manages how devices join or leave multicast groups, where
data is sent to multiple devices at once (like a group chat).
Example: When you watch a live stream, IGMP helps your device join the group
receiving the video feed.
Explanation: Imagine IGMP as the organizer of a group video call. It makes sure
only the right people (devices) get the video stream, saving bandwidth.
Working:
1. IP assigns addresses to your device and the recipient’s server and routes the
email data.
2. ARP helps find the MAC address of the next device (like your router) in your local
network.
3. ICMP checks if the server is reachable; if not, it sends an error message.
4. RIP or OSPF helps routers along the way choose the best path for your email to
travel.
5. If the email is part of a group broadcast (like a newsletter), IGMP ensures it goes
to the right group.
Importance:
They make the internet work by ensuring data gets to the right place.
They handle complex tasks like routing and addressing so you don’t have to.
They allow devices on different networks (like your phone and a server in another
country) to communicate.
Simple Analogy
Key Differences
Feature IPv4 IPv6
Address 32 bits 128 bits
Length
Address Decimal (eg, Hexadecimal (eg,
Format 19216801) 2001:0db8::1)
Configuration Manual or DHCP Auto-configuration
Security Optional (IPsec) Mandatory (IPsec)
- Why IPv6?: The internet is running out of IPv4 addresses due to the growth of
connected devices (eg, smartphones, IoT) IPv6 ensures scalability and simplifies network
management
- Transition: IPv4 and IPv6 coexist using techniques like dual-stack (devices support
both) and tunneling (IPv6 packets encapsulated in IPv4)
Uses of IP Address:
Private IP(use for personal use connect mobile phone with
computer to share data)
Public IP (if we make a website like Olx Daraz etc. so we need an
public IP for the connection with world).
Classes of IP address:
Class Range IP Address Explanation
A 0 to 126 [Link] see the first octet if its range is in between 0 to 126 then
it is form Class A
B 128 to 191 [Link] see the first octet if its range is in between 128 to 191
then it is form Class B
C 192 to 223 [Link] see the first octet if its range is in between 192to 223
then it is form Class C
D 224 to 239 Use for the see the first octet if its range is in between 224 to 239
multicasting then it is form Class D
E 240 to 255 Use for see the first octet if its range is in between 240 to 225
research and then it is form Class E
development.
Note : 127 IP addess (127.0.01 is and private IP address and use for experiments in our
computer systems) local server(use the computer local server to create the websites or
tanning for the hacking etc).
The class A,B and C use for the local use but the D and E are the special purpose classes,
These are the IPv4 classes and worldwide these classes are using.
Difference between the IPv4 and IPv6
IPv4 IPv6
The length of IPv4 is 32 bit The length of IPv6 is 128 bit
In IPv4, around 4 billion unique ip In IPv6, around 340 trillion unique ip address
address are generated(2^32) are generated(2^128)
The range of IPv4 address is 0 to 255 The range of IPv6 address is 0 to FFFF
e.g [Link] e.g2001:0000:130F:0000:0000:09C0:876A:130B
It consists 4 octets each has 8 bit It consists of 8 octets each has 16 bits
IPv4 is a numeric address separated IPv4 is a numeric address separated by colon(:)
by .(dot)
IPv4 has total 5 classes It doesn’t have any class
NOTE: SUBNETTING ,CIDR ARE NOT INCLUDE IN IT
Routing protocols
Routing: Routing is finding the best path to send data from one place to another in a
network. Routers decide where to send data packets based on their destination
addresses, ensuring they reach the right device.
Routing Protocols: They are rules that help routers talk to each other, share maps of the
network, and pick the fastest or most reliable paths for data. They automatically adjust
if a path is blocked, making sure data gets to its destination quickly.
Routing is divided into three types based on how paths are set: static, dynamic, and
default. Only dynamic routing uses routing protocols. Here’s a simple breakdown:
1. Static Routing
o Definition: Manually tell the router where to send data, like writing
directions on a map.
o Explanation: It’s like telling a delivery driver, “Always take this road to the
warehouse.” If the road is closed, the driver won’t know unless you give
new directions.
o Example: Setting a router to send all data for a server (e.g., [Link])
to a specific gateway (e.g., Router B at [Link]).
o Use Case: Small networks, like a home or small office, where paths don’t
change.
2. Dynamic Routing
o Definition: Routers use routing protocols to automatically find and update
paths when the network changes.
o Explanation: It’s like a GPS that checks for traffic or roadblocks and
suggests a new route. Routers share info to pick the best path.
o Example: In a company, routers use OSPF to find the quickest way to the
server, changing paths if one router fails.
o Use Case: Big or changing networks, like schools, companies, or the
internet.
3. Default Routing
Definition: A simple static route that sends all unknown traffic to one gateway, like a
fallback option. OR A simple static routing technique where a router sends all packets
with unknown destinations to a single default gateway. It’s like telling a courier, “If you
don’t know the address, drop the package at the main sorting office.”
o Explanation: It’s like saying, “If you don’t know the address, send the
package to the main post office.” The post office figures out the rest.
o Example: A home router sends all internet traffic to the ISP’s gateway
(e.g., [Link]/0 to [Link]).
o Use Case: Small networks or routers connecting to the internet.
Since static and default routing are manual and don’t use protocols, routing protocols
are only for dynamic routing. They help routers share network info and choose paths.
Here are the main types, explained simply with examples:
3. Distance-Vector Protocols
o Definition: Distant vector protocol, also called as Bellman-Ford algorithm
or Ford Fulkerson algorithm used to calculate a path. A distance-
vector protocol calculates the distance and direction of the vector of the
next hop from the information obtained by the neighboring router. It
is necessary to keep track of the topology and inform neighboring devices
if any changes occur in topology. Routers share their full “address book”
(routing table) with neighbors, picking paths based on distance (e.g., hop
count).
o Explanation: Like asking a friend, “How far is the market?” and they share
their whole map. It’s simple but slow to update.
o Examples: RIP, EIGRP (partly).
o Example: RIP in a small shop network tells routers, “The server is 3 hops
away.”
o Use Case: Small, simple networks.
4. Link-State Protocols
o Definition: Link-State Routing protocols build a complete topology of the
entire network and then calculate the best path from the topology of all
interconnected networks. In link-state routing, the distance is calculated
based on multiple metrics from source to destination, one hop at a time.
Routers share details about network connections (links) to build a full
map, picking the best path based on cost.
o Explanation: Like everyone sharing a piece of a puzzle to create a
complete network picture. It’s fast and great for big networks.
o Examples: OSPF, IS-IS.
o Example: OSPF in a hospital network maps all routers and finds the fastest
path to the patient database.
o Use Case: Large, complex networks.
5. Path-Vector Protocols
o Definition: The path vector protocol is a routing protocol that keeps track
of path information that is updated dynamically. The path vector protocol
does not rely on the reachability to the destination, instead determines
whether the path is loop-free or not. The path vector does the analysis of
the path to determine whether the path is loop-free or not. Track the list
of networks (autonomous systems) data passes through to reach its
destination.
o Explanation: Like a travel plan listing every city a package visits to avoid
going in circles.
o Example: BGP.
o Example: BGP ensures data from a website in the US reaches you in
Pakistan without looping.
o Use Case: Internet routing across multiple organizations.
Real-World Examples
Static Routing: In a small shop, you set the router to send all data to the main
server at [Link] via Router B. No protocol is used.
Default Routing: Your home Wi-Fi sends all internet traffic to the ISP’s gateway
(e.g., [Link]), set manually.
Dynamic Routing (RIP): In a small school, RIP helps 5 routers find the server by
counting hops (e.g., “2 routers away”).
Dynamic Routing (OSPF): In a big company, OSPF maps the network and picks
the fastest path to the email server, even if a router fails.
Dynamic Routing (BGP): When you stream a movie, BGP routes data from
Netflix’s servers across ISPs to your laptop.
Static and Default Routing: These are manual, so no routing protocols are used.
You set the paths yourself.
Dynamic Routing: Uses routing protocols (RIP, OSPF, BGP, EIGRP, IS-IS) to
automate everything. These are the only routing protocols in networking.
Transport layer protocol: Transport layer protocols are rules that manage how data is
sent and received between devices over a network. They ensure data arrives correctly,
in order, or quickly, depending on what the application needs.
Explanation: Think of transport layer protocols as delivery services for data, like a
courier company. They decide how to package data, send it, and make sure it reaches
the right destination. Some protocols (like TCP) are like a careful courier who checks
that every package arrives safely and in the right order. Others (like UDP) are like a fast
delivery service that sends packages quickly but doesn’t worry if a few get lost. These
protocols work at Layer 4 of the OSI model, sitting between the network layer (which
handles routing) and the application layer (which handles apps like web browsers).
Types:
Four main transport layer protocols are TCP (Transmission Control Protocol), UDP
(User Datagram Protocol), SCTP (Stream Control Transmission Protocol), and RTP
(Real-time Transport Protocol).
Loading a webpage (e.g., [Link]): TCP ensures all images, text, and
scripts arrive without errors.
Sending an email: TCP guarantees the email’s text and attachments reach the ser
Features:
Example:
Streaming a YouTube video: UDP sends video data quickly; a lost packet might
cause a brief skip, but the video keeps playing.
Online gaming: UDP sends your moves fast, so the game feels responsive, even if
a few updates are missed.
Example:
A Zoom call: SCTP sends voice and video data reliably, even if one network path
fails.
Telecom signaling: Used in phone networks to manage call setup and data
transfer.
Timestamps: Marks when each packet was sent to keep audio and video in sync.
Sequence Numbers: Tracks the order of packets to detect losses or reordering.
Payload Type: Identifies the type of data (e.g., MP3 audio, H.264 video).
Low Latency: Prioritizes speed over reliability, suitable for live streams.
Multiplexing: Allows multiple media streams (e.g., audio and video) in one
session.
example :
Watching a live sports game on YouTube or Twitch uses RTP to deliver video and
audio quickly. Minor packet loss might cause a brief blur, but the stream keeps
going.
Example: Streaming a concert live on a platform like Vimeo.
Note: TCP ensures all information arrives accurately and in proper order,
essential for applications requiring guaranteed delivery, whereas UDP sacrifices
reliability for speed, suited for real-time or loss-tolerant applications. SCTP and
RTP provide specialized features for multi-streaming, network resilience, and
real-time data respectively.
These rules ensure orderly communication and prevent conflicts over the same
communication path
Communication Example Using Ports
Consider two systems with IP addresses [Link] and 1.11.1 communicating over a
network using software like Zoom. the system have 65535 path to share the packets.
Zoom is configured to use port 8080 by default, so both sender and receiver know to
send and listen on port 8080 without needing to notify each other explicitly.
If two applications try to use the same port (e.g., both using port 8080), one must wait
or be stopped to avoid conflicts; port numbers must be unique per communication
session.
Types of Ports Based on Usage
Port Name Characteristics and Usage
Range
0 to 1023 Well-known Ports Most commonly used ports for standard services
(e.g., HTTP on port 80, HTTPS on port 443, FTP on
ports 20 & 21)
1024 to Registered Ports Ports that can be registered for user applications but
49151 are not fixed; used to avoid conflicts
49152 to Dynamic/Private Used temporarily by applications, often for testing;
65535 Ports less commonly preferred for permanent use
Well-known ports are widely recognized and used by common services, making them
important for compatibility but limiting for custom applications due to possible conflicts.
Registered ports are preferred for custom applications to avoid interference with well-
known services, but still require management to prevent overlap.
Dynamic ports are used mainly for temporary or testing purposes and are less preferred
for stable services.
Common Default Ports and Their Services
These default ports are standardized and widely used by their respective services,
forming the backbone of internet communications.
Port Number Service/Protocol Description
20 FTP Data File Transfer Protocol data transfer
21 FTP Control FTP command and control channel
22 SSH Secure Shell for secure login and command execution
25 SMTP Simple Mail Transfer Protocol for sending emails
80 HTTP Hyper Text Transfer Protocol for web traffic
110 POP3 Post Office Protocol version 3 for email retrieval
443 HTTPS Secure HTTP using SSL/TLS for encrypted web traffic
NOTE: Ports act as unique communication channels in a network, essential for directing
data to the correct application or service on a device. Correct port management avoids
data loss and conflicts during communication. A port must be open with a listening
receiver for data to be received; otherwise, the data sent will be lost or returned. Only
one user/software can occupy a port at a time to avoid communication conflicts.
Sockets:
A sockets is a communication end point between sender and receiver in an computer
network, it allows two computers to communicate with each other.
The sockets are identified by an IP address and port number, it act as bridge b/w
application layer and transport layer.
e.g:
Email(STMP,25){ Uses SMTP protocol on port 25 for sending and receiving emails }
Process Process
A B
IP=[Link] IP=[Link]
Port=3000 Port=4000
Socket Socket
on A on B
IP NETWROK
Types of sockets:
1. Stream Sockets(TCP)
2. Datagram Sockets (UDP)
[Link] sockets: It provides connection oriented ,full duplex communication channel
b/w two network devices. The data is read in a continuous stream, with error checking
and delivery guaranteed by TCP. It is suitable for transferring large amount of data
such as file transferring and video streaming.
e.g: Web browser ,email clients and online games.
[Link] sockets: these sockets provide a connectionless ,unreliable service(using
UDP). The data is sent as independent packets with no guarantee for the order or
delivery. It is used when speed is prioritized over reliability.
e.g: DNS queries, online gaming and live video streaming.
Socket Address:
Socket Address = Combination of IP address + Port number
IP address: Logical address identifying a host (machine) on the network
Port number: Identifies a specific process or application on that host
Purpose: Uniquely identifies a process on a host for communication
e.g:
IP: [Link] (host)
Port: 80 (web server process)
Socket address: [Link]:80
Used for process-to-process communication over the network. It enables sending data
to the correct application on the correct machine
Socket Functions:
There is a socket programming, and the socket programing is very much popular in
computer networks and JAVA programing generally used to execute the socket
functions.
There are different socket functions are used for the performing the communication
b/w client and the server.
1. socket(): Creates a new socket for communications.
2. bind(): Attaches an IP address and port number on the host system.
3. listen():Ready to receive a connection.
4. connect(): Establishes a connection between two devices (client to server).
5. accept(): confirmation accepting to receive a call from a sender.
6. send(): Sends data over a connected socket.
7. receive(): Receives data over a connected socket.
8. close(): close the socket, terminating the connection, ending communications.
Connection Establishment
Connection establishment is the process by which two devices or systems (like
computers, phones, or servers) set up a communication link to exchange data. It’s like
making a phone call—before you talk, you need to dial, wait for the other person to pick
up, and confirm you’re both ready to chat. In networking, this process ensures both
sides are ready, agree on how to communicate, and establish a reliable channel.
When two devices want to communicate (e.g., your phone accessing a website), they
need to follow a set of rules to create a stable connection. This involves:
1. Initiating the connection: One device (the client) sends a request to start
communication.
2. Acknowledging the request: The other device (the server) responds, confirming
it’s ready.
3. Finalizing the setup: Both devices agree on parameters like data format, speed,
or error-checking methods.
This process ensures data is sent and received correctly without confusion. It’s common
in protocols like TCP (used for reliable internet communication) but varies depending on
the type of connection.
Example
Another real-life analogy: It’s like knocking on a friend’s door, waiting for them to open
it, and confirming you’re both ready to talk before starting a conversation.
There are different ways devices establish connections, depending on the protocol or
network used. Here are the main types:
Diagram:
2. Connectionless (e.g., UDP)
o What is it?: No connection is established before sending data. Devices just
send data packets without checking if the receiver is ready. It’s like
shouting across a room, hoping the other person hears.
o Process: Data is sent directly without handshakes or confirmations.
o Example: Online gaming, live streaming, or DNS queries (looking up
website addresses).
o Pros: Faster, less overhead.
o Cons: Unreliable, data might get lost or arrive out of order.
3.
Let’s dive deeper into the most common connection establishment process, the TCP
Three-Way Handshake, to make it crystal clear:
This handshake ensures both sides are synced and ready, preventing issues like lost or
duplicate data.
Reliability: Ensures data isn’t sent until both devices are ready.
Order: Guarantees data arrives in the correct sequence (especially in connection-
oriented types).
Error Handling: Sets up mechanisms to detect and fix errors during
communication.
Efficiency: Matches the communication method to the application’s needs (e.g.,
fast for gaming, reliable for emails).
Note: Connection establishment is like setting up a clear, agreed-upon channel for two
devices to talk. It can be connection-oriented (reliable, like TCP), connectionless (fast,
like UDP), or other types like virtual circuits or datagram-based. The TCP Three-Way
Handshake is a common example, used for things like browsing the web. By
understanding this process, you see how devices ensure smooth, error-free
communication in networks.
Stop-and-Wait Protocol
In this protocol, the sender sends one frame and waits for a positive acknowledgment
(ACK) from the receiver, confirming whether the frame was received correctly, before
sending the next frame. If a frame (e.g., Frame 3) has an error, the receiver sends a
negative acknowledgment (NACK), and the sender resends that frame. The main
drawback is that this protocol is very slow because the sender must wait for an
acknowledgment after each frame, reducing transmission speed.
How it works:
Example: You send one photo to a friend and wait for them to say, “I got it!” before
sending the next photo.
Good: Super simple, no risk of overwhelming the receiver.
Bad: Really slow because the sender waits after every frame
What is it?: This isn’t a standalone protocol but a feature used in some flow
control methods. If the receiver gets a frame with an error (or doesn’t get it at
all), it sends a negative acknowledgment (NAK) to tell the sender, “Something’s
wrong, resend that frame!”
How it works:
o Sender sends a frame.
o If the receiver detects an error (e.g., the frame is corrupted), it sends a
NAK.
o The sender resends the frame after getting the NAK.
Example: It’s like your friend texting, “Hey, the photo you sent is blurry, send it
again!” and you resend it.
Good: Helps fix errors by asking for specific frames.
Bad: Can slow things down, especially if errors happen often, since it still involves
waiting for feedback.
Go-Back-N Protocol
In this protocol, the sender, based on an agreement, can send a specific number of
frames (e.g., 6 frames) without waiting for an acknowledgment. If a frame (e.g., Frame
5) has an error, the receiver sends a negative acknowledgment, and the sender resends
that frame and all subsequent frames. The receiver sends a positive acknowledgment
when it receives correct frames, allowing the sender to start sending the next frames.
The issue with this protocol is that if a large number of frames (e.g., 500) are sent, an
error requires resending many frames, increasing delays
How it works:
Sender sends Frames 1, 2, 3, 4, 5, 6.
Receiver gets Frames 1–4 fine, but Frame 5 has an error.
Receiver sends a NACK for Frame 5.
Sender resends Frame 5 and Frame 6 (even if Frame 6 was okay).
Example: You send 6 photos to a friend. They get the first 4, but Photo 5 is blurry. They
ask you to resend Photo 5, but you also resend Photo 6, even if they already got it.
Good: Faster than Stop-and-Wait because it sends multiple frames at once.
Bad: Wastes time resending frames that might have been fine, especially if you’re
sending lots of frames (like 500).
How it works:
Example: You send 6 photos. Your friend gets Photos 1, 2, 4, and 6 but says, “Photo 3 is
missing.” You resend only Photo 3, and they sort the photos (1, 2, 3, 4, 6) without
needing Photo 6 again.
Good: Saves time by resending only the bad frames, making it fast and efficient.
Bad: More complicated because the receiver has to store and reorder frames.
Congestion Control:
Congestion: in a network may occur if the load on
the network is greater then capacity of network. A E
Explanation:
B
1. when many data packets send to the Buffer or
server and the buffer is doing delay to sending it to the
C
destination. Let ; A ,B and C are sending the data at the
destination E with help of the buffer and the data reaches
too late or slow at destination
2. sending data at the speed of 100 mbps and the data forwarding at destination at 10
mbps.
Congestion Control: it refers to the mechanism and technique to control the
congestion.
Congestion control is the process of managing data traffic in a network to prevent it
from getting overloaded, like avoiding a traffic jam on a busy road. It ensures that
devices don’t send too much data at once, which could slow down or crash the network,
keeping communication smooth and fair for everyone
Explanation
In a network, many devices (like phones, computers, or servers) send data packets
through shared paths (like routers or links). If too many packets are sent at once,
routers get overwhelmed, causing delays, packet loss, or even network failure.
Congestion control adjusts how fast devices send data to keep the network running
smoothly.
It monitors the network for signs of congestion (like packet loss or delays) and either
slows down the sender’s data rate or takes steps to prevent congestion before it
happens.
To avoid network slowdowns, ensure data gets through reliably, and make sure all
devices share the network fairly.
Congestion control is broadly divided into open-loop and closed-loop approaches, with
specific methods within them. Here’s a simple breakdown:
Open-Loop: Prevents congestion with fixed rules (e.g., traffic shaping, admission
control), like setting speed limits.
What is it?: This tries to prevent congestion before it happens by setting rules or limits
on data sending, without checking the network’s current state. It’s like setting speed
limits on a road to avoid traffic jams in advance..
How it works: Network designers or protocols set fixed policies, like limiting how
much data each device can send or prioritizing certain types of data.
Examples:
o Traffic Shaping: Forces devices to send data at a steady rate (e.g., a server
limits video streaming to 1 MB/s to avoid bursts).
o Admission Control: Only allows new connections if the network has
enough capacity (e.g., a router rejects new video calls if it’s too busy).
Good: Prevents congestion proactively, simple to implement.
Bad: Doesn’t adapt to real-time network changes, so it might be too strict or not
strict enough.
What is it?: This deals with congestion after it’s detected by monitoring the
network and adjusting data rates based on real-time feedback. It’s like slowing
down your car when you see a traffic jam ahead.
How it works: Devices or routers detect congestion (e.g., through packet loss or
delays) and take action, like telling senders to slow down.
The Application Layer is the topmost layer in the Open System Interconnection (OSI)
model. This layer provides several ways for manipulating the data which enables any
type of user to access the network with ease. The Application Layer interface directly
interacts with the application and provides common web application services. The
application layer performs several kinds of functions that are required in any kind of
application or communication process.
Application layer protocols: they are rules and tools that allow software (like web
browsers, email clients, or file-sharing apps) to send and receive data in a standard way,
making sure communication is smooth and reliable.
Explanation: Think of them as translators that help apps like Chrome or WhatsApp
understand and share information across the internet, such as loading a webpage or
sending an email.
HTTP Hypertext Transfer Protocol (HTTP) is a standard that is used to transfer web
pages, formatted in HTML format. Web browsers such as Internet Explorer and Chrome
download and render HTML pages. HTTP data is passed in clear text: for this reason it’s
now replaced by HTTPS, its secure version. By default, HTTP uses the TCP protocol on
port 80.
HTTPS Hypertext Transfer Protocol Secure (HTTPS) is the secure version of HTTP by
adding additional layers of security (SSL) to the transactions between a web browser
and a server. It is required to fill out forms, sign in, authenticate and encrypt HTTP
transactions or messages. By default, HTTPS uses the TCP protocol on port 443.
FTP: It is use to send the large files. It is a rule (protocol) used to send or receive files
between two computers over the Internet or a network.
e.g:You make a website on your computer. To make it available on the internet, you
upload your website files to a web server using FTP.
FTP helps two computers share files easily. One computer is the client (like your laptop),
and the other is the server (like a computer on the internet).
You can:
You can use FTP software like FileZilla to move files easily between your computer and
a server.
SMTP Simple Mail Transfer Protocol (SMTP) is still the current standard to send emails
over the Internet. This is used for mail delivery in either a spooled or queue fashion. A
destination server regularly checks for spooled or queued messages and when it detects
any, the messages get delivered to the destination (mailbox). SMTP is used for sending
emails whereas POP3 (see below) is used for receiving. By default, SMTP uses the TCP
protocol on port 25.
SSH Secure Shell (SSH) is a telnet session setup over an SSL encrypted connection. This
is utilized to log into other remote systems and check logs, perform troubleshooting,
and more. By default, SSH uses the TCP protocol on port 22
DNS Domain name Server (DNS) DNS is a protocol used to translate a Fully Qualified
Domain Name (FQDN) into an IP address. This service is used because while humans use
words to communicate, computers use IP addresses. When we type a URL in a web
browser, the operating system translates that into an IP address by performing a DNS
query to a server. DNS failures or misconfigurations will prevent a user from accessing
web pages. For this reason, a running joke in the networking world is that DNS is always
the root cause of any user issues.
Telnet: Telnet stands for the TELetype NETwork. Telnet is a program that allows a user
with remote login capabilities to use the computing resources and services available on
the host. Telnet can also be used to connect other ports serving user defined as well as
well-known services. The telnet program requires two arguments that is the name of a
computer on which the server runs and the protocol port number of the server.
SIP (VoIP) Session Initiation protocol (SIP) is utilized to construct and deconstruct
multimedia communication sessions. These sessions include voice and video
conferencing, streaming, instant messaging, and online gaming. By default, SIP uses the
UDP protocol on port 5060.
RTP Real-Time Transport Protocol (RTP) is a packet-formatting standard for video and
audio transmission over the Internet. It was designed as a multicast protocol but now
it’s also leveraged for unicast communication. You’ll see this for streaming, video
conferencing and push to talk applications. By default, RTP uses the UDP protocol on an
unprivileged port (1024 and above).
SNMP Simple Network Management Protocol (SNMP) collects and manipulates
network information by pooling the data from devices on the network at fixed or
random intervals. This is useful for a very basic network monitoring system as it can
send an alert called a trap when aberrations occur. SNMP uses a mix of TCP and UDP
protocol and ports
NTP Network Time Protocol (NTP) is the protocol used to synchronize the clock of a
host. NTP ensures that all devices on a given network are synchronized within a few
milliseconds, which is a requirement for some distributed services to function correctly.
By default, RTP uses the UDP protocol on port 123.
Latest trends in computer networks
Computer Networking Trends: These are the latest advancements and technologies
shaping how devices connect, communicate, and share data across networks. They
focus on improving speed, security, scalability, and automation to meet the demands of
modern applications like AI, IoT, and cloud computing.
Below are the top trends in computer networking for 2025, each with a definition,
explanation, example, and use case to ensure clarity. These trends are drawn from
recent developments and align with the evolving needs of businesses, users, and
emerging technologies.
Definition: Wi-Fi 6 (802.11ax) and 6E improve speed (up to 9.6 Gbps), capacity,
and efficiency in crowded networks. Wi-Fi 6E uses the 6 GHz band for less
interference. Wi-Fi 7 (802.11be) further boosts speed, reduces latency, and
enhances performance in high-density environments.
Explanation: Wi-Fi 6/6E is like a wider highway with more lanes for devices like
phones and laptops, reducing congestion. Wi-Fi 7 is an even faster, smarter
highway for dense areas like stadiums. They support high-bandwidth apps like
AR/VR and IoT.
Example: A smart office uses Wi-Fi 6E to connect hundreds of devices (laptops,
IoT sensors) without slowdowns. Wi-Fi 7 powers a stadium’s network for
seamless streaming.
Use Case: Offices, schools, smart homes, and public venues.
Pros: Faster speeds, better performance in crowded areas, energy-efficient.
Cons: Requires new hardware; Wi-Fi 7 devices are still emerging.
Related Application Layer Protocols: HTTP/HTTPS (for web browsing), DHCP (for
IP assignment).
Definition: Processing data closer to its source (e.g., devices or sensors) rather
than in centralized data centers, reducing latency and bandwidth use. Edge
networking supports this by optimizing connectivity at the network’s edge.
Explanation: Edge computing is like doing calculations at a local store instead of
sending data to a distant warehouse. Edge networking ensures fast, secure
connections for devices like IoT sensors or autonomous cars.
Example: A smart city uses edge computing to process traffic camera data locally,
reducing delays in traffic light adjustments.
Use Case: IoT, smart homes, autonomous vehicles, healthcare (e.g., patient
monitoring).
Pros: Low latency, reduced bandwidth, supports real-time apps.
Cons: Requires edge hardware, complex management.
Related Application Layer Protocols: MQTT (for IoT messaging), HTTP (for local
web services).
6. Zero Trust Network Access (ZTNA) and Secure Access Service Edge (SASE)
Definition: ZTNA is a security model that verifies every user and device before
granting access, following “never trust, always verify.” SASE combines ZTNA with
SD-WAN and cloud security for secure, seamless connectivity.
Explanation: ZTNA is like a strict bouncer checking IDs for every network access,
even from trusted users. SASE is a full security package, protecting remote
workers and cloud apps.
Example: A company uses SASE to secure remote employees accessing
Salesforce, verifying identities and encrypting data.
Use Case: Remote work, hybrid cloud environments, cybersecurity.
Pros: Strong security, supports remote work, simplifies management.
Cons: Complex to implement, may increase latency.
Related Application Layer Protocols: HTTPS (for secure access), DNS (for secure
name resolution).
7. Internet Protocol Version 6 (IPv6) Adoption
Definition: IPv6 is the latest internet protocol, offering a larger address space
(128-bit vs. IPv4’s 32-bit) to support more devices and improved security and
efficiency.
Explanation: IPv6 is like a new phonebook with unlimited numbers, replacing the
limited IPv4. It supports the growing number of IoT devices and simplifies
network management.
Example: An ISP deploys IPv6 to assign unique addresses to millions of smart
home devices without running out.
Use Case: IoT, large-scale enterprise networks, internet infrastructure.
Pros: Unlimited addresses, better security, efficient routing.
Cons: Slow adoption, requires hardware/software upgrades.
Related Application Layer Protocols: DNS (for resolving IPv6 addresses), DHCPv6
(for IP assignment).
Speed and Capacity: 5G, Wi-Fi 6/7, and SD-WAN boost data rates and handle
more devices.
Automation: AI, SDN, and NaaS automate network management, reducing
manual work.
Security: ZTNA, SASE, and IPv6 enhance protection against cyber threats.
Scalability: MCN, edge computing, and IoT networking support growing,
distributed networks.
Low Latency: Edge computing and 5G enable real-time applications like VR or
autonomous driving.
Real-World Examples