SlideShare a Scribd company logo
1 of 14
Network Simulator
using inetmanet for OMNeT++ 4.2.2
AODV as an Ad-Hoc Routing Protocol
November 14, 2012

        Ahmed A. Nour, Ahmed ElSaher, Ehab ElShafei, Tarek Mohamed

        Nile University – CIT623 – Security in Wireless Ad-Hoc Networks
Introduction to OMNeT++ 4.2.2 (1/3)
› OMNeT++ is a discrete event simulation environment:
   – Extensible and Modular, Component-based C++ simulation library and
     framework, Primarily for building network simulators
   – Source code publicly available
   – Free for academic use




Based on documentation from www.omnetpp.org



                                                                          2/20
Introduction to OMNeT++ 4.2.2 (2/3)
› Components
   – Simulation kernel library
   – Compiler for the NED topology description language
   – OMNeT++ IDE based on the Eclipse platform
   – GUI for simulation execution, links into simulation executable (Tkenv)
   – Command-line user interface for simulation execution (Cmdenv)
   – Utilities (makefile creation tool, etc.)
   – Documentation, sample simulations, etc.


Based on documentation from www.omnetpp.org



                                                                              3/20
Introduction to OMNeT++ 4.2.2 (3/3)
› OMNeT++ does not provide any components specifically for
  network simulations
› various simulation models and frameworks such as
  INET/INETMANET, MiXiM, or Castalia - developed completely
  independent of OMNeT++ - provide support for:
  – computer network simulations
  – queuing network simulations
  – system architecture simulations




                                                              4/20
Build OMNeT++ Project (1/2)
› Download inetmanet https://github.com/aarizaq/inetmanet-2.0
  - needed for the Ad-Hoc networks
› Import projects to OmNetpp
  – Create "projects" folder under "c:omnetpp"
  – Extract the downloaded files to the created folder using winrar
  – Import the projects using [File -> Import -> General -> Exist projects into
    workspace]
  – Build the projects using [Project -> Build all]
  – try to run samples projects - under "examples" folder - to be sure that
    previous steps are done


                                                                             7/20
Build OMNeT++ Project (2/2)
› Create new Project
  – choose inetmanet as a reference in the new project properties
  – be sure that inetmanet project is opened
› Create new empty network description file (.ned)
  – in [Design] mode add [network]
  – if we're going to use regular device add it to the network
  – to create a new device based on existing - to add extra functions - one
    add another ned file, in design mode add compound module
› Create an initialization file (.ini)
  – use Wizard of Adhoc Mobility wireless network
  – edit the parameters
                                                                              8/20
AODV Network Simulator (1/4)

› We will generate an Ad-Hoc Network contains variable number
  of hosts (100,150,250,350,450,500) host .
› In all Scenarios, node number 0 will send packages to the fixed
  node
› We will measure the End-To-End Delay for first 700 packet
  arrives to the fixed host
› The source and destination at the same for all scenarios




                                                                9/20
AODV Network Simulator (2/4)
› Network Description file (ned)
  – Add reference to network components
    › import inet.nodes.inet.AdhocHost;
    › import inet.networklayer.autorouting.ipv4.IPv4NetworkConfigurator;
    › import inet.world.radio.ChannelControl;
  – Network Parameters
    › int numHosts; // in our presentation will be (100,150,250,350,450,500)
    › int numFixHosts;//in our presenatation will be 1
    › connections allowunconnected:
  – components Parameters (submodules)
    ›   fixhost[numFixHosts]: AdhocHost
    ›   host[numHosts]: AdhocHost
    ›   channelControl: ChannelControl
    ›   configurator: IPv4NetworkConfigurator
        – interface hosts='*' address='145.236.x.x' netmask='255.255.0.0'

                                                                            10/20
AODV Network Simulator (3/4)
› Initialization file (ini)
› [General]
      › network = test3
      › description = "Aodv Simple test“
      › **.routingProtocol = "AODVUU“

     › *.numFixHosts = 1
     › *.numHosts = 3
     › **.arp.globalARP = true




                                           11/20
