UM-OLSR OLSR routing protocol in NS2

Slides:



Advertisements
Similar presentations
1 A Review of Current Routing Protocols for Ad-Hoc Mobile Wireless Networks By Lei Chen.
Advertisements

Computer Networking A Top-Down Approach Chapter 4.7.
1 Ad Hoc Networks Cholatip Yawut Faculty of Information Technology King Mongkut's University of Technology North Bangkok.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
Securing OLSR Using Node Locations Daniele Raffo Cédric Adjih Thomas Clausen Paul Mühlethaler 11 th European Wireless Conference 2005 (EW 2005) April
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
Optimized Link State Protocol Version 2 Assaf Israel, Eli Nazarov, Asi Bross Version 2 Assaf Israel, Eli Nazarov, Asi Bross.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Mobile Ad Hoc Networks Routing 9th Week Christian.
Routing in Mobile Ad Hoc Networks Marc Heissenbüttel University of Berne Bern,
Ad hoc Network 江崎研究室 修士1年 中島 亮. What is Ad hoc Network?  Meaning of Ad hoc Network Ad hoc =その場限りの Node to node → ノード間で一時的に形成されるネットワーク.
A Review of Current Routing Potocols for Ad-Hoc Mobile Wireless Networks Yibo Sun
Interference-Aware QoS OLSR for Mobile Ad-hoc Network Routing SAWN 2005, May 24 P. Minet & D-Q. Nguyen.
Sensor Network Routing Romit Roy Choudhury and Pradeep Kyasanur (Some slides are based on Dr. Nitin Vaidya’s tutorial)
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #5 Mobile Ad-Hoc Networks TBRPF.
1 Internet Networking Spring 2006 Tutorial 3 Ad-hoc networks TBRPF (based on IETF tutorials on TBRPF)
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
8/7/20151 Mobile Ad hoc Networks COE 549 Routing Protocols I Tarek Sheltami KFUPM CCSE COE
Mobile Ad hoc Networks COE 549 Routing Protocols I
Ad Hoc Wireless Routing COS 461: Computer Networks
ENHANCING AND EVALUATION OF AD-HOC ROUTING PROTOCOLS IN VANET.
Lecture 8 Mobile Networks: IP Routing and MANET Routing Algorithms Wireless Networks and Mobile Systems.
Itrat Rasool Quadri ST ID COE-543 Wireless and Mobile Networks
Routing and Routing Protocols Dynamic Routing Overview.
Routing in mobile ad-hoc networks (MANETs). 1. WHAT IS A MANET ? A MANET can be defined as a system of autonomous mobile nodes A MANET can be defined.
Lecture Week 10 Link-State Routing Protocols. Objectives Describe the basic features & concepts of link-state routing protocols. List the benefits and.
Mobile Ad-Hoc Networking By Jared Roberts. Overview What is a MANET? What is a MANET? Problems with routing in a MANET Problems with routing in a MANET.
Scalable Routing Protocols for Mobile Ad Hoc Networks Xiaoyan Hong, Kaixin Xu, and Mario Gerla at UCLA.
MANETs & Routing.
Mobile Adhoc Network: Routing Protocol:AODV
Carlos Rodrigo Aponte OLSRv2 High Level Overview.
A survey of Routing Attacks in Mobile Ad Hoc Networks Bounpadith Kannhavong, Hidehisa Nakayama, Yoshiaki Nemoto, Nei Kato, and Abbas Jamalipour Presented.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Link-State Routing Protocols Routing Protocols and Concepts – Chapter 10.
Outline Wireless introduction Wireless cellular (GSM, CDMA, UMTS) Wireless LANs, MAC layer Wireless Ad hoc networks – routing: proactive routing, on-demand.
Qamar A TararOLSR Protocol1 Optimized Link State Routing Protocol for Ad Hoc Networks Qamar Abbas Tarar “Mobile ad-hoc networks based on wireless LAN”
Routing Protocols of On- Demand Dynamic Source Routing (DSR) Ad-Hoc On-Demand Distance Vector (AODV)
The Destination Sequenced Distance Vector (DSDV) protocol
Routing Protocols in Ad-hoc Networks, OLSR Self configuring systems (SCS) TTM3 – Høst 2004 Jørn Andre Berntzen 22/10/2004.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 2 Single-Area OSPF.
An OLSR implementation, experience, and future design issues.
Simulation of the OLSRv2 Protocol First Report Presentation.
AODV: Introduction Reference: C. E. Perkins, E. M. Royer, and S. R. Das, “Ad hoc On-Demand Distance Vector (AODV) Routing,” Internet Draft, draft-ietf-manet-aodv-08.txt,
Doc.: IEEE /1047r0 Submission Month 2000August 2004 Avinash Joshi, Vann Hasty, Michael Bahr.Slide 1 Routing Protocols for MANET Avinash Joshi,
Networking and internetworking devices. Repeater.
Routing Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute of Information.
Link State Routing David Holmer Generic Link State Routing  Each node monitors neighbors/local links and advertises them to the network.
Scalable Routing Protocols for
Intro DSR AODV OLSR TRBPF Comp Concl 4/12/03 Jon KolstadAndreas Lundin CS Ad-Hoc Routing in Wireless Mobile Networks DSR AODV OLSR TBRPF.
November 4, 2003Applied Research Laboratory, Washington University in St. Louis APOC 2003 Wuhan, China Cost Efficient Routing in Ad Hoc Mobile Wireless.
Ch 22. Routing Direct and Indirect Delivery.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Link-State Routing Protocols Routing Protocols and Concepts – Chapter 10.
1 Optimized Link State Routing Protocol for Ad Hoc Networks Jacquet, p IEEE INMIC Dec park gi won
Single Area OSPF Module 2, Review How routing information is maintained Link-state routers apply the Dijkstra shortest path first algorithm against.
Mobile Computing CSE 40814/60814 Spring 2017.
Lecture 28 Mobile Ad hoc Network Dr. Ghalib A. Shah
Routing Protocols and Concepts
Link-State Routing Protocols
Sensor Network Routing
Mobile Ad-Hoc Networks
Routing Protocols for Ad Hoc Wireless Networks
THE NETWORK LAYER.
Mobile Computing CSE 40814/60814 Spring 2018.
ECE 544 Protocol Design Project 2016
by Saltanat Mashirova & Afshin Mahini
A Probabilistic Routing Protocol for Mobile Ad Hoc Networks
OLSR + FSR for Scalability in Mesh Networks
Link-State Routing Protocols
Link-State Routing Protocols
Vinay Singh Graduate school of Software Dongseo University
DSDV Destination-Sequenced Distance-Vector Routing Protocol
A Talk on Mobile Ad hoc Networks (Manets)
Presentation transcript:

UM-OLSR OLSR routing protocol in NS2 郭祐暢 695430044

Outline Brief overview of OLSR MPR selection algorithm UM-OLSR install Example UM-OLSR code

Classification Ad Hoc Routing Protocols proactive reactive Source-Initiated On demand Table driven DSDV TBRPF OLSR CGSR AODV DSR LMR ABR TORA SSR

Optimized Link State Routing Protocol Proactive & Table-driven Link State Routing Each node expands a spanning tree Each node can obtain the whole network topology Utilizes a technique to reduce message flooding MultiPoint Relaying (MPR)

Optimized Link State Routing Protocol Each node periodically floods status of its links Each node re-broadcasts link state information received from its neighbors Each node keeps track of link state information received from other nodes Each node uses above information to determine next hope to each destination 24 retransmissions to diffuse a message up to 3 hops Retransmission node

Optimized Link State Routing Protocol Only selected neighbors (MultiPoint Relays, MPRs) retransmit messages Select MPRs such that they cover all 2hop neighbors 2-hop neighbors taken from neighbors' HELLO messages 11 retransmission to diffuse a message up to 3 hops Retransmission node - MPR

Optimized Link State Routing Protocol Three main modules Neighbor/link sensing Provide topology information up to two hops MPR selector information notification (“A select B as A’s MPR” in HELLO message to B) Optimized flooding/forwarding MPR set to cover all the two hop neighbors MPR selector set: set of nodes that select me as one of their MPR set OLSR-Messages from MPR selector set are to be forwarded Link-State messaging and route calculation Topology table Route table

