3 DSDV Protocol Destination sequenced distance vector routing (DSDV)is dịch - 3 DSDV Protocol Destination sequenced distance vector routing (DSDV)is Việt làm thế nào để nói

3 DSDV Protocol Destination sequenc

3 DSDV Protocol
Destination sequenced distance vector routing (DSDV)
is adapted from the conventional Routing Information
Protocol (RIP) to ad hoc networks routing. It adds a new
attribute, sequence number, to each route table entry of
the conventional RIP. Using the newly added sequence
number, the mobile nodes can distinguish stale route
information from the new and thus prevent the formation
of routing loops.

Packet Routing and Routing Table Management [7]
In DSDV, each mobile node of an ad hoc network
maintains a routing table, which lists all available
destinations, the metric and next hop to each destination
and a sequence number generated by the destination
node. Using such routing table stored in each mobile
node, the packets are transmitted between the nodes of
an ad hoc network. Each node of the ad hoc network
updates the routing table with advertisement periodically
or when significant new information is available to
maintain the consistency of the routing table with the
dynamically changing topology of the ad hoc network.

Periodically or immediately when network topology
changes are detected, each mobile node advertises
routing information using broadcasting or multicasting a
routing table update packet. The update packet starts out
with a metric of one to direct connected nodes. This
indicates that each receiving neighbor is one metric
(hop) away from the node. It is different from that of the
conventional routing algorithms. After receiving the
update packet, the neighbors update their routing table
with incrementing the metric by one and retransmit the
update packet to the corresponding neighbors of each of
them. The process will be repeated until all the nodes in
the ad hoc network have received a copy of the update
packet with a corresponding metric. The update data is
also kept for a while to wait for the arrival of the best
route for each particular destination node in each node
before updating its routing table and retransmitting the
update packet. If a node receives multiple update packets
for a same destination during the waiting time period, the
routes with more recent sequence numbers are always
preferred as the basis for packet forwarding decisions,
but the routing information is not necessarily advertised
immediately, if only the sequence numbers have been
changed. If the update packets have the same sequence
number with the same node, the update packet with the
smallest metric will be used and the existing route will
be discarded or stored as a less preferable route. In this
case, the update packet will be propagated with the
sequence number to all mobile nodes in the ad hoc
network. The advertisement of routes that are about to
change may be delayed until the best routes have been
found. Delaying the advertisement of possibly unstable
route can damp the fluctuations of the routing table and
reduce the number of rebroadcasts of possible route
entries that arrive with the same sequence number.

The elements in the routing table of each mobile node
change dynamically to keep consistency with
dynamically changing topology of an ad hoc network.
To reach this consistency, the routing information
advertisement must be frequent or quick enough to
ensure that each mobile node can almost always locate
all the other mobile nodes in the dynamic ad hoc
network. Upon the updated routing information, each
node has to relay data packet to other nodes upon request
in the dynamically created ad hoc network.



H3


H1
H3
H4
H5
H8 H2
H8
H6
H7
H5
Figure 1: An example of the ad hoc networks

H1

Table 1: The routing table of node H6 at one instant
[7]

Dest Next Hop Metric Seq.No. Install
H1 H4 3 S406_H1 T001_H6
H2 H4 2 S128_H2 T001_H6
H3 H4 3 S564_H3 T001_H6
H4 H4 1 S710_H4 T002_H6
H5 H7 3 S392_H5 T001_H6
H6 H6 0 S076_H6 T001_H6
H7 H7 1 S128_H7 T002_H6
H8 H7 2 S050_H8 T002_H6

Figure 1 shows an example of an ad hoc network before
and after the movement of the mobile nodes. Table 1 is
the routing table of the node H6 at the moment before
the movement of the nodes. The Install time field in the
routing table helps to determine when to delete stale
routes.


Destination Next Hop
H4
H4
H6 H5 Data
H6
Dest
H2
H1
H6
H5
H4
H3
Next Hop
H7
H4
H4
H4
H4
H7
a) Node H4 transmits a packet to node H6 for forwarding
Destination Next Hop
H4
H6 H5 Data
H6
Dest
H2
H1
H6
H5
H4
H3
Next Hop
H7
H4
H4
H4
H4
H7
b) Node H6 looks up the destination and route for
forwarding the packet in its routing table
H6
Dest
H2
H1
H6
H5
H4
H3
Next Hop
H7
H4
H4
H4
H4
H7
a) Node H6 forwards the packet to the next hop
Next Hop
H7
H7
Destination
H7 H5 Data

Figure 2: DSDV packet routing example [12]

Figure 2 shows an example of packet routing procedure
in DSDV. Node H4 wants to send a packet to the node
H5 as shown in Figure 1. The node H4 checks its routing
table and locates that the next hop for routing the packet
H7
is node H6. Then H4 sends the packet to H6 as shown in
Figure 2a. Node H6 looks up the next hop for the
destination node H5 in its routing table when it receives
the packet (Figure 2b). Node H6 then forwards the
packet to the next hop H7 as specified in the routing
table as shown in Figure 2c. The routing procedure
repeated along the path until the packet finally arrives its
destination H5.

In the routing information updating process, the original
node tags each update packet with a sequence number to
distinguish stale updates from the new one. The
sequence number is a monotonically increasing number
that uniquely identifies each update from a given node.
As a result, if a node receives an update from another
node, the sequence number must be equal or greater than
the sequence number of the corresponding node already
in the routing table, or else the newly received routing
information in the update packet is stale and should be
discarded. If the sequence number of one node in the
newly received routing information update packet is
same as the corresponding sequence number in the
routing table, then the metric will be compared and the
route with the smallest metric will be used.












Destination Next Hop Metric Sequence Number
H7 H7 0 S238_H7
H1 H1 1 S516_H1
H2 H6 3 S228_H2
H3 H4 4 S764_H3
H4 H6 2 S820_H2
H5 H8
2 S502_H5
H6 H6 1 S204_H6
H8 H7 1
S148_H8
a) H7 advertised table (update packet)
Dest Next Hop Metric Seq.No. Install
H1 H4 3 S406_H1 T001_H6
H2 H4 2 S238_H2 T001_H6
H3 H4
2 S764_H3 T001_H6
H4 H4 1 S820_H4 T002_H6
H5 H5
1 S502_H5 T812_H6
H6 H6 0 S204_H6 T001_H6
H7 H7 1 S238_H7 T002_H6
H8 H6 1
S160_H8 T811_H6
b) H6 Routing Table
Dest Next Hop Metric Seq.No. Install
H1 H7 2 S516_H1 T810_H6
H2 H4 2 S238_H2 T001_H6
H3 H4
2 S764_H3 T001_H6
H4 H4 1 S820_H4 T002_H6
H5 H5
1 S502_H5 T812_H6
H6 H6 0 S204_H6 T001_H6
H7 H7 1 S238_H7 T002_H6
H8 H6 1
S160_H8 T811_H6
c) H6 Updated Routing Table


Figure 3: An example of updating route information

In addition to the sequence number and the metric for
each entry of the update packet, the update route
information contains also both the address of the final
destination and the address of the next hop. There are
two types of update packets, one is called full dump,
which carries all of the available routing information.
The other is called incremental, which carries only the
routing information changed since the last full dump.
Figure 3 shows an example that a node handles an
incremental update packet.

Figure 3 indicates that the node H7 in Figure 1 advertises
its routing information with broadcasting the update
packet to its neighbors. When the node H6 receives the
update packet, it will check the routing information of
each item contained in both the update packet and the its
routing table and update the routing table. The entries
with higher sequence numbers are always entered into
the routing table (e.g., the entry H1 has newer sequence
number - S516H1 in the update packet in Figure 3a. This
sequence number is entered into the updated routing
table Figure 3c after the routing update.), regardless of
whether each of them have a higher metric or not. If an
entry has the same sequence number, the route with
smaller metric is entered into the routing table (e.g., the
entry H5 has the same sequence number – S502_H5 in
both the update packet in Figure 3a and the current
routing table in Figure 3b, but the entry H5 in the current
routing table in Figure 3b has lower metric, so it enters
the updated routing table in Figure 3c.). The items with
old sequence numbers in the update packet are always
ignored (e.g., H2 and H8 have old sequence number
respectively in the update packet in Figure 3a, both of
them are ignored in the updated routing table in Figure
3c.).

