1 15-441 Computer Networking Lecture 10 – Geographic Ad Hoc Routing.

Slides:



Advertisements
Similar presentations
Geographic Routing Without Location Information AP, Sylvia, Ion, Scott and Christos.
Advertisements

ECE /24/2005 A Survey on Position-Based Routing in Mobile Ad-Hoc Networks Alok Sabherwal.
A Presentation by: Noman Shahreyar
1 GPSR: Greedy Perimeter Stateless Routing for Wireless Networks B. Karp, H. T. Kung Borrowed slides from Richard Yang.
Geo – Routing in ad hoc nets References: Brad Karp and H.T. Kung “GPSR: Greedy Perimeter Stateless Routing for Wireless Networks”, Mobicom 2000 M. Zorzi,
Geographic Routing Without Location Information A. Rao, S. Ratnasamy, C. Papadimitriou, S. Shenker, I. Stoica Paper and Slides by Presented by Ryan Carr.
“Location-Aided Routing (LAR) in Mobile Ad Hoc Network” by Young-bae ko Nitin H. Validya presented by Mark Miyashita.
Span: An Energy-Efficient Coordination Algorithm for Topology Maintenance in Ad Hoc Wireless Networks ACM Wireless Networks Journal, 2002 BENJIE CHEN,
Data-Centric Storage in Sensor Networks With GHT Khaldoun A. Ibrahim,
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #4 Mobile Ad-Hoc Networks AODV Routing.
1 Distributed Navigation Algorithms for Sensor Networks Chiranjeeb Buragohain, Divyakant Agrawal, Subhash Suri Dept. of Computer Science, University of.
Geometric Spanners for Routing in Mobile Networks Jie Gao, Leonidas Guibas, John Hershberger, Li Zhang, An Zhu.
Efficient Hop ID based Routing for Sparse Ad Hoc Networks Yao Zhao 1, Bo Li 2, Qian Zhang 2, Yan Chen 1, Wenwu Zhu 3 1 Lab for Internet & Security Technology,
Wireless Ad Hoc Network Routing Protocols CSE Maya Rodrig.
Georouting in ad hoc nets References: Brad Karp and H.T. Kung “GPSR: Greedy Perimeter Stateless Routing for Wireless Networks”, Mobicom 2000 M. Zorzi,
Scalable Location Management for Large Mobile Ad hoc Networks Sumesh J. Philip.
CS 672 Paper Presentation Presented By Saif Iqbal “CarNet: A Scalable Ad Hoc Wireless Network System” Robert Morris, John Jannotti, Frans Kaashoek, Jinyang.
1 GPSR: Greedy Perimeter Stateless Routing for Wireless Networks B. Karp, H. T. Kung Borrowed some Richard Yang‘s slides.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
Beacon Vector Routing: Scalable Point-to-Point Routing in Wireless Sensornets.
Scalable Location Management for Large Mobile Ad hoc Networks Sumesh J. Philip.
Geographic Routing Without Location Information A. Rao, C. Papadimitriou, S. Shenker, and I. Stoica In Proceedings of the 9th Annual international Conference.
Ad Hoc Wireless Routing COS 461: Computer Networks
Roadmap-Based End-to-End Traffic Engineering for Multi-hop Wireless Networks Mustafa O. Kilavuz Ahmet Soran Murat Yuksel University of Nevada Reno.
A Scalable Location Service for Geographic Ad Hoc Routing Jinyang Li, John Jannotti, Douglas S. J. De Couto, David R. Karger, Robert Morris MIT Laboratory.
Location-Aided Routing (LAR) in Mobile Ad Hoc Networks Young-Bae Ko and Nitin H. Vaidya Recipient of the MOBICOM'98 Best Student Paper Award.
Geographic Routing: GPSR Brad Karp UCL Computer Science CS M038 / GZ06 19 th January, 2009.
Itrat Rasool Quadri ST ID COE-543 Wireless and Mobile Networks
2008/2/191 Customizing a Geographical Routing Protocol for Wireless Sensor Networks Proceedings of the th International Conference on Information.
Carnet: Scalable Ad-Hoc Mobile Networking Robert Morris with Kaashoek and Karger.
1 Spring Semester 2009, Dept. of Computer Science, Technion Internet Networking recitation #3 Mobile Ad-Hoc Networks AODV Routing.
Scalable Routing Protocols for Mobile Ad Hoc Networks Xiaoyan Hong, Kaixin Xu, and Mario Gerla at UCLA.
Mobile Adhoc Network: Routing Protocol:AODV
Routing Protocols of On- Demand Dynamic Source Routing (DSR) Ad-Hoc On-Demand Distance Vector (AODV)
A Scalable Location Service for Geographic Ad Hoc Routing Jinyang Li, John Jannotti, Douglas S. J. De Couto, David R. Karger, Robert Morris Presented By.
GPSR: Greedy Perimeter Stateless Routing for Wireless Networks EECS 600 Advanced Network Research, Spring 2005 Shudong Jin February 14, 2005.
Dynamic Routing in Mobile Ad Hoc Network 報告者:呂佐鴻 指導教授:李鴻璋.
SRL: A Bidirectional Abstraction for Unidirectional Ad Hoc Networks. Venugopalan Ramasubramanian Ranveer Chandra Daniel Mosse.
Hierarchical Grid Location Management for Large Wireless Ad hoc Networks Sumesh J. Philip Chunming Qiao Dept. of Computer Science and Engineering State.
CarNet/Grid: Scalable Ad-Hoc Geographic Routing Robert Morris MIT / LCS
P2P Group Meeting (ICS/FORTH) Monday, 28 March, 2005 A Scalable Content-Addressable Network Sylvia Ratnasamy, Paul Francis, Mark Handley, Richard Karp,
Geographic Routing without Location Information Ananth Rao, Sylvia Ratnasamy, Christos Papadimitriou, Scott Shenker and Ion Stoica MobiCom 2003.
6.964 Pervasive Computing Grid: Scalable Ad Hoc Networking 1 November 2001 Douglas S. J. De Couto Parallel and Distributed Operating Systems Group MIT.
1 Presented by Jing Sun Computer Science and Engineering Department University of Conneticut.
SGPS A Hybrid of Topology and Location Based Protocol for Ad hoc Networks Jingyi Yu Computer Graphics Group.
New and Improved Geographic Routing: CLDP Brad Karp UCL Computer Science CS 4038 / GZ06 16 th January, 2008.
Geographic Routing: GPSR
Massively Distributed Database Systems In-Network Query Processing (Ad-Hoc Sensor Network) Fall 2015 Ki-Joune Li Pusan.
Energy Efficient Data Management for Wireless Sensor Networks with Data Sink Failure Hyunyoung Lee, Kyoungsook Lee, Lan Lin and Andreas Klappenecker †
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
Ad Hoc On-Demand Distance Vector Routing (AODV) ietf
Fundamentals of Computer Networks ECE 478/578
Grid: Scalable Ad Hoc Wireless Networking Douglas De Couto
Grid: Scalable Ad-Hoc Wireless Networking Douglas De Couto
Geographic Routing without Location Information. Assumption by Geographic Routing Each node knows its own location.  outdoor positioning device: GPS:
Survey of Ad Hoc Network Routing Protocols Team Adhocracy Presentation 2 – April 12, 2007 Jason Winnebeck Benjamin Willis Travis Thomas.
Survey of Ad Hoc Network Routing Protocols Team Adhocracy Presentation 4 – May 10, 2007 Jason Winnebeck Benjamin Willis Travis Thomas.
A Location-Based Routing Method for Mobile Ad Hoc Networks
GPSR Greedy Perimeter Stateless Routing
Grid: Scalable Ad-Hoc Geographic Routing
Internet Networking recitation #4
Sensor Network Routing
Overview of Unicast Routing Protocols for Multihop Wireless Networks
CS 457 – Lecture 12 Routing Spring 2012.
Intra-Domain Routing Jacob Strauss September 14, 2006.
任課教授:陳朝鈞 教授 學生:王志嘉、馬敏修
CMPE 252A : Computer Networks
Overview: Chapter 3 Networking sensors
Routing.
CMPE 252A : Computer Networks
Presentation transcript:

