[ns] error model in wireless networks

=?gb2312?q?=B4=F3=C5=F4=20=C7=FA?= dapengqu at yahoo.com.cn
Wed Apr 20 17:59:34 PDT 2005


hi,all
I add the error model in the wireless networks. The 
uniform¡¢expo¡¢two-state Markov as the ns manual.
but it don't drop packet as I put it in the wired networks or it drop 
much fewer drops than the error rate I set.
I know the ways are different of puttting a error model in the wired 
and wireless networks.
 
$ns_ node-config 
        -IncomingErrProc UniformErrorProc \
        -OutgoingErrProc UniformErrorProc 


        proc UniformErrorProc {} {
                set errObj [new ErrorModel]
                $errObj set rate_ 0.001
                $errObj unit packet
                return $errObj
}

Any help would be welcomed! 
Thank you very much!
 




---------------------------------
Do You Yahoo!?
150ÍòÇúMP3·è¿ñËÑ£¬´øÄú´³ÈëÒôÀÖµîÌÃ
ÃÀÅ®Ã÷ÐÇÓ¦Óо¡ÓУ¬ËѱéÃÀͼ¡¢ÑÞͼºÍ¿áͼ
1G¾ÍÊÇ1000Õ×£¬ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡


More information about the Ns-users mailing list