Each node in an ad hoc network must periodically
transmit its entire routing table (full dump) to its
neighbors most likely using multiple network protocol
data units (NPDUs) [7]. The full dumps of the nodes can
be transmitted relatively infrequently when little
movement of mobile nodes is occurring. Incremental
update packets are transmitted between the full dumps
for partial changes of the routing table such as receiving
new sequence numbers and fewer significant route
changes (as shown in Figure 3a). The incremental
routing update should be fitted in one NPDU. The
mobile nodes are expected to determine the significance
of the routing information changes to be sent out with
each incremental advertisement. As shown in Figure 3a,
the significant route change of H1 has to be included
first, then the others with sequence number changes.
When the significant changes increase with frequent
varying of the network topology and the size of an
incremental approaches the maximum size of a NPDU, a
full dump is scheduled to make the next incremental
become smaller.
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
3 các giao thức DSDV
đích trình tự khoảng cách vector định tuyến (DSDV)
để thích ứng với các thông tin định tuyến thông thường
Protocol (RIP) để định tuyến mạng ad hoc. Nó cho biết thêm một mới
thuộc tính, Chuỗi số, với mỗi cụm từ bảng tuyến đường của
RIP thông thường. Bằng cách sử dụng mới được thêm vào chuỗi
số, các nút điện thoại di động có thể phân biệt cu route
thông tin từ mới và do đó ngăn ngừa sự hình thành
của vòng lặp định tuyến.

gói định tuyến và định tuyến bảng quản lý [7]
trong DSDV, mỗi nút điện thoại di động của một mạng ad hoc
duy trì một bảng định tuyến, trong đó liệt kê tất cả
điểm đến, các số liệu và hop tiếp theo đến mỗi điểm đến
và một số thứ tự được tạo ra bởi đích
nút. Sử dụng bảng định tuyến được lưu trữ trong mỗi điện thoại di động
nút, các gói dữ liệu được truyền giữa các nút của
một mạng ad hoc. Mỗi nút mạng phi thể thức
cập nhật bảng định tuyến với quảng cáo theo định kỳ
hoặc khi đáng kể thông tin mới có sẵn để
duy trì sự thống nhất của bảng định tuyến với các
tự động thay đổi topo mạng phi thể thức.

Theo định kỳ hoặc ngay lập tức khi mạng cấu trúc liên kết
thay đổi được phát hiện, mỗi nút điện thoại di động quảng cáo
thông tin định tuyến bằng cách sử dụng phát sóng hay multicasting một
gói cập nhật bảng định tuyến. Gói Cập Nhật bắt đầu
với một thước đo của một trong những trực tiếp kết nối nút. Điều này
chỉ ra rằng mỗi người hàng xóm nhận là một metric
(hop) ra khỏi các nút. Nó là khác nhau từ đó của các
thuật toán định tuyến thông thường. Sau khi nhận được các
Cập Nhật gói, những người hàng xóm Cập Nhật của bảng định tuyến
với incrementing số liệu bởi một và retransmit những
Cập Nhật gói để những người hàng xóm tương ứng của mỗi
chúng. Quá trình này sẽ được lặp đi lặp lại cho đến khi tất cả node
quảng cáo hoc đã nhận được một bản sao của bản Cập Nhật
gói với một thước đo tương ứng. Dữ liệu Cập Nhật là
cũng giữ trong một thời gian để chờ đợi cho sự xuất hiện của tốt nhất
tuyến đường cho mỗi nút đích cụ thể trong mỗi nút
trước khi cập nhật bảng định tuyến của nó và retransmitting các
Cập Nhật gói. Nếu một nút sẽ nhận được nhiều Cập Nhật gói
cho một đích đến cùng trong thời gian chờ đợi thời gian, các
tuyến đường với số thứ tự mới hơn là luôn luôn
ưa thích như là cơ sở cho gói chuyển tiếp quyết định,
nhưng những thông tin định tuyến là không nhất thiết phải quảng cáo
ngay lập tức, nếu chỉ có số thứ tự đã
thay đổi. Nếu các gói Cập Nhật có trình tự giống
số với các nút tương tự, các gói Cập Nhật với các
nhỏ nhất số liệu sẽ được sử dụng và các tuyến đường hiện có sẽ
được loại bỏ hoặc lưu trữ như là một tuyến đường ít thích hợp hơn. Trong này
trường hợp, các gói Cập Nhật sẽ được phổ biến với các
chuỗi số để tất cả các nút điện thoại di động trong quảng cáo hoc
mạng. Quảng cáo của tuyến đường sắp
thay đổi có thể được trì hoãn cho đến khi tuyến đường tốt nhất đã
tìm thấy. Trì hoãn quảng cáo có thể không ổn định
tuyến đường có thể che biến động của bảng định tuyến và
giảm số lượng rebroadcasts của tuyến đường có thể
mục mà đến với cùng một chuỗi số.

