What is the difference between Link state routing and distance vector routing through examples?
In a distance vector routing protocol, such as RIP or EIGRP,
each router sends its routing table to neighboring routers. The
routers don't know the topology, i.e., how other routers are
interconnected.
In a link state routing protocol, such as OSPF or IS-IS, routers
first exchange information about connections within the network (or
an area of the network), and build a topology table. Then each
router uses Dijkstra's algorithm to calculate the best route to
each destination.