Destination Sequenced Distance. [Perkins94] CSE 6811 : Lecture 6

Similar documents
DSDV: Proactive. Distance Vector (Basic idea) Distance Vector. Distance Vector Algorithm: Tables 12/13/2016

Distance-Vector Routing: Distributed B-F (cont.)

Page 1 EEC173B/ECS152C. Link State Routing [Huitema95] Optimized Link State Routing (OLSR) MANET Unicast Routing. Proactive Protocols

COMP 631: NETWORKED & DISTRIBUTED SYSTEMS 9/6/16 COMP 631: NETWORKED & DISTRIBUTED SYSTEMS. Internet Routing. Jasleen Kaur.

TCP/IP Networking. Part 3: Forwarding and Routing

Lecture 13: Routing in multihop wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 3, Monday

Routing in Ad-hoc Networks

ÉCOLE POLYTECHNIQUE FÉDÉRALE DE LAUSANNE! 1. Link state flooding topology information finding the shortest paths (Dijkstra)

EE 122: Intra-domain routing

IP Forwarding Computer Networking. Graph Model. Routes from Node A. Lecture 11: Intra-Domain Routing

IP Forwarding Computer Networking. Routes from Node A. Graph Model. Lecture 10: Intra-Domain Routing

Ad hoc On-demand Distance Vector Routing (AODV) [Perkins99] CSE 6811 : Lecture 7

The Problem: Finding Paths Spring 2011 Lecture #19. Forwarding. Shortest Path Routing

4/25/12. The Problem: Distributed Methods for Finding Paths in Networks Spring 2012 Lecture #20. Forwarding. Shortest Path Routing

COMP 3331/9331: Computer Networks and Applications

CS 43: Computer Networks. 23: Routing Algorithms November 14, 2018

AODV Route Requests (RREQ) are forwarded in a manner similar to DSR

Third Generation Routers

More on Network Routing and Internet Protocol

Routers & Routing : Computer Networking. Binary Search on Ranges. Speeding up Prefix Match - Alternatives

LECTURE 9. Ad hoc Networks and Routing

What is Routing? EE 122: Shortest Path Routing. Example. Internet Routing. Ion Stoica TAs: Junda Liu, DK Moon, David Zats

CS5984 Mobile Computing

Study of Route Reconstruction Mechanism in DSDV Based Routing Protocols

Bridges. Bridge Functions. Example of No-frills Bridge. No-frills Bridges. Example of Learning Bridge. Learning Bridges

EE122 MIDTERM EXAM: Scott Shenker, Ion Stoica

Routing Protocols in MANETs

Page 1. EEC173B/ECS152C, Winter Link State Routing [Huitema95] Optimized Link State Routing (OLSR) MANET Unicast Routing. Proactive Protocols

Unicast Routing in Mobile Ad Hoc Networks

Draft Notes 1 : Scaling in Ad hoc Routing Protocols

Network service model. Network service model. Network Layer (part 1) Virtual circuits. By the end of this lecture, you should be able to.

Intra-domain Routing

Distance vector and RIP

Overview. Problem: Find lowest cost path between two nodes Factors static: topology dynamic: load

Routing in Ad Hoc Wireless Networks PROF. MICHAEL TSAI / DR. KATE LIN 2014/05/14

CSE/EE 461 Distance Vector Routing

Nomadic Communications. Copyright. Ad-Hoc and WMN. Wireless Mesh Networks. Quest operaèprotettadallalicenza:

Content. 1. Introduction. 2. The Ad-hoc On-Demand Distance Vector Algorithm. 3. Simulation and Results. 4. Future Work. 5.

Review: Routing in Packet Networks Shortest Path Algorithms: Dijkstra s & Bellman-Ford. Routing: Issues

Ad Hoc Routing. Ad-hoc Routing. Problems Using DV or LS. DSR Concepts. DSR Components. Proposed Protocols

Wireless Mesh Networks

