SlideShare a Scribd company logo
PERFORMANCE
ANALYSIS OF OLSR
ROUTING PROTOCOL IN
MANET CONSIDERING
DIFFERENT MOBILITY
SPEED AND NETWORK
DENSITY
KOAY YONG CETT
ISM COMPUTER SCIENCE (NETWORK SECURITY)
Supervisor: DR. NOR AIDA BINTI MAHIDDIN
SEM 2019/2020
1
01
02
03
Introduction
Problem Statement
Objectives
04
05
06
Process Model
Data Model
Proof of Concept
07
08
Expected Results
References
2
What is Mobile Ad Hoc Network
(MANET)?
1. It is made up of mobile hosts
connected by link without
possessing a fixed infrastructure or
central administration.
2. Communication is carried out
between nodes or via intermediary
nodes as routers.
3. The nodes are free to move in
unpredictive manner and organise
themselves arbitrarily. 3
Optimized Linked State Routing Protocol (OLSR)?
 based on the multipoint relay (MPR) technique.
 This technique optimizes the diffusion of
messages in the network and reduces bandwidth
consumption
 The MPR technique causes less disturbance in
the network than diffusion by flooding.
 To maintain an up-to-date image of network
topology, OLSR nodes periodically exchange
control packets.
 Information extracted from these packets is
saved for a limited period, known as information
validity time.
Normal Flooding
MPR Flooding
4
Due to the multi hop nature of ad hoc
networks, the nodes is moving in a random
and unpredictive manner. This causes the
link to constantly break and reform. Thus, it
is important to utilise the routing protocol so
that the nodes in the network can maintain
the information needed for transferring
packets from source to destination.
5
To study the OLSR in MANET.
To apply the OLSR routing protocol in MANET by
using NS2 stimulation tools.
To analyse and evaluate the performance of OLSR
by using different node mobility speed and network
density.
6
7
8
The installation of Ubuntu in
Virtual Box that is used to run
the NS-2 Network Simulator.
Installation and Configuration of
NS-2 Network Simulator in the
Ubuntu.
Extraction of the UM-OLSR
and patch the OLSR in the
NS-2 Network Simulator in
Ubuntu
9
10
1
2
3
4
11
12
 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
13
OLSR.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
14
Class List Descriptions
OLSR_dup_tuple Duplicate tuples
OLSR_DupTupleTimer Timer for removing duplicate tuples: OLSR_dup_tuple
OLSR-hello OLSR HELLO message
OLSR_HelloTimer Timer for sending HELLO messages
OLSR_nb2hop_tuple A 2-hop Tuple
OLSR_Nb2hopTupleTimer Timer for removing nb2hop tuples: OLSR_nb2hop_tuple
OLSR_mprsel_tuple An MPR-Selector Tuple
OLSR_MprSelTupleTimer Timer for removing MPR selector tuples: OLSR_mprsel_tuple
OLSR_nb_tuple A Neighbor Tuple
OLSR_pkt OLSR packet
15
Example of a simple coding for simulation in TCL script used
16
Mobility Speed
Run an example TCL
Script of OLSR protocol.
Result from the
simulation from the TCL
Script.
Two files produced from
the TCL script
17
Simulation of nam
file with nam
command
Trace file produced
from the TCL
script (using gedit)
18
(New Trace File
Format)
19
Formula for average
throughput (awk script)
20
•Packet Delivery Ratio Graph
•Average Delay Graph
•Average Throughput Graph
21
 Tcl script to set nodes initial and destination position randomly: NS2 Sample Code: NS2 Scripts Example: NS2
Projects. (n.d.). Retrieved December 18, 2019, from
http://enggedu.com/Tcl_script_to_set_nodes_initail_and_destination_position_randomly/index.php.
 (n.d.). Retrieved December 18, 2019, from https://www.linuxquestions.org/questions/linux-forums-50/
 Moad, D., Djahel, S., & Nait-Abdesselam, F. (2012). Improving the quality of service routing in OLSR protocol.
2012 International Conference on Communications and Information Technology (ICCIT). doi:
10.1109/iccitechnol.2012.6285815
 NS2 Wireless Examples: NS2 Wireless Simulations: S-Logix. (n.d.). Retrieved December 18, 2019, from
https://slogix.in/ns2-wireless-networks-sample-programs.
 (n.d.). Retrieved December 18, 2019, from https://www.isi.edu/nsnam/ns/
 Class List. (n.d.). Retrieved December 18, 2019, from http://www.cs.mun.ca/~yzchen/code/ns-2.33/annotated.html.
 Oracle® VM VirtualBox®. (n.d.).Retrieved December 18, 2019, from
https://www.virtualbox.org/manual/UserManual.html
 Canonical. (n.d.). Ubuntu 16.04.6 LTS (Xenial Xerus). Retrieved December 18, 2019 from
