Professional Documents
Culture Documents
Part I
What is Packetizing?
• Packetizing refers to encapsulating data received from the
payload, which is the upper layer of the network.
• Encapsulation process takes place on the sending computer.
The de-encapsulation process takes place on the receiving
computer.
• The host adds a header that includes the source and
destination addresses alongside other relevant information
required in the packetizing process.
• Note: The routers cannot change the header or the address
2
Excellence and Service
CHRIST
Deemed to be University
Routing?
• In the network layer, numerous routes are available from the source to the destination.
The Network layer follows some strategies to find the best route possible.
2
Excellence and Service
CHRIST
Deemed to be University
Routing Algorithms
● An autonomous system (AS) is a group of networks and routers under the authority of a single
administration.
● Features
○ Collection of networks with the same policy
● Concerned with getting packets from the source all the way to the destination.
● Getting to the destination may require making many hops at intermediate routers
● Network layer must know about the topology of the network & choose appropriate paths
● New problems occurs when source & destination are in different networks
● Definition: Routing algorithm is that part of the network layer software responsible for deciding which
output line an incoming packet should be transmitted on
Routing Algorithms
Distance
Optimality Shortest
Flooding Vector
principle Path Routing
Routing
● The settling of routes to best paths across the network is called convergence.
● Distance vector routing is useful as a simple technique by which routers can collectively compute shortest
paths
● It reacts rapidly to good news (new path), but leisurely to bad news (Link failure).
Source: B
Destination: A
● Example:
○ IS-IS (Intermediate System to Intermediate System)
● Routers are connected by a broadcast link (e.g., a switch), the situation is slightly more complicated.
○ Router A, C, F are directly connected to LAN
○ Then A, C, F are further connected to Router H
advertises only the directly connected routers and full advertise the updates, and flood the advertisement.
routing tables,
Broadcast Routing
○ It sends the broadcast packet over each link only once in a direction. It requires to know how to reach
destination, without sequence no. or list of destinations.
Multicasting
● Multicast routing protocols use trees, i.e. spanning tree to avoid loops. The optimal tree is called shortest
path spanning tree.
● Classful addressing is a technique of allocating IP addresses that divides them into five categories.
● Classless addressing is a technique of allocating IP addresses that is intended to replace classful addressing in order
to reduce IP address depletion.
● Classless addressing is the temporary fix, which nevertheless makes use of IPv4 addresses.
● In order to make up for address depletion, the class privilege was taken out of the distribution.
● The entire address space is partitioned into blocks of varying lengths with classless addressing.
● An address's prefix designates the block (network); its suffix designates the node (device).