Введение
Маршрутизационная схема для мобильных ad hoc сетей
Destination Sequenced Distance Vector Routing (DSDV) is a table driven routing scheme for ad hoc mobile networks based on the Bellman–Ford algorithm. It was developed by C. Perkins and P. Bhagwat in 1994. The main contribution of the algorithm was to solve the routing loop problem. Each entry in the routing table contains a sequence number, the sequence numbers are generally even if a link is present; else, an odd number is used. The number is generated by the destination, and the emitter needs to send out the next update with this number. Routing information is distributed between nodes by sending full dumps infrequently and smaller incremental updates more frequently. For example, the routing table of Node A in this network is
Destination Next Hop Number of Hops Sequence Number Install Time A A 0 A 46 002000 B B 1 B 36 002200 C B 2 C 28 002500
Naturally the table contains description of all possible paths reachable by node A, along with the next hop, number of hops and sequence number.
Destination Sequenced Distance Vector Routing (DSDV) – это табличная схема маршрутизации для мобильных ad hoc сетей, основанная на алгоритме Беллмана-Форда. Она была разработана C. Перкинсом и П. Бхагватом в 1994 году. Основным вкладом алгоритма стало решение проблемы петель маршрутизации. Каждая запись в таблице маршрутизации содержит порядковый номер, который обычно является четным, если связь присутствует, и нечетным – в противном случае. Номер генерируется пунктом назначения, и отправитель должен включить его в следующее обновление. Информация о маршрутизации распространяется между узлами путем периодической отправки полных дампов и более частой отправки небольших инкрементных обновлений. Например, таблица маршрутизации узла A в этой сети выглядит следующим образом:
Destination Sequenced Distance Vector Routing (DSDV) is a table driven routing scheme for ad hoc mobile networks based on the Bellman–Ford algorithm. It was developed by C. Perkins and P. Bhagwat in 1994. The main contribution of the algorithm was to solve the routing loop problem. Each entry in the routing table contains a sequence number, the sequence numbers are generally even if a link is present; else, an odd number is used. The number is generated by the destination, and the emitter needs to send out the next update with this number. Routing information is distributed between nodes by sending full dumps infrequently and smaller incremental updates more frequently. For example, the routing table of Node A in this network is
Destination Next Hop Number of Hops Sequence Number Install Time A A 0 A 46 002000 B B 1 B 36 002200 C B 2 C 28 002500
Naturally the table contains description of all possible paths reachable by node A, along with the next hop, number of hops and sequence number.
Назначение Следующий узел Количество прыжков Порядковый номер Время установки
A A 0 A 46 002000
B B 1 B 36 002200
C B 2 C 28 002500
Destination Sequenced Distance Vector Routing (DSDV) is a table driven routing scheme for ad hoc mobile networks based on the Bellman–Ford algorithm. It was developed by C. Perkins and P. Bhagwat in 1994. The main contribution of the algorithm was to solve the routing loop problem. Each entry in the routing table contains a sequence number, the sequence numbers are generally even if a link is present; else, an odd number is used. The number is generated by the destination, and the emitter needs to send out the next update with this number. Routing information is distributed between nodes by sending full dumps infrequently and smaller incremental updates more frequently. For example, the routing table of Node A in this network is
Destination Next Hop Number of Hops Sequence Number Install Time A A 0 A 46 002000 B B 1 B 36 002200 C B 2 C 28 002500
Naturally the table contains description of all possible paths reachable by node A, along with the next hop, number of hops and sequence number.
Естественно, таблица содержит описание всех возможных путей, доступных узлу A, с указанием следующего узла, количества прыжков и порядкового номера.
Destination Sequenced Distance Vector Routing (DSDV) is a table driven routing scheme for ad hoc mobile networks based on the Bellman–Ford algorithm. It was developed by C. Perkins and P. Bhagwat in 1994. The main contribution of the algorithm was to solve the routing loop problem. Each entry in the routing table contains a sequence number, the sequence numbers are generally even if a link is present; else, an odd number is used. The number is generated by the destination, and the emitter needs to send out the next update with this number. Routing information is distributed between nodes by sending full dumps infrequently and smaller incremental updates more frequently. For example, the routing table of Node A in this network is
Destination Next Hop Number of Hops Sequence Number Install Time A A 0 A 46 002000 B B 1 B 36 002200 C B 2 C 28 002500
Naturally the table contains description of all possible paths reachable by node A, along with the next hop, number of hops and sequence number.
Выбор маршрута
Если маршрутизатор получает новую информацию, он использует последний номер последовательности. Если номер последовательности совпадает с уже имеющимся в таблице, используется маршрут с лучшей метрикой. Устаревшие записи – это записи, которые давно не обновлялись. Такие записи, а также маршруты, использующие эти узлы в качестве следующих точек перехода, удаляются.
Преимущества
Наличие путей ко всем пунктам назначения в сети всегда свидетельствует о том, что для установления маршрута требуется меньшая задержка. Метод инкрементного обновления с метками номеров последовательности позволяет адаптировать существующие проводные сетевые протоколы к беспроводным сетям Ad hoc. Следовательно, все доступные проводные сетевые протоколы могут быть полезны для беспроводных сетей Ad hoc с минимальными изменениями.
Недостатки
DSDV требует регулярного обновления таблиц маршрутизации, что расходует заряд батареи и небольшую полосу пропускания даже в состоянии простоя сети. Каждый раз, когда топология сети изменяется, для повторной сходимости сети необходим новый порядковый номер; следовательно, DSDV не подходит для сильно динамичных или крупномасштабных сетей. (Как и во всех протоколах с вектором расстояния, это не влияет на трафик в областях сети, не связанных с изменением топологии.)
Влияние
Хотя сам DSDV сегодня, по-видимому, не получил широкого распространения, другие протоколы использовали схожие приемы. Наиболее известным протоколом дистанционно-векторного маршрутизации с порядковыми номерами является AODV, который, благодаря своей реактивной природе, может использовать более простые эвристики нумерации. Babel – это попытка сделать DSDV более надежным, эффективным и универсальным, сохраняя при этом принципы проактивных протоколов.