Routing protocols implement algorithms that tell routers the best paths through internetworks. Routing protocols include Border Gateway Protocol (BGP), Interior Gateway Routing Protocol (IGRP),...
Determining the cost metric of a hop in a route can be done many different ways, depending on the protocol you are using. The simplest would be purely distance, which is what distance-vector...