omnetpp.ini 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. #
  2. # This ini file runs Telnet sessions on the DemoNetworkEth 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. #debug-on-errors = true
  10. network = DemoNetworkEth
  11. tkenv-plugin-path = ../../../etc/plugins
  12. # number of client and server computers
  13. *.n = 2
  14. # configurator
  15. #*.configurator.useTentativeAddrs=false # FIXME TBD to be switched to true, for testing DAD!
  16. # tcp apps
  17. **.cli[*].numTcpApps = 1
  18. **.cli[*].tcpApp[*].typename = "TelnetApp"
  19. **.cli[*].tcpApp[0].localAddress = ""
  20. **.cli[*].tcpApp[0].localPort = 1000
  21. #IP address intentionally set incorrectly
  22. **.cli[*].tcpApp[0].connectAddress = "srv[1]"
  23. #**.cli[*].tcpApp[0].connectAddress="aaaa:2a:1:0:8aa:ff:fe00:dddd"
  24. **.cli[*].tcpApp[0].connectPort = 1000
  25. **.cli[*].tcpApp[0].startTime = uniform(10s,15s)
  26. **.cli[*].tcpApp[0].numCommands = exponential(10)
  27. **.cli[*].tcpApp[0].commandLength = exponential(10B)
  28. **.cli[*].tcpApp[0].keyPressDelay = exponential(0.1s)
  29. **.cli[*].tcpApp[0].commandOutputLength = exponential(40B)
  30. **.cli[*].tcpApp[0].thinkTime = truncnormal(2s,3s)
  31. **.cli[*].tcpApp[0].idleInterval = truncnormal(3600s,1200s)
  32. **.cli[*].tcpApp[0].reconnectInterval = 30s
  33. **.srv[*].numTcpApps = 1
  34. **.srv[*].tcpApp[*].typename = "TCPGenericSrvApp"
  35. **.srv[*].tcpApp[0].localAddress = ""
  36. **.srv[*].tcpApp[0].localPort = 1000
  37. **.srv[*].tcpApp[0].replyDelay = 0
  38. # tcp settings
  39. **.tcpApp[*].dataTransferMode = "object"
  40. # Ethernet NIC configuration
  41. **.eth[*].queueType = "DropTailQueue" # in routers
  42. **.eth[*].queue.dataQueue.frameCapacity = 10 # in routers
  43. **.eth[*].mac.duplexMode = true
  44. # explicit mac addresses (used for testing purposes)
  45. #**.cli[0].eth[0].mac.address = "0A-AA-00-00-00-01"
  46. #**.srv.eth[0].mac.address = "0A-AA-00-00-00-02"
  47. #**.r1.eth[0].mac.address = "0A-AA-00-00-00-03"
  48. #**.r1.eth[1].mac.address = "0A-AA-00-00-00-04"
  49. #**.r2.eth[0].mac.address = "0A-AA-00-00-00-04"
  50. #**.r2.eth[1].mac.address = "0A-AA-00-00-00-06"
  51. #**.r3.eth[0].mac.address = "0A-AA-00-00-00-07"
  52. #**.r3.eth[1].mac.address = "0A-AA-00-00-00-08"