Study of Node Mobility Models of Routing
Protocols on MANET
Shrawan Kumar Pandey
1& Usama Husain
2Department of Computer Science and Engineering Azad Institute of Engineering and Technology, Lucknow [email protected], [email protected]
ABSTRACT
A Mobile Ad-Hoc Network (MANET) is a self-configuring network of mobile nodes connected by wireless links to form an arbitrary topology without the use of existing infrastructure. In this paper, we studied the effects of various mobility models on the performance of three routing protocols Dynamic Source Routing (DSR), Ad
hoc On-Demand Distance Vector (AODV) and
Wireless Routing Protocol (WRP). Here three performance metrics like Packet Delivery Ratio, End-to-End Delay and Drop Ratio are studied. And the studied shows that the behavior of routing protocols varies as the no. of nodes, speed of nodes (Nodes Mobility Models) are changed. The performance of routing protocols varies with the above models.
Keywords:
MANET; AODV; DSR; WRP; PDR
1. INTRODUCTION
Mobile hosts and wireless networking hardware are becoming widely available. There are currently two variations of mobile wireless networks. The first is known as infrastructure networks, i.e. those networks with fixed and wired gateways. The bridges for these networks are known as base stations. A mobile unit within these networks connects to, and communicates with, the nearest base station that is within its communication radius. The second type of mobile wireless networks is the infrastructure less mobile network, commonly known as an ad hoc network. A mobile ad hoc network is a network in which a group of mobile computing
devices communicate among themselves using wireless radio, without the aid of a fixed networking infrastructure[1][2].
A Mobile Ad Hoc Network generally does not have any infrastructure and each mobile host also acts as a router. Communication between various hosts takes place through wireless links. Direct communication can take place between hosts that are within the communication range of the antennas of the respective hosts; otherwise, communication is achieved through multi-hop routing. Figure 1 represents a MANET of 3 nodes. Node 2 can communicate directly with Node 1 and Node 3. But any communication between Nodes 1 and 3 must be routed through Node 2[1].
Figure 1: A MANET of 3 Nodes
2. ROUTING PROTOCOLS FOR
MANETS
2.1 Table Driven or Proactive Protocols:
Table-driven protocols (proactive protocols) generate frequent updates of network topology information to maintain a consistent view of the network at all nodes. These nodes are required to maintain tables containing topology information, so that any node wishing to communicate with any other node may do so by computing a route to the destination node from the table. It is fairly expensive in terms of table size and control overhead to maintain a table of topological information of all nodes. The chief disadvantage of this method is that the nodes may be maintaining topological information about nodes with which it may never communicate [1] [3].
2.2 On-Demand or Reactive Protocols: Reactive protocols discover routes only as needed. When a node wishes to communicate with another node, it checks with its existing information for a valid route to the destination. If one exists, the node uses that route for communication with the destination node. If not, the source node initiates a route request procedure, to which either the destination node or one of the intermediate nodes sends a reply back to the source node with a valid route.
DSDV WRP
AODV DSR LMR ABR
CGSR
TORA SSR
Figure 2: Categorization of Routing Protocols
A soft state is maintained for each of these routes – if the routes are not used for some period of time, the routes are considered to be no longer needed and are removed from the routing table; if a route is used before it expires, then the lifetime of the route is extended [2].
A. Dynamic Source Routing (DSR):
Dynamic Source Routing (DSR) [5], as the name suggests, is based on the concept of source routing. There are no periodic routing advertisements; instead, routes are dynamically determined based on cached information or on the result of a route discovery process. In source routing, the sender of the packet specifies the complete sequence of the nodes that the packet has to take. The sender explicitly lists this route in the packet’s header, identifying each forwarding “hop” by the address of the next node to which the packet must be sent on its way to the destination host. A key advantage of source routing is that intermediate hops do not need to maintain routing information in order to route the packet they receive, since the packets themselves already contain all the necessary routing information. Unlike conventional routing protocols, the DSR protocol does not periodically transmit route advertisements, thereby reducing control overhead, particularly during periods when little or no significant host movement is taking place. The DSR protocol consists of two mechanisms: Route Discovery and Route Maintenance.
When a mobile node wants to send a packet to some destination, it first consults its route cache for a non-expired route. If the node does not have such a route, it will initiate route discovery by broadcasting a route request (RREQ) packet, which contains the addresses of the source node and the destination, and a unique sequence number “request id”, which is set by the source node. Each node in the network maintains a list of (source address, request id) pair that it has recently received from any host in order to detect duplicate route requests received. On receiving a RREQ, a node checks to see if it has already received a request with the same (source address, request id) pair (duplicate RREQ). In such an event, or if the node sees its own address Table Driven
AdHoc Routing Protocols
D
D
already recorded in the request (routing loop), it discards the copy and does not process it further. Otherwise, it appends its own address to the route record in the route request packet and re-broadcasts the query to its neighbors.N1-N2
N1 N1-N2-N5
S
N1-N3-N4
N1-N3-N4-N7
N1 N1-N3-N4
N1-N3
N1-N3-N4
N1-N3-N4-N6
Figure 3(a): Building the Route Record during the Route Discovery
N1-N2-N5-N8
S
N1-N2-N5-N8
N1-N2-N5-N8
Figure 3(b): Propagation of the Route Reply with the Route Record
When the request packet reaches the destination, the destination node then sends a route reply packet to the source with a copy of the route. If a node can complete the query from its route cache, it may unicast a route reply (RREP) packet to the source without propagating the query packet further. Furthermore, any node participating in route discovery can learn routes from passing data packets and gather this routing information into its route cache. Figure 3 (a) and
3 (b) is an example of the creation of a route record in DSR [5].
Route Maintenance is used to detect if the network topology has changed such that the route in the node’s route cache is no longer valid. Each node along the route, when transmitting the packet to the next hop, is responsible for detecting if its link to the next hop has broken. Many wireless MAC protocols, such as IEEE 802.11, retransmit each packet until a link-layer acknowledgement is received, or until a maximum number of retransmission attempts have been made. Alternatively, DSR may make use of a passive acknowledgement. When the retransmission and acknowledgement mechanism detects that the link is broken, the detecting node unicasts a Route Error packet (RERR) to the source of the packet. Every hop en-route to the source that received or overheard the RERR removes the broken link from any route caches and truncates all routes that contain this hop. The source can then attempt to use any other route to the destination that is already in its route cache, or can invoke Route Discovery again to find a new route.
The DSR protocol is intended for networks in which the mobile nodes move at a moderate speed with respect to packet transmission latency [5]. An advantage of DSR over some on-demand protocols is that DSR does not use periodic routing advertisements, thereby saving bandwidth and reducing power consumption. On the other hand, as the network becomes larger, control packets and data packets also become larger because they need to carry addresses for every node in the path. Also, aggressive use of route cache and the absence of any mechanism to expire stale routes will cause poor delay and throughput performance in more stressful situations.
B. Ad-hoc On-Demand Distance Vector Routing (AODV):
Ad-hoc On-Demand Distance Vector Routing (AODV) [6] is essentially a combination of both DSR and DSDV. It borrows the conception of sequence numbers from DSDV, plus the use of the on-demand mechanism of route discovery and route maintenance from DSR. It is called a N1
N2
N3
N4
N5
N8
N7
N6
N1
N2
N3
N4
N5
N8
N7
“pure on-demand route acquisition system”;
nodes that do not lie on active paths neither maintain any routing information nor participate in any periodic routing table exchanges. It is loop-free, self-starting, and scales to a large number of mobile nodes. When a source node needs to send a packet to a destination node for which it has no routing information in its table, the Route Discovery process is initiated. The source node broadcasts a route request (RREQ) to its neighbors. Each node that forwards the RREQ packet creates a reverse route for itself back to source node. Every node maintains two separate counters: a node sequence number and a broadcast id. Broadcast id is incremented when the source issues a new RREQ. Together with the source's address, it uniquely identifies a RREQ. In addition to the source node's IP address, current sequence number and broadcast ID, the RREQ also contains the most recent sequence number for the destination which the source node is aware of.
A node receiving the RREQ may unicast a route reply (RREP) to the source if it is either the destination or if it has a route to the destination with corresponding sequence number greater than or equal to that contained in the RREQ. Otherwise, it re-broadcasts the RREQ. Each node that participates in forwarding a RREP packet back to the source of RREQ creates a forward route to the source node. Each node remembers only the next hop unlike source routing which keeps track of the entire route. Nodes keep track of the RREQ’s source IP address and broadcast ID. If they receive a RREQ packet that they have already processed, they discard the RREQ and do not forward it. As the RREP propagates back to the source, nodes set up forward pointers to the destination. Once the source node receives the RREP, it may begin to forward data packets to the destination.
At any time a node receives a RREP (for any existing destination in its routing table) containing a greater sequence number or the same sequence number with a smaller hop count, it may update its routing information for that destination and begin using the better route. Routes are maintained as follows: If an upstream node in an active route senses a break in the
active route, it can reinitiate the route discovery procedure to establish a new route to the destination (local route repair) or it can propagate an unsolicited RERR with a fresh sequence number and infinity hop count to all active upstream neighbors. Those nodes subsequently relay that message to their active neighbors. This process continues until all active source nodes are notified. Upon receiving notification of a broken link, source nodes can restart the discovery process if they still require the destination. Link failure can be detected by using Hello messages or by using link-layer acknowledgements (LLACKS). The main benefit of AODV over DSR is that the source route does not need to be included with each packet, which results in a reduction of routing protocol overhead. Because the RREP is forwarded along the path established by the RREQ, AODV requires bidirectional links.
C. Wireless Routing Protocols (WRP):
WRP uses an enhanced version of the distance-vector routing protocol which uses the Bellman-Ford algorithm [9] to calculate paths. Because of the mobile nature of the nodes within the MANET, the protocol introduces mechanisms which reduce route loops and ensure reliable message exchange. WRP, similar to DSDV, inherits the properties of the distributed Bellman-Ford algorithm. To counter the count-to-infinity problem and to enable faster convergence, it employs a unique method of maintaining information regarding the shortest distance to every destination node in the network and the penultimate hop node on the path to every destination node. Since WRP, like DSDV, maintains an up-to-date view of the network, every node has a readily available route to every destination node in the network.
The DT contains the network view of the
neighbors of a node. It contains a matrix where each element contains the distance and the penultimate node reported by a neighbor for a particular destination. The RT contains the up-to-date view of the network for all known destinations. It keeps the shortest distance, the predecessor node (penultimate node), the successor node (the next node to reach the destination), and a flag indicating the status of the path. The path status may be a simple path (correct), or a loop (error), or the destination node not marked (null). The LCT contains the cost (e.g., the number of hops to reach the destination) of relaying messages through each link. The cost of a broken link is infinity. It also contains the number of update periods (intervals between two successive periodic updates) passed since the last successful update was received from that link. This is done to detect links breaks. The MRL contains an entry for every update message that is to be retransmitted and maintains a counter for each entry. This counter is decremented after every retransmission of an update message. Each update message contains a list of updates.
A node also marks each node in the RT that has to acknowledge the update message it transmitted. Once the counter reaches zero, the entries in the update message for which no acknowledgments have been received are to be retransmitted and the update message is deleted. Thus, a node detects a link break by the number of update periods missed since the last successful transmission. After receiving an update message, a node not only updates the distance for transmission neighbors but also checks the other neighbors’ distance, hence convergence is much faster than DSDV.
3. NODES MOBILITY MODELS
Different mobility models can be differentiated according to their spatial and temporal dependencies [7].
Spatial dependency: It is a measure of how two nodes are dependent in their motion. If two nodes are moving in same direction then they have high spatial dependency.
Temporal dependency: It is a measure of how current velocity (magnitude and direction) are related to previous velocity. Nodes having same velocity have high temporal dependency.
A. Random Waypoint model
The Random Waypoint model is the most commonly used mobility model in research community. At every instant, a node randomly chooses a destination and moves towards it with a velocity chosen randomly from a uniform distribution [0, V_max], where V_max is the maximum allowable velocity for every mobile node. After reaching the destination, the node stops for a duration defined by the 'pause time' parameter. After this duration, it again chooses a random destination and repeats the whole process until the simulation ends.
B. Random point group mobility
Random point group mobility can be used in military battlefield communication. Here each group has a logical centre (group leader) that determines the group’s motion behavior. Initially each member of the group is uniformly distributed in the neighborhood of the group leader. Subsequently, at each instant, every node has speed and direction that is derived by randomly deviating from that of the group leader. Given below is example topography showing the movement of nodes for Random Point Group Mobility Model.
C. Freeway Mobility Model
This model emulates the motion behavior of mobile nodes on a freeway. It can be used in exchanging traffic status or tracking a vehicle on a freeway. Each mobile node is restricted to its lane on the freeway. The velocity of mobile node is temporally dependent on its previous velocity.
D. Manhattan Mobility Model
composed of a number of horizontal and
vertical streets.
4. PERFORMANCE METRICES
A. Packet Delivery Ratio
Number of Data Packets Delivered over Number of Data Packets Generated. “Number of Data Packets Delivered” is the total number of received data packets by destinations; “Number of Data Packets Generated” is the total number of generated data packets by sources.
B. Average End to End Delay
Average packet delivery time from a source to a destination. First for each source-destination pair, an average delay for packet delivery is computed. Then the whole average delay is computed from each pair average delay.
C. Drop Ratio
Packet Drop rate is one of the indicators for network congestion. In wireless environment, due to the physical media and bandwidth limitations, the chance for packet dropping is increased. Therefore we choose it as one metric.
5. CONCLUSION
In this paper we have studied the routing protocols AODV, DSR and WRP and various mobility models. Here three performance metrics like Packet Delivery Ratio, End-to-End Delay and Drop Ratio are studied. And the studied shows that the behavior of routing protocols varies as the no. of nodes, speed of nodes (Nodes Mobility Models) are changed. The performance of routing protocols varies with the above models.
For future work we can implement these algorithms with the above mobility models. In future we can use different routing protocols and different mobility models.
6. REFERENCES
[1] S. Corson and J. Macker, Mobile Ad hoc Networking (MANET): Routing Protocol Performance Issues and Evaluation Considerations, RFC: 2501, January 1999.
[2] Carlo Kopp, “Ad Hoc Networking”, Systems Journal, pp 33- 40, 1999.
[3] F.Bai, A.Helmy, “A Survey of Mobility Modeling and Analysis in Wireless Adhoc Networks” in Wireless Ad Hoc and Sensor Networks, Kluwer Academic Publishers, 2004.
[4] F. Bai, N. Sadagopan and A. Helmy, "IMPORTANT: A framework to systematically analyze the Impact of Mobility on Performance of Routing protocols for Adhoc Networks, IEEE INFOCOM, pp. 825-835, 2003.
[5] David B. Johnson, David A. Maltz, Yih-Chun Hu, The Dynamic Source Routing (DSR) Protocol for Mobile Ad Hoc Networks.draft-ietf-manet-dsr-10.txt, July 2004.
[6] Charles E. Perkins and Elizabeth M. Royer, “Ad hoc On-Demand Distance Vector Routing”, Proceedings of the 2nd IEEE Workshop on Mobile Computing Systems and Applications, New Orleans, LA, February 1999.
[7] Bhavyesh Divecha , Ajith Abraham, et al, “Impact of Node Mobility on MANET Routing Protocols Models”.