omnetpp-ftp.ini 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. [General]
  2. network = Lan80211
  3. #debug-on-errors = true
  4. tkenv-plugin-path = ../../../etc/plugins
  5. #record-eventlog = true
  6. **.constraintAreaMinX = 0m
  7. **.constraintAreaMinY = 0m
  8. **.constraintAreaMinZ = 0m
  9. **.constraintAreaMaxX = 600m
  10. **.constraintAreaMaxY = 400m
  11. **.constraintAreaMaxZ = 0m
  12. # access point
  13. **.ap.wlan[*].mac.address = "10:00:00:00:00:00"
  14. **.host*.**.mgmt.accessPointAddress = "10:00:00:00:00:00"
  15. **.mgmt.frameCapacity = 10
  16. # mobility
  17. **.host*.mobilityType = "MassMobility"
  18. **.host*.mobility.changeInterval = truncnormal(2s, 0.5s)
  19. **.host*.mobility.changeAngleBy = normal(0deg, 30deg)
  20. **.host*.mobility.speed = truncnormal(20mps, 8mps)
  21. **.host*.mobility.updateInterval = 100ms
  22. # tcp apps
  23. **.host[0].numTcpApps = 1
  24. **.host[0].tcpApp[*].typename = "TCPSinkApp"
  25. **.host[0].tcpApp[0].localPort = 1000
  26. **.host*.numTcpApps = 1
  27. **.host*.tcpApp[*].typename = "TCPSessionApp" # ftp
  28. **.host*.tcpApp[0].active = true
  29. **.host*.tcpApp[0].connectAddress = "host[0]"
  30. **.host*.tcpApp[0].connectPort = 1000
  31. **.host*.tcpApp[0].tOpen = 0
  32. **.host*.tcpApp[0].tSend = 0
  33. **.host*.tcpApp[0].sendBytes = 100MiB
  34. **.host*.tcpApp[0].tClose = 0
  35. **.tcpApp[*].localAddress = ""
  36. **.tcpApp[*].localPort = -1
  37. **.tcpApp[*].sendScript = ""
  38. # ping app (off)
  39. **.numPingApps = 0
  40. #**.numPingApps = 1
  41. #**.pingApp[0].destAddr = "host[0]"
  42. #**.pingApp[0].printPing = true
  43. # nic settings
  44. **.wlan*.bitrate = 2Mbps
  45. **.mac.address = "auto"
  46. **.mac.maxQueueSize = 14
  47. **.mac.rtsThresholdBytes = 3000B
  48. **.wlan[*].mac.retryLimit = 7
  49. **.wlan[*].mac.cwMinData = 7
  50. **.wlan[*].mac.cwMinBroadcast = 31
  51. **.wlan[*].radio.transmitter.power = 2mW
  52. **.wlan[*].radio.transmitter.bitrate = 2Mbps
  53. **.wlan[*].radio.transmitter.headerBitLength = 100b
  54. **.wlan[*].radio.transmitter.carrierFrequency = 2.4GHz
  55. **.wlan[*].radio.transmitter.bandwidth = 2MHz
  56. **.wlan[*].radio.receiver.sensitivity = -85dBm
  57. **.wlan[*].radio.receiver.snirThreshold = 4dB
  58. # relay unit configuration
  59. **.relayUnitType = "MACRelayUnit"
  60. **.relayUnit.addressTableSize = 100
  61. **.relayUnit.agingTime = 120s
  62. **.relayUnit.bufferSize = 1MiB
  63. **.relayUnit.highWatermark = 512KiB
  64. **.relayUnit.pauseUnits = 300 # pause for 300*512 bit (19200 byte) time
  65. **.relayUnit.addressTableFile = ""
  66. **.relayUnit.numCPUs = 2
  67. **.relayUnit.processingTime = 2us
  68. [Config TwoHosts]
  69. description = "hosts ftping host0"
  70. *.numHosts = 2
  71. [Config NHosts] # __interactive__
  72. description = "n hosts"
  73. # leave numHosts undefined here