Discussion 8: Link State Routing. CSE 123: Computer Networks Marti Motoyama & Chris Kanich

Fairness Example: high priority for nearby stations Optimality Efficiency overhead

Network Layer: Routing

C13b: Routing Problem and Algorithms

A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols. Broch et al Presented by Brian Card

Address Translation. Map IP addresses into physical addresses destination host next hop router

Mobile and Sensor Systems. Lecture 3: Infrastructure, Ad-hoc and Delay Tolerant Mobile Networks Dr Cecilia Mascolo

Routing in a network

4/11/2012. Outline. Routing Protocols for Ad Hoc Networks. Classification of Unicast Ad-Hoc Routing Protocols. Ad Hoc Networks.

Performance Comparison of Ad Hoc Routing Protocols over IEEE DCF and TDMA MAC Layer Protocols

Let s focus on clarifying questions. More Routing. Logic Refresher. Warning. Short Summary of Course. 10 Years from Now.

CS 457 Networking and the Internet. Shortest-Path Problem. Dijkstra s Shortest-Path Algorithm 9/29/16. Fall 2016

2/16/2008. Outline Computer Networking Lecture 11 Routing. Sending Link States by Flooding. Link State Protocol Concept

Computer Networking. Intra-Domain Routing. RIP (Routing Information Protocol) & OSPF (Open Shortest Path First)

Lecture 6: Bridging & Switching. Last time. Today. CSE 123: Computer Networks Chris Kanich. How do multiple hosts share a single channel?

ECS-087: Mobile Computing

Lecture 4. The Network Layer (cont d)

Distance Vector Routing Protocols

Routing In Ad Hoc Networks

Overview 4.2: Routing

Tietokoneverkot T

Unicast Routing in Mobile Ad Hoc Networks. Dr. Ashikur Rahman CSE 6811: Wireless Ad hoc Networks

Routing, Routing Algorithms & Protocols

Computation of Multiple Node Disjoint Paths

The Basics of Wireless Communication Octav Chipara

Mobile and Ubiquitous Computing Routing Protocols. Niki Trigoni

PERFORMANCE ANALYSIS OF AODV ROUTING PROTOCOL IN MANETS

Vehicle Networks. Networking Layer: Routing. Univ.-Prof. Dr. Thomas Strang, Dipl.-Inform. Matthias Röckl

3. Evaluation of Selected Tree and Mesh based Routing Protocols

Routing. 9: Intro to Routing Algorithms. Routing. Roadmap. Routing Algorithm classification: Static or Dynamic?

Basic Idea. Routing. Example. Routing by the Network

Routing by the Network

Dynamic Source Routing (DSR) [Johnson96] CSE 6811 : Lecture 5

Performance Comparison of AODV, DSR, DSDV and OLSR MANET Routing Protocols

06/02/ Local & Metropolitan Area Networks. Overview. Routing algorithm ACOE322. Lecture 6 Routing

Behaviour of Routing Protocols of Mobile Adhoc Netwok with Increasing Number of Groups using Group Mobility Model

Why dynamic route? (1)

Dynamic Source Routing (DSR) [Johnson96]

CEN445 Network Protocols and Algorithms. Chapter 2. Routing Algorithms. Dr. Ridha Ouni

WAN Technology and Routing

Mobility and Density Aware AODV Protocol Extension for Mobile Adhoc Networks-MADA-AODV

Power aware Multi-path Routing Protocol for MANETS

Lecture 12: Link-state Routing. Lecture 12 Overview. Router Tasks. CSE 123: Computer Networks Chris Kanich. Routing overview

Introduction to Intra-Domain Routing

A COMPARISON OF REACTIVE ROUTING PROTOCOLS DSR, AODV AND TORA IN MANET

CS 457 Networking and the Internet. What is Routing. Forwarding versus Routing 9/27/16. Fall 2016 Indrajit Ray. A famous quotation from RFC 791

