Differentiate between distance-vector and link-state routing protocols with an example each.

Study for the Router and Routing Basics Test with interactive quizzes. Tackle multiple choice questions, explore hints, and review explanations. Prepare for your exam effectively!

Multiple Choice

Differentiate between distance-vector and link-state routing protocols with an example each.

Explanation:
The difference lies in how routing information is shared and how the network is mapped to compute routes. In distance-vector routing, each router periodically shares its routing table with its directly connected neighbors, and relies on information from those neighbors to learn about distant networks. An example is RIP, which uses hop count as its metric and sends updates to neighbors at regular intervals. In link-state routing, every router creates a complete map of the network by flooding link-state advertisements with topology information to all routers in the area, so each router can independently compute the best paths using a shortest-path algorithm like Dijkstra. An example is OSPF, which builds a full topology database and uses LSAs to distribute it. The given description correctly identifies these two behaviors: distance-vector shares routing info with neighbors periodically (e.g., RIP), while link-state builds a complete topology map and floods it (e.g., OSPF). Other statements are inaccurate because they reverse the roles (flooding topology is a link-state action, not distance-vector) or claim that distance-vector uses LSAs or that it doesn’t use metrics, which is not true since distance-vector uses metrics like hop count.

The difference lies in how routing information is shared and how the network is mapped to compute routes. In distance-vector routing, each router periodically shares its routing table with its directly connected neighbors, and relies on information from those neighbors to learn about distant networks. An example is RIP, which uses hop count as its metric and sends updates to neighbors at regular intervals. In link-state routing, every router creates a complete map of the network by flooding link-state advertisements with topology information to all routers in the area, so each router can independently compute the best paths using a shortest-path algorithm like Dijkstra. An example is OSPF, which builds a full topology database and uses LSAs to distribute it.

The given description correctly identifies these two behaviors: distance-vector shares routing info with neighbors periodically (e.g., RIP), while link-state builds a complete topology map and floods it (e.g., OSPF). Other statements are inaccurate because they reverse the roles (flooding topology is a link-state action, not distance-vector) or claim that distance-vector uses LSAs or that it doesn’t use metrics, which is not true since distance-vector uses metrics like hop count.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy