Artificial Intelligence Tutorial

Introduction to Artificial Intelligence Intelligent Agents

Search Algorithms

Problem-solving Uninformed Search Informed Search Heuristic Functions Local Search Algorithms and Optimization Problems Hill Climbing search Differences in Artificial Intelligence Adversarial Search in Artificial Intelligence Minimax Strategy Alpha-beta Pruning Constraint Satisfaction Problems in Artificial Intelligence Cryptarithmetic Problem in Artificial Intelligence

Knowledge, Reasoning and Planning

Knowledge based agents in AI Knowledge Representation in AI The Wumpus world Propositional Logic Inference Rules in Propositional Logic Theory of First Order Logic Inference in First Order Logic Resolution method in AI Forward Chaining Backward Chaining Classical Planning

Uncertain Knowledge and Reasoning

Quantifying Uncertainty Probabilistic Reasoning Hidden Markov Models Dynamic Bayesian Networks Utility Functions in Artificial Intelligence

Misc

What is Artificial Super Intelligence (ASI) Artificial Satellites Top 7 Artificial Intelligence and Machine Learning trends for 2022 8 best topics for research and thesis in artificial intelligence 5 algorithms that demonstrate artificial intelligence bias AI and ML Trends in the World AI vs IoT Difference between AI and Neural Network Difference between Artificial Intelligence and Human Intelligence Virtual Assistant (AI Assistant) ARTIFICIAL INTELLIGENCE PAINTING ARTIFICIAL INTELLIGENCE PNG IMAGES Best Books to learn Artificial Intelligence Certainty Factor in AI Certainty Factor in Artificial Intelligence Disadvantages of Artificial Intelligence In Education Eight topics for research and thesis in AI Engineering Applications of Artificial Intelligence Five algorithms that demonstrate artificial intelligence bias 6th Global summit on artificial intelligence and neural networks Acting Humanly In Artificial Intelligence AI and ML Trends in the World AI vs IoT Artificial Communication Artificial intelligence assistant operating system Artificial Intelligence in Pharmacy Artificial Intelligence in Power Station Artificial Intelligence in Social Media Artificial Intelligence in Supply Chain Management Artificial Intelligence in Transportation Artificial Intelligence Interview Questions and Answers Artificial Intelligence Jobs in India For Freshers Integration of Blockchain and Artificial Intelligence Interesting Facts about Artificial Intelligence Machine Learning and Artificial Intelligence Helps Businesses Operating System Based On Artificial Intelligence SIRI ARTIFICIAL INTELLIGENCE SKILLS REQUIRED FOR ARTIFICIAL INTELLIGENCE Temporal Models in Artificial Intelligence Top 7 Artificial Intelligence and Machine Learning trends for 2022 Types Of Agents in Artificial Intelligence Vacuum Cleaner Problem in AI Water Jug Problem in Artificial Intelligence What is Artificial Super Intelligence (ASI) What is Logic in AI Which language is used for Artificial Intelligence Essay on Artificial Intelligence Upsc Flowchart for Genetic Algorithm in AI Hill Climbing In Artificial Intelligence IEEE Papers on Artificial Intelligence Impact of Artificial Intelligence On Everyday Life Impact of Artificial Intelligence on Jobs The benefits and challenges of AI network monitoring

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)