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

[ns] a bunch of newbie questions



Hi,

well, I have some questions, here we go:

1. Can I use the ns2 Error Modell also in wireless simulations ? I tried to insert it in various ways but without success. :-(

first I created some Wired nodes (e.g. $W(0)) and some wireless 
nodes (e.g. $node_(0) and $node_(1)). I attached an Agent/CBR to $W(0) and an Agent/LossMonitor to $node_(0) and connected them. Then I created an error modell and tried to set it:

$ns_ lossmodel $errorModell $W(0) $node_(0);
$node_(0) interface-errormodel $errorModell;

none of both worked. I got:
invalid command name ""
   while executing 
"$link errormodule $lossobj"
...
invoked from within
"$ns_ lossmodel $errorModell $W(0) $node_(0)"


2. How can I measure the receiving bandwidth of a sink ? Until now I only found Agent/LossMonitor bytes_. Is this also possible with TCP or Null sinks ?

3.

Bye
Alex