250 Node
                                                           350 Node
                                                                                 500 Node




                                  100 Node
                                                                      450 Node
        704
        691
        678
        665
        652
        639
        626
        613
        600
        587
        574
        561
        548
        535
        522
        509
        496
        483
        470
        457
        444
        431
        418
                                                                                                                                                Test & Conclusion (1/3)




        405
        392
        379
        366
        353
        340
        327
        314
        301
        288
        275
        262
                                                                                                                   Total Delay for 700 packet




        249
        236
        223
        210
        197
        184
        171
        158
        145
        132
        119
        106
         93
         80
         67
         54
         41
         28
         15
          2
              0
                                                                                            0.01




                  0.002
                          0.004
                                             0.006
                                                                      0.008
                                                                                                   0.012
                                                                                                           0.014




12/20
Average Delay per Packet
        691
        676
        661
        646
        631
        616
        601
        586
        571
        556
        541
        526
        511
        496
        481
                                                                                                                           Test & Conclusion (2/3)




        466
        451
        436
        421
        406
        391
        376
        361
        346
        331
        316
        301
        286
                                                                                                Average Delay per Packet




        271
        256
        241
        226
        211
        196
        181
        166
        151
        136
        121
        106
         91
         76
         61
         46
         31
         16
          1
              0
                           0.001
                                                                       0.002
                                                                                        0.003




                  0.0005
                                                              0.0015
                                                                               0.0025




13/20
Test & Conclusion (3/3)
                       Average Delay Per Senario
                                                               0.0018


                                                               0.0016


                                                               0.0014


                                                               0.0012


                                                               0.001

 Average Delay
                                                               0.0008


                                                               0.0006


                                                               0.0004


                                                               0.0002


                                                               0
                 500    450          350           250   100



                                                               14/20

More Related Content

What's hot

Introduction to Generative Adversarial Networks (GANs)
Introduction to Generative Adversarial Networks (GANs)Introduction to Generative Adversarial Networks (GANs)
Introduction to Generative Adversarial Networks (GANs)Appsilon Data Science
 
Artificial neural network for machine learning
Artificial neural network for machine learningArtificial neural network for machine learning
Artificial neural network for machine learninggrinu
 
Uniform and non-uniform pseudo random numbers generators for high dimensional...
Uniform and non-uniform pseudo random numbers generators for high dimensional...Uniform and non-uniform pseudo random numbers generators for high dimensional...
Uniform and non-uniform pseudo random numbers generators for high dimensional...LEBRUN Régis
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural NetworkPrakash K
 
HUMAN EMOTION RECOGNIITION SYSTEM
HUMAN EMOTION RECOGNIITION SYSTEMHUMAN EMOTION RECOGNIITION SYSTEM
HUMAN EMOTION RECOGNIITION SYSTEMsoumi sarkar
 
Gan seminar
Gan seminarGan seminar
Gan seminarSan Kim
 
Immunohistochemistry new
Immunohistochemistry newImmunohistochemistry new
Immunohistochemistry newShabab Ali
 
Convolutional Neural Network
Convolutional Neural NetworkConvolutional Neural Network
Convolutional Neural NetworkVignesh Suresh
 
Convolutional Neural Networks
Convolutional Neural NetworksConvolutional Neural Networks
Convolutional Neural NetworksAshray Bhandare
 
Neural networks of artificial intelligence
Neural networks of artificial  intelligenceNeural networks of artificial  intelligence
Neural networks of artificial intelligencealldesign
 
Activation function
Activation functionActivation function
Activation functionAstha Jain
 
What is pseudo random number
What is pseudo random numberWhat is pseudo random number
What is pseudo random numberAkshay Tikekar
 
Attention mechanism 소개 자료
Attention mechanism 소개 자료Attention mechanism 소개 자료
Attention mechanism 소개 자료Whi Kwon
 
Anatomy of YOLO - v1
Anatomy of YOLO - v1Anatomy of YOLO - v1
Anatomy of YOLO - v1Jihoon Song
 
Artificial Neural Network(Artificial intelligence)
Artificial Neural Network(Artificial intelligence)Artificial Neural Network(Artificial intelligence)
Artificial Neural Network(Artificial intelligence)spartacus131211
 
Hetro associative memory
Hetro associative memoryHetro associative memory
Hetro associative memoryDEEPENDRA KORI
 
