omnetpp.ini 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. #
  2. # This ini file runs Telnet sessions on the NClients network, using
  3. # TelnetApp+TCPGenericSrvApp.
  4. #
  5. # See also fileTransfer.ini and basicHTTP.ini for different kinds of
  6. # network traffic.
  7. #
  8. [General]
  9. tkenv-plugin-path = ../../../etc/plugins
  10. # number of client computers
  11. *.n = 1
  12. [Config TCP_APP]
  13. # tcp apps
  14. **.cli[*].numTcpApps = 1
  15. **.cli[*].tcpApp[*].typename = "TelnetApp"
  16. **.cli[0].tcpApp[0].localAddress = "aaaa:b::8aa:ff:fe00:7" #is this the source addr of the client's TCP app?
  17. **.cli[1].tcpApp[0].localAddress = "aaaa:b::8aa:ff:fe00:8"
  18. **.cli[0].tcpApp[0].localPort = -1
  19. **.cli[1].tcpApp[0].localPort = -1
  20. **.cli[*].tcpApp[0].connectAddress = "srv"
  21. #**.cli[*].tcpApp[0].connectAddress="bbbb::"
  22. **.cli[0].tcpApp[0].connectPort = 1000 #same destination port numbers
  23. **.cli[1].tcpApp[0].connectPort = 1000 #same destination port numbers
  24. **.cli[*].tcpApp[0].startTime = uniform(10s,15s)
  25. **.cli[*].tcpApp[0].numCommands = exponential(1)
  26. **.cli[*].tcpApp[0].commandLength = exponential(1B)
  27. **.cli[*].tcpApp[0].keyPressDelay = exponential(0.1s)
  28. **.cli[*].tcpApp[0].commandOutputLength = exponential(40B)
  29. **.cli[*].tcpApp[0].thinkTime = truncnormal(2s,3s)
  30. **.cli[*].tcpApp[0].idleInterval = truncnormal(3600s,1200s)
  31. **.cli[*].tcpApp[0].reconnectInterval = 30s
  32. **.srv.numTcpApps = 1
  33. **.srv.tcpApp[*].typename = "TCPGenericSrvApp"
  34. **.srv.tcpApp[0].localAddress = ""
  35. **.srv.tcpApp[0].localPort = 1000
  36. **.srv.tcpApp[0].replyDelay = 0
  37. #**.srv.tcpApp[1].localAddress="" #created another one but unused for now
  38. #**.srv.tcpApp[1].localPort=3168
  39. #**.srv.tcpApp[1].replyDelay = 0
  40. # tcp settings
  41. **.tcpApp[*].dataTransferMode = "object"
  42. [Config SCTP_APP]
  43. description = SCTP apps via IPv6
  44. **.cli[*].numSctpApps = 1
  45. **.cli[*].sctpApp[*].typename = "SCTPClient"
  46. **.cli[*].sctpApp[0].localAddress = ""
  47. **.cli[*].sctpApp[0].connectAddress = "srv"
  48. **.cli[*].sctpApp[0].connectPort = 1000
  49. **.cli[*].sctpApp[0].startTime = 5s + exponential(4s) # The startTime must be later than IPv6 needs
  50. # to initialize the routing (at least 2 seconds)
  51. **.cli[*].sctpApp[0].numRequestsPerSession = 2
  52. **.cli[*].sctpApp[0].requestLength = 1000
  53. **.cli[*].sctpApp[0].thinkTime = exponential(1s)
  54. **.cli[*].sctpApp[0].queueSize = 0
  55. **.pcapRecorder[0].moduleNamePatterns="ppp[*]"
  56. **.cli[0].numPcapRecorders=1
  57. **.cli[0].pcapRecorder[0].pcapFile="results/client.pcap"
  58. **.srv.numSctpApps = 1
  59. **.srv.sctpApp[*].typename = "SCTPServer"
  60. **.srv.sctpApp[*].localAddress = ""
  61. **.srv.sctpApp[0].localPort = 1000
  62. **.srv.sctpApp[0].numPacketsToReceivePerClient = 2
  63. **.srv.numPcapRecorders=1
  64. **.srv.pcapRecorder[0].pcapFile="results/srv.pcap"
  65. [Config PPP]
  66. description = "PPP network"
  67. extends = TCP_APP
  68. network = NClientsPPP
  69. # PPP NIC configuration
  70. **.ppp[*].queueType = "DropTailQueue" # in routers
  71. **.ppp[*].queue.frameCapacity = 10 # in routers
  72. [Config ETH]
  73. description = "ETH network"
  74. extends = TCP_APP
  75. network = NClientsEth
  76. # Ethernet NIC configuration
  77. **.eth[*].queueType = "DropTailQueue" # in routers
  78. **.eth[*].queue.dataQueue.frameCapacity = 10 # in routers
  79. #**.eth[*].mac.txrate = 10Mbps
  80. **.eth[*].mac.duplexMode = true
  81. [Config PPP_SCTP]
  82. description = "SCTP apps via IPv6 over PPP"
  83. extends = SCTP_APP
  84. network = NClientsPPP
  85. # PPP NIC configuration
  86. **.ppp[*].queueType = "DropTailQueue" # in routers
  87. **.ppp[*].queue.frameCapacity = 10 # in routers