Các yếu tố trong bảng định tuyến của mỗi nút điện thoại di động
thay đổi tự động để giữ cho nhất quán với
tự động thay đổi cấu trúc liên kết của một mạng phi thể thức.
để đạt được nhất quán này, thông tin định tuyến
quảng cáo phải được thường xuyên hoặc nhanh chóng, đủ để
đảm bảo rằng mỗi nút điện thoại di động có thể hầu như luôn luôn xác định
tất cả các điện thoại di động các nút khác trong động quảng cáo hoc
mạng. Sau khi cập nhật thông tin định tuyến, mỗi
nút có gói dữ liệu chuyển tiếp tới các nút khác theo yêu cầu
trong mạng tự động tạo quảng cáo hoc.



H3


H1
H3
H4
H5
H8 H2
H8
H6
H7
H5
hình 1: một ví dụ về các mạng phi thể thức

H1

bảng 1: bảng định tuyến của nút H6 tại một tức thì
[7]

Dest Hop tiếp theo số liệu Seq.No. Cài đặt
H1 H4 3 S406_H1 T001_H6
H2 H4 2 S128_H2 T001_H6
H3 H4 3 S564_H3 T001_H6
H4 H4 1 S710_H4 T002_H6
H5 H7 3 S392_H5 T001_H6
H6 H6 0 S076_H6 T001_H6
H7 H7 1 S128_H7 T002_H6
H8 H7 2 S050_H8 T002_H6

hình 1 cho thấy một ví dụ về một mạng ad hoc trước
và sau khi sự chuyển động của các nút điện thoại di động. Bảng 1 là
bảng định tuyến của nút H6 lúc này trước khi
sự chuyển động của các nút. Lĩnh vực thời gian cài đặt trong các
bảng định tuyến giúp để xác định khi xoá cu
tuyến đường.


Điểm đến tiếp theo Hop
H4
H4
H6 H5 dữ liệu
H6
Dest
H2
H1
H6
H5
H4
H3
tiếp theo Hop
H7
H4
H4
H4
H4
H7
a) nút H4 truyền một gói để node H6 để chuyển tiếp
điểm đến tiếp theo Hop
H4
H6 H5 dữ liệu
H6
Dest
H2
H1
H6
H5
H4
H3
Hop tiếp theo
H7
H4
H4
H4
H4
H7
b) nút H6 nhìn lên các điểm đến và tuyến đường cho
chuyển tiếp gói trong bảng định tuyến của nó
H6
Dest
H2
H1
H6
H5
H4
H3
tiếp theo Hop
H7
H4
H4
H4
H4
H7
một) nút H6 chuyển tiếp gói để hop tiếp theo
Tiếp theo Hop
H7
H7
đích
H7 H5 dữ liệu

hình 2: DSDV gói định tuyến ví dụ [12]

