Content deleted Content added
mv material from Interior gateway protocol |
m not hyphenated in the rest of the section |
||
(6 intermediate revisions by 6 users not shown) | |||
Line 1:
{{short description|Class of routing protocols}}
{{Multiple issues|
{{More footnotes needed|date=September 2010}}
{{technical|date=November 2013}}
}}
Line 21:
* [[Routing Information Protocol#RIPng|Routing Information Protocol Next Generation]] (RIPng), an extension of RIP version 2 with support for [[IPv6]]
* [[Interior Gateway Routing Protocol]] (IGRP)
* [[Enhanced Interior Gateway Routing Protocol]] (EIGRP)
==Methodology==
Routers that use distance-vector protocol determine the distance between themselves and a destination. The best route for
Distance-vector protocols update the routing tables of routers and determine the route on which a packet will be sent by the ''next hop'' which is the exit interface of the router and the IP address of the interface of the receiving router. Distance is a measure of the cost to reach a certain node. The least cost route between any two nodes is the route with minimum distance.
Line 40 ⟶ 41:
==Count to infinity problem==
The [[Bellman–Ford algorithm]] does not prevent [[routing loop]]s from happening and suffers from the '''count to infinity problem'''. The core of the count
===Workarounds and solutions===
Line 186 ⟶ 187:
|}
|-
|colspan=5| At this point, all the routers (A, B, C, D) have new "shortest-paths" for their DV (the list of distances that are from them to another router via a neighbor). They each broadcast this new DV to all their neighbors: A to B and C, B to C and A, C to A, B, and D, and D to C. As each of these neighbors receives this information, they now recalculate the shortest path using it.
For example: A receives a DV from C that tells A there is a path via C to D, with a distance (or cost) of 5. Since the current "shortest-path" to C is 23, then A knows it has a path to D that costs 23+5=28. As there are no other shorter paths that A knows about, it puts this as its current estimate for the shortest-path from itself (A) to D, via C.
Line 600 ⟶ 601:
==Further reading==
* [http://docwiki.cisco.com/wiki/Routing_Basics#Link-State_Versus_Distance_Vector Section "Link-State Versus Distance Vector"] {{Webarchive|url=https://web.archive.org/web/20101214043441/http://docwiki.cisco.com/wiki/Routing_Basics#Link-State_Versus_Distance_Vector |date=2010-12-14 }} in the Chapter "Routing Basics" in the [[Cisco Systems|Cisco]] "Internetworking Technology Handbook"
* [
{{DEFAULTSORT:Distance-Vector Routing Protocol}}
|