Understanding Convolutional Neural Networks
Understanding Convolutional Neural NetworksUnderstanding Convolutional Neural Networks
Understanding Convolutional Neural NetworksJeremy Nixon
 
Machine learning with graph
Machine learning with graphMachine learning with graph
Machine learning with graphDing Li
 

What's hot (20)

Introduction to Generative Adversarial Networks (GANs)
Introduction to Generative Adversarial Networks (GANs)Introduction to Generative Adversarial Networks (GANs)
Introduction to Generative Adversarial Networks (GANs)
 
Artificial neural network for machine learning
Artificial neural network for machine learningArtificial neural network for machine learning
Artificial neural network for machine learning
 
Uniform and non-uniform pseudo random numbers generators for high dimensional...
Uniform and non-uniform pseudo random numbers generators for high dimensional...Uniform and non-uniform pseudo random numbers generators for high dimensional...
Uniform and non-uniform pseudo random numbers generators for high dimensional...
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
HUMAN EMOTION RECOGNIITION SYSTEM
HUMAN EMOTION RECOGNIITION SYSTEMHUMAN EMOTION RECOGNIITION SYSTEM
HUMAN EMOTION RECOGNIITION SYSTEM
 
Gan seminar
Gan seminarGan seminar
Gan seminar
 
Immunohistochemistry new
Immunohistochemistry newImmunohistochemistry new
Immunohistochemistry new
 
Convolutional Neural Network
Convolutional Neural NetworkConvolutional Neural Network
Convolutional Neural Network
 
Deep Learning for Computer Vision: Object Detection (UPC 2016)
Deep Learning for Computer Vision: Object Detection (UPC 2016)Deep Learning for Computer Vision: Object Detection (UPC 2016)
Deep Learning for Computer Vision: Object Detection (UPC 2016)
 
Convolutional Neural Networks
Convolutional Neural NetworksConvolutional Neural Networks
Convolutional Neural Networks
 
Perceptron
PerceptronPerceptron
Perceptron
 
Neural networks of artificial intelligence
Neural networks of artificial  intelligenceNeural networks of artificial  intelligence
Neural networks of artificial intelligence
 
Activation function
Activation functionActivation function
Activation function
 
What is pseudo random number
What is pseudo random numberWhat is pseudo random number
What is pseudo random number
 
Attention mechanism 소개 자료
Attention mechanism 소개 자료Attention mechanism 소개 자료
Attention mechanism 소개 자료
 
Anatomy of YOLO - v1
Anatomy of YOLO - v1Anatomy of YOLO - v1
Anatomy of YOLO - v1
 
Artificial Neural Network(Artificial intelligence)
Artificial Neural Network(Artificial intelligence)Artificial Neural Network(Artificial intelligence)
Artificial Neural Network(Artificial intelligence)
 
Hetro associative memory
Hetro associative memoryHetro associative memory
Hetro associative memory
 
Understanding Convolutional Neural Networks
Understanding Convolutional Neural NetworksUnderstanding Convolutional Neural Networks
Understanding Convolutional Neural Networks
 
Machine learning with graph
Machine learning with graphMachine learning with graph
Machine learning with graph
 

Similar to Using Omnet++ in Simulating Ad-Hoc Network

SPICE MODEL of RN1108FS in SPICE PARK
SPICE MODEL of RN1108FS in SPICE PARKSPICE MODEL of RN1108FS in SPICE PARK
SPICE MODEL of RN1108FS in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of RN1105FV in SPICE PARK
SPICE MODEL of RN1105FV in SPICE PARKSPICE MODEL of RN1105FV in SPICE PARK
SPICE MODEL of RN1105FV in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of RN1107FS in SPICE PARK
SPICE MODEL of RN1107FS in SPICE PARKSPICE MODEL of RN1107FS in SPICE PARK
SPICE MODEL of RN1107FS in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of RN1103FT in SPICE PARK
SPICE MODEL of RN1103FT in SPICE PARKSPICE MODEL of RN1103FT in SPICE PARK
SPICE MODEL of RN1103FT in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of RN1103FV in SPICE PARK
SPICE MODEL of RN1103FV in SPICE PARKSPICE MODEL of RN1103FV in SPICE PARK
SPICE MODEL of RN1103FV in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of RN1109FS in SPICE PARK
SPICE MODEL of RN1109FS in SPICE PARKSPICE MODEL of RN1109FS in SPICE PARK
SPICE MODEL of RN1109FS in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of RN1101FT in SPICE PARK
SPICE MODEL of RN1101FT in SPICE PARKSPICE MODEL of RN1101FT in SPICE PARK
SPICE MODEL of RN1101FT in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of 2SK3109 (Standard+BDS Model) in SPICE PARK
SPICE MODEL of 2SK3109 (Standard+BDS Model) in SPICE PARKSPICE MODEL of 2SK3109 (Standard+BDS Model) in SPICE PARK
SPICE MODEL of 2SK3109 (Standard+BDS Model) in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of 2SK3109 (Professional+BDP Model) in SPICE PARK
SPICE MODEL of 2SK3109 (Professional+BDP Model) in SPICE PARKSPICE MODEL of 2SK3109 (Professional+BDP Model) in SPICE PARK
SPICE MODEL of 2SK3109 (Professional+BDP Model) in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of RN1105FT in SPICE PARK
SPICE MODEL of RN1105FT in SPICE PARKSPICE MODEL of RN1105FT in SPICE PARK
SPICE MODEL of RN1105FT in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of RN1106FV in SPICE PARK
SPICE MODEL of RN1106FV in SPICE PARKSPICE MODEL of RN1106FV in SPICE PARK
SPICE MODEL of RN1106FV in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of 2SK3111 (Professional+BDP Model) in SPICE PARK
SPICE MODEL of 2SK3111 (Professional+BDP Model) in SPICE PARKSPICE MODEL of 2SK3111 (Professional+BDP Model) in SPICE PARK
SPICE MODEL of 2SK3111 (Professional+BDP Model) in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of RN1416 in SPICE PARK
SPICE MODEL of RN1416 in SPICE PARKSPICE MODEL of RN1416 in SPICE PARK
SPICE MODEL of RN1416 in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of 2SK3110 (Professional+BDP Model) in SPICE PARK
SPICE MODEL of 2SK3110 (Professional+BDP Model) in SPICE PARKSPICE MODEL of 2SK3110 (Professional+BDP Model) in SPICE PARK
SPICE MODEL of 2SK3110 (Professional+BDP Model) in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of 2SK3111 (Standard+BDS Model) in SPICE PARK
SPICE MODEL of 2SK3111 (Standard+BDS Model) in SPICE PARKSPICE MODEL of 2SK3111 (Standard+BDS Model) in SPICE PARK
SPICE MODEL of 2SK3111 (Standard+BDS Model) in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of RN1414 in SPICE PARK
SPICE MODEL of RN1414 in SPICE PARKSPICE MODEL of RN1414 in SPICE PARK
SPICE MODEL of RN1414 in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of RN1315 in SPICE PARK
SPICE MODEL of RN1315 in SPICE PARKSPICE MODEL of RN1315 in SPICE PARK
SPICE MODEL of RN1315 in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of DTC143XUA in SPICE PARK
SPICE MODEL of DTC143XUA in SPICE PARKSPICE MODEL of DTC143XUA in SPICE PARK
SPICE MODEL of DTC143XUA in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of DTC143XKA in SPICE PARK
SPICE MODEL of DTC143XKA in SPICE PARKSPICE MODEL of DTC143XKA in SPICE PARK
SPICE MODEL of DTC143XKA in SPICE PARKTsuyoshi Horigome
 
SPICE MODEL of DTC124XKA in SPICE PARK
SPICE MODEL of DTC124XKA in SPICE PARKSPICE MODEL of DTC124XKA in SPICE PARK
SPICE MODEL of DTC124XKA in SPICE PARKTsuyoshi Horigome
 

Similar to Using Omnet++ in Simulating Ad-Hoc Network (20)

SPICE MODEL of RN1108FS in SPICE PARK
SPICE MODEL of RN1108FS in SPICE PARKSPICE MODEL of RN1108FS in SPICE PARK
SPICE MODEL of RN1108FS in SPICE PARK
 
SPICE MODEL of RN1105FV in SPICE PARK
SPICE MODEL of RN1105FV in SPICE PARKSPICE MODEL of RN1105FV in SPICE PARK
SPICE MODEL of RN1105FV in SPICE PARK
 
SPICE MODEL of RN1107FS in SPICE PARK
SPICE MODEL of RN1107FS in SPICE PARKSPICE MODEL of RN1107FS in SPICE PARK
SPICE MODEL of RN1107FS in SPICE PARK
 
SPICE MODEL of RN1103FT in SPICE PARK
SPICE MODEL of RN1103FT in SPICE PARKSPICE MODEL of RN1103FT in SPICE PARK
SPICE MODEL of RN1103FT in SPICE PARK
 
SPICE MODEL of RN1103FV in SPICE PARK
SPICE MODEL of RN1103FV in SPICE PARKSPICE MODEL of RN1103FV in SPICE PARK
SPICE MODEL of RN1103FV in SPICE PARK
 
SPICE MODEL of RN1109FS in SPICE PARK
SPICE MODEL of RN1109FS in SPICE PARKSPICE MODEL of RN1109FS in SPICE PARK
SPICE MODEL of RN1109FS in SPICE PARK
 
SPICE MODEL of RN1101FT in SPICE PARK
SPICE MODEL of RN1101FT in SPICE PARKSPICE MODEL of RN1101FT in SPICE PARK
SPICE MODEL of RN1101FT in SPICE PARK
 
SPICE MODEL of 2SK3109 (Standard+BDS Model) in SPICE PARK
SPICE MODEL of 2SK3109 (Standard+BDS Model) in SPICE PARKSPICE MODEL of 2SK3109 (Standard+BDS Model) in SPICE PARK
SPICE MODEL of 2SK3109 (Standard+BDS Model) in SPICE PARK
 
SPICE MODEL of 2SK3109 (Professional+BDP Model) in SPICE PARK
SPICE MODEL of 2SK3109 (Professional+BDP Model) in SPICE PARKSPICE MODEL of 2SK3109 (Professional+BDP Model) in SPICE PARK
SPICE MODEL of 2SK3109 (Professional+BDP Model) in SPICE PARK
 
SPICE MODEL of RN1105FT in SPICE PARK
SPICE MODEL of RN1105FT in SPICE PARKSPICE MODEL of RN1105FT in SPICE PARK
SPICE MODEL of RN1105FT in SPICE PARK
 
SPICE MODEL of RN1106FV in SPICE PARK
SPICE MODEL of RN1106FV in SPICE PARKSPICE MODEL of RN1106FV in SPICE PARK
SPICE MODEL of RN1106FV in SPICE PARK
 
SPICE MODEL of 2SK3111 (Professional+BDP Model) in SPICE PARK
SPICE MODEL of 2SK3111 (Professional+BDP Model) in SPICE PARKSPICE MODEL of 2SK3111 (Professional+BDP Model) in SPICE PARK
SPICE MODEL of 2SK3111 (Professional+BDP Model) in SPICE PARK
 
SPICE MODEL of RN1416 in SPICE PARK
SPICE MODEL of RN1416 in SPICE PARKSPICE MODEL of RN1416 in SPICE PARK
SPICE MODEL of RN1416 in SPICE PARK
 
SPICE MODEL of 2SK3110 (Professional+BDP Model) in SPICE PARK
SPICE MODEL of 2SK3110 (Professional+BDP Model) in SPICE PARKSPICE MODEL of 2SK3110 (Professional+BDP Model) in SPICE PARK
SPICE MODEL of 2SK3110 (Professional+BDP Model) in SPICE PARK
 
SPICE MODEL of 2SK3111 (Standard+BDS Model) in SPICE PARK
SPICE MODEL of 2SK3111 (Standard+BDS Model) in SPICE PARKSPICE MODEL of 2SK3111 (Standard+BDS Model) in SPICE PARK
SPICE MODEL of 2SK3111 (Standard+BDS Model) in SPICE PARK
 
SPICE MODEL of RN1414 in SPICE PARK
SPICE MODEL of RN1414 in SPICE PARKSPICE MODEL of RN1414 in SPICE PARK
SPICE MODEL of RN1414 in SPICE PARK
 
SPICE MODEL of RN1315 in SPICE PARK
SPICE MODEL of RN1315 in SPICE PARKSPICE MODEL of RN1315 in SPICE PARK
SPICE MODEL of RN1315 in SPICE PARK
 
SPICE MODEL of DTC143XUA in SPICE PARK
SPICE MODEL of DTC143XUA in SPICE PARKSPICE MODEL of DTC143XUA in SPICE PARK
SPICE MODEL of DTC143XUA in SPICE PARK
 
SPICE MODEL of DTC143XKA in SPICE PARK
SPICE MODEL of DTC143XKA in SPICE PARKSPICE MODEL of DTC143XKA in SPICE PARK
SPICE MODEL of DTC143XKA in SPICE PARK
 
SPICE MODEL of DTC124XKA in SPICE PARK
SPICE MODEL of DTC124XKA in SPICE PARKSPICE MODEL of DTC124XKA in SPICE PARK
SPICE MODEL of DTC124XKA in SPICE PARK
 

Recently uploaded

Morse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxMorse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxjmorse8
 
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45MysoreMuleSoftMeetup
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxheathfieldcps1
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...Nguyen Thanh Tu Collection
 
Open Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointOpen Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointELaRue0
 
philosophy and it's principles based on the life
philosophy and it's principles based on the lifephilosophy and it's principles based on the life
philosophy and it's principles based on the lifeNitinDeodare
 
The Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryThe Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryEugene Lysak
 
factors influencing drug absorption-final-2.pptx
factors influencing drug absorption-final-2.pptxfactors influencing drug absorption-final-2.pptx
factors influencing drug absorption-final-2.pptxSanjay Shekar
 
How to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 InventoryHow to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 InventoryCeline George
 
Essential Safety precautions during monsoon season
Essential Safety precautions during monsoon seasonEssential Safety precautions during monsoon season
Essential Safety precautions during monsoon seasonMayur Khatri
 
Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024CapitolTechU
 
MichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdfMichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdfmstarkes24
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Celine George
 
IATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdffIATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdff17thcssbs2
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismDabee Kamal
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptxmansk2
 
Discover the Dark Web .pdf InfosecTrain
Discover the Dark Web .pdf  InfosecTrainDiscover the Dark Web .pdf  InfosecTrain
Discover the Dark Web .pdf InfosecTraininfosec train
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxCapitolTechU
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfQucHHunhnh
 

Recently uploaded (20)

Morse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxMorse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptx
 
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
 
Open Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointOpen Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPoint
 
philosophy and it's principles based on the life
philosophy and it's principles based on the lifephilosophy and it's principles based on the life
philosophy and it's principles based on the life
 
“O BEIJO” EM ARTE .
“O BEIJO” EM ARTE                       .“O BEIJO” EM ARTE                       .
“O BEIJO” EM ARTE .
 
The Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryThe Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. Henry
 
factors influencing drug absorption-final-2.pptx
factors influencing drug absorption-final-2.pptxfactors influencing drug absorption-final-2.pptx
factors influencing drug absorption-final-2.pptx
 
How to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 InventoryHow to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 Inventory
 
Essential Safety precautions during monsoon season
Essential Safety precautions during monsoon seasonEssential Safety precautions during monsoon season
Essential Safety precautions during monsoon season
 
Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024
 
MichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdfMichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdf
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
 
IATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdffIATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdff
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
Discover the Dark Web .pdf InfosecTrain
Discover the Dark Web .pdf  InfosecTrainDiscover the Dark Web .pdf  InfosecTrain
Discover the Dark Web .pdf InfosecTrain
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 

Using Omnet++ in Simulating Ad-Hoc Network

  • 1. Network Simulator using inetmanet for OMNeT++ 4.2.2 AODV as an Ad-Hoc Routing Protocol November 14, 2012 Ahmed A. Nour, Ahmed ElSaher, Ehab ElShafei, Tarek Mohamed Nile University – CIT623 – Security in Wireless Ad-Hoc Networks
  • 2. Introduction to OMNeT++ 4.2.2 (1/3) › OMNeT++ is a discrete event simulation environment: – Extensible and Modular, Component-based C++ simulation library and framework, Primarily for building network simulators – Source code publicly available – Free for academic use Based on documentation from www.omnetpp.org 2/20
  • 3. Introduction to OMNeT++ 4.2.2 (2/3) › Components – Simulation kernel library – Compiler for the NED topology description language – OMNeT++ IDE based on the Eclipse platform – GUI for simulation execution, links into simulation executable (Tkenv) – Command-line user interface for simulation execution (Cmdenv) – Utilities (makefile creation tool, etc.) – Documentation, sample simulations, etc. Based on documentation from www.omnetpp.org 3/20
  • 4. Introduction to OMNeT++ 4.2.2 (3/3) › OMNeT++ does not provide any components specifically for network simulations › various simulation models and frameworks such as INET/INETMANET, MiXiM, or Castalia - developed completely independent of OMNeT++ - provide support for: – computer network simulations – queuing network simulations – system architecture simulations 4/20
  • 5.
  • 6.
  • 7. Build OMNeT++ Project (1/2) › Download inetmanet https://github.com/aarizaq/inetmanet-2.0 - needed for the Ad-Hoc networks › Import projects to OmNetpp – Create "projects" folder under "c:omnetpp" – Extract the downloaded files to the created folder using winrar – Import the projects using [File -> Import -> General -> Exist projects into workspace] – Build the projects using [Project -> Build all] – try to run samples projects - under "examples" folder - to be sure that previous steps are done 7/20
  • 8. Build OMNeT++ Project (2/2) › Create new Project – choose inetmanet as a reference in the new project properties – be sure that inetmanet project is opened › Create new empty network description file (.ned) – in [Design] mode add [network] – if we're going to use regular device add it to the network – to create a new device based on existing - to add extra functions - one add another ned file, in design mode add compound module › Create an initialization file (.ini) – use Wizard of Adhoc Mobility wireless network – edit the parameters 8/20
  • 9. AODV Network Simulator (1/4) › We will generate an Ad-Hoc Network contains variable number of hosts (100,150,250,350,450,500) host . › In all Scenarios, node number 0 will send packages to the fixed node › We will measure the End-To-End Delay for first 700 packet arrives to the fixed host › The source and destination at the same for all scenarios 9/20
  • 10. AODV Network Simulator (2/4) › Network Description file (ned) – Add reference to network components › import inet.nodes.inet.AdhocHost; › import inet.networklayer.autorouting.ipv4.IPv4NetworkConfigurator; › import inet.world.radio.ChannelControl; – Network Parameters › int numHosts; // in our presentation will be (100,150,250,350,450,500) › int numFixHosts;//in our presenatation will be 1 › connections allowunconnected: – components Parameters (submodules) › fixhost[numFixHosts]: AdhocHost › host[numHosts]: AdhocHost › channelControl: ChannelControl › configurator: IPv4NetworkConfigurator – interface hosts='*' address='145.236.x.x' netmask='255.255.0.0' 10/20
  • 11. AODV Network Simulator (3/4) › Initialization file (ini) › [General] › network = test3 › description = "Aodv Simple test“ › **.routingProtocol = "AODVUU“ › *.numFixHosts = 1 › *.numHosts = 3 › **.arp.globalARP = true 11/20
  • 12. 250 Node 350 Node 500 Node 100 Node 450 Node 704 691 678 665 652 639 626 613 600 587 574 561 548 535 522 509 496 483 470 457 444 431 418 Test & Conclusion (1/3) 405 392 379 366 353 340 327 314 301 288 275 262 Total Delay for 700 packet 249 236 223 210 197 184 171 158 145 132 119 106 93 80 67 54 41 28 15 2 0 0.01 0.002 0.004 0.006 0.008 0.012 0.014 12/20
  • 13. Average Delay per Packet 691 676 661 646 631 616 601 586 571 556 541 526 511 496 481 Test & Conclusion (2/3) 466 451 436 421 406 391 376 361 346 331 316 301 286 Average Delay per Packet 271 256 241 226 211 196 181 166 151 136 121 106 91 76 61 46 31 16 1 0 0.001 0.002 0.003 0.0005 0.0015 0.0025 13/20
  • 14. Test & Conclusion (3/3) Average Delay Per Senario 0.0018 0.0016 0.0014 0.0012 0.001 Average Delay 0.0008 0.0006 0.0004 0.0002 0 500 450 350 250 100 14/20