Computer Networking Lecture 10 – Geographic Ad Hoc Routing

2 Readings [I.1] GPSR: Greedy Perimeter Stateless Routing for Wireless Networks, Karp, B., and Kung. H. T., Proc. 6th Annual International Conference on Mobile Computing and Networking (MobiCom 2000), GPSR: Greedy Perimeter Stateless Routing for Wireless Networks [I.7] Jinyang Li, John Jannotti, Douglas S. J. De Couto, David R. Karger, and Robert Morris, "A Scalable Location Service for Geographic Ad Hoc Routing." Proceedings of the sixth ACM International Conference on Mobile Computing and Networking (MobiCom '00), July 2000, Boston, Massachusetts. Pages A Scalable Location Service for Geographic Ad Hoc Routing [I.11] Ananth Rao, Sylvia Ratnasamy, Christos Papadimitriou, Scott Shenker, and Ion Stoica. Geographic Routing without Location Information. In Proc. of ACM Mobicom 2003, Sept Geographic Routing without Location Information. OPTIONAL [I.12] Young-Bae Ko and Nitin H. Vaidya, "Location-Aided Routing(LAR) in Mobile Ad Hoc Networks" In Proceedings of the 4th Annual International Conference on Mobile Computing and Networking (MOBICOM'98), October, 1998."Location-Aided Routing(LAR) in Mobile Ad Hoc Networks"

