CS5984 Mobile Computing

Similar documents
Ad hoc On Demand Distance Vector (AODV) Routing Protocol

Behavior Analysis of TCP Traffic in Mobile Ad Hoc Network using Reactive Routing Protocols

A Modified Shared-tree Multicast Routing Protocol in Ad Hoc Network

A Comparison Study of Qos Using Different Routing Algorithms In Mobile Ad Hoc Networks

Optimization of AODV routing protocol in mobile ad-hoc network by introducing features of the protocol LBAR

Study And Comparison Of Mobile Ad-Hoc Networks Using Ant Colony Optimization

Keywords: DSDV and AODV Protocol

PERFORMANCE ANALYSIS OF AD-HOC ON DEMAND DISTANCE VECTOR FOR MOBILE AD- HOC NETWORK

Performance Evaluation of AODV, OLSR Routing Protocol in VOIP Over Ad Hoc

Lecture 2.1 : The Distributed Bellman-Ford Algorithm. Lecture 2.2 : The Destination Sequenced Distance Vector (DSDV) protocol

Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme. Auxiliary Protocols

IP Multicasting. Applications with multiple receivers

A Study of Internet Connectivity for Mobile Ad Hoc Networks in NS 2

Performance Analysis of Load Balancing in MANET using On-demand Multipath Routing Protocol

A Comprehensive Analysis on Route Discovery and Maintenance Features of DSDV, AODV and IERF Ad-hoc Routing Protocols

Fast and Secure Data Transmission by Using Hybrid Protocols in Mobile Ad Hoc Network

Abstract. 1 Introduction. Aleksandr Huhtonen Helsinki University of Technology Telecommunication Software and Multimedia Laboratory ahuhtone@cc.hut.

SIMULATION STUDY OF BLACKHOLE ATTACK IN THE MOBILE AD HOC NETWORKS

NetworkPathDiscoveryMechanismforFailuresinMobileAdhocNetworks

Simulation of Internet Connectivity for Mobile Ad Hoc Networks in Network Simulator-2

COMPARATIVE ANALYSIS OF ON -DEMAND MOBILE AD-HOC NETWORK

Figure 1. The Example of ZigBee AODV Algorithm

Study of Network Characteristics Incorporating Different Routing Protocols

Graph Theory Algorithms for Mobile Ad Hoc Networks

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

DSR: The Dynamic Source Routing Protocol for Multi-Hop Wireless Ad Hoc Networks

DESIGN AND DEVELOPMENT OF LOAD SHARING MULTIPATH ROUTING PROTCOL FOR MOBILE AD HOC NETWORKS

Hierarchical routing in ad hoc mobile networks

CROSS LAYER BASED MULTIPATH ROUTING FOR LOAD BALANCING

Distance Vector Routing Protocols. Routing Protocols and Concepts Ola Lundh

Formal Measure of the Effect of MANET size over the Performance of Various Routing Protocols

An Extended AODV Protocol to Support Mobility in Hybrid Networks

Introduction to IP v6

Modified AODV protocol for prevention of Denial of service attacks in wireless Ad hoc networks

An Efficient QoS Routing Protocol for Mobile Ad-Hoc Networks *

PERFORMANCE ANALYSIS OF AODV, DSDV AND AOMDV USING WIMAX IN NS-2

Keywords- manet, routing protocols, aodv, olsr, grp,data drop parameter.

An Efficient AODV-Based Algorithm for Small Area MANETS

Dynamic Source Routing in Ad Hoc Wireless Networks

Adapting Distributed Hash Tables for Mobile Ad Hoc Networks

ADAPTIVE LINK TIMEOUT WITH ENERGY AWARE MECHANISM FOR ON-DEMAND ROUTING IN MANETS

CSE331: Introduction to Networks and Security. Lecture 8 Fall 2006

Delay aware Reactive Routing Protocols for QoS in MANETs: a Review

A Survey of Mobile Ad Hoc network Routing Protocols*

Internet Connectivity for Ad hoc Mobile Networks

Routing Performance in the Presence of Unidirectional Links in Multihop Wireless Networks

