omnetpp.ini 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. [General]
  2. network = MultiRadio
  3. #record-eventlog = true
  4. #debug-on-errors = true
  5. tkenv-plugin-path = ../../../etc/plugins
  6. # mobility
  7. **.constraintAreaMinX = 0m
  8. **.constraintAreaMinY = 0m
  9. **.constraintAreaMinZ = 0m
  10. **.constraintAreaMaxX = 500m
  11. **.constraintAreaMaxY = 300m
  12. **.constraintAreaMaxZ = 0m
  13. **.mobility.typename = "StationaryMobility"
  14. **.mobilityType = "StationaryMobility"
  15. *.host1.mobility.initialX = 50m
  16. *.host1.mobility.initialY = 100m
  17. *.host2.mobility.initialX = 450m
  18. *.host2.mobility.initialY = 100m
  19. *.accessPoint1.mobility.initialX = 150m
  20. *.accessPoint1.mobility.initialY = 250m
  21. *.accessPoint2.mobility.initialX = 350m
  22. *.accessPoint2.mobility.initialY = 250m
  23. *.router*.mobility.initialX = 250m
  24. *.router*.mobility.initialY = 200m
  25. # access point configuration
  26. *.accessPoint1.wlan[0].mac.address = "001111111111"
  27. *.accessPoint1.wlan[0].radio.channelNumber = 0
  28. *.accessPoint2.wlan[0].mac.address = "002222222222"
  29. *.accessPoint2.wlan[0].radio.channelNumber = 1
  30. # router is associated with both AP using two different radios
  31. *.router*.numRadios = 2
  32. *.router*.wlan[0].mgmt.accessPointAddress = "001111111111"
  33. *.router*.wlan[0].radio.channelNumber = 0
  34. *.router*.wlan[1].mgmt.accessPointAddress = "002222222222"
  35. *.router*.wlan[1].radio.channelNumber = 1
  36. # host1 is associated with AP1 on channel 0
  37. *.host1.wlan[0].mgmt.accessPointAddress = "001111111111"
  38. *.host1.wlan[0].radio.channelNumber = 0
  39. # host2 is associated with AP2 on channel 1
  40. *.host2.wlan[0].mgmt.accessPointAddress = "002222222222"
  41. *.host2.wlan[0].radio.channelNumber = 1
  42. # use simplified ieee802.11 management (no association, authentication etc.)
  43. *.host*.**.mgmtType = "Ieee80211MgmtSTASimplified"
  44. *.router*.**.mgmtType = "Ieee80211MgmtSTASimplified"
  45. *.accessPoint*.**.mgmtType = "Ieee80211MgmtAPSimplified"
  46. # global data rates
  47. **.wlan*.bitrate = 11Mbps
  48. # application level: host1 pings host2
  49. **.numPingApps = 1
  50. *.host1.pingApp[0].destAddr = "host2"
  51. **.printPing = true
  52. # configuration
  53. *.useEthernetSwitching = false
  54. *.useRouting = true
  55. *.configurator.config = xmldoc("network.xml")
  56. [Config IndependentWlans]
  57. description = "Two independent WLANs on different radio channels"
  58. *.useEthernetSwitching = false
  59. *.useRouting = false
  60. [Config SwitchedWlans]
  61. description = "APs connected via an Ethernet switch"
  62. *.useEthernetSwitching = true
  63. *.useRouting = false
  64. *.configurator.config = xmldoc("network_switched.xml")
  65. #*.configurator.assignDisjunctSubnetAddresses = false
  66. [Config RoutedWlans]
  67. description = "Two WLANs connected via a router with two wireless NICs"
  68. *.useEthernetSwitching = false
  69. *.useRouting = true