Performance Analysis of Broadcast Based Mobile Adhoc Routing Protocols AODV and DSDV

Routing Protocols. The routers in an internet are responsible for receiving and. forwarding IP datagrams through the interconnected set of

Distributed Algorithms in Networks EECS 122: Lecture 17

Routing Outline. EECS 122, Lecture 15

ICS 351: Today's plan. netmask exercises network and subnetwork design dynamic routing RIP distance-vector routing

On-Demand Routing in Wireless Ad-Hoc Networks with Wide Levels of Network Density

Computer Networks. Routing Algorithms

ECSE 414 Fall 2014 Final Exam Solutions

CSCE 463/612 Networks and Distributed Processing Spring 2018

Deployment of IGRP/EIGRP

What is Multicasting? Multicasting Fundamentals. Unicast Transmission. Agenda. L70 - Multicasting Fundamentals. L70 - Multicasting Fundamentals

RIP Configuration. RIP Overview. Operation of RIP. Introduction. RIP routing table. RIP timers

Estimate the Routing Protocols for Internet of Things

Transcription:

estination Sequenced istance Vector (SV) Routing [Perkins94] SE 6811 : Lecture 6

SV: Proactive SV is a proactive protocol means it maintains up to date routing information for all available nodes in the network. No extra time for route acquisition whenever a route to a new destination is required, it already exists at the source.

istance Vector (asic idea) k 13 i j 8 x m 23 The message will be sent from i to j as the cost of the path to x is minimum through j

istance Vector Each node maintains two tables: istance Table: ost to each node via each outgoing link Routing Table: Minimum cost to each node and next hop node

istance Vector lgorithm: Tables v l(v,w) w d n via to istance Table w n to RoutingTable via (next hop) cost d d (v,w) d (v,n) d n l (v,w) cost of link (w,v) d (v,w) cost from v to d via w d (v) minimum i cost from v to d d (v) Note: In the figure, d (v,w)< d (v,n) and, therefore, d (v) = d (v,n)

istance Vector lgorithm: Tables Example Via To 1 3 3 1 2 2 0 1 1 2 Via To 1 3 3 1 2 2 0 1 1 2 istance table Routing table Via To 1 3 3 1 2 2 0 1 1 Via To 1 3 3 1 2 2 0 1 1 2 2

Messages Nodes exchange messages that contain information on the cost of a route Reception of messages triggers recalculation of routing table If node v sends a messages to node x of the form, [m, m (v)], this means I can go to node m with minimum cost m (v) v [m, m (v)] x This message is only of interest to neighbors of v

New link with cost l(m,v) comes up m l(m,v) v l(v,w) w d n via to istance Table RoutingTable p m to via (next hop) cost m m (v,p) l(m,v) m n m (v) New row New column

Example 1 Via To 1 0 (, 0) 0 0 0 9

Example 1 Via To 1 0 1 (, 0) 0 (, 0) 0 0 10

Example 1 Via To 1 1 0 1 (, 0) 0 (, 0) 0 0 11

Example 1 Via To 1 1 0 1 1 (, 0) 0 (, 0) 0 0 12

Example 1 Via To 1 1 0 1 1 (, 0) (, 1) (, 1) Via To 1 1 0 1 1 Via To 1 1 0 1 1 Via To 1 1 0 1 1 13

Example 1 (, 0) Via To 1 1 2 0 1 1 2 (, 1) (, 1) Via To 1 1 0 1 1 (, 0) (, 1) (, 1) Via To 1 1 0 1 1 Via To 1 1 0 1 1 14

Example 1 (, 0) Via To 1 1 2 2 0 1 1 2 (, 1) (, 1) Via To 1 1 0 1 1 (, 0) (, 1) (, 1) Via To 1 1 0 1 1 Via To 1 1 0 1 1 15

