ethernet-switch.ini 941 B

123456789101112131415161718192021222324252627282930313233
  1. [General]
  2. sim-time-limit = 10s
  3. fingerprint = "0000"
  4. network = inet.tests.ethernet.HostsWithSwitch
  5. # channel
  6. **.channel.datarate = ${datarate = 10Mbps, 100Mbps, 1Gbps, 10Gbps, 40Gbps, 100Gbps}
  7. **.channel.delay = 10s/200000000 # cable length is 10m
  8. # MAC
  9. **.csmacdSupport = ${csmacd = true, false}
  10. **.duplexMode = ${duplex = true}
  11. **.duplexEnabled = ${duplex}
  12. **.frameBursting = ${burst = false}
  13. **.queueType = ${queue = "DropTailQueue", ""}
  14. **.queue.dataQueue.frameCapacity = 100000 # external queue
  15. **.txQueueLimit = 100000 # internal queue
  16. # switch
  17. **.relayUnit.highWatermark = 10KiB
  18. **.relayUnit.processingTime = 1ms
  19. # traffic generator
  20. **.hostA.app.destAddress = "hostC"
  21. **.hostB.app.destAddress = "hostC"
  22. **.hostC.app.destAddress = "hostA"
  23. **.hostC.app.packetLength = 10B
  24. **.hostC.app.numPacketsPerBurst = 1
  25. **.hostC.app.sendInterval = 1s
  26. **.app.packetLength = 1500B
  27. **.app.numPacketsPerBurst = 20
  28. **.app.sendInterval = 1s