Create a OLSR & DSR simulation scenario

118 views
Skip to first unread message

Benedictus Tea

unread,
Apr 6, 2015, 1:47:13 AM4/6/15
to omn...@googlegroups.com
Hi.... previously I've seen posts Augustinus Dimas. but I am having problems on omnetpp.ini. I have made olsr.ned. why on omnetpp.ini error when calling olsr.ned?

network = olsrtest.ned   // this line error
sim-time-limit = 100       //
this line error


Thank you before

Alfonso Ariza Quintana

unread,
Apr 6, 2015, 1:38:47 PM4/6/15
to omn...@googlegroups.com

sim-time-limit = 100       // this line error
the time unit is not present
sim-time-limit = 100s      


network = olsrtest.ned   // this line error

it is erroneous, the correct, if the name of the network is olsrtest is
network = olsrtest

you need to set the name of the network, not the name of the file that contains the network


Date: Sun, 5 Apr 2015 22:47:12 -0700
From: milan...@gmail.com
To: omn...@googlegroups.com
Subject: [Omnetpp-l] Create a OLSR & DSR simulation scenario
--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Benedictus Tea

unread,
Apr 6, 2015, 11:45:24 PM4/6/15
to omn...@googlegroups.com
okeyy,, thx you.. The next problem, I make OLSRrouter.ned, as an example in inetmanet AODV. code is the same as that in the post by Augustine dimas. but I find Adhochost.ned, and the position parallel with OLSRrouter.ned that I created. I think about it, it's better to wear adhochost, because OLSR and DSR already exist on that. the question is, how to use OLSR on adhochost?


Alfonso Ariza Quintana

unread,
Apr 7, 2015, 3:38:24 AM4/7/15
to omn...@googlegroups.com

**.routingProtocol = “OLSR”

Benedictus Tea

unread,
Apr 7, 2015, 7:28:18 AM4/7/15
to omn...@googlegroups.com, aari...@hotmail.com
Okay, have succeeded.
what is the difference between DSR and DSRUU ?
which one should I use for the standard DSR routing ? whether DSR or DSRUU ?
but, I just find DSRUU on adhochost..

Alfonso Ariza Quintana

unread,
Apr 7, 2015, 8:08:39 AM4/7/15
to omn...@googlegroups.com

DSR is DSRUU, the upsala university implementation

Benedictus Tea

unread,
Apr 15, 2015, 12:41:44 AM4/15/15
to omn...@googlegroups.com, aari...@hotmail.com
okee.. I was make omnetpp.ini on project DSR.. but when I will be run omnetpp.ini,  there are something like this (attached)..
any something missing on this script?


[General]
network = dsr.simulations.Dsrnetwork

description = "DSR test"
sim-time-limit = 100s
record-eventlog = true
cmdenv-express-mode = true
warnings = true
num-rngs = 3
**.mobility.rng-0 = 1
**.wlan[*].mac.rng-0 = 2
tkenv-plugin-path = ../../../etc/plugins

#DSRUU
[Config DSRUU]
**.routingProtocol="DSRUU"
**.PrintDebug = true
**.FlushLinkCache = true
**.PromiscOperation = false
**.UseNetworkLayerAck = false
**.BroadcastJitter = 20 # 20  ms
**.RouteCacheTimeout = 300 #300 seconds
**.SendBufferTimeout = 300# //30 s
**.SendBufferSize = -1
**.RequestTableSize = -1
**.RequestTableIds = -1
**.MaxRequestRexmt = -1 #// 16,
**.MaxRequestPeriod = 10 #//10 SECONDS
**.RequestPeriod = 500 #//500  MILLISECONDS
**.NonpropRequestTimeout = 30# //30  MILLISECONDS
**.RexmtBufferSize = -1 #//MAINT_BUF_MAX_LEN
**.MaintHoldoffTime = 250# //250 MILLISECONDS
**.MaxMaintRexmt = 2 # //2
**.TryPassiveAcks = true #//1
**.PassiveAckTimeout = 100# //100 MILLISECONDS
**.GratReplyHoldOff = 1 #, //1 SECONDS
**.MAX_SALVAGE_COUNT = 15 # //15
**.LifoSize = 20
**.PathCache = true
**.ETX_Active = false
**.ETXHelloInterval = 1 #, // Second
**.ETXWindowNumHello = 10
**.ETXRetryBeforeFail = -1
**.RREPDestinationOnly = false
**.RREQMaxVisit = 5 # // Max Number that a RREQ can be processes by a node

# channel physical parameters
*.numHosts = 5
*.channelControl.carrierFrequency = 2.4GHz
*.channelControl.pMax = 2.0mW
*.channelControl.sat = -110dBm
*.channelControl.alpha = 2
*.channelControl.numChannels = 1

# mobility
**.host[*].mobilityType = "MassMobility"
**.mobility.constraintAreaMinZ = 0m
**.mobility.constraintAreaMaxZ = 0m
**.mobility.constraintAreaMinX = 0m
**.mobility.constraintAreaMinY = 0m
**.mobility.constraintAreaMaxX = 600m
**.mobility.constraintAreaMaxY = 600m
**.vector-recording = true
**.mobility.initFromDisplayString = false
**.mobility.changeInterval = truncnormal(2s, 0.5s)
**.mobility.changeAngleBy = normal(0deg, 30deg)
**.mobility.speed = truncnormal(20mps, 8mps)
**.mobility.updateInterval = 100ms
**.host[*].**.channelNumber = 0

# nic settings
**.wlan[*].mgmtType = "Ieee80211MgmtAdhoc"
**.wlan[*].bitrate = 2Mbps
**.wlan[*].mgmt.frameCapacity = 10
**.wlan[*].mac.address = "auto"
**.wlan[*].mac.maxQueueSize = 14
**.wlan[*].mac.rtsThresholdBytes = 3000B
**.wlan[*].mac.retryLimit = 7
**.wlan[*].mac.cwMinData = 7
**.wlan[*].mac.cwMinBroadcast = 31
**.wlan[*].radio.transmitterPower = 2mW
**.wlan[*].radio.thermalNoise = -110dBm
**.wlan[*].radio.sensitivity = -85dBm
**.wlan[*].radio.pathLossAlpha = 2
**.wlan[*].radio.snirThreshold = 4dB

# lifecycle
**.hasStatus = true
**.hasUdp = true


# ping app (host[0] pinged by others)
*.host[0].numPingApps = 1
*.host[0].pingApp[0].startTime = uniform(1s,5s)
*.host[0].pingApp[0].printPing = true

1.png
2.png
3.png

Alfonso Ariza Quintana

unread,
Apr 15, 2015, 3:50:58 AM4/15/15
to omn...@googlegroups.com

You are using lifecycle, this module creates and deletes the nodes

 

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de Benedictus Tea
Enviado el: miércoles, 15 de abril de 2015 6:42
Para: omn...@googlegroups.com
CC: aari...@hotmail.com
Asunto: Re: [Omnetpp-l] Re: Create a OLSR & DSR simulation scenario

 

okee.. I was make omnetpp.ini on project DSR.. but when I will be run omnetpp.ini,  there are something like this (attached)..

--

Benedictus Tea

unread,
Apr 26, 2015, 10:18:47 PM4/26/15
to omn...@googlegroups.com, aari...@hotmail.com
yesterday could be running. but today why the project inetmanet cross appears? and can not run. OLSR and DSR project that I made an error too. I use a 64bit Windows 8.1, whereas before there was no problem.
eror.png

Alfonso Ariza Quintana

unread,
Apr 27, 2015, 11:01:30 AM4/27/15
to omn...@googlegroups.com

The destAddr parameter is erroneous

 

destAddr =”host[1]”

 

destAddr must contain the destination name node list.

 

 

De: omn...@googlegroups.com [mailto:omn...@googlegroups.com] En nombre de Benedictus Tea
Enviado el: lunes, 27 de abril de 2015 4:19
Para: omn...@googlegroups.com
CC: aari...@hotmail.com
Asunto: Re: [Omnetpp-l] Re: Create a OLSR & DSR simulation scenario

 

yesterday could be running. but today why the project inetmanet cross appears? and can not run. OLSR and DSR project that I made an error too. I use a 64bit Windows 8.1, whereas before there was no problem.

--

Benedictus Tea

unread,
May 4, 2015, 11:01:47 PM5/4/15
to omn...@googlegroups.com, aari...@hotmail.com
still can't running .. I attach details of the error .. it did not find OLSR.exe .. I've biuld repetitive, but still does not appear OLSR.exe ..
now I has downgrade to windows 7 64bit
Untitled.png

Alfonso Ariza Quintana

unread,
May 5, 2015, 3:57:27 AM5/5/15
to omn...@googlegroups.com

 

I suppose that you are using inet/inetmanet framework, the OLSR code needs the framework. In this case the compile file of the project should be inet.exe or inet.dll, not OLSR.exe.

You have a strange installation

Reply all
Reply to author
Forward
0 new messages