[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] LossMonitor counting dropped packets?




hi,
 
i am very new to this stuff and maybe i missunderstood something. for my
thesis i am working on ns to simulate some congestion control stuff but i
also need lossy links, so i added a lossmodel to the link like
 
set loss_mod [new ErrorModel]
$loss_mod set rate_ 0.01
$loss_mod unit pkt
$loss_mod drop-target $lm0
$ns link-lossmodel $loss_mod $n2 $n3
 
where $n2 and $n3 are nodes and $lm0 is a LossMonitor. but there is no
packet running into my LossMonitor? how can i do that?
 
second qouestion is how to simulate a distributed channel like
ethernet? or is this not possible with ns?
 
thanks,
 
od

-- 
   Oliver Dawid * [email protected] * http://www.fet.uni-hannover.de/~od/