1 / 20

Lecture 3 : The Dynamic Source Routing Protocol

Lecture 3 : The Dynamic Source Routing Protocol. Lecture 3.1 : An Overview of the DSR Protocol. Lecture 3.2 : Routing Details and Performance of the DSR Protocol. Dynamic Source Routing (DSR) Protocol.

eyad
Download Presentation

Lecture 3 : The Dynamic Source Routing Protocol

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. Lecture 3 : The Dynamic Source Routing Protocol • Lecture 3.1 : An Overview of the DSR Protocol. • Lecture 3.2 : Routing Details and Performance of the DSR Protocol Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  2. Dynamic Source Routing (DSR) Protocol • The DSR is a simple and efficient protocol for routing in mobile, ad hoc and wireless networks. • DSR is suitable for routing in multi-hop networks. • A mobile, ad hoc network is completely self-organizing while using the DSR protocol. All nodes cooperate to forward packets. Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  3. The DSR Protocol (I) • Nodes in the network may move about, join or leave. • All routing is automatically determined by the protocol. • The number and sequence of intermediate hops needed to reach any destination may change dynamically. Hence the network topology may be quite complex. Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  4. The DSR Protocol (II) • DSR is an on-demand or reactive routing protocol. • When a source node Swants to send a message to a destination node D, the process starts with a route discovery phase. • The message is sent once a route has been discovered and Sknows about the discovered route. Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  5. The DSR Protocol (III) • However, DSR extensively takes advantage of existing knowledge of the network topology. • Each node gathers information about the network topology by overhearing other nodes’ transmissions. • This is known as promiscuous modeof operation and most wireless cards support this (IEEE 802.11 standard). Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  6. The DSR Protocol (IV) • Each node maintains a route cache to remember routes that it has learnt about. • One of the main advantages of DSR as opposed to a table driven protocol like DSDV is that the number of control messages is much smaller. • Hence DSR is more energy-efficient and does not congest the network with too many control messages. Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  7. D A B ABC C A E An Example when a Route is Discovered Completely AB ABCD A is trying to find a route to E Each intermediate node appends its ID at the end. E knows the reverse route and sends a route reply. Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  8. D A B C A E An Example when a Route is Discovered Partially AB A is trying to find a route to E C already has a route to E in its route cache. C sends back the complete route to A. Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  9. Assumptions • All nodes wishing to communicate with other nodes in the ad hoc network participate fully in running the DSR protocol. • The diameterof the network is more than 1, but usually a small number. • In other words, a message usually goes through only a small number of hops. Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  10. Assumptions • The nodes may move at any time without notice and may even move continuously. • However, we assume that the speed with which the nodes move is moderate with respect to the packet transmission latency or wireless transmission range of the network. • If the nodes move extremely fast, the only possible protocol is flooding. Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  11. Assumptions • Each node selects a single IP addressby which it is known in the network. • This is necessary for assigning a unique ID for each node. • Each node may or may not work in the promiscuous mode.However, most wireless interface cards support this. Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  12. Overview and Important Properties • The DSR protocol has two important mechanisms through which the protocol operates. • Route Discovery :A node Swishing to send a packet to node D obtains a route to D • Route Maintenance : When Sis using a discovered route to D, Smay detect that the route is broken. In such cases, S may use an alternate route to D(if it is known), or start another route discovery phase to D. Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  13. Overview of the DSR Protocol • Route discovery and route maintenance operate entirely on-demand. • There is no need to broadcast periodically to update routing information in individual nodes. DSDV requires such periodic broadcasts. • The number of overhead packets is much smaller in DSR. The number of overhead packets drop to zero when the nodes are static and all routes have been discovered. Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  14. Overview of the DSR Protocol • When nodes are mobile and/or communication pattern changes, the number of overhead packets increase proportionately. • It is necessary to discover new routes in these situations and hence the new route discoverypackets are the overhead packets. • Note that, a node may receive multiple routes to a destination in response to a route discovery request. Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  15. Overview of the DSR Protocol • A node may store multiple routes to a destination in its route cache. • A node can react to changes in network topology much more rapidly by taking advantage of cached routes. • For example, if one route to a destination is broken, the source node can choose another route to the destination from its route cache. Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  16. DSR Route Discovery • Consider the case when a source node Swants to send a packet to a destination node D. • In a ‘good situation’, S already knows a route to Dfrom its route cache. • In this case, Swill add the sequence of hops to Din the header of the packet. Then Swill send the packet to the first node in this sequence. Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  17. DSR Route Discovery • In the ‘bad case’ S will not find any route to D in its route cache. • Swill initiate the route discovery protocol. In this case, we call Sthe initiator and Dthe target of this protocol. Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  18. DSR Route Discovery • Node S is trying to discover a route to node D. • Sbroadcasts a route requestmessage to its neighbours. This message is received by all nodes within the transmission range of S. • Each route requestmessage contains the initiator and target of the route discovery. • Also, each route requestis stamped with a unique ID assigned by the initiator. Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  19. An Example Route Discovery D A AB ABCD B ABC C A E Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

  20. DSR Route Discovery • Every node that receives a route request message, does one of the following : • A node like Bfirst searches its route cache to see whether it has a stored route to D. If it has such a route, Bsends that route to S. • If there is no such route in its route cache, Bbroadcasts the route requestmessage to its neighbours. Battaches its own ID to the route request message Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)

More Related