MPR selection Each node select a set of MPR Selectors Who can be a MPR Selectors of node N ? one-hop neighbors of N MPR set of Node N (Rules) Set of MPR’s is able to transmit to all two-hop neighbors Link between node and it’s MPR is bidirectional. Y N X M D Z A B

Multipoint Relays (MPR) Every node keeps a table of routes to all known destination through its MPR nodes Every node periodically broadcasts list of its MPR Selectors (instead of the whole list of neighbors). Upon receipt of MPR information each node recalculates and updates routes to each known destination

MPR selection algorithm Each point u has to select its set of MPR. Goal : Select in the 1-neighborhood of u (N1(u)) a set of nodes as small as possible which covers the whole 2-neighborhood of u(N2(u)). Step 1: Select nodes of N1(u) which cover isolated points of N2(u). Step 2: Select among the nodes of N1(u) not selected at the first step, the node which covers the highest number of points of N2(u) and go on till every points of N2(u) are covered.

MPR selection algorithm u First step: Select nodes in N1(u) which cover “isolated points” of N2(u).

MPR selection algorithm u Second step : Consider in N1(u) only points which are not already selected at the first step NPR1(u) and points in N2(u) which are not covered by the NPR1(u) . While there exists points in N2(u) not covered by the selected MPR, select in N2(u), the node which covers the highest number of non-covered nodes in N2(u).

MPR selection algorithm u Final:MPRs

Installation Download UM-OLSR 0.8.8 from http://masimum.dif.um.es/?Software:UM-OLSR Ns2.27、2.28、2.29 / UM-OLSR 0.8.7、0.8.8 Copy um-olsr-0.8.8.tgz to ns-allinone-2.29/ns-2.29/ $ cd ns-allinone-2.29/ns-2.29/ $ tar zxvf um-olsr-0.8.8.tgz $ ln -s ./um-olsr-0.8.8 ./olsr $ patch -p1 < olsr/um-olsr_ns-2.29_v0.8.8.patch $ ./configure $ make

Example Download olsr_example.tcl from http://masimum.dif.um.es/um-olsr/olsr_example.tcl

OLSR Hello message one hop for Two hop topology information MPRs Transmit two hop top topology information By MPRs TC message Complete Topology Information Shortest Path Tree calculation (Dijkstra) Routing table build

TC message TC – Topology control message: Sent periodically. Message might not be sent if there are no updates and sent earlier if there are updates Contains: MPR Selector Table Sequence number Each node maintains a Topology Table based on TC messages Routing Tables are calculated based on Topology tables

Topology Table Destination address Destination’s MPR MPR Selector sequence number Holding time MPR Selector in the received TC message Last-hop node to the destination. Originator of TC message

TC message Upon receipt of TC message: If there exist some entry to the same destination with higher Sequence Number, the TC message is ignored If there exist some entry to the same destination with lower Sequence Number, the topology entry is removed and the new one is recorded If the entry is the same as in TC message, the holding time of this entry is refreshed

Routing Table Each node maintains a routing table to all known destinations in the network Routing table is calculated from Topological Table, taking the connected pairs Routing table: Destination address Next Hop address Distance Routing Table is recalculated after every change in neighborhood table or in topological table

UM-OLSR File List (Header) OLSR.h header file for OLSR agent and related classes OLSR_pkt.h contains all declarations of OLSR packets and messages OLSR_printer.h includes all printing functions related to OLSR OLSR_repositories.h defined all data structures needed by an OLSR node OLSR_rtable.h header file for routing table's related stuff OLSR_state.h declares and defines internal state of an OLSR node

UM-OLSR File List OLSR.cc OLSR_printer.cc OLSR_rtable.cc OLSR_state.cc Implementation of OLSR agent and related classes OLSR_printer.cc Printing functions used for debugging and tracing are implemented in this file OLSR_rtable.cc Implementation of our routing table OLSR_state.cc Implementation of all functions needed for manipulating the internal state of an OLSR node