omnetpp.ini 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. #record-eventlog = true
  8. #debug-on-errors = true
  9. [Config ARPTest]
  10. # tcp apps
  11. **.client.numTcpApps = 1
  12. **.client.tcpApp[*].typename = "TCPSessionApp"
  13. **.client.tcpApp[*].active = true
  14. **.client.tcpApp[*].localAddress = ""
  15. **.client.tcpApp[*].localPort = -1
  16. **.client.tcpApp[*].connectAddress = "server"
  17. **.client.tcpApp[*].connectPort = 1000
  18. **.client.tcpApp[*].tOpen = 1.0s
  19. **.client.tcpApp[*].tSend = 1.1s
  20. **.client.tcpApp[*].sendBytes = 1MiB
  21. **.client.tcpApp[*].sendScript = ""
  22. **.client.tcpApp[*].tClose = 0
  23. #**.server.tcpApp[*].typename="TCPSinkApp"
  24. **.server.numTcpApps = 1
  25. **.server.tcpApp[*].typename = "TCPEchoApp"
  26. **.server.tcpApp[0].localAddress = ""
  27. **.server.tcpApp[0].localPort = 1000
  28. **.server.tcpApp[0].echoFactor = 2.0
  29. **.server.tcpApp[0].echoDelay = 0
  30. # Ethernet NIC configuration
  31. **.eth[*].mac.duplexMode = true
  32. # Queues
  33. **.ppp[*].queueType = "DropTailQueue"
  34. **.ppp[*].queue.frameCapacity = 10
  35. **.eth[*].queueType = "DropTailQueue"
  36. **.eth[*].queue.dataQueue.frameCapacity = 10
  37. # Ethernet switch
  38. **.switch*.relayUnitType = "MACRelayUnit"
  39. **.relayUnit.addressTableSize = 100
  40. **.relayUnit.agingTime = 120s
  41. **.relayUnit.bufferSize = 1MiB
  42. **.relayUnit.highWatermark = 512KiB
  43. **.relayUnit.pauseUnits = 300 # pause for 300*512 bit (19200 byte) time
  44. **.relayUnit.addressTableFile = ""
  45. **.relayUnit.numCPUs = 2
  46. **.relayUnit.processingTime = 2us
  47. #**.mac[*].txrate = 0 # autoconfig
  48. **.mac[*].duplexMode = true