omnetpp.ini 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. [General]
  2. network = AODVNetwork
  3. #record-eventlog = true
  4. num-rngs = 3
  5. **.mobility.rng-0 = 1
  6. **.wlan[*].mac.rng-0 = 2
  7. tkenv-plugin-path = ../../../etc/plugins
  8. # channel physical parameters
  9. **.wlan[*].typename = "IdealWirelessNic"
  10. **.wlan[*].bitrate = 2Mbps
  11. **.wlan[*].mac.address = "auto"
  12. **.wlan[*].mac.headerLength = 20B
  13. **.wlan[*].radioType = "IdealRadio"
  14. **.wlan[*].radio.transmitter.headerBitLength = 0b
  15. **.wlan[*].radio.transmitter.communicationRange = 250m
  16. **.wlan[*].radio.transmitter.interferenceRange = 0m
  17. **.wlan[*].radio.transmitter.detectionRange = 0m
  18. **.wlan[*].radio.receiver.ignoreInterference = true
  19. *.numHosts = 20
  20. # mobility
  21. **.host[*].mobilityType = "StationaryMobility"
  22. **.mobility.constraintAreaMinZ = 0m
  23. **.mobility.constraintAreaMaxZ = 0m
  24. **.mobility.constraintAreaMinX = 0m
  25. **.mobility.constraintAreaMinY = 0m
  26. **.mobility.constraintAreaMaxX = 600m
  27. **.mobility.constraintAreaMaxY = 600m
  28. # ping app (host[0] pinged by others)
  29. *.host[0].numPingApps = 1
  30. *.host[0].pingApp[0].startTime = uniform(1s,5s)
  31. *.host[0].pingApp[0].printPing = true
  32. # nic settings
  33. **.wlan[*].bitrate = 2Mbps
  34. **.wlan[*].mgmt.frameCapacity = 10
  35. **.wlan[*].mac.address = "auto"
  36. **.wlan[*].mac.maxQueueSize = 14
  37. **.wlan[*].mac.rtsThresholdBytes = 3000B
  38. **.wlan[*].mac.retryLimit = 7
  39. **.wlan[*].mac.cwMinData = 7
  40. **.wlan[*].mac.cwMinMulticast = 31
  41. # lifecycle
  42. **.hasStatus = true
  43. [Config Static]
  44. description = routing without mobility
  45. *.host[*].wlan[*].radio.transmitter.communicationRange = 250m
  46. *.host[0].pingApp[0].destAddr = "host[1](ipv4)"
  47. [Config IPv4SlowMobility]
  48. description = two fixed communicating nodes with low speed mobile nodes
  49. extends = Static
  50. # mobility
  51. **.aodv.activeRouteTimeout = 3s
  52. **.host[2..20].mobilityType = "MassMobility"
  53. **.host[0].mobilityType = "StationaryMobility"
  54. **.host[1].mobilityType = "StationaryMobility"
  55. **.host[*].mobility.changeInterval = normal(5s, 0.1s)
  56. **.host[*].mobility.changeAngleBy = normal(0deg, 30deg)
  57. **.host[*].mobility.speed = normal(2mps, 0.01mps)
  58. **.host[1].mobility.initialX = 600m
  59. **.host[1].mobility.initialY = 600m
  60. [Config IPv4ModerateFastMobility]
  61. description = two fixed communicating nodes with moderate speed mobile nodes
  62. extends = IPv4SlowMobility
  63. # mobility
  64. **.aodv.activeRouteTimeout = 2s
  65. **.host[*].mobility.speed = normal(8mps, 0.01mps)
  66. [Config IPv4FastMobility]
  67. description = two fixed communicating nodes with high speed mobile nodes
  68. extends = IPv4SlowMobility
  69. # mobility
  70. **.aodv.activeRouteTimeout = 1s
  71. **.host[*].mobility.speed = normal(15mps, 0.01mps)
  72. [Config Dynamic]
  73. description = one node is shut down and restarted trigger route changes
  74. extends = Static
  75. *.host[*].hasStatus = true
  76. *.scenarioManager.script = xmldoc("dynamic.xml")
  77. [Config MoreDynamic]
  78. description = some nodes are shut down trigger route changes
  79. extends = Static
  80. *.host[*].hasStatus = true
  81. *.scenarioManager.script = xmldoc("moreDynamic.xml")
  82. [Config SimpleRREQ]
  83. description = demonstrates a single RREQ-RREP exchange
  84. network = SimpleRREQ
  85. # nic settings
  86. **.wlan[*].radio.transmitter.communicationRange = 240m
  87. **.sender.numPingApps = 1
  88. **.sender.pingApp[0].startTime = uniform(1s,5s)
  89. **.sender.pingApp[0].printPing = true
  90. **.sender.pingApp[0].destAddr = "receiver(ipv4)"
  91. [Config SimpleRREQ2]
  92. description = demonstrates a single RREQ-RREP exchange with two intermediate nodes
  93. extends = SimpleRREQ
  94. network = SimpleRREQ2
  95. [Config SimpleLifecycle]
  96. description = demonstrates AODV's RERR mechanism when a node shuts down
  97. extends = SimpleRREQ2
  98. *.scenarioManager.script = xmldoc("simpleLifecycle.xml")
  99. [Config ShortestPath]
  100. description = demonstrates that AODV chooses the shorter path
  101. network = ShortestPath
  102. extends = SimpleRREQ