3 Context Early 90s: availability of off-the-shelf wireless network cards and laptops 1994: first papers on Destination-Sequenced Distance Vector (DSDV) routing and Dynamic Source Routing (DSR) spark tremendous interest in routing on mobile wireless (ad hoc) networks 1998: Broch et al.’s comparison of leading ad hoc routing protocol proposals in ns-2 simulator in MobiCom [2000: GPSR in MobiCom] 2000: Estrin et al.’s Directed Diffusion in MobiCom sparks interest in wireless sensor networks

4 Scaling Routing (cont’d) Dominant factors in cost of DV, LS, DSR: rate of change of topology (bandwidth) number of routers in routing domain (b/w, state) Scaling strategies: Hierarchy: at AS boundaries (BGP) or on finer scale (OSPF) Goal: reduce number of routers in routing domain Assumption: address aggregation Caching: store source routes overheard (DSR) Goal: limit propagation of future queries Assumption: source route remains fixed while cached

5 Problem A B E C XSD D C XSD C S D C XS t0t0 t1t1

6 Route Discovery Using Flooding A B C E XSD route request route reply

7 Location-Aided Routing Main Idea Using location information to reduce the number of nodes to whom route request is propagated. Location-aided route discovery based on “limited” flooding Consider a node S that needs to find a route to node D. each host in the ad hoc network knows its current location node S knows that node D was at location L at time t 0, and that the current time is t 1

8 Location Information Consider a node S that needs to find a route to node D. Assumption: each host in the ad hoc network knows its current location precisely (location error considered in one of their simulations) node S knows that node D was at location L at time t 0, and that the current time is t 1

9 Expected Zone expected zone of D ---- the region that node S expects to contain node D at time t 1, only an estimate made by node S

10 Request Zone LAR’s limited flooding A node forwards a route request only if it belongs to the request zone The request zone should include expected zone other regions around the expected zone No guarantee that a path can be found consisting only of the hosts in a chosen request zone. timeout expand request zone Trade-off between latency of route determination the message overhead

11 Central idea:Machines can know their geographic locations by GPS (outdoors) by surveyed position (for non-mobile nodes) by short-range localization (indoors, [AT&T Camb, 1997], [Priyantha et al., 2000]) Route using geography. packet destination field: location of destination Greedy Perimeter Stateless Routing (GPSR)

12 Assumptions Bi-directional radio links (unidirectional links may be blacklisted) Network nodes placed roughly in a plane Radio propagation in free space; distance from transmitter determines signal strength at receiver Fixed, uniform radio transmitter power

13 Greedy Forwarding Nodes learn immediate neighbors’ positions from beaconing/piggybacking on data packets Locally optimal, greedy next hop choice: Neighbor geographically nearest destination D x y Neighbor must be strictly closer to avoid loops

14 In Praise of Geography Self-describing As node density increases, shortest path tends toward Euclidean straight line between source and destination Node’s state concerns only one-hop neighbors: Low per-node state: O(density) Low routing protocol overhead: state pushed only one hop

15 Greedy Forwarding Failure Greedy forwarding not always possible! Consider: D x z v void w y How can we circumnavigate voids? …based only on one-hop neighborhood?

