16.08.2013 Views

Gugrajah_Yuvaan_ Ramesh_2003.pdf

Gugrajah_Yuvaan_ Ramesh_2003.pdf

Gugrajah_Yuvaan_ Ramesh_2003.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Routing Protocols for Ad Hoc Networks Chapter 2<br />

the DAG with respect to a destination a logical direction of the link is defined based<br />

on the relative height metric of neighbouring nodes. The destination is assigned a<br />

height metric of zero. If a source has no route to a destination, it broadcasts a route<br />

query packet (QRY), which is propagated outwards by its neighbours. After<br />

receiving the QRY, a node that has a route to the destination broadcasts a route<br />

update packet (UPD) containing its own height relative to the destination. Each node<br />

receiving the UPD sets its own height metric for the required destination one higher<br />

than the node from which it received the UPD. This results in a series of directed<br />

links from the source to the destination in order of decreasing height. As a<br />

consequence of this multiple routes are often present for a given destination, but<br />

none of them are necessarily the shortest route. The analogy can be made between<br />

the path taken from source to destination and a stream flowing downhill.<br />

When a node discovers that a link is broken, it sets its height metric higher than that<br />

of its neighbours, and issues a UPD to that effect reversing the direction of the link<br />

between them. Links are reversed to reflect the change in adapting to the new<br />

reference level. If a node finds that it has no downstream neighbours, the destination<br />

is presumed lost and a clear (CLR) packet is issued to remove invalid links from the<br />

rest of the network.<br />

Timing is an important factor for TORA because the "height" metric is dependent on<br />

the logical time of a link failure and TORA therefore assumes that all nodes have<br />

synchronized clocks. Figure 2-3 shows the height metrics for the destination after a<br />

QRY has been broadcast by the source and the destination has replied with a UPD.<br />

Figure 2-4 shows the re-establishment of a route after failure of a link. The<br />

assignment (x, y) in Figure 2-3 and Figure 2-4 to each node gives the sequence<br />

number x (based on time) for the height metric and the height metric y for the<br />

required destination.<br />

When multiple sets of coordinating nodes are concurrently detecting partitions,<br />

erasing routes, and building new routes, there is a potential for oscillations to occur<br />

in TORA. This instability is similar to the "count-to-infinity" problem in distance<br />

vector routing protocols except that such oscillations are temporary and route<br />

2-11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!