Routing protocol classes
There are three classes of routing protocols:
· Distance vector
the distance vector protocol is use to find the best path to a remote network by judging distance. In RIP routing, each instance where a packet goes through a router is called a hop, and the route with the least numbers of hops to the network will be consider as the best one. The vector indicates the direction to the remote network. RIP is a true distance-vector routing protocol and periodically sends out the entire routing table to directly connected neighbors.
Link-state protocols, also called shortest-path first protocols, each router create three separate tables. One of there table keeps track of directly attached neighbor, one determine the topology of the entire internetwork, and one is used as the routing table. Link-state routers know more about the internetwork, than any distance-vector routing protocol ever could. OSPF is true link-state routing protocol. Link-state protocols send updates containing the state of their own links to all other directly connected routers on the network. And this is then propagated to their neighbors.
Hybrid protocol use aspects of both distance-vector and link-state protocols, and EIGRP is a great example- it is typically just calls EIGRP an advance distance-vector protocol.