16 Node Density and Voids Voids more prevalent in sparser topologies

17 Well-known graph traversal: right-hand rule Requires only neighbors’ positions Void Traversal: The Right-hand Rule x y z

18 Planar vs. Non-planar Graphs On graphs with edges that cross (non-planar graphs), right-hand rule may not tour enclosed face boundary How to remove crossing edges without partitioning graph? And using only single-hop neighbors’ positions?

19 Planarized Graphs Relative Neighborhood Graph (RNG) [Toussaint, ’80] and Gabriel Graph (GG) [Gabriel, ’69]: long-known planar graphs Assume edge exists between any pair of nodes separated by less than threshold distance (i.e., nominal radio range) RNG and GG can be constructed from only neighbors’ positions, and can be shown not to partition network! uv w ? uv w ? RNG GG Euclidean MST (so connected) RNG GG Delaunay Triangulation (so planar)

20 Planarized Graphs: Example 200 nodes, placed uniformly at random on 2000-by-2000-meter region; 250-meter radio range Full Graph GG Subgraph RNG Subgraph

21 Full Greedy Perimeter Stateless Routing All packets begin in greedy mode Greedy mode uses full graph Upon greedy failure, node marks its location in packet, marks packet in perimeter mode Perimeter mode packets follow simple planar graph traversal: Forward along successively closer faces by right-hand rule, until reaching destination Packets return to greedy mode upon reaching node closer to destination than perimeter mode entry point

22 Perimeter Mode Forwarding Example Traverse face closer to D along xD by right-hand rule, until crossing xD Repeat with next-closer face, &c. x D

23 Packet Delivery Success Rate (50, 200; Dense)

24 State Size (200; Dense) How would you expect GPSR’s state size to change the number of nodes in the network increases? Why does DSR hold state for more nodes than there are in the network?

25 Critical Thinking Based on the results thus far (indeed, all results in the paper), what do we know about the performance of GPSR’s perimeter mode? Would you expect it to be more or less reliable than greedy mode? Would you expect use of perimeter mode to affect path length? Evaluation in paper reveals nearly nothing about performance of perimeter mode! Why doesn’t it?

26 Other Issues How to route geographically in 3D? Greedy mode? Perimeter mode? Effect of radio-opaque obstacles? Effect of position errors?

27 Geographic Forwarding Scales Well A addresses a packet to G’s latitude, longitude C only needs to know its immediate neighbors to forward packets towards G. Geographic forwarding needs a location service! A B C D F C’s radio range E G

28 Possible Designs for a Location Service Flood to get a node’s location (LAR, DREAM). excessive flooding messages Central static location server. not fault tolerant too much load on central server and nearby nodes the server might be far away for nearby nodes or inaccessible due to network partition. Every node acts as server for a few others. good for spreading load and tolerating failures.

29 Desirable Properties of a Distributed Location Service Spread load evenly over all nodes. Degrade gracefully as nodes fail. Queries for nearby nodes stay local. Per-node storage and communication costs grow slowly as the network size grows.

30 Grid Location Service (GLS) Overview A E H G B D F C J I K L Each node has a few servers that know its location. 1. Node D sends location updates to its servers (B, H, K). 2. Node J sends a query for D to one of D’s close servers. “D?”

31 Grid Node Identifiers Each Grid node has a unique identifier. Identifiers are numbers. Perhaps a hash of the node’s IP address. Identifier X is the “successor” of Y if X is the smallest identifier greater than Y.

32 GLS’s spatial hierarchy level-0 level-1 level-2 level-3 All nodes agree on the global origin of the grid hierarchy

33 n s s s s s s s s s s is n’s successor in that square. (Successor is the node with “least ID greater than” n ) sibling level-0 squares sibling level-1 squares sibling level-2 squares 3 Servers Per Node Per Level

34 Each query step: visit n’s successor at surrounding level. n s s s s s s s s s3 x s2 s1 location query path Queries Search for Destination’s Successors

Base case: Each node in a level-0 square “knows” about all other nodes in the same square. location table content Invariant (for all levels): For node n in a square, n’s successor in each sibling square “knows” about n GLS Update (level 0)

