Docsity

adhoc routing protocols, Essays (university) of Mobile Computing

Partial preview of the text

Download adhoc routing protocols and more Essays (university) Mobile Computing in PDF only on Docsity!

Routing Protocols for Ad-Hoc

Networks

Ad-hoc On-Demand Distance Vector Routing

DSR: The Dynamic Source Routing Protocol for

Multi-Hop Wireless Ad Hoc Networks

November 2011, Giorgos Papadakis & Manolis Surligas

Outline

Ad-Hoc networksAd-hoc routing algorithmsAd-Hoc on-demand Distance Vector Routing (AODV)Dynamic Source Routing (DSR)Comparison of AODV and DSR

Ad Hoc Networks

Ad-hoc networks main features:  Decentralized  Do not rely on preexisting infrastructure  Each node participates in routing by forwarding data to neighbor nodes  Fast network topology changes due to nodes’ movement

Ad Hoc Networks

Why do we need ad-hoc networks?  More laptop users  More smartphones users (e.g.. Android phones, iPhones)  More devices with Wi-Fi-support (e.g.. televisions, hi-fi, home-theaters, media servers etc.)  Moving users, vehicles, etc.  Outdoors places  In all these occasions there is no centralized infrastructure (such APs)  So ad-hoc network is a necessity

Outline

Ad-Hoc networksAd-hoc routing algorithmsAd-Hoc on-demand Distance Vector Routing (AODV)Dynamic Source Routing (DSR)Comparison of AODV and DSR

Ad-hoc routing algorithms

Hottest routing algorithm categories:  (^) Pro-active (table-driven) routing Maintains fresh lists of destinations & their routes by periodically distributing routing tables Disadvantages:

  1. Respective amount of data for maintenance
  2. Slow reaction on restructuring and failures (e.g. OSLR, DSDV)  (^) Reactive (on-demand) routing On demand route discovery by flooding the network with Route Request packets Disadvantages:
  3. High latency time in route finding
  4. Flooding can lead to network clogging (e.g. AODV, DSR)

Outline

Ad-Hoc networksAd-hoc routing algorithmsAd-Hoc on-demand Distance Vector Routing (AODV)General infoPath DiscoveryPath MaintenanceLocal Connectivity MaintenanceConclusionDynamic Source Routing (DSR)Comparison of AODV and DSR

(AODV) General info

 Reactive algorithms like AODV create routes on-demand. They must however, reduce as much as possible the acquisition time  We could largely eliminate the need of periodically system-wide broadcasts  AODV uses symmetric links between neighboring nodes. It does not attempt to follow paths between nodes when one of the nodes can not hear the other one

(AODV) General info

 Each node can become aware of other nodes in its neighborhood by using local broadcasts known as hello messages  neighbor routing tables organized to :

  1. optimize response time to local movements
  2. provide quick response time for new routes requests

(AODV) General info

AODV main features:  Broadcast route discovery mechanism  Bandwidth efficiently (small header information)  Responsive to changes in network topology  Loop free routing

(AODV) Path Discovery

 Initiated when a source node needs to communicate with another node for which it has no routing info  Every node maintains two counters:  node_sequence_number  broadcast_id  The source node broadcast to the neighbors a route request packet (called RREQ)

(AODV) Path Discovery

 RREQ structure <src_addr, src_sequence_#, broadcast_id, dest_addr, dest_sequence_#, hop_cnt>  src_addr and broadcast_id uniquely identifies a RREQ  broadcast_id is incremented whenever source node issues a RREQ  Each neighbor either satisfy the RREQ, by sending back a routing reply (RREP), or rebroadcast the RREQ to its own neighbors after increasing the

(AODV) Path Discovery

  1. Reverse Path Setup  In each RREQ there are:  src_sequence_#  the last dest_sequence_#  src_sequence_# used to maintain freshness information about the reverse route to the source  dest_sequnece_# indicates how fresh a route must be, before it can be accepted by the

(AODV) Path Discovery

1.Reverse Path Setup (continue)  As RREQ travels from source to many destinations, it automatically sets up the reverse path, from all nodes back to the source. But how does it work?  Each node records the address of the neighbor from which it received the first copy of the RREQ  These entries are maintained for at least enough time, for the RREQ to traverse the network and produce a reply