Example 1 Via To 1 3 3 1 2 2 0 1 1 2 Via To 1 3 3 1 2 2 0 1 1 2 Via To 1 3 3 1 2 2 0 1 1 Via To 1 3 3 1 2 2 0 1 1 2 2 16

Example 1 Failure (count to infinity) 0 1 1 2 timeout t timeout 1 1 0 2 1 0 2 1 17

Example 1 Failure 0 1 - - - 1 0 2 1 0 2 1 18

Example 1 Failure 0 1 - - - 1 0 2 From : 1 2 0 1 1 0 2 1 19

Example 1 Failure 0 1 - - 3 1 0 2 From : 1 2 0 1 1 0 2 1 20

Example 1 Failure 0 1 - - From : 1 2 1 0 3 1 0 2 1 0 2 1 21

Example 1 Failure 0 1 3 2 From : 1 2 1 0 3 1 0 2 1 0 2 1 22

Example 1 Failure 0 1 3 2 From : 0 3 2 3 1 0 2 1 0 2 1 23

Example 1 Failure 0 1 3 2 From : 0 3 2 3 1 0 2 1 0 4 1 24

oes it exactly fit in Mobile Wireless d hoc networks? No..because Mobility is not considered Slow convergence to path break ost metrics number of hops Routing table at MH4 before MH1 moves Time info. missing 25

estination Sequenced istance Vector (SV) Each node maintains a routing table which stores next hop towards each destination a cost metric for the path to each destination a destination sequence number that is created by the destination itself, i.e.: e:see the following 26

Rule of SV explained ssume that node X receives routing information from Y about a route to node Z X Y Z Let S(X) and S(Y) denote the destination sequence number for node Z as stored at node X, and as sent by node Y with its routing table to node X, respectively 27

Rule of SV explained (ont ) Node X takes the following steps: X Y Z If S(X) > S(Y), then X ignores the routing information received from Y If S(X) = S(Y), and cost of going through Y is smaller than the route known to X, then X sets Y as the next hop to Z If S(X) < S(Y), then X sets Y as the next hop to Z, and S(X) is updated to equal S(Y) 28

fter move: routing table at MH4

Example (SV): Node joins s routing table est Next ost Seq E 1 102 1 204 E 2 314 Suppose node joins 0 54 30

Example (SV): Node joins s routing table est Next ost Seq E 1 102 1 204 E 2 314 Suppose node joins Node transmits routing <, 154, 0 > to node 0 54 31

Example (SV): Node joins s routing table est Next ost Seq E 1 102 1 204 E 2 314 Suppose node joins Node transmits routing <, 154, 0 > to node Node inserts <,, 1, 154> in the routing table 0 54 1 154 32

Example (SV): Node joins s routing table est Next ost Seq E 1 102 1 204 E 2 314 Suppose node joins Node transmits routing <, 154, 0 > to node 0 54 1 154 Node inserts <,, 1, 154> entry in the routing table Node propagates <, 1, 154> routing update to its neighbors and 33

Example (SV): Node joins s routing table est Next ost Seq E 1 102 1 204 E 2 314 Suppose node joins Node transmits routing <, 154, 0 > to node 0 54 1 154 Node inserts <,, 1, 154> entry in the routing table Node propagates <, 1, 154> routing update to its neighbors and Node and inserts <,, 2, 154> entry in their routing tables 34

Example (SV): Node joins E s routing table est Next ost Seq 1 102 1 204 E 2 314 0 54 also sends the following updates to 1 154 <,1,102>, <,1,204> <E,2,314>, <,0,56>, <,1,154> 35

Example (SV): Node joins s routing table est Next ost Seq E 2 102 2 204 E 3 314 1 56 also sends the following updates to 0 154 <,1,102>, <,1,204> <E,2,314>, <,0,56>, <,1,154> determines its own routing table 36

Example (SV): Link breaks s routing table est Next ost Seq 1 102 E 1 204 E 2 314 0 54 Suppose node moves out of range of 1 154 does not receive periodic update dt from Node changes entries involving as next hop and puts 37

Example (SV): Link breaks s routing table est Next ost Seq E 1 102 204 E 314 Suppose node moves out of range of do not receive periodic update dt from Node changes entries involving as next hop and puts 0 54 1 154 38

Example (SV): Link breaks s routing table est Next ost Seq 1 102 E 204 E 314 Suppose node moves out of range of do not receive periodic update dt from Node changes entries involving as next hop and puts Node increments sequence number for and E 0 54 1 154 39

Example (SV): Link breaks s routing table est Next ost Seq E 1 102 205 E 315 Suppose node moves out of range of do not receive periodic update dt from Node changes entries involving as next hop and puts Node increments sequence number for and E 0 54 1 154 40

Example (SV): Link breaks s routing table est Next ost Seq E 1 102 205 E 315 Suppose node moves out of range of do not receive periodic update dt from Node changes entries involving as next hop and puts Node increments sequence number for and E Node propagates <,, 205> and <E,, 315> to and 0 54 1 154 41

Example (SV): Link breaks s routing table est Next ost Seq E 1 102 205 E 315 Suppose node moves out of range of do not receive periodic update dt from Node changes entries involving as next hop and puts Node increments sequence number for and E Node propagates <,, 205> and <E,, 315> to and 0 54 1 154 42

Example (SV): Link breaks s previous routing table est Next ost Seq 2 102 E Node propagates <,, 205> and <E,, 315> to and 2 204 E 3 314 1 56 0 154 43

Example (SV): Link breaks s updated routing table est Next ost Seq 2 102 E 205 E 315 1 56 0 154 Node propagates <,, 205> and <E,, 315> to and 44

SV example (MH1 moves) 45

efore move: routing table at MH 4 46

Next routing dvertisement by MH 4 47

SV example (MH1 moves) When MH 1 moves, MH 2 advertises infinite cost metric to MH 1 with sequence number 407 48

SV example (Routing table at MH4 updated) 49

Next dvertisement by MH4 50

ut down overhead Reducing advertisement size Reducing number of advertisements 51

Reducing advertisement size: Full ump and Incremental ump full dump carries complete routing tables. node broadcasts a full dump infrequently. n incremental dump carries minor changes in the routing table. This information contains changes since the last full dump. When the size of an incremental dump becomes too large, a full dump is preferred. 52

Reducing the number of updates node i may receive the same update message from another node j through several different paths. Suppose, one of the updates has a lowest distance to j It is better to avoid broadcasting every new update and instead broadcast only the lower metric updates. 53

n Example 10 hops 5 hops n1 n8 n9 10 sec 20 sec n2 Node n2 should wait longer to get an update from n9 54

amping fluctuations hanges are not immediately advertised. Each node should maintain some statistics aboutthe the average settling time ofa message from another node. In the previous example, n2 receives couple of messages from n1 with the same sequence number. 55

How Good is SV? SV is an efficient protocol for route discovery. Whenever a route to a new destination is required, it already exists at the source. Hence, latency for route discovery is very low. SValso guarantees loop free paths. 56

isadvantages However, SV needs to send a lot of control messages. These messages are important for maintaining the network topology at each node. This may generate high volume of traffic for high density and highly mobile networks. Special care should be taken to reduce the number of control messages. 57

End Read up to section 4 58

SV Guarantees Loop Free Paths (Intuitive Proof) For an n node ad hoc network, SV maintains n rooted trees, one for each destination. We have shown two such trees here. 59

SV Guarantees Loop Free Paths (Intuitive Proof) onsider the tree rooted at n1. Suppose n3 wants to change its link. n1 n2 n4 n3 n5 message from n5 reaches n3 60

SV Guarantees Loop Free Paths (Intuitive Proof) However, n3 removes the old link to n4 before connecting the new link to n5 n1 n2 n4 n3 n5 61