[ns] Error in Throughput tcl script

2010-11-19 Thread Ghassan Akrem

Hi all,
 
I tried to test some simple topologies performances using throughput.tcl ns-2 
script, but I got a problem when I changed the bandwidth parameters of the 
bottleneck from 1.5mb(as in original script) to any other values, 5, 50, or 
100mb.
 
 
$ns duplex-link $n1 $n3 1.5mb 2ms DropTail 
  
$ns duplex-link $n0 $n1 5mb 2ms DropTail 
$ns duplex-link $n2 $n1 5mb 2ms DropTail 
  
$ns duplex-link-op $n1 $n3 queuePos 0.5 
$ns queue-limit $n1 $n3 25 

 How can I scale the lost, queue size, and throughput traces, because when I 
change this values I got unlogical traces.
 
Regards

Ghassan


 



 


  

Re: [ns] Regarding routing algorithm for broadcasting

2010-11-19 Thread Dhara Buch








1.   I have placed 6 nodes in the following way.

 2 4  5
 
 1 3  6

Node 1 broadcasts a packet.  If I keep the distance among them less, the 
message reaches to each node directly from 1. If not, then 4, 5 and 6 do not 
get. 

Is there any way by which the packet can be made to travel like from 1 to 
2, 
2 to 4, 4 to 5 likewise?

2. I get error like
  
   Segmentation fault (core dumped)

Dhara Buch