Docsity

DSR: Data Delivery and Route Maintenance in Ad-hoc Networks, Study notes of Mobile Computing

Partial preview of the text

Download DSR: Data Delivery and Route Maintenance in Ad-hoc Networks and more Study notes Mobile Computing in PDF only on Docsity!

Data Delivery in DSR

B

A

S

E

F

H

J

D

C

G

I

K

Z

Y

M

N

L

DATA [S,E,F,J,D]

Packet header size grows with route length

DSR

Sourc e Destination

RREQ

  • N - N - N - N - N - N - N - N
    • N RREP - N - N1-N - N1-N - N1-N3-N - N1-N3-N - N1-N3-N - N1-N3-N4-N - N1-N2-N - N1-N3-N4-N - N1-N2-N5-N - N1-N2-N5-N
  • N1-N2-N5-N

Additional Optimizations

  • (^) Packet Salvaging
    • (^) An intermediate node can use an alternate route from its own cache in case of a failed link.
  • (^) Gratuitous route repair
    • (^) A source node receiving an RERR packet piggybacks the RERR in the following RREQ.
    • (^) Helps clean up cashes of other nodes in network.
  • (^) Promiscuous listening
    • (^) When a node overhears packet checks to see whether it could be routed via itself to gain a shorter route and sends a gratuitous RREP to source.
    • (^) Learn different routes without participating in routing process.

DSR Optimization: Route

Caching

  • (^) Each node caches a new route it learns by any means
  • (^) When node S finds route [S,E,F,J,D] to node D, node S also learns route [S,E,F] to node F
  • (^) When node K receives Route Request [S,C,G] destined for node, node K learns route [K,G,C,S] to node S
  • (^) When node F forwards Route Reply RREP [S,E,F,J,D], node F learns route [F,J,D] to node D
  • (^) When node E forwards Data [S,E,F,J,D] it learns route [E,F,J,D] to node D
  • (^) A node may also learn a route when it overhears Data
  • (^) Problem: Stale caches may increase overheads