http://releases.ubuntu.com/16.04/
 5.2 UM-OLSR patch. (2013, August 2). Retrieved December 18, 2019 from https://cloudns2.wordpress.com/um-olsr-
patch/
 Frikha, M. (2013). Ad Hoc Networks: Routing, Qos and Optimization. Hoboken, NJ: John Wiley & Sons.
 Ismail, R., Zulkifli, C. Z., & Samsudin, K. (2016). ROUTING PROTOCOLS FOR MOBILE AD-HOC NETWORK: A
QUALITATIVE COMPARATIVE ANALYSIS. Jurnal Teknologi, 78(8). doi:10.11113/jt.v78.6025
 Maksimov, V., & Panasiuk, M. (2014). Simulation of OLSR protocol using Network-Simulator 2. 2014 First
International Scientific-Practical Conference Problems of Infocommunications Science and Technology.
doi:10.1109/infocommst.2014.6992280
22

More Related Content

PDF
VHDL Implementation of DSDV Ad-Hoc Routing Protocol
PDF
2 sima singh-6-13
PDF
LOW AREA FPGA IMPLEMENTATION OF DROMCSLA-QTL ARCHITECTURE FOR CRYPTOGRAPHIC A...
PDF
Conference Paper: Universal Node: Towards a high-performance NFV environment
PDF
Conference Paper: Towards High Performance Packet Processing for 5G
PDF
Run-Time Adaptive Processor Allocation of Self-Configurable Intel IXP2400 Net...
PPTX
Architecture and Performance of Runtime Environments for Data Intensive Scala...
PDF
Simulating the triba noc architecture
VHDL Implementation of DSDV Ad-Hoc Routing Protocol
2 sima singh-6-13
LOW AREA FPGA IMPLEMENTATION OF DROMCSLA-QTL ARCHITECTURE FOR CRYPTOGRAPHIC A...
Conference Paper: Universal Node: Towards a high-performance NFV environment
Conference Paper: Towards High Performance Packet Processing for 5G
Run-Time Adaptive Processor Allocation of Self-Configurable Intel IXP2400 Net...
Architecture and Performance of Runtime Environments for Data Intensive Scala...
Simulating the triba noc architecture

What's hot (19)

PPTX
Interconnection Network
PDF
Optimized Design of 2D Mesh NOC Router using Custom SRAM & Common Buffer Util...
PPTX
Network Simulation
PPTX
Scalable Parallel Computing on Clouds
PDF
Multistage interconnection networks a transition to optical
PPTX
High Performance Parallel Computing with Clouds and Cloud Technologies
PPT
Arteris network on chip: The growing cost of wires
PPT
system interconnect architectures in ACA
PDF
Datacenter traffic demand characterization
PDF
Address Interleaving in NoCs
PDF
Ax24329333
PDF
Performance study of adhoc routing protocols for cbr traffic
PPTX
Plenzogan technology
PDF
Design of an Efficient Communication Protocol for 3d Interconnection Network
PDF
Evaluation aodv
PPT
1 introduction-to-computer-networking
PPT
1 introduction-to-computer-networking
ODP
A Scalable Architecture For Distributed Retrieval System In High Concurrency ...
PDF
Diametrical Mesh of Tree (D2D-MoT) Architecture: A Novel Routing Solution for...
Interconnection Network
Optimized Design of 2D Mesh NOC Router using Custom SRAM & Common Buffer Util...
Network Simulation
Scalable Parallel Computing on Clouds
Multistage interconnection networks a transition to optical
High Performance Parallel Computing with Clouds and Cloud Technologies
Arteris network on chip: The growing cost of wires
system interconnect architectures in ACA
Datacenter traffic demand characterization
Address Interleaving in NoCs
Ax24329333
Performance study of adhoc routing protocols for cbr traffic
Plenzogan technology
Design of an Efficient Communication Protocol for 3d Interconnection Network
Evaluation aodv
1 introduction-to-computer-networking
1 introduction-to-computer-networking
A Scalable Architecture For Distributed Retrieval System In High Concurrency ...
Diametrical Mesh of Tree (D2D-MoT) Architecture: A Novel Routing Solution for...
Ad

Similar to Performance Analysis of OLSR routing protocol In MANET Considering different mobility speed and network density (20)