hình 2 cho thấy một ví dụ về thủ tục định tuyến gói
trong DSDV. Nút H4 muốn gửi một gói để nút
H5 như minh hoạ trong hình 1. Nút H4 kiểm tra định tuyến của nó
bàn và đặt rằng kế tiếp hop cho việc định tuyến gói tin
H7
là nút H6. Sau đó H4 gửi gói tin đến H6 như minh hoạ trong
con số 2a. Nút H6 nhìn lên hop tiếp theo cho các
đích nút H5 trong bảng định tuyến của nó khi nó nhận được
gói (con số 2b). Nút H6 sau đó chuyển tiếp các
gói để hop H7 tiếp theo như quy định tại các định tuyến
bàn như minh hoạ trong hình 2 c. Các thủ tục định tuyến
lặp đi lặp lại dọc theo đường cho đến khi gói cuối cùng đến của nó
đích H5.

thông tin định tuyến Cập Nhật quá trình, bản gốc
nút thẻ mỗi gói tin Cập Nhật với một số trình tự để
phân biệt cu Cập Nhật mới. Các
chuỗi số là một số ngày càng tăng monotonically
mà xác định duy nhất mỗi lần cập nhật từ một nút nhất định.
kết quả là, nếu một nút sẽ nhận được một bản Cập Nhật khác
nút, số thứ tự phải được lớn hơn hoặc bằng
số thứ tự của các nút tương ứng đã
trong bảng định tuyến, Nếu không nhận được vừa được định tuyến
thông tin trong bản Cập Nhật gói là cu và nên
bị loại bỏ. Nếu số thứ tự của một nút trong các
mới nhận được định tuyến thông tin Cập Nhật gói là
giống như trình tự tương ứng số trong các
bảng định tuyến, sau đó các số liệu sẽ được so sánh và
tuyến đường với số liệu nhỏ nhất sẽ được sử dụng.












Điểm đến tiếp theo Hop số liệu chuỗi số
H7 H7 0 S238_H7
H1 H1 1 S516_H1
H2 H6 3 S228_H2
H3 H4 4 S764_H3
H4 H6 2 S820_H2
H5 H8
2 S502_H5
H6 H6 1 S204_H6
H8 H7 1
S148_H8
một) H7 quảng cáo bảng (Cập Nhật gói)
Dest Hop tiếp theo số liệu Seq.No. Cài đặt
H1 H4 3 S406_H1 T001_H6
H2 H4 2 S238_H2 T001_H6
H3 H4
2 S764_H3 T001_H6
H4 H4 1 S820_H4 T002_H6
H5 H5
1 S502_H5 T812_H6
H6 H6 0 S204_H6 T001_H6
H7 H7 1 S238_H7 T002_H6
H8 H6 1
S160_H8 T811_H6
b) H6 Routing Table
Dest tiếp theo Hop mét Seq.No. Cài đặt
H1 H7 2 S516_H1 T810_H6
H2 H4 2 S238_H2 T001_H6
H3 H4
2 S764_H3 T001_H6
H4 H4 1 S820_H4 T002_H6
H5 H5
1 S502_H5 T812_H6
H6 H6 0 S204_H6 T001_H6
H7 H7 1 S238_H7 T002_H6
H8 H6 1
S160_H8 T811_H6
c) H6 Cập Nhật bảng định tuyến


hình 3: Một ví dụ về Cập nhật thông tin lộ

Ngoài các chuỗi số và các số liệu cho
mỗi mục gói Cập Nhật, bản Cập Nhật tuyến đường
thông tin chứa cũng cả hai địa chỉ kết
đích và địa chỉ của hop tiếp theo. Có
hai loại Cập Nhật gói, một được gọi là bãi chứa đầy đủ,
mà mang tất cả các thông tin có sẵn định tuyến.
khác được gọi là gia tăng, mà mang chỉ các
thông tin định tuyến thay đổi kể từ các cuối cùng đầy đủ kết xuất.
hình 3 cho thấy một ví dụ một nút xử lý một
gia tăng Cập Nhật gói.

