[General] network = Net tkenv-plugin-path = ../../../etc/plugins #debug-on-errors = true #record-eventlog = true #eventlog-message-detail-pattern = *:(not declaredOn(cMessage) and not declaredOn(cNamedObject) and not declaredOn(cObject)) # plauground **.constraintAreaMinX = 0m **.constraintAreaMinY = 0m **.constraintAreaMinZ = 0m **.constraintAreaMaxX = 600m **.constraintAreaMaxY = 400m **.constraintAreaMaxZ = 0m # mobility **.host*.mobilityType = "MassMobility" **.host*.mobility.initFromDisplayString = false **.host*.mobility.changeInterval = truncnormal(2s, 0.5s) **.host*.mobility.changeAngleBy = normal(0deg, 30deg) **.host*.mobility.speed = truncnormal(20mps, 8mps) **.host*.mobility.updateInterval = 100ms # ping app (host[0] pinged by others) *.host[0].numPingApps = 0 *.host[*].numPingApps = 2 *.host[*].pingApp[*].destAddr = "host[0]" **.pingApp[0].startTime = uniform(1s,5s) **.pingApp[1].startTime = 5s+uniform(1s,5s) **.pingApp[*].printPing = true # nic settings **.wlan[*].typename = "IdealWirelessNic" **.wlan[*].bitrate = 2Mbps **.wlan[*].mac.address = "auto" **.wlan[*].mac.headerLength = 20B **.wlan[*].radioType = "IdealRadio" **.wlan[*].radio.transmitter.bitrate = 2Mbps **.wlan[*].radio.transmitter.headerBitLength = 100b **.wlan[*].radio.transmitter.interferenceRange = 0m **.wlan[*].radio.transmitter.detectionRange = 0m **.wlan[*].radio.receiver.ignoreInterference = true [Config Ping1] description = "host1 pinging host0" *.numHosts = 2 *.host[0].wlan[*].radio.transmitter.communicationRange = 250m *.host[1].wlan[*].radio.transmitter.communicationRange = 300m [Config Ping2] # __interactive__ description = "n hosts" **.wlan[*].radio.transmitter.communicationRange = 200m # leave numHosts undefined here