1 / 129

Ad Hoc Wireless Networks: Routing

Ad Hoc Wireless Networks: Routing. EE206A (Spring 2004): Lecture #4. Note: Many slides are based on Mobicom 2000 tutorial by Nitin Vaidya, UIUC, and on Mobile Computing (Summer 2003) course by R. Wattenhofer at ETH, Switzerland. Reading List for This Lecture.

vonda
Download Presentation

Ad Hoc Wireless Networks: Routing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Ad Hoc Wireless Networks: Routing EE206A (Spring 2004): Lecture #4 Note: Many slides are based on Mobicom 2000 tutorial by Nitin Vaidya, UIUC, and on Mobile Computing (Summer 2003) course by R. Wattenhofer at ETH, Switzerland

  2. Reading List for This Lecture • [REQUIRED] Elizabeth M. Royer and C.-K. Toh. "A Review of Current Routing Protocols for Ad-Hoc Mobile Wireless Networks."IEEE Personal Communications Magazine, April 1999, pp. 46-55.http://www.cs.ucsb.edu/~ebelding/txt/review.ps

  3. Wireless Ad Hoc Networks • Disaster recovery, Battlefield, Meetings • Two features • No infrastructure • Multihop: not every node can hear every other node

  4. Classes of Wireless Ad Hoc Networks • Three distinct classes • Mobile Ad Hoc Networks (MANET) • possibly highly mobile nodes • power constrained • Wireless Ad Hoc Sensor/Device Networks • relatively immobile • severely power constrained nodes • large scale • Wireless Ad Hoc Backbone Networks • rapidly deployable wireless infrastructure • largely immobile nodes • Common attributes: • Ad hoc deployment, no infrastructure • Routes between S-D nodes may contain multiple hops

  5. MANET • Foremost Issue: Routing

  6. Multihop Routing • Traverse multiple links to reach a destination

  7. MANET • Mobility causes route changes

  8. Variations • Fully symmetric vs. asymmetries in • Transmission ranges • Battery life • Processing capability • Speed, patterns, and predictability of movement • Ability to act as multihop relay • Ability to act as leaders of a cluster of nodes • Coexistence with an infrastructure • Variations in traffic characteristics • Bit rate, timeliness • Unicast/multicast/geocast • Addressing (host, content, capability)

  9. Flooding for Data Delivery • Simplest form of routing • Sender S broadcasts data packet P to all its neighbors • Each node receiving P forwards P to its neighbors • Sequence numbers used to avoid the possibility of forwarding the same packet more than once • Packet P reaches destination D provided that D is reachable from sender S • Node D does not forward the packet • Problems: • A node may see the same packet more than once • How often? • What if the network is huge but S and D are nearby? • Need smarter routing!

  10. Flooding for Data Delivery Y Z S E F B C M L J A G H D K I N Represents a node that has received packet P Represents that connected nodes are within each other’s transmission range

  11. Flooding for Data Delivery Y Broadcast transmission Z S E F B C M L J A G H D K I N Represents a node that receives packet P for the first time Represents transmission of packet P

  12. Flooding for Data Delivery Y Z S E F B C M L J A G H D K I N • Node H receives packet P from two neighbors: • potential for collision

  13. Flooding for Data Delivery Y Z S E F B C M L J A G H D K I N • Node C receives packet P from G and H, but does not forward • it again, because node C has already forwarded packet P once

  14. Flooding for Data Delivery Y Z S E F B C M L J A G H D K I N • Nodes J and K both broadcast packet P to node D • Since nodes J and K are hidden from each other, their • transmissions may collide • =>Packet P may not be delivered to node D at all, • despite the use of flooding

  15. Flooding for Data Delivery Y Z S E F B C M L J A G H D K I N • Node D does not forward packet P, because node D • is the intended destination of packet P

  16. Flooding for Data Delivery Y Z S E F B C M L J A G H D K I N • Flooding completed • Nodes unreachable from S do not receive packet P (e.g., node Z) • Nodes for which all paths from S go through the destination D • also do not receive packet P (example: node N)

  17. Flooding for Data Delivery Y Z S E F B C M L J A G H D K I N • Flooding may deliver packets to too many nodes • (in the worst case, all nodes reachable from sender • may receive the packet)

  18. Flooding for Data Delivery: Advantages • Simplicity • May be more efficient than other protocols when rate of information transmission is low enough that the overhead of explicit route discovery/maintenance incurred by other protocols is relatively higher • this scenario may occur, for instance, when nodes transmit small data packets relatively infrequently, and many topology changes occur between consecutive packet transmissions • Potentially higher reliability of data delivery • Because packets may be delivered to the destination on multiple paths

  19. Flooding for Data Delivery: Disadvantages • Potentially, very high overhead • Data packets may be delivered to too many nodes who do not need to receive them • Potentially lower reliability of data delivery • Flooding uses broadcasting -- hard to implement reliable broadcast delivery without significantly increasing overhead • Broadcasting in IEEE 802.11 MAC is unreliable • In our example, nodes J and K may transmit to node D simultaneously, resulting in loss of the packet • in this case, destination would not receive the packet at all

  20. Flooding of Control Packets • Many protocols perform (potentially limited) flooding of control packets, instead of data packets • The control packets are used to discover routes • Discovered routes are subsequently used to send data packet(s) • Overhead of control packet flooding is amortized over data packets transmitted between consecutive control packet floods • Flooding needs to be efficient!

  21. Efficient Flooding

  22. Backbone

  23. (Connected) Dominating Set

  24. Formal M(C)DS Problem

  25. Classic Routing: Link State • Link State Routing are a preferred within a service provider in the internet • Idea: periodic notification to all nodes about the complete network graph • Packet then forwarded along the shortest path • But • Every node needs to store the whole graph, even nodes that are not on any path • Every node needs to regularly send and receive messages that describe the whole network graph

  26. Classic Routing: Distance Vector • Predominant method in wired networks • Idea: each node stores a table with entries (destination, neighbor, distance) • If a node notices a change in its neighborhood, or receives an update from a neighbor, it updates its routing table accordingly and sends an update to its neighbors • Message follows shortest path • But • Most topology changes are irrelevant for a given S-D pair • Every node needs to store a big table • Convergence problems

  27. Unicast Routing in MANET • Host mobility • link failure/repair due to mobility may have different characteristics than those due to other causes • Rate of link failure/repair may be high when nodes move fast • New performance criteria may be used • route stability despite mobility • energy consumption • Many protocols have been proposed • Some have been invented specifically for MANET • Others are adapted from older protocols for wired networks • No single protocol works well in all environments • some attempts made to develop adaptive protocols

  28. Types of Protocols • Proactive protocols • Determine routes independent of traffic pattern • Traditional (link-state, distance-vector) routing protocols are proactive • Reactive protocols • Maintain routes only if needed • Hybrid protocols

  29. Trade-off • Latency of route discovery • Proactive protocols may have lower latency since routes are maintained at all times • Reactive protocols may have higher latency because a route from X to Y will be found only when X attempts to send to Y • Overhead of route discovery/maintenance • Reactive protocols may have lower overhead since routes are determined only if needed • Proactive protocols can (but not necessarily) result in higher overhead due to continuous route updating • Which approach achieves a better trade-off depends on the traffic and mobility patterns

  30. Trick 1: Radius Growth

  31. Trick 2: Source Routing

  32. Trick 3: Asymmetric Links

  33. Trick 4: Re-use / Cache Routes

  34. Trick 5: Local Search

  35. Trick 6: Hierarchy

  36. Trick 7: Clustering

  37. Trick 8: Implicit Acknowledgement

  38. Trick 9: Smarter Updates

  39. Trick 10: Use Other Distance Metrics

  40. Routing in Ad Hoc Networks • 10 tricks  2^10 routing protocols • In reality there are almost that many! • How good are these routing protocols? Any hard results? • Almost none! Simulation is the method-of-choice • Perkins: “if you simulate three times, you will get three different results”

  41. Dynamic Source Routing (DSR) [Johnson96] • When node S wants to send a packet to node D, but does not know a route to D, node S initiates a route discovery • Source node S floods Route Request (RREQ) • Each node appends own identifier when forwarding RREQ

  42. Route Discovery in DSR Y Z S E F B C M L J A G H D K I N Represents a node that has received RREQ for D from S

  43. Route Discovery in DSR Y Broadcast transmission Z [S] S E F B C M L J A G H D K I N Represents transmission of RREQ [X,Y] Represents list of identifiers appended to RREQ

  44. Route Discovery in DSR Y Z S [S,E] E F B C M L J A G [S,C] H D K I N • Node H receives packet RREQ from two neighbors: • potential for collision

  45. Route Discovery in DSR Y Z S E F [S,E,F] B C M L J A G H D K [S,C,G] I N • Node C receives RREQ from G and H, but does not forward • it again, because node C has already forwarded RREQ once

  46. Route Discovery in DSR Y Z S E F [S,E,F,J] B C M L J A G H D K I N [S,C,G,K] • Nodes J and K both broadcast RREQ to node D • Since nodes J and K are hidden from each other, their • transmissions may collide

  47. Route Discovery in DSR Y Z S E [S,E,F,J,M] F B C M L J A G H D K I N • Node D does not forward RREQ, because node D • is the intended targetof the route discovery

  48. Route Discovery in DSR • Destination D on receiving the first RREQ, sends a Route Reply (RREP) • RREP is sent on a route obtained by reversing the route appended to received RREQ • RREP includes the route from S to D on which RREQ was received by node D

  49. Route Reply in DSR Y Z S RREP [S,E,F,J,D] E F B C M L J A G H D K I N Represents RREP control message

  50. Route Reply in DSR • Route Reply can be sent by reversing the route in Route Request (RREQ) only if links are guaranteed to be bi-directional • To ensure this, RREQ should be forwarded only if it received on a link that is known to be bi-directional • If unidirectional (asymmetric) links are allowed, then RREP may need a route discovery for S from node D • Unless node D already knows a route to node S • If a route discovery is initiated by D for a route to S, then the Route Reply is piggybacked on the Route Request from D. • If IEEE 802.11 MAC is used to send data, then links have to be bi-directional (since Ack is used)

More Related