hình 3 cho thấy rằng các nút H7 trong hình 1 quảng cáo
thông tin định tuyến của nó với phát thanh truyền Cập Nhật
gói để hàng xóm của mình. Khi nút H6 nhận được các
Cập Nhật gói, nó sẽ kiểm tra các thông tin định tuyến của
mỗi mục có trong cả hai gói tin Cập Nhật và của nó
định tuyến bàn và cập nhật bảng định tuyến. Các mục
với cao chuỗi số được luôn luôn nhập vào
bảng định tuyến (ví dụ như, các mục nhập H1 có trình tự mới hơn
số - S516H1 trong gói Cập Nhật hình 3a. Điều này
chuỗi số được nhập vào định tuyến Cập Nhật
bàn hình 3 c sau khi cập nhật định tuyến.), bất kể của
cho dù mỗi người trong số họ có một thước đo cao hay không. Nếu một
mục đã tự giống số, các tuyến đường với
nhỏ hơn số liệu được nhập vào bảng định tuyến (ví dụ như, các
mục H5 có cùng một chuỗi số-S502_H5 ở
cả hai gói tin Cập Nhật trong con số 3a và hiện nay
bảng định tuyến trong con số 3b, nhưng mục H5 trong hiện tại
bảng định tuyến trong con số 3b có thấp hơn số liệu, do đó, nó đi vào
Cập Nhật bảng định tuyến trong hình 3.). Các mặt hàng với
cũ số thứ tự trong gói Cập Nhật luôn luôn
bỏ qua (ví dụ như, H2 và H8 có số thứ tự cũ
tương ứng trong gói Cập Nhật hình 3a, cả hai
chúng được bỏ qua trong bảng định tuyến Cập Nhật trong hình
3c.).

Mỗi nút trong một mạng ad hoc phải định kỳ
truyền tải của nó, toàn bộ bảng định tuyến (đầy đủ kết xuất) để của nó
hàng xóm rất có thể sử dụng giao thức mạng nhiều
đơn vị dữ liệu (NPDUs) [7]. Bãi đầy đủ của các nút có thể
được truyền tương đối thường xuyên khi ít
chuyển động của điện thoại di động các nút là xảy ra. Gia tăng
Cập Nhật gói tin được truyền giữa bãi đầy đủ
để thay đổi một phần của bảng định tuyến chẳng hạn như nhận
số thứ tự mới và ít hơn đáng kể lộ
thay đổi (như minh hoạ trong hình 3a). Sự gia tăng
định tuyến Cập Nhật nên được trang bị trong một NPDU. Các
nút điện thoại di động dự kiến sẽ xác định ý nghĩa
của những thay đổi thông tin định tuyến được gửi với
mỗi quảng cáo gia tăng. Như minh hoạ trong hình 3a,
sự thay đổi đáng kể các tuyến đường của H1 đã được bao gồm
đầu tiên, sau đó những người khác với chuỗi số thay đổi.
Khi những thay đổi đáng kể tăng với thường xuyên
thay đổi topo mạng và kích thước của một
gia tăng phương pháp tiếp cận kích thước tối đa của một NPDU, một
đầy đủ kết xuất được lên kế hoạch để thực hiện tiếp theo gia tăng
trở nên nhỏ hơn.
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
3 DSDV Protocol
Destination sequenced distance vector routing (DSDV)
is adapted from the conventional Routing Information
Protocol (RIP) to ad hoc networks routing. It adds a new
attribute, sequence number, to each route table entry of
the conventional RIP. Using the newly added sequence
number, the mobile nodes can distinguish stale route
information from the new and thus prevent the formation
of routing loops.

Packet Routing and Routing Table Management [7]
In DSDV, each mobile node of an ad hoc network
maintains a routing table, which lists all available
destinations, the metric and next hop to each destination
and a sequence number generated by the destination
node. Using such routing table stored in each mobile
node, the packets are transmitted between the nodes of
an ad hoc network. Each node of the ad hoc network
updates the routing table with advertisement periodically
or when significant new information is available to
maintain the consistency of the routing table with the
dynamically changing topology of the ad hoc network.