A Survey on Reduction in Energy Consumption by Improved AODV on Mobile Ad Hoc Network

International Journal of Advanced Research in Computer Science and Software Engineering

Location-Aided Routing (LAR) in mobile ad hoc networks

PERA: Ad-Hoc Routing Protocol for Mobile Robots

MASTER'S THESIS. Routing Protocols in Wireless Ad-hoc Networks - A Simulation Study. Tony Larsson, Nicklas Hedman. Civilingenjörsprogrammet

Route Discovery Protocols

Comprehensive Evaluation of AODV, DSR, GRP, OLSR and TORA Routing Protocols with varying number of nodes and traffic applications over MANETs

TORA : Temporally Ordered Routing Algorithm

Security for Ad Hoc Networks. Hang Zhao

Congestion control in Mobile Ad-Hoc Networks (MANETs)

A Review of Routing Protocols for Mobile Ad-Hoc NETworks (MANET)

A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols

Achieving Energy Efficiency in MANETs by Using Load Balancing Approach

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

APPLICATION NOTE. AVR2130: Lightweight Mesh Developer Guide. Atmel MCU Wireless. Features. Description

Performance Metrics Evaluation of Routing Protocols in MANET

Dynamic Routing Protocols II OSPF. Distance Vector vs. Link State Routing

Security in Ad Hoc Network

Tomás P. de Miguel DIT-UPM. dit UPM

Chapter 5. Simple Ad hoc Key Management. 5.1 Introduction

A Review of Secure Ad-hoc Routing

Introduction to IP Multicast Routing

Location-Aided Routing (LAR) in mobile ad hoc networks

The necessity of multicast for IPTV streaming

LIST OF FIGURES. Figure No. Caption Page No.

Link-State Routing Protocols

An On-demand Scheduling Routing Protocol for IPv6 Industrial Wireless Sensor Networks based on Deterministic Scheduling

OSPF Version 2 (RFC 2328) Describes Autonomous Systems (AS) topology. Propagated by flooding: Link State Advertisements (LSAs).

UNIT 8:- Mobile Ad-Hoc Networks, Wireless Sensor Networks

Security Threats in Mobile Ad Hoc Networks

II RELATED PROTOCOLS. Dynamic Source Routing (DSR)

A Performance Comparison of Stability, Load-Balancing and Power-Aware Routing Protocols for Mobile Ad Hoc Networks

A Performance Comparison of Routing Protocols for Large-Scale Wireless Mobile Ad Hoc Networks

Performance Comparison of AODV, DSDV, DSR and TORA Routing Protocols in MANETs

Load Balancing and Resource Reservation in Mobile Ad-Hoc Networks 1

Routing Protocols Security in Ah Hoc Networks

Routing Protocol Comparison for 6LoWPAN

Hosts Address Auto Configuration for Mobile Ad Hoc Networks

Quality of Service Routing in Mobile Ad Hoc Networks

An Analysis of the Optimum Node Density for Ad hoc Mobile Networks

Administrative Distance

Name Resolution in On-Demand MANETs and over External IP Networks

Performance of VoIP strategies for hybrid Mobile Ad Hoc Networks

A Distributed Protocol for Dynamic Address. Assignment in Mobile Ad Hoc Networks

CS335 Sample Questions for Exam #2

PERFORMANCE STUDY AND SIMULATION OF AN ANYCAST PROTOCOL FOR WIRELESS MOBILE AD HOC NETWORKS

Analysis of Denial of Service Attack Using Proposed Model

Autoconfiguration and maintenance of the IP address in ad-hoc mobile networks

Location Information Services in Mobile Ad Hoc Networks

A Review of Current Routing Protocols for Ad Hoc Mobile Wireless Networks

SURVEY OF OPTIMISTIC POWER AWARE ROUTING PROTOCOLS IN MOBILE DATACENTER NETWORKS

Suganya D. Computer Science and Engineering, Anna University SMK FOMRA Institute of Technology, Chennai, India

Adaptive Multiple Metrics Routing Protocols for Heterogeneous Multi-Hop Wireless Networks

Transcription:

CS5984 Mobile Computing Dr. Ayman Abdel-Hamid Computer Science Department Virginia Tech Multicast Operation of AODV 1

Outline Routing Protocols for Ad hoc Networks Multicast operation of AODV 2

Multicast challenges in MANET Multicast routing in the Internet Shortest Path tree algorithms Minimum Cost tree algorithms Constrained tree algorithms In MANET, need to optimize several resources simultaneously Nodes have limited power (battery-power) Wireless bandwidth is scarce No centralized access point or existing infrastructure to keep track of node mobility Potentially unpredictable and rapidly changing topology 3

Multicast in OADV AODV is capable of unicast, broadcast, and multicast Discover unicast and multicast routes on-demand, using a broadcast route discovery mechanism Route information obtained when searching for a multicast route can also increase unicast routing knowledge, and vice versa Broadcast data delivery Use source IP address and identification fields of IP header as unique packet identifier Processing and propagation of a data packet multiple times is prevented 4

Routing Tables Route Table (next hop for routes to other nodes in network) Destination IP address Hope count to destination Lifetime Destination sequence number Next hop Multicast Route Table (multicast groups of which the node is a router) Multicast group IP address Multicast group sequence number Next hops (with Enabled flag) Multicast group leader IP address Hop count to multicast group leader Lifetime Request Table (for optimization purposes) Multicast group IP address Requesting node IP address (group leader) 5

Unicast Operation 1/2 RREQ J_Flag, R_Flag, Boradcast_ID, Source_Addr, Source_Seq#, Dest_Addr, Dest_Seq#, Hop_Cnt J_Flag: Join flag R_Flag: Repair flag RREP R_Flag, U_Flag, Dest_Addr, Dest_Seq#, Hop_Cnt, Lifetime R_Flag: Repair Flag U_Flag: Update Flag Dest_Seq#: responding node s record of the destination s sequence number 6

Unicast Operation 2/2 RREQ RREP 7

Multicast operation Use RREQ/RREP as previously discussed for unicast routing One new message called Multicast Activation (MACT) As nodes join the multicast group A multicast tree composed of group members and nodes connecting group members is created A multicast group leader (typically first node that requests membership to the group) maintains multicast group sequence number Multicast group members agree to be routers in the multicast tree 8

Route Request Message Generation 1/3 Send a RREQ when Wish to join a multicast group (set J_flag in RREQ) Has data to send to a multicast group and no route exists Set Dest_Addr of RREQ to multicast group IP address Destination seq# set to last known seq# for that group If source node is aware of multicast group leader (through request table) and has valid route, unicast (include an extension field including IP address of multicast group leader), else broadcast A router for the group may respond to a join RREQ If not a join RREQ, any node with a fresh enough route to multicast group may respond 9

Route Request Message Generation 2/3 If no RREP before timeout, broadcast another RREQ with an incremented Broadcast_ID Continue broadcasting RREQ up to rreq_retries. If reach maximum number of times, node becomes multicast group leader and init group sequence number to 1 If original RREQ is unicast, and RREP not received, all further RREQs are broadcast (do not include group leader extension field) Nodes receiving a join RREQ Check request table for entry If no entry, insert entry for multicast group address and requesting node IP address 10

Route Request Message Generation 3/3 11

Reverse Route Establishment Propagation of non-join RREQs is similar to unicast routing case For a join RREQ Maintain a corresponding routing entry in multicast route table (in addition to Route table) Enabled flag for entry set to FALSE (will be set to TRUE later, if route selected to be added to multicast tree) 12

Route Reply Message Generation 1/3 If receive a join RREQ, reply (generate a RREP) if A router for multicast group with a recorded sequence number >= sequence number in RREQ Group leader Unicast RREP back to node indicated by Source_Addr in RREQ RREP contains last known sequence number for group and IP address of group leader A special extension field (Mgroup_Hop). Initialized to zero and incremented every time packet is forwarded (gives an indication to source about number of hops between itself and nearest member of multicast tree) Extension field (Group_Leader_Addr) containing group leader IP address 13

Route Reply Message Generation 2/3 Nodes along path back to source node Add a route table and multicast route table entry for node from which RREP was received (forward path creation) Increment Hop_Cnt and Mgroup_Hops If a node receives a unicast RREQ with its address as group leader, and it is not Ignore request (do not propagate further) Source node will send another RREQ without including the group leader field 14

Route Reply Message Generation 3/3 15

Group Hello Messages Group leader responsible for maintaining group sequence number and disseminating it to group members Periodically broadcast a group hello message (unsolicited RREP with TTL > network diameter) Mutlicast group IP address and corresponding sequence numbers Sequence number incremented for each group Hello Hop_Cnt of group Hello init to zero, and incremented by each node receiving it Nodes use group Hello information to update request table 16

3 main categories Multicast tree maintenance Selecting and activating the link to be added to the tree when a new node joins the group Pruning the tree when node leaves Repairing a broken link (re-establishing branches when a link fails and reconnecting the tree after a network partition) 17

Multicast Route Activation 1/2 When a RREQ is broadcasted, multiple RREPs can be received (potential additions to multicast tree) Source node waits for a timeout value and meanwhile maintains the received route with the greatest sequence number and shortest number of hops to nearest member At end of timeout, enable next hop in multicast route table Unicast a Multicast Activation (MACT) to selected next hop P_Flag (Prune), GL_Flag (Group Leader), Source_Addr, Source_Seq#, Dest_Addr If next hop, a member of multicast tree, does not propagate If not member, repeat steps above and send MACT to its next hop The process repeats until MACT reaches a member of the multicast group Nodes forward data packets along activated routes in multicast table 18

Multicast Route Activation 2/2 Branch added to multicast tree 19

Pruning If node not a leaf, revoke member status, but continue to serve as a router for the tree If leaf, unicast MACT message and set P_Flag (Prune Flag) A leaf node has only one next hop for the multicast group (father node) Father node removes information for sender node from multicast table If it had been made a leaf, similarly prune itself from tree (if not a member of the multicast group) Tree branch pruning terminates when either a multicast group member or a non-leaf node is reached 20

Link Breakage 1/2 Nodes promiscuously record reception of any neighbor s transmission Link breakage is detected if no packets received from neighbor within a specific time interval Node downstream of the break is responsible for repairing broken link Node further from multicast group leader Initiate repair by broadcasting a RREQ with J_Flag set, and Mgroup_Hop set to distance of node from group leader Nodes which are at least as close to group leader (hop count to group leader smaller than indicated by Mgroup_Hop), and have a fresh enough route may reply to RREQ If no RREP is received after a number of retries, assume network partitioned 21

Link Breakage 2/2 If partitioned, need to choose a new group leader If node initiating tree rebuilding is a group member, it becomes the new leader If not a group member, and has only one next hop for tree prune itself from tree by sending MACT with P_Flag set Next node if a multicast group member, becomes the new group leader, if not the process repeats until a new group leader is reached If not a group member, and has more than one next hop Cannot prune itself from tree Selects first next hop and unicasts a MACT with GL_Flag set Next hop should become new group leader (if a group member) New leader broadcasts a group Hello across its connected part of the network (U_Flag set, for nodes to update request table) 22

Reconnecting Partitioned Trees 1/2 Two group leaders after partition If partitions reconnect, a node receives a group Hello that contains information differing from what is currently known If already a member of multicast group and member of partition whose leader has lower IP address, init rebuilding the tree (ensure that one group leader attempts rebuild) Unicast a RREQ with R_Flag set to its group leader Group leader sends back a RREP (no other rebuild efforts allowed) After receiving the RREP, unicast a RREQ to other group leader (using the node from which it received the group Hello as next hop) 23

Reconnecting Partitioned Trees 2/2 The other group leader notes the repair flag Take larger of its record of the group sequence number and the received sequence number and increment by one Send back a RREP back to source node As RREP travels back to source node, it grafts a branch on the tree This group leader becomes the leader of the reconnected tree Next time, the new group leader sends a group Hello setting the U_Flag (nodes that used to belong to other partition note the new leader and the merge is complete) 24