PDF
Final Report(Routing_Misbehavior)
PDF
International Journal of Engineering Research and Development
PDF
IRJET- Comparative Performance Analysis of Routing Protocols in Manet using NS-2
PDF
Performance analysis of software defined network using intent monitor and rer...
PDF
Traffic management inside software-defined data centre networking
PDF
Performance evaluation of different routing protocols in wsn using different ...
PDF
A Flexible Software/Hardware Adaptive Network for Embedded Distributed Archit...
PDF
A FLEXIBLE SOFTWARE/HARDWARE ADAPTIVE NETWORK FOR EMBEDDED DISTRIBUTED ARCHIT...
PDF
A FLEXIBLE SOFTWARE/HARDWARE ADAPTIVE NETWORK FOR EMBEDDED DISTRIBUTED ARCHIT...
PDF
A FLEXIBLE SOFTWARE/HARDWARE ADAPTIVE NETWORK FOR EMBEDDED DISTRIBUTED ARCHIT...
PDF
Performance evaluation of software-defined networking controllers in wired an...
PDF
20607-39024-1-PB.pdf
PDF
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
PDF
Wireless adhoc multi access networks
PDF
Simulator for Energy Efficient Clustering in Mobile Ad Hoc Networks
PDF
Investigating the Performance of NoC Using Hierarchical Routing Approach
PDF
Investigating the Performance of NoC Using Hierarchical Routing Approach
PPT
Ccna1 presentation
PDF
Software Defined Networking: A Concept and Related Issues
PDF
Evaluating feasibility of using wireless sensor networks in a coffee crop thr...
Final Report(Routing_Misbehavior)
International Journal of Engineering Research and Development
IRJET- Comparative Performance Analysis of Routing Protocols in Manet using NS-2
Performance analysis of software defined network using intent monitor and rer...
Traffic management inside software-defined data centre networking
Performance evaluation of different routing protocols in wsn using different ...
A Flexible Software/Hardware Adaptive Network for Embedded Distributed Archit...
A FLEXIBLE SOFTWARE/HARDWARE ADAPTIVE NETWORK FOR EMBEDDED DISTRIBUTED ARCHIT...
A FLEXIBLE SOFTWARE/HARDWARE ADAPTIVE NETWORK FOR EMBEDDED DISTRIBUTED ARCHIT...
A FLEXIBLE SOFTWARE/HARDWARE ADAPTIVE NETWORK FOR EMBEDDED DISTRIBUTED ARCHIT...
Performance evaluation of software-defined networking controllers in wired an...
20607-39024-1-PB.pdf
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
Wireless adhoc multi access networks
Simulator for Energy Efficient Clustering in Mobile Ad Hoc Networks
Investigating the Performance of NoC Using Hierarchical Routing Approach
Investigating the Performance of NoC Using Hierarchical Routing Approach
Ccna1 presentation
Software Defined Networking: A Concept and Related Issues
Evaluating feasibility of using wireless sensor networks in a coffee crop thr...
Ad

Recently uploaded (20)

PDF
Empowerment Technology for Senior High School Guide
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
Hazard Identification & Risk Assessment .pdf
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
Complications of Minimal Access Surgery at WLH
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
IGGE1 Understanding the Self1234567891011
PDF
A systematic review of self-coping strategies used by university students to ...
PPTX
Final Presentation General Medicine 03-08-2024.pptx
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
RMMM.pdf make it easy to upload and study
PDF
1_English_Language_Set_2.pdf probationary
PDF
What if we spent less time fighting change, and more time building what’s rig...
Empowerment Technology for Senior High School Guide
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
Hazard Identification & Risk Assessment .pdf
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
LDMMIA Reiki Yoga Finals Review Spring Summer
Final Presentation General Medicine 03-08-2024.pptx
A powerpoint presentation on the Revised K-10 Science Shaping Paper
Orientation - ARALprogram of Deped to the Parents.pptx
Complications of Minimal Access Surgery at WLH
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
IGGE1 Understanding the Self1234567891011
A systematic review of self-coping strategies used by university students to ...
Final Presentation General Medicine 03-08-2024.pptx
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
RMMM.pdf make it easy to upload and study
1_English_Language_Set_2.pdf probationary
What if we spent less time fighting change, and more time building what’s rig...