Periodically or immediately when network topology
changes are detected, each mobile node advertises
routing information using broadcasting or multicasting a
routing table update packet. The update packet starts out
with a metric of one to direct connected nodes. This
indicates that each receiving neighbor is one metric
(hop) away from the node. It is different from that of the
conventional routing algorithms. After receiving the
update packet, the neighbors update their routing table
with incrementing the metric by one and retransmit the
update packet to the corresponding neighbors of each of
them. The process will be repeated until all the nodes in
the ad hoc network have received a copy of the update
packet with a corresponding metric. The update data is
also kept for a while to wait for the arrival of the best
route for each particular destination node in each node
before updating its routing table and retransmitting the
update packet. If a node receives multiple update packets
for a same destination during the waiting time period, the
routes with more recent sequence numbers are always
preferred as the basis for packet forwarding decisions,
but the routing information is not necessarily advertised
immediately, if only the sequence numbers have been
changed. If the update packets have the same sequence
number with the same node, the update packet with the
smallest metric will be used and the existing route will
be discarded or stored as a less preferable route. In this
case, the update packet will be propagated with the
sequence number to all mobile nodes in the ad hoc
network. The advertisement of routes that are about to
change may be delayed until the best routes have been
found. Delaying the advertisement of possibly unstable
route can damp the fluctuations of the routing table and
reduce the number of rebroadcasts of possible route
entries that arrive with the same sequence number.

The elements in the routing table of each mobile node
change dynamically to keep consistency with
dynamically changing topology of an ad hoc network.
To reach this consistency, the routing information
advertisement must be frequent or quick enough to
ensure that each mobile node can almost always locate
all the other mobile nodes in the dynamic ad hoc
network. Upon the updated routing information, each
node has to relay data packet to other nodes upon request
in the dynamically created ad hoc network.



H3


H1
H3
H4
H5
H8 H2
H8
H6
H7
H5
Figure 1: An example of the ad hoc networks

H1

Table 1: The routing table of node H6 at one instant
[7]

Dest Next Hop Metric Seq.No. Install
H1 H4 3 S406_H1 T001_H6
H2 H4 2 S128_H2 T001_H6
H3 H4 3 S564_H3 T001_H6
H4 H4 1 S710_H4 T002_H6
H5 H7 3 S392_H5 T001_H6
H6 H6 0 S076_H6 T001_H6
H7 H7 1 S128_H7 T002_H6
H8 H7 2 S050_H8 T002_H6

Figure 1 shows an example of an ad hoc network before
and after the movement of the mobile nodes. Table 1 is
the routing table of the node H6 at the moment before
the movement of the nodes. The Install time field in the
routing table helps to determine when to delete stale
routes.


Destination Next Hop
H4
H4
H6 H5 Data
H6
Dest
H2
H1
H6
H5
H4
H3
Next Hop
H7
H4
H4
H4
H4
H7
a) Node H4 transmits a packet to node H6 for forwarding
Destination Next Hop
H4
H6 H5 Data
H6
Dest
H2
H1
H6
H5
H4
H3
Next Hop
H7
H4
H4
H4
H4
H7
b) Node H6 looks up the destination and route for
forwarding the packet in its routing table
H6
Dest
H2
H1
H6
H5
H4
H3
Next Hop
H7
H4
H4
H4
H4
H7
a) Node H6 forwards the packet to the next hop
Next Hop
H7
H7
Destination
H7 H5 Data

Figure 2: DSDV packet routing example [12]

Figure 2 shows an example of packet routing procedure
in DSDV. Node H4 wants to send a packet to the node
H5 as shown in Figure 1. The node H4 checks its routing
table and locates that the next hop for routing the packet
H7
is node H6. Then H4 sends the packet to H6 as shown in
Figure 2a. Node H6 looks up the next hop for the
destination node H5 in its routing table when it receives
the packet (Figure 2b). Node H6 then forwards the
packet to the next hop H7 as specified in the routing
table as shown in Figure 2c. The routing procedure
repeated along the path until the packet finally arrives its
destination H5.