Invariant (for all levels): For node n in a square, n’s successor in each sibling square “knows” about n. location table content location update 3 GLS Update (level 1)

, 2 23, location table content 2 Invariant (for all levels): For node n in a square, n’s successor in each sibling square “knows” about n. GLS Update (level 1)

, 2 11, location table content location update 2 Invariant (for all levels): For node n in a square, n’s successor in each sibling square “knows” about n. GLS Update (level 2)

, 2 11, location table content query from 23 for 1 GLS Query

40 Challenges for GLS in a Mobile Network Slow updates risk out-of-date information. Packets dropped because we can’t find the destination. Aggressive updates risk congestion. Update packets leave no bandwidth for data. Large mobile ad-hoc nets usually suffer from one or the other.

41 Simulations using ns with CMU’s wireless extension (IEEE ) Mobility Model: random way-point with speed 0-10 m/s (22 mph) Area of square universe grows with the number of nodes in the network. Achieve spatial reuse of the spectrum GLS level-0 square is 250m x 250m 300 seconds per simulation Simulation Environment

42 Failed queries are not retransmitted in this simulation Queries fail because of out-of-date information for destination nodes or intermediate servers Number of nodes query success rate Biggest network simulated: 600 nodes, 2900x2900m (4-level grid hierarchy) GLS Finds Nodes in Big Mobile Networks

43 Protocol packets include: GLS update, GLS query/reply Number of nodes Avg. packets transmitted per node per second GLS Protocol Overhead Grows Slowly

44 Why geographic routing without location information GPS takes power, doesn’t work indoors Obstacles, non-ideal radios Coordinates computed will reflect true connectivity and not the geographic locations of the nodes

45 Step by Step Approach Perimeter nodes and their locations are known Perimeter nodes are known but their locations are not known Nothing is known about the perimeter Relaxation algorithm Balls and Springs Perimeter node detection Degree of Information

46 Rubber Bands Every node moves to the average of its neighbors coordinates at each step in the iteration

47 Perimeter nodes are known (10 iterations)

48 Perimeter nodes are known (100 iterations)

49 Perimeter nodes are known (1000 iterations)

50 Stage 1 : Each perimeter node broadcasts a HELLO message to the entire network Stage 2 : Each perimeter node broadcasts its perimeter vector to the entire network Stage 3 : Every perimeter node uses a triangulation algorithm to compute the coordinates of all other perimeter nodes by minimizing Perimeter Nodes are Known but Their Locations are not Known

51 Balls and Springs Ball : each perimeter node Spring : each ball is attached by a spring Spring’s length : the hop count distance Seen as minimizing the potential energy when a ball attached to every other ball by a spring

52 Nothing is Known about the Perimeter Bootstrap Nodes flood the network and every node discovers its distance to these bootstrap nodes Nodes use the following criterion Perimeter Criterion “if a node is farthest away, among all its two-hop neighbors from the first bootstrap node, then the node decides that it is on the perimeter.” False Positives are relatively low and have little effect on the eventual outcome.

53 Perimeter node detection

54 Overall algorithm - Bootstrap the coordinate assignment 1.Two designated bootstrap beacon nodes broadcast to the entire network 2.Every perimeter node sends a broadcast message to the entire network to enable every other node to compute its perimeter vector 3.Perimeter and bootstrap nodes broadcast their perimeter vectors to the entire network 4.Each node uses these inter-perimeter distances to compute normalized coordinates for both itself and the perimeter nodes

55 Overall Algorithms[Cont’d] – normal operation 5.Perimeter nodes stay fixed while other nodes run a relaxation algorithm 6.A designated bootstrap node periodically broadcasts by which nodes periodically re- asses whether they lie on the perimeter or not

56 Two metrics to measure Success rate The fraction of times packets reach their intended destination using purely greedy routing Average Path length The average number of hops taken along the path

57 Success Rate vs. Iterations

58 Path Length vs. Number of Nodes identical

59 Recap: Scalability via Geography with GPSR Key scalability properties: Small state per router: O(D), not O(N) or O(L) as for shortest-path routing, where D = density (neighbors), N = total nodes, L = total links Low routing protocol overhead: each node merely single-hop broadcasts own position periodically Approximates shortest paths on dense networks Delivers more packets successfully on dynamic topologies than shortest-paths routing protocols