Performance Analysis of OLSR routing protocol In MANET Considering different mobility speed and network density

  • 1. PERFORMANCE ANALYSIS OF OLSR ROUTING PROTOCOL IN MANET CONSIDERING DIFFERENT MOBILITY SPEED AND NETWORK DENSITY KOAY YONG CETT ISM COMPUTER SCIENCE (NETWORK SECURITY) Supervisor: DR. NOR AIDA BINTI MAHIDDIN SEM 2019/2020 1
  • 2. 01 02 03 Introduction Problem Statement Objectives 04 05 06 Process Model Data Model Proof of Concept 07 08 Expected Results References 2
  • 3. What is Mobile Ad Hoc Network (MANET)? 1. It is made up of mobile hosts connected by link without possessing a fixed infrastructure or central administration. 2. Communication is carried out between nodes or via intermediary nodes as routers. 3. The nodes are free to move in unpredictive manner and organise themselves arbitrarily. 3
  • 4. Optimized Linked State Routing Protocol (OLSR)?  based on the multipoint relay (MPR) technique.  This technique optimizes the diffusion of messages in the network and reduces bandwidth consumption  The MPR technique causes less disturbance in the network than diffusion by flooding.  To maintain an up-to-date image of network topology, OLSR nodes periodically exchange control packets.  Information extracted from these packets is saved for a limited period, known as information validity time. Normal Flooding MPR Flooding 4
  • 5. Due to the multi hop nature of ad hoc networks, the nodes is moving in a random and unpredictive manner. This causes the link to constantly break and reform. Thus, it is important to utilise the routing protocol so that the nodes in the network can maintain the information needed for transferring packets from source to destination. 5
  • 6. To study the OLSR in MANET. To apply the OLSR routing protocol in MANET by using NS2 stimulation tools. To analyse and evaluate the performance of OLSR by using different node mobility speed and network density. 6
  • 7. 7
  • 8. 8
  • 9. The installation of Ubuntu in Virtual Box that is used to run the NS-2 Network Simulator. Installation and Configuration of NS-2 Network Simulator in the Ubuntu. Extraction of the UM-OLSR and patch the OLSR in the NS-2 Network Simulator in Ubuntu 9
  • 10. 10
  • 12. 12
  • 13.  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 13
  • 14. OLSR.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 14
  • 15. Class List Descriptions OLSR_dup_tuple Duplicate tuples OLSR_DupTupleTimer Timer for removing duplicate tuples: OLSR_dup_tuple OLSR-hello OLSR HELLO message OLSR_HelloTimer Timer for sending HELLO messages OLSR_nb2hop_tuple A 2-hop Tuple OLSR_Nb2hopTupleTimer Timer for removing nb2hop tuples: OLSR_nb2hop_tuple OLSR_mprsel_tuple An MPR-Selector Tuple OLSR_MprSelTupleTimer Timer for removing MPR selector tuples: OLSR_mprsel_tuple OLSR_nb_tuple A Neighbor Tuple OLSR_pkt OLSR packet 15
  • 16. Example of a simple coding for simulation in TCL script used 16 Mobility Speed
  • 17. Run an example TCL Script of OLSR protocol. Result from the simulation from the TCL Script. Two files produced from the TCL script 17
  • 18. Simulation of nam file with nam command Trace file produced from the TCL script (using gedit) 18
  • 21. •Packet Delivery Ratio Graph •Average Delay Graph •Average Throughput Graph 21
  • 22.  Tcl script to set nodes initial and destination position randomly: NS2 Sample Code: NS2 Scripts Example: NS2 Projects. (n.d.). Retrieved December 18, 2019, from http://enggedu.com/Tcl_script_to_set_nodes_initail_and_destination_position_randomly/index.php.  (n.d.). Retrieved December 18, 2019, from https://www.linuxquestions.org/questions/linux-forums-50/  Moad, D., Djahel, S., & Nait-Abdesselam, F. (2012). Improving the quality of service routing in OLSR protocol. 2012 International Conference on Communications and Information Technology (ICCIT). doi: 10.1109/iccitechnol.2012.6285815  NS2 Wireless Examples: NS2 Wireless Simulations: S-Logix. (n.d.). Retrieved December 18, 2019, from https://slogix.in/ns2-wireless-networks-sample-programs.  (n.d.). Retrieved December 18, 2019, from https://www.isi.edu/nsnam/ns/  Class List. (n.d.). Retrieved December 18, 2019, from http://www.cs.mun.ca/~yzchen/code/ns-2.33/annotated.html.  Oracle® VM VirtualBox®. (n.d.).Retrieved December 18, 2019, from https://www.virtualbox.org/manual/UserManual.html  Canonical. (n.d.). Ubuntu 16.04.6 LTS (Xenial Xerus). Retrieved December 18, 2019 from http://releases.ubuntu.com/16.04/  5.2 UM-OLSR patch. (2013, August 2). Retrieved December 18, 2019 from https://cloudns2.wordpress.com/um-olsr- patch/  Frikha, M. (2013). Ad Hoc Networks: Routing, Qos and Optimization. Hoboken, NJ: John Wiley & Sons.  Ismail, R., Zulkifli, C. Z., & Samsudin, K. (2016). ROUTING PROTOCOLS FOR MOBILE AD-HOC NETWORK: A QUALITATIVE COMPARATIVE ANALYSIS. Jurnal Teknologi, 78(8). doi:10.11113/jt.v78.6025  Maksimov, V., & Panasiuk, M. (2014). Simulation of OLSR protocol using Network-Simulator 2. 2014 First International Scientific-Practical Conference Problems of Infocommunications Science and Technology. doi:10.1109/infocommst.2014.6992280 22