In the routing information updating process, the original
node tags each update packet with a sequence number to
distinguish stale updates from the new one. The
sequence number is a monotonically increasing number
that uniquely identifies each update from a given node.
As a result, if a node receives an update from another
node, the sequence number must be equal or greater than
the sequence number of the corresponding node already
in the routing table, or else the newly received routing
information in the update packet is stale and should be
discarded. If the sequence number of one node in the
newly received routing information update packet is
same as the corresponding sequence number in the
routing table, then the metric will be compared and the
route with the smallest metric will be used.












Destination Next Hop Metric Sequence Number
H7 H7 0 S238_H7
H1 H1 1 S516_H1
H2 H6 3 S228_H2
H3 H4 4 S764_H3
H4 H6 2 S820_H2
H5 H8
2 S502_H5
H6 H6 1 S204_H6
H8 H7 1
S148_H8
a) H7 advertised table (update packet)
Dest Next Hop Metric Seq.No. Install
H1 H4 3 S406_H1 T001_H6
H2 H4 2 S238_H2 T001_H6
H3 H4
2 S764_H3 T001_H6
H4 H4 1 S820_H4 T002_H6
H5 H5
1 S502_H5 T812_H6
H6 H6 0 S204_H6 T001_H6
H7 H7 1 S238_H7 T002_H6
H8 H6 1
S160_H8 T811_H6
b) H6 Routing Table
Dest Next Hop Metric Seq.No. Install
H1 H7 2 S516_H1 T810_H6
H2 H4 2 S238_H2 T001_H6
H3 H4
2 S764_H3 T001_H6
H4 H4 1 S820_H4 T002_H6
H5 H5
1 S502_H5 T812_H6
H6 H6 0 S204_H6 T001_H6
H7 H7 1 S238_H7 T002_H6
H8 H6 1
S160_H8 T811_H6
c) H6 Updated Routing Table


Figure 3: An example of updating route information

In addition to the sequence number and the metric for
each entry of the update packet, the update route
information contains also both the address of the final
destination and the address of the next hop. There are
two types of update packets, one is called full dump,
which carries all of the available routing information.
The other is called incremental, which carries only the
routing information changed since the last full dump.
Figure 3 shows an example that a node handles an
incremental update packet.

Figure 3 indicates that the node H7 in Figure 1 advertises
its routing information with broadcasting the update
packet to its neighbors. When the node H6 receives the
update packet, it will check the routing information of
each item contained in both the update packet and the its
routing table and update the routing table. The entries
with higher sequence numbers are always entered into
the routing table (e.g., the entry H1 has newer sequence
number - S516H1 in the update packet in Figure 3a. This
sequence number is entered into the updated routing
table Figure 3c after the routing update.), regardless of
whether each of them have a higher metric or not. If an
entry has the same sequence number, the route with
smaller metric is entered into the routing table (e.g., the
entry H5 has the same sequence number – S502_H5 in
both the update packet in Figure 3a and the current
routing table in Figure 3b, but the entry H5 in the current
routing table in Figure 3b has lower metric, so it enters
the updated routing table in Figure 3c.). The items with
old sequence numbers in the update packet are always
ignored (e.g., H2 and H8 have old sequence number
respectively in the update packet in Figure 3a, both of
them are ignored in the updated routing table in Figure
3c.).

Each node in an ad hoc network must periodically
transmit its entire routing table (full dump) to its
neighbors most likely using multiple network protocol
data units (NPDUs) [7]. The full dumps of the nodes can
be transmitted relatively infrequently when little
movement of mobile nodes is occurring. Incremental
update packets are transmitted between the full dumps
for partial changes of the routing table such as receiving
new sequence numbers and fewer significant route
changes (as shown in Figure 3a). The incremental
routing update should be fitted in one NPDU. The
mobile nodes are expected to determine the significance
of the routing information changes to be sent out with
each incremental advertisement. As shown in Figure 3a,
the significant route change of H1 has to be included
first, then the others with sequence number changes.
When the significant changes increase with frequent
varying of the network topology and the size of an
incremental approaches the maximum size of a NPDU, a
full dump is scheduled to make the next incremental
become smaller.
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2025 I Love Translation. All reserved.

E-mail: