Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
    i'm working on a sdn project and i have to implement it on omnet++, i'm working on control plane saturation attack and i use inet frame work and openflow framework from wuerzburg. can any one help me to know how to simulate a simple syn flood attack in omnet? i don't have much time and i should simulate my thesis till next month, i really could use some help.
    hi all
    how are you?
    am working on thesis project to show the impact of security in the LTE network using omnet
    am not able to find any tools to generate the attack
    please if any one could help me
    Alexandre Rocha

    Hello guys, I'm implementing handover in this scenario of coexistence between wizi and zigbee (link below), but the AP works in a scalar way and in this scenario the type of radio is dimensional. Can someone help me to adapt the scalar to the dimensional? is that possible? thank you if you can help me


    Hi guys, I am somewhat scaptical about how I can use dynamic module creation? where should I put the code for creating the mosules?
    what is the alternate for ipv4datagram in inet 4.0? Pl. help.
    hi everyone, i am using omnetpp-5.5.1 and i get an error when i do "scavetool scalar -p "module(name) AND name(\"hopDistanceFromSource_:stats:mean\")" -O output.csv result-*.sca " saying scalar not found. seems like there is been a huge in scave i couldn't find a workaround for, can anyone help me ?

    Hello guys,

    Need some help in OMNET++
    I am new to the networking field and started working with Omnet++ simulator(Version-5.6.1). In order to get a brief overview, I started working with the INET framework(Version 4.2). I have downloaded this framework from Github and imported into omnet++. Then, I started to build it and it's been successful. But when I run it, I got a few errors. The following is the error

    "<!> Error: Cannot load library '../../../src//libinet4.dll': The specified procedure could not be found"


    Simulation terminated with exit code: 1
    Working directory: C:/OmnetFolder/omnetpp-5.5.1/samples/inet4/showcases/mobility/basic
    Command line: ../../../../../bin/opp_run.exe -m -u Qtenv -n ../../../src;../../../examples;../../../tutorials;../.. --image-path=../../../images -l ../../../src/inet4 omnetpp.ini

    Environment variables:
    PATH=;C:/OmnetFolder/omnetpp-5.5.1/samples/inet4/src;C:\OmnetFolder\omnetpp-5.5.1\bin;C:\OmnetFolder\omnetpp-5.5.1\tools\win64\mingw64\bin;C:\OmnetFolder\omnetpp-5.5.1\tools\win64\usr\bin;;C:/OmnetFolder/omnetpp-5.5.1/ide/jre/bin/server;C:/OmnetFolder/omnetpp-5.5.1/ide/jre/bin;C:/OmnetFolder/omnetpp-5.5.1/ide/jre/lib/amd64;C:\Program Files\Java\jdk-12.0.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\OmnetFolder\omnetpp-5.5.1\samples\inet4\src;C:\OmnetFolder\omnetpp-5.5.1\bin;C:\OmnetFolder\omnetpp-5.5.1\tools\win64\mingw64\bin;C:\OmnetFolder\omnetpp-5.5.1\tools\win64\usr\bin;C:\OmnetFolder\omnetpp-5.5.1\ide\jre\bin\server;C:\OmnetFolder\omnetpp-5.5.1\ide\jre\bin;C:\OmnetFolder\omnetpp-5.5.1\ide\jre\lib\amd64;C:\Program Files\JetBrains\PyCharm Community Edition 2019.2.1\bin;C:\OmnetFolder\omnetpp-5.5.1\bin;C:\OmnetFolder\omnetpp-5.5.1\tools\win64\usr\bin;C:\OmnetFolder\omnetpp-5.5.1\ide;OMNETPP_IMAGE_PATH=C:\OmnetFolder\omnetpp-5.5.1\images;C:\Users\chsam\AppData\Local\Microsoft\WindowsApps;C:\Program Files\JetBrains\PyCharm Community Edition 2019.2.1\bin;;C:\OmnetFolder\omnetpp-5.5.1\bin;C:\OmnetFolder\omnetpp-5.5.1\tools\win64\usr\bin;C:\OmnetFolder\omnetpp-5.5.1\tools\win64\mingw64\bin;C:\Windows\System32;;C:\OmnetFolder\omnetpp-5.5.1\ide;

    I tried few solutions in Windows and those are as follows:
    1) Linked the INET library to the OMNeT++ library folder-----> Failed
    2) In INET properties, changed the Target type to Executable------> Failed
    3) In INET properties, enabled the Force compiling object files for use in DLLs in compile section. Also, changed the target name to default:inet4 instead of the specified name------> Failed
    4) Tried it on Linux platform as well-----> Failed
    5) Installed INET from Omnet++ Help------> Failed
    6) Installed INET during Omnet startup-------> Failed
    7) Installed winpcap but no use ----> Failed

    Can anyone help to resolve this issue? It's been so long I have been working with this, yet I was not successful in it. Any help would be greatly appreciated.

    Best Regards


    I am working on the implementation of the following scenario using sumo OMNET++ & VEINS simulators.

    RSU will broadcast WSA (Wave Service Advertisement) Beacon once per second. to a specific vehicle.
    that specific vehicle would store these WSAs.                                           

    Issues regarding implementation:

    1. when i broadcast message it is received by all vehicles so how can i send message to a specific vehicle
      1. how can that message be stored by vehicle
        thanks in advance
    1) you can not. 802.11p messages are broadcasted and received by all vehicles within communication range. What you can do is filter messages according to different needs, meaning only "relevant" messages are handed over to the application layer (e.g., GeoNetworking).
    2) Messages can be stored in any data structure of your choice. For example, add an array where new messages are inserted. You may think of a time horizon where you start to drop/overwrite old messages.
    Hi All,
    I am looking to implement 10 vehicles and 1 RSU in VEINS Simulator. I am looking to deploy 10 cars in veins and how to connect each car. Is there any example in the veins tutorial? I want to deploy individual cars rather than changing the number of cars in the SUMO XML file.
    Has anyone tried to simulate Veins 80211p and veins_int 80211 vehicles in the same simulaion?
    Or does anyone know how to merge them together in veins_inet existing simulatiom.
    AI Xin
    Some of my code use C++ 17 feature(std::optional). I'm working on a new project using OMNeT++, and want to use my current code. I already add CXX=clang++ CXXFLAGS=-std=c++17 to makefile, however it still not compile. I try make V=1, it seems that the CXXFLAGS not working. Any ideas?
    hi all
    I am working on a thesis project to blackhole attack detection and prevention in WSNs using omnet++. I am not able to find any algorithm or tool to generate the attack. please help me?
    Hi all! someone knows how to send data from instant veins (SUMO+Omnet++)simulation to sqlite3 (installed within debian)?
    Is it possible to set up VANET environment with Base Station/RSU initialized clustering using OMNET++ integrated with Veins and SUMO?
    And, perform ECC based mutual authentication using OMNET++?
    If yes, how it is being done???
    I have compiled INet, but how do I got Omnet++ to detect it? Is there some place/path I need to put it?
    Amit Krishna
    Hi All is there any recognized course available for Omnet++ in any MOOC platform that you may know.
    Laila Heilat
    I want to animate a node receiving messages from 5 different nodes in OMNET++. Right now the nodes send in a sequential manner. But, I want the nodes to send messages to the root node simultaneously. please help me
    Laila Heilat
    @englishm @sanjaysrikumar please do you have any idea to solve my problem that mentioned above
    Hi everyone,
    i am new in OMNET++, i am trying to install OMNET 5.5.1 in my windows. everything finishes well but when i try to run program it gives me error "unknown log format character '<'" and when i press ok it disappear everything.
    Can anyone plese guide me
    @LHeilat_twitter I think you should be able to send the messages at the same time by scheduling the send() method at same time on all sender nodes. And for setting up animation, you can follow below INET tutorial,

    Hi Everyone,
    I am trying to implement a clock synchronisation mechanism in Wireless networks. But I am not able to find a Clock module which I can use in a wireless sensor node!! Can anyone please direct me to some examples of clock models in wireless nodes to get started with??

    Thanks in Advance

    Andras Varga
    A clock model is part of INET 4.3.0.
    gPTP for INET is being integrated currently.
    Thanks you Andras. I could import INET 4.3 and see clock models in there. Are there any simple examples other than gPTP which I can refer to?
    Riccardo M. Pesce
    Good evening! I have a question. If in a wireless network with adhoc host I would like to implement a routing protocol where the forwarding nodes in the range of the sending nodes routes
    Route packets to the receiving node theough the two path with the least hop, what would you be modifying? The nexthopforwarding module?

    Hi, I am using OMNET++ INET for Ad hoc networks.
    I want to broadcast my message to all my neighbours in UDP. I have tried all the possible solutions in UDPBasicApp. It broadcasts a message to one node at a time which it chooses randomly if the destination is not fixed (sink) . UDPBasicBurstApp also does not send message to all connected nodes.
    Kindly help me in this regard.


    Hello, when compiling from source other than using Linux/Mac/Windows release tar, how to get the IDE working?
    This is the result from a Docker environment,
    userpp@a176646f65eb (omnetpp-dev):~/omnetpp-6.0pre10$ omnetpp
    Starting the OMNeT++ IDE...
    The OMNeT++ IDE is not installed!

    Hi Everyone, I am working on a TDMA based wireless network in Omnet++ using INET library and facing below problem.

    I am using ‘WirelessHost' as my wireless nodes’ type and configured the internal clocks of these nodes to run at different speeds using ‘SettableClockModule’.

    I have modified the ‘LMac’ MAC protocol to use the internal clocks of their respective nodes by adding clockModule parameter. All I am trying to do is, access the medium according to the internal clock of the node, instead of simulator clock!

    The PROBLEM I am facing is as below,

    • When LMac_Clock (the modified version) tries to schedule a send_control message for the very first time, I am getting the below runTimeError,
      scheduleAt(): Cannot schedule message (inet::ClockEvent)send_control, it is currently contained/owned by (inet::LMAC_Clock)wireless_network2.TestNodeB.wlan[0].mac -- in module (inet::physicallayer::ApskRadio) wireless_network2.TestNodeB.wlan[0].radio
    • When I use the LMac protocol as it is, it works perfectly in my network. But when I try to use the modified version with clock module, it throws me a runTimeError.
    • It looks like the message ownership error, but I was not able to understand what is the mistake I am doing or how this can be solved!

    Below are the steps I tried,

    1. Copied the message before scheduling in scheduleClockEvent method to deal with the ownership. Then, the message could be scheduled, but the Radio module will ry to pick it up and throw Unknown self message error,
      Unknown self message -- in module (inet::physicallayer::ApskRadio) wireless_network2.TestNodeB.wlan[0].radio

    2. Modified the ‘ApskRadio' Module as well with parameter clockModule and updating scheduling functions. But the network behaved the same way!

    Please let me know if anyone can help me to fix this.
    Any suggestions or documents related to message ownership problems OR any example projects to which I can refer will also be very helpful.

    Thanks & Regards,
    Suheel S N


    Hi All,

    I am building a network topology with 12 nodes (all AodvRouter): 1 x Source, 9 x intermediate nodes and two destinations: Sink1 and Sink2. Please see the image for details: Network Topology.
    At the moment all nodes are stationary (no mobility implemented yet). I am using UdpBasicApp at Source and UdpSink at destinations and trying to send UDP datagrams from source in multicast fashion to Sink1 and Sink2 nodes.
    I have configured the Source and Sink1, Sink2 app in the ini file as follows:

    # Source app configuration
    *.Source.numApps = 1
    *.Source.app[0].typename = "UdpBasicApp"
    *.Source.app[0].destAddresses = ""
    *.Source.app[0].destPort = 1000
    *.Source.app[0].messageLength = 1000Byte
    *.Source.app[0].sendInterval = 100us
    *.Source.app[0].startTime = intuniform(0ms,1ms)
    # Sink1 app configuration
    *.Sink1.numApps = 1
    *.Sink1.app[0].typename = "UdpSink"
    *.Sink1.app[0].localPort = 1000
    *.Sink1.app[0].joinLocalMulticastGroups = true
    # Sink2 app configuration
    *.Sink2.numApps = 1
    *.Sink2.app[0].typename = "UdpSink"
    *.Sink2.app[0].localPort = 1000
    *.Sink2.app[0].joinLocalMulticastGroups = true

    But I am not sure whether configuring Source app with *.Source.app[0].destAddresses = "" and Sink with *.Sink1.app[0].joinLocalMulticastGroups = true is the correct approach.
    Could you please advise? Thank you very much in advance.

    ini file:.
    ned file.

    Hi. I have installed OMNET++ 6.0pre11 and inet 4.3.2. i tried to run any of the examples in INET but gives me following error everytime.
    Kindly guide me.
    Thanks in advance
    2 replies
    Hello Everyone I'm facing a problem with clang in VANET building. It shows link Linker command failed with exit code 1.use -v to see invocation. IT showing the file VeinsInetManagerBase.o. and showing some clang compiler error
    Kentaro "zigen" Teramoto
    Hi there, I ported OMNeT++ to WebAssembly and you can try it! https://horol.org/tictoc/ still working in progress. currently, you can only "step run". comments or suggestions are welcome. thanks.
    Hello everyone, is there some INET example that connect to a real network, especially TCP network with HTTP protocol?
    The best I found is an UDP example https://inet.omnetpp.org/docs/showcases/emulation/voip/doc/index.html
    mudit parmar
    Dear all,
    I am new to omnet++. I need to modify existing csma/ca, aodv, adhoc tcp and http protocols to enable me achieve the aim of my project.
    First, I need to simulate the current protocols without attack
    2nd, I will simulate all the current protocols with Jamming, MAC Flooding, Blackhole, SYN Flooding and DDoS attacks.
    3rd, i will simulate the modified protocols in the presence of all the named attacks.
    Can anyone give a step-by-step guide please?
    Hi everyone,
    I am trying to broadcast Udp packets to all the neighbouring nodes in a wireless network with AdhocHosts. Default ipv4 module is failing to resolve the broadcast address ‘’. I am using the GlobalArp module for ARP protocol. Can someone please help me how to fix this? Or any suggestions on how this can be achieved would be really helpful.
    Thanks in advance.