Note The particulars of your network, such as the number of computers, the number of routers, and the existence (or lack) of a WAN will determine which type of algorithm you choose for your environment.The next section will briefly discuss the relationship formed between routing protocols and their algorithms.Think of the routing algorithm as the traffic officer of the router.
Characteristics such as the speed with which they operate, the way they conduct updates, and the information they gather to perform their job make routing protocols unique.
The routing protocol gathers certain information about networks and routers from the surrounding environment.
This information is stored within a routing table in the router's memory.
Routing protocols provide information to routing algorithms in the form of variables or metrics.
Routing algorithms, on the other hand, provide routing protocols with the best path for the router to send data.
The router uses the routing algorithm to compute the path that would best serve to transport the data from the source to the destination.