omnetpp.ini 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. [Config ETH]
  9. network = NClientsEth
  10. [Config PPP]
  11. network = NClientsPPP
  12. [General]
  13. sim-time-limit = 168h
  14. tkenv-plugin-path = ../../../etc/plugins
  15. # number of client computers
  16. *.n = 1
  17. # configurator
  18. *.configurator.useTentativeAddrs = false # FIXME TBD to be switched to true, for testing DAD!
  19. # tcp apps
  20. #**.cli[*].numTcpApps = 1
  21. #**.cli[*].tcpApp[*].typename = "TelnetApp"
  22. #**.cli[0].tcpApp[0].localAddress = "aaaa:b::8aa:ff:fe00:7" #is this the source addr of the client's TCP app?
  23. #**.cli[1].tcpApp[0].localAddress = "aaaa:b::8aa:ff:fe00:8"
  24. #**.cli[0].tcpApp[0].localPort = -1
  25. #**.cli[1].tcpApp[0].localPort = -1
  26. #**.cli[*].tcpApp[0].connectAddress = "srv"
  27. ##**.cli[*].tcpApp[0].connectAddress="bbbb::"
  28. #**.cli[0].tcpApp[0].connectPort = 1000 #same destination port numbers
  29. #**.cli[1].tcpApp[0].connectPort = 1000 #same destination port numbers
  30. #
  31. #**.cli[*].tcpApp[0].startTime = 3s
  32. #**.cli[*].tcpApp[0].numCommands = 1
  33. #**.cli[*].tcpApp[0].commandLength = 10B
  34. #**.cli[*].tcpApp[0].keyPressDelay = 0.1s
  35. #**.cli[*].tcpApp[0].commandOutputLength = 40B
  36. #**.cli[*].tcpApp[0].thinkTime = 2s
  37. #**.cli[*].tcpApp[0].idleInterval = 12s
  38. #**.cli[*].tcpApp[0].reconnectInterval = 3s
  39. #**.cli[*].tcpApp[0].startTime = uniform(10s,15s)
  40. #**.cli[*].tcpApp[0].numCommands = exponential(1)
  41. #**.cli[*].tcpApp[0].commandLength = exponential(1B)
  42. #**.cli[*].tcpApp[0].keyPressDelay = exponential(0.1s)
  43. #**.cli[*].tcpApp[0].commandOutputLength = exponential(40B)
  44. #**.cli[*].tcpApp[0].thinkTime = truncnormal(2s,3s)
  45. #**.cli[*].tcpApp[0].idleInterval = truncnormal(3600s,1200s)
  46. #**.cli[*].tcpApp[0].reconnectInterval = 30s
  47. # tcp apps
  48. **.cli[*].numTcpApps = 1
  49. **.cli[*].tcpApp[*].typename = "TelnetApp"
  50. **.cli[*].tcpApp[0].localAddress = ""
  51. **.cli[*].tcpApp[0].localPort = -1
  52. **.cli[*].tcpApp[0].connectAddress = "srv"
  53. **.cli[*].tcpApp[0].connectPort = 1000
  54. **.cli[*].tcpApp[0].startTime = 15s + exponential(5s)
  55. **.cli[*].tcpApp[0].numCommands = exponential(10)
  56. **.cli[*].tcpApp[0].commandLength = exponential(10B)
  57. **.cli[*].tcpApp[0].keyPressDelay = exponential(0.1s)
  58. **.cli[*].tcpApp[0].commandOutputLength = exponential(40B)
  59. **.cli[*].tcpApp[0].thinkTime = truncnormal(2s,3s)
  60. **.cli[*].tcpApp[0].idleInterval = truncnormal(3600s,1200s)
  61. **.cli[*].tcpApp[0].reconnectInterval = 30s
  62. **.cli[*].tcpApp[0].dataTransferMode = "object"
  63. **.srv.numTcpApps = 1
  64. **.srv.tcpApp[*].typename = "TCPGenericSrvApp"
  65. **.srv.tcpApp[0].localAddress = ""
  66. **.srv.tcpApp[0].localPort = 1000
  67. **.srv.tcpApp[0].replyDelay = 0
  68. # tcp settings
  69. **.tcpApp[*].dataTransferMode = "object"
  70. # PPP NIC configuration
  71. **.ppp[*].queueType = "DropTailQueue" # in routers
  72. **.ppp[*].queue.frameCapacity = 10 # in routers
  73. # Ethernet NIC configuration
  74. **.eth[*].queueType = "DropTailQueue" # in routers
  75. **.eth[*].queue.dataQueue.frameCapacity = 10 # in routers
  76. #**.eth[*].mac.txrate = 10Mbps
  77. **.eth[*].mac.duplexMode = true
  78. # ADDED by WEI for testing purposes
  79. #**.cli[0].eth[0].mac.address = "0A-AA-00-00-00-01"
  80. #**.srv.eth[0].mac.address = "0A-AA-00-00-00-02"
  81. #**.r1.eth[0].mac.address = "0A-AA-00-00-00-03"
  82. #**.r1.eth[1].mac.address = "0A-AA-00-00-00-04"
  83. #**.r2.eth[0].mac.address = "0A-AA-00-00-00-04"
  84. #**.r2.eth[1].mac.address = "0A-AA-00-00-00-06"
  85. #**.r3.eth[0].mac.address = "0A-AA-00-00-00-07"
  86. #**.r3.eth[1].mac.address = "0A-AA-00-00-00-08"