×

Dynamic Routing

Dynamic Routing

Dynamic routing is used to update the routing table and find networks on the routers. It is easier than static routing and default routing, but it is more expensive in terms of bandwidth and CPU utilization.

The main purposes of a dynamic routing protocol are:

  • Finding the remote networks
  • Maintaining routing information
  • Choosing the best path to the destination network
  • Ability to find a new best path if the current path is not available

There are two types of routing protocols used in the internetworks:

  1. Interior Gateway Protocols (IGPs)
  2. Exterior Gateway Protocols (EGPs)

1. Interior Gateway Protocols (IGPs)

It is a distance-vector interior gateway routing protocol developed by Cisco. It is used by routers to exchange the routing information within the same Autonomous System (AS).

Note: Autonomous System (AS) is the collection of networks under the common administrative domain, which means that all routers share the same routing table information in the same AS.

2. Exterior Gateway Protocols (EGPs)

Exterior Gateway Protocols are used to exchange routing information in the different networks.

Classes of Routing Protocol

Every routing protocol defines the set of rules that how routers communicate with each other.

There are following classes of the routing protocols:

  1. Distance vector

The distance-vector protocols are used to find the best path that a data packet takes to reach the destination.  It selects the best path based on the distance.

It measures the distance by the least number of the router from which a packet has to pass to reach the destination.

Example: Routing Information Protocol (RIP).

Link state

Link-state protocols are also called shortest-path-first protocols. It uses the Dijkstra algorithm to find the shortest path. It transmits routing information to all other routers running on the same protocol, not only directly connected neighbors routers.

Example: Open Shortest Path First (OSPF)

Hybrid                                                 

Hybrid is a combination of both Distance-vector and link state.                    

Example: Enhanced Interior Gateway Routing Protocol (EIGRP)

Difference between the Distance Vector and the Link-state Routing Protocols:

Distance vector Link-state
It sends the entire routing table It sends only link-state information
It is simple to configure It is difficult to configure
It does not know the network topology. It knows the entire network topology.
It needs additional procedures to avoid the routing loops. By construction, routing loop cannot occur.
Example:RIP Example: OSPF

Administrative Distances

Administrative distance is a default value assigned to each routing protocol that will find the best route when there are two or more different routes to the same destination from two different routing protocol.

It is an integer value from 0 to 255.

Where 0 is the most trusted value and 255 means that no traffic will be passed via this route.

Route Source Default AD
Connected interface  0
Static route 1
EIGRP 90
IGRP 100
OSPF 110
RIP 120
External EIGRP 170
Unknown 255 (This route never be used)

Related Topics

8 best topics for research and thesis in artificial intelligence

AI, abbreviated as Artificial Intelligence, is a field which has a long history. Artificial Intelligence is the ability of machines that perform the same function as human beings, like problem-solving,...

3 minutes read.

Informed Search/ Heuristic Search in AI

An informed search is more efficient than an uninformed search because in informed search, along with the current state information,  some additional information is also present, which make it easy to reach the...

6 minutes read.

Knowledge Based Agents in AI

Knowledge is the basic element for a human brain to know and understand the things logically. When a person becomes knowledgeable about something, he is able to do that thing in a better...

4 minutes read.

Cryptarithmetic Problem in AI

Cryptarithmetic Problem Cryptarithmetic Problem is a type of constraint satisfaction problem where the game is about digits and its unique replacement either with alphabets or other symbols. In cryptarithmetic problem, the...

3 minutes read.

Hidden Markov Models

Hidden Markov Model is a partially observable model, where the agent partially observes the states. This model is based on the statistical Markov model, where a system being modeled follows the Markov process...

4 minutes read.

Alpha-beta Pruning | Artificial Intelligence

Alpha-beta pruning is an advance version of MINIMAX algorithm. The drawback of minimax strategy is that it explores each node in the tree deeply to provide the best path among all the...

3 minutes read.

Inference Rules in Proposition Logic

Inference rules are those rules which are used to describe certain conclusions. The inferred conclusions lead to the desired goal state. In propositional logic, there are various inference rules which can be applied to...

3 minutes read.

Artificial Satellites

Many objects like stars, satellites and the moon are visible in the night sky. Satellites are objects revolving around the planet or a more significant object. Moon is the most...

6 minutes read.

Information Retrieval

Information Retrieval: In order to analyze and categorize the text, we'd like to be able to figure out information about the text, some meaning about the text as well. And,...

14 minutes read.

Integration of Blockchain and Artificial Intelligence

A Blockchain is a shared database or ledger where pieces of data are stored in data structures known as blocks. So, we can say that Blockchain is the distribution storage...

6 minutes read.

Top 10 Artificial Intelligence Technologies in 2024

Artificial Intelligence Technologies in 2020 1. Augmented Reality This is one of the most fascinating technology nowadays. Augmented Reality is the use of text, graphics, audio, etc. in real time. In Simple...

4 minutes read.

Dynamic Routing

Dynamic Routing Dynamic routing is used to update the routing table and find networks on the routers. It is easier than static routing and default routing, but it is more expensive in terms of...

3 minutes read.

Artificial Intelligence Tutorial | AI Tutorial

Today, Artificial Intelligence (AI) has become the norm of how humans communicate with and understand technology. Even though you've been hearing this buzzword now and then, do you know what...

6 minutes read.

Forward Chaining in AI : Artificial Intelligence

Forward Chaining is the process which works on the basis of available data to make certain decisions. Forward chaining is the process of chaining data in the forward direction. In forward chaining, we...

4 minutes read.

The Wumpus World

The Wumpus world is a game playing which provides an environment to the knowledge-based agent to showcase its stored knowledge. It was developed by Gregory Yob in 1973. About the game:  It...

3 minutes read.

Top 7 Artificial Intelligence and Machine Learning trends for 2024

Artificial Intelligence is the ability of machines to perform the same function as human beings, like problem-solving, learning, reasoning and recognizing. Machine Learning is another branch of Computer Science and...

6 minutes read.

Hill Climbing Algorithm in AI

Hill Climbing Algorithm: Hill climbing search is a local search problem. The purpose of the hill climbing search is to climb a hill and reach the topmost peak/ point of...

4 minutes read.

Backward Chaining in AI: Artificial Intelligence

Backward Chaining is a backward approach which works in the backward direction. It begins its journey from the back of the goal. Like, forward chaining, we have backward chaining for Propositional logic as...

6 minutes read.

Intelligent Agents | Agents in AI

What is an Agent? An agent can be viewed as anything that perceives its environment through sensors and acts upon that environment through actuators. For example, human being perceives their surroundings through...

8 minutes read.

Propositional Logic

It is a branch of logic which is also known as statement logic, sentential logic, zeroth-order logic, and many more. It works with the propositions and its logical connectivities. It deals with the...

5 minutes read.