Network layer Routing Algorithms:

Routing algorithms are crucial for determining the best path for data packets to travel across a network. They can be broadly classified into two main categories: Adaptive (Dynamic) Algorithms and Non-Adaptive (Static) Algorithms.

Adaptive (Dynamic) Algorithms

These algorithms adjust their routing decisions based on changes in the network topology or traffic load. They use real-time data to optimize routing paths. Some common types include:

  1. Isolated Algorithms: Each node makes routing decisions independently using local information. Examples include Hot Potato Routing and Backward Learning.
  2. Centralized Algorithms: A central node has complete information about the network and makes all routing decisions. The Link State Algorithm is an example.
  3. Distributed Algorithms: Nodes share information with their neighbors and make routing decisions collaboratively. The Distance Vector Algorithm is an example.

Non-Adaptive (Static) Algorithms

These algorithms do not change their routing decisions once they are set. Routes are pre-determined and do not adapt to changes in the network. Some common types include:

  1. Flooding: Every incoming packet is sent out on every outgoing line except the one it arrived on. This can lead to duplicate packets and potential network congestion.
  2. Shortest Path Routing: Routes are determined based on the shortest path from source to destination, often using algorithms like Dijkstra’s.

Hybrid Algorithms

These combine elements of both adaptive and non-adaptive algorithms to balance efficiency and stability.

Comments

Popular posts from this blog

Error Detection in Data Link Layer

Transmission impairments – Attenuation, Distortion, Noise. Multiplexing – Frequency division, Time division, Wavelength division

DSA LAB 1 Program