[ns] FTP agent

2012-05-17 Thread mbasitrizvi


what is the default packet size of the ftp agent?
what is the size of the file trasnfer being simulated by default? 
-- 
View this message in context: 
http://old.nabble.com/FTP-agent-tp33867249p33867249.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] bash file for ns2

2012-04-23 Thread mbasitrizvi


Hey guys...my question is more linux related and less ns2 related. Im using a
ns2 script which has a bash file.

i have a tcl file simulation1.tcl

and then there is a bash file called... bash_script_for_simulation1

in the bash file i set parameters like:
...
number_of_tcp_connections=1
number_of_udp_connection=3
global_delay=40
random_num_gen_seed=1
time=50
...

Now how do I tell simulation1.tcl to use the bash file to run.

Simply typing 
#ns simulation1.tcl
doesnt work. It doesnt read the values it is supposed to from the bash file
this way. 



-- 
View this message in context: 
http://old.nabble.com/bash-file-for-ns2-tp33734197p33734197.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] Trace file output help for beginner

2012-04-12 Thread mbasitrizvi



Im getting this for example:

+ 2.82793 0 1 cbr 210 --- 0 0.0 1.0 751 751

According to the documentation :

+ means enqueue
2.82793 is the time
0 is then src
1 is then dest
cbr is then packet type
210 is then packet size

after that the dashes confuse me... and what comes after it? 

Im trying to make sense from here:
http://nsnam.isi.edu/nsnam/index.php/NS-2_Trace_Formats


im running a simple script:

http://pastebin.com/tCC7q95f 

-- 
View this message in context: 
http://old.nabble.com/Trace-file-output-help-for-beginner-tp33649856p33649856.html
Sent from the ns-users mailing list archive at Nabble.com.