[General] network = DiffservNetwork sim-time-limit = 50s # client applications **.numClients = 1 **.client[*].numUdpApps = 2 **.client[*].udpApp[*].typename = "UDPBasicApp" **.client[*].udpApp[*].destAddresses = "server" **.client[*].udpApp[*].messageLength = 1000B **.client[*].udpApp[*].startTime = uniform(0s,0.1s) **.client[*].udpApp[*].sendInterval = 100ms **.client[*].udpApp[0].destPort = 5001 **.client[*].udpApp[1].destPort = 5002 # server applications **.server.numUdpApps = 2 **.server.udpApp[0].typename = "UDPSink" **.server.udpApp[0].localPort = 5001 **.server.udpApp[1].typename = "UDPSink" **.server.udpApp[1].localPort = 5002 # default router queue **.router.ppp[*].queueType = "DropTailQueue" **.router.ppp[*].queue.frameCapacity = 100 [Config VoIP] description = "client[0] executes a VoIP application" **.numClients = 2 **.client[0].numUdpApps = 1 **.client[0].udpApp[0].typename = "VoIPStreamSender" **.client[0].udpApp[0].packetTimeLength = 20ms **.client[0].udpApp[0].voipHeaderSize = 4B **.client[0].udpApp[0].voipSilenceThreshold = 100 **.client[0].udpApp[0].repeatCount = 1 **.client[0].udpApp[0].soundFile = "../../voipstream/soundFiles/ria_44100_stereo.mp3" **.client[0].udpApp[0].codec = "pcm_mulaw" **.client[0].udpApp[0].bitsPerSample = 8 **.client[0].udpApp[0].samplingRate = 8000Hz **.client[0].udpApp[0].compressedBitRate = 64000bps **.client[0].udpApp[0].localPort = 1000 **.client[0].udpApp[0].destPort = 1000 **.client[0].udpApp[0].srcAddress = "" **.client[0].udpApp[0].destAddress = "server" **.server.numUdpApps = 3 **.server.udpApp[2].typename = "VoIPStreamReceiver" **.server.udpApp[2].localPort = 1000 **.server.udpApp[2].resultFile = "results/${configname}_results.wav" [Config WithoutQoS] description = "Diffserv traffic conditioning and queueing is turn off" [Config WithPolicing] description = "Diffserv traffic conditioning is turned on in the ppp[0] interface of the router" **.router.ppp[0].egressTCType = "TrafficConditioner" **.efMeter.cir = "70%" **.efMeter.cbs = 50KiB **.defaultMeter.cir = "30%" **.defaultMeter.cbs = 2KiB **.defaultMeter.ebs = 4KiB [Config WithQueueing] description = "A DiffservQueue is added to the ppp[0] interface of the router" **.router.ppp[*].queueType = "DiffservQueue" **.router.ppp[*].queue.efMeter.cir = "70%" # reserved bandwith for EF packets **.router.ppp[*].queue.efMeter.cbs = 5000B [Config VoIP_WithoutQoS] description = "VoIP application, without QoS" extends = VoIP, WithoutQoS [Config VoIP_WithPolicing] description = "VoIP application, traffic policing at the router allocates bandwidth for voice packets" extends = VoIP, WithPolicing [Config VoIP_WithPolicingAndQueueing] description = "VoIP application, traffic policing at the router allocates bandwidth for voice packets, and voice packets are prioritized in router's queue" extends = VoIP, WithPolicing, WithQueueing