omnetpp-hub.ini 838 B

1234567891011121314151617181920212223242526
  1. [General]
  2. sim-time-limit = 100s
  3. fingerprint = "0000"
  4. network = HostsWithHub
  5. # channel
  6. **.channel.datarate = ${datarate = 10Mbps, 100Mbps, 1Gbps}
  7. **.channel.delay = 10s/200000000
  8. # MAC
  9. **.csmacdSupport = ${csmacd = true}
  10. **.duplexMode = ${duplex = false}
  11. **.duplexEnabled = ${duplex}
  12. **.frameBursting = ${burst = true, false}
  13. **.queueType = ${queue = "DropTailQueue", ""}
  14. **.queue.dataQueue.frameCapacity = 100000 # external queue
  15. **.txQueueLimit = 100000 # internal queue
  16. # traffic generator
  17. **.hostA.app.destAddress = "hostB"
  18. **.hostB.app.destAddress = "hostC"
  19. **.hostC.app.destAddress = "hostA"
  20. **.app.packetLength = select(intuniform(0,2), uniform(20B,70B), uniform(474B,514B), uniform(1200B,1500B)) # 10,000 bits TODO revise
  21. **.app.numPacketsPerBurst = geometric(1/5) # mean 5 packets per burst
  22. **.app.sendInterval = 1s