Re: [ns] Installing multiple version of ns-2.

2011-02-14 Thread Prabhat .

There is no harm in running multiple versions of ns2. I am running ns2.34 /
ns2.31 / ns2.28 on same machine.

On Tue, Dec 14, 2010 at 2:44 PM, YunQiang Su wzss...@gmail.com wrote:


 yes, you can

 ./configure --prefix=/prefix1
 ./confgure --prefix=/prefix2

 then ,they will be installed to different directories.

 --
 YunQiang Su



Re: [ns] data transfer in wimax network from one mobile node to another mobile node and then to base station

2011-02-14 Thread Prabhat .

If you haven't, you need to patch ns2.31 with a wimax module for this.
Module and documentation here :
http://www.nist.gov/itl/antd/emntg/ssm_tools.cfm

On Thu, Dec 9, 2010 at 2:41 PM, prabhakar_dorge2007 
prabhakar_dorge2...@rediffmail.com wrote:



 Hi everyone,
  I have to transfer the packet from one mobile node to
 another mobile node and then to base station. So how it is implemented in
 Ns2.31? please suggest me ida behind it?
 Thanks in advance.
 --
 View this message in context:
 http://old.nabble.com/data-transfer-in-wimax-network-from-one-mobile-node-to-another-mobile-node-and-then-to-base-station-tp30414243p30414243.html
 Sent from the ns-users mailing list archive at Nabble.com.




Re: [ns] Query regarding ns2 start/stop session!!

2011-02-14 Thread Prabhat .

You can keep an expression that suits your scenario in place of the value of
time to start and stop.

Consider the following example, nb_mn is no. of nodes

set diff 0.02
for {set i 0} {$i  $nb_mn} {incr i} {
$ns at [expr $traffic_start+$i*$diff] $cbr_($i) start
$ns at [expr $traffic_stop+$i*$diff] $cbr_($i) stop
}

hope it helps


On Wed, Feb 9, 2011 at 9:07 PM, svetla verma svetlave...@googlemail.comwrote:


 Hello,
 I am research student from King's college London and I have a
 query regarding start/stop of ns2 session.

 So here is my scenario:
 I have to start and stop 20 ftp sessions.

 As we know ns2 ftp session start format is
 $ns at 15.00 $ftp7 start

 and for stop
 $ns at 20.00 $ftp7 stop

 The way I need to do is couple of starts will get proceeded by some stops
 and then starts and stops..mixed..
 If my start and stop time for those sessions are stored in two different
 arrays, Is it my responsibility as a programmer to make sure
 that the start and stop time of those 20 sessions are in chronological
 ascending order?? Or does ns2 take care of it ?

 If its my responsibility, then what is the best way to perform the mixed
 start/stop session??

 Thanks,
 Svetla



[ns] EPON Simulation Platform

2011-02-14 Thread subhashini ska

Hi,

 I referred an article, which describes about the availability of EPON (MPCP
stack, OLT, ONT and ODN modules) in Network simulator platform. I did not
find the one in NS-2.3.4 all-in-one package.

  Can someone help me in identifying the NS-2 or NS-3 latest package, where
this support is available. Also, the general information about the
availability of same with respect to the roadmap. i.e whether this is under
implementation or in the contributed code list, etc.

thanks.


Re: [ns] problem with Xgraph

2011-02-14 Thread Jorge Llantoy

Have you installed Xgraph?
You need it software, or you try to use GNUplot
Regards

On Mon, Feb 14, 2011 at 8:29 AM, maissa boujelben 
maissa.boujel...@gmail.com wrote:


 I am new to NS2 and had installed ns-2.34 on ubuntu-9.1.
I was trying to run the example for plotting the graph given in Marc
   Greis tutorial, mentioned in Section VIII:Creating output files for
   Xgraph.
I downloaded the exact example mentioned in the tutorial. But when I
   run the program, I get the following error:
ns: finish: couldn't execute xgraph: no such file or directory
   while executing
exec xgraph out0.tr out1.tr out2.tr -geometry 800x400 
   (procedure finish line 8)
   invoked from within
finish
Could you please help me to run the program.
Thanks  Regards




-- 
Jorge Luis Llantoy Parra
Cel: 51(01) 990850204
Skype: jorge.llantoy


Re: [ns] problem with Xgraph

2011-02-14 Thread sancale


Hello
Probably xgraph has not being installed during Ns2 intallation.
Try to install it by your own (Sinaptic, apt-get install xgraph or something
like this).
Hope this help.

Regards
-- 
View this message in context: 
http://old.nabble.com/problem-with-Xgraph-tp30921638p30923629.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Tcl::evalf(const char* fmt, ....) definition

2011-02-14 Thread Teerawat@UBC

Hi,

This blog post might help.

http://www.ns2ultimate.com/post/1035505402/c-and-otcl-linkage-eval-invoking-otcl-statements

Best Wishes,

Teerawat Issariyakul
http://www.ns2ultimate.com/
http://www.ece.ubc.ca/~teerawat
http://www.t-issariyakul.blogspot.com
http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417
http://twitter.com/T_Bear
On Feb 14, 2011, at 4:47 PM, Kuldeep Singh wrote:

 
 Hi,
 
 can anyone tel the location of Tcl::evalf(const char* fmt,...) function in
 Tcl.cc ???
 
 
 It is declared in Line No 128 of file tclcl.h.
 
 Plz inform me, where it is defined 
 




[ns] Multipath DSR

2011-02-14 Thread nee santhi

Hi all,
 Will any body help me to implement multipath routing in DSR
Thanks in advance,
Neesanthi