omnetpp.ini 1010 B

12345678910111213141516171819202122232425262728293031323334
  1. [General]
  2. network = ARPTest
  3. sim-time-limit = 500s
  4. cpu-time-limit = 600s
  5. total-stack = 2MiB
  6. tkenv-plugin-path = ../../../etc/plugins
  7. [Config ARPTest]
  8. # tcp apps
  9. **.numTcpApps = 1
  10. **.client*.tcpApp[*].typename = "TCPSessionApp"
  11. **.client*.tcpApp[0].active = true
  12. **.client*.tcpApp[0].localAddress = ""
  13. **.client*.tcpApp[0].localPort = -1
  14. **.client*.tcpApp[0].connectAddress = "server"
  15. **.client*.tcpApp[0].connectPort = 1000
  16. **.client*.tcpApp[0].tOpen = 1s
  17. **.client*.tcpApp[0].tSend = 1.1s
  18. **.client*.tcpApp[0].sendBytes = 1MiB
  19. **.client*.tcpApp[0].sendScript = ""
  20. **.client*.tcpApp[0].tClose = 0
  21. #**.server*.tcpApp[*].typename="TCPSinkApp"
  22. **.server*.tcpApp[*].typename = "TCPEchoApp"
  23. **.server*.tcpApp[0].localAddress = ""
  24. **.server*.tcpApp[0].localPort = 1000
  25. **.server*.tcpApp[0].echoFactor = 2.0
  26. **.server*.tcpApp[0].echoDelay = 0
  27. # Ethernet NIC configuration
  28. **.eth[*].queueType = "DropTailQueue" # in routers
  29. **.eth[*].queue.dataQueue.frameCapacity = 10 # in routers
  30. **.eth[*].mac.duplexMode = true