Hello,
I have a question about error model in ns2. Even i define the loss rate as 10%,
15% or 20% or more, I cannot see that kind of packet loss in simulations.
For example, I am measuring the number of TCP packet sent from sender, number
of TCP packets received at receiver and number of ACK packets at the sender.
But the difference between the number of TCP packet sent from sender and the
number of received TCP packets at receiver are not so much as defined in the
loss rate. I was expecting that if I sent 1000 TCP packets and if I define the
loss rate as %10, 100 TCP packets should be lost. But I cannot see this result
in my simulation.
My error model is as below:
$ns_ node-config -IncomingErrProc losses_module -OutgoingErrProc losses_module
proc losses_module {} {
set loss_module [new ErrorModel]
$loss_module set rate_ 0.10
$loss_module unit pkt
return $loss_module }
If anyone has an idea, i will deeply appreciate it.
Thanks in advance,
Semra
######################################################################
Dikkat:
Bu elektronik posta mesaji kisisel ve ozeldir. Eger size
gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz.
Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte,
guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki
gorusler ve bakis acisi gondericiye ait olup Aselsan A.S. resmi
gorusu olmak zorunda degildir.
######################################################################
Attention:
This e-mail message is privileged and confidential. If you are
not the intended recipient please delete the message and notify
the sender. E-mails to and from the company are monitored for
operational reasons and in accordance with lawful business practices.
Any views or opinions presented are solely those of the author and
do not necessarily represent the views of the company.
######################################################################