[ns] ns-2 FAQ

2006-02-01 Thread Tom Henderson
The Network Simulator ns-2: Frequently Asked Questions Note: This FAQ is now available at the project wiki: http://nsnam.isi.edu/nsnam/index.php/Ns_Users_FAQ _The mailing is is now subscriber only---please see the FAQ entry on "How do I post to the mailing list? Why was

[ns] rtt in wireless netwok

2006-02-01 Thread mohamed yahia
Hi ns-users Tell me plz how to know rtt in TCP over wireless ad hoc network, i mean how to get it from my tcl script. your help is very appreciated. Yahia

[ns] [bug] unable to complete installation

2006-02-01 Thread mohammad
[Bug Report] - Category: Installation Failure Package: ns ns2.29 OS:Windows xp using cgywin Environment Variables: LD_LIBRARY_PATH=~/ns-allinone-2.29/lib TCL_LIBRARY=~/ns-allinone-2.29/ns-2.29/lib TK_LIBRARY=~/ns-allinone-2.29/ns-2.29/lib -

[ns] AODV using Queue/DropTail/PriQueue versus DSR using CMUPriQueue

2006-02-01 Thread Samer Bali
Hi every body, When using AODV , interface queue type is CMUPriQueue, no. of node 10; the Segmentation Core dumped occured. But when using DSR, interface queue type is MUPriQueue, no.of node 10, then it simulates sucessfully. Therefore I have code my tcl script to use different interface queq

Re: [ns] install failure on debian testing

2006-02-01 Thread Leonardo Maccari
On Wed, Jan 18, 2006 at 05:57:18PM +0100, Leonardo Maccari wrote: > I'm still stuck there... is there a bugzilla or something similiar I can use? thanks, leonardo. -- Key fingerprint = 3129 C583 F03B 2E73 0115 C040 3489 0185 B592 19FE Obviously -thisaintpartofmyaddress- is not part of my

[ns] Node ID

2006-02-01 Thread Catherine Mackenzi
Dear All, In the case of collision over a network, how can we find a reference to the current node? or how can we know if the colliding node is the current node or not? Thanks.

[ns] Howto calculate CR distance out of RxThreshold

2006-02-01 Thread Jens Mittag
Hi! I need to calculate the communication range in meters, based on the CRTreshold, the Antenna Gain and the Antenna heights which are set in the TCL scripts. The Propagation model is always Two-ray-Ground. I have tried to reverse the function which is given in threshold.cc (which can be used to

Re: [ns] how do we define source and destination nodes in adhoc networks

2006-02-01 Thread Hajer FERJANI
Hi, You just need to do from your c++ code: Packet *pk = Packet::alloc(); struct hdr_cmn *chpk = HDR_CMN(pk); struct hdr_ip *ihpk = HDR_IP(pk); chpk->addr_type() = NS_AF_INET; ihpk->daddr() = dest; // the addr of the destination node ihpk->saddr() = my_index; //cur

[ns] Same or different results after running the same script?

2006-02-01 Thread Ittipong Khemapech
Dear ns-users, You may be surprised of my question. I have been simulating sensor networks. I kept all parameters the same and did the second and the third run, then ns-2 gave me the exactly same results (number of received packets at the sink). Is that odd? I assume ns-2 will give me the diff

[ns] Needed help in TORA Simulation

2006-02-01 Thread jeevesh sharma
HI friends, I want to calculate the performance of AODV, DSDV,DSR and TORA routing algorithms. But i am unable to use TORA in my simulation. If anybody sends a tcl file which used it, will be very helpful for me. Please give me some hints, how to use TORA. T

[ns] Simulating an Ethernet ring...

2006-02-01 Thread Srivas Narasimhan Chennu
Hello all, I'd be grateful for some advice on the best way to simulate an Ethernet-based ring topology in ns-2. In this context, I'm not quite clear on how to disable network and transport layer functionality in ns-2 with regard to routing and packetization. I've looked at the LAN simulation capa

[ns] Overhearing Collision

2006-02-01 Thread Catherine Mackenzi
Hi, I really need your help in this, during simulation, the MAC_STATE will be changed to MAC_COLL if a receiving node detects collision. what I need to know is, how can the other nodes know about the collision. and how can I distinguish between the colliding nodes and any other node. please h

[ns] MIPv6 Handoff

2006-02-01 Thread altaf hussain
Hello dears. I am a new bie to NS. I am using NS 2.28. Can any one help me how to evaluate the performance of MIPv6 Handoff using NS. I shall be oblige. Thanks - What are the most popular cars? Find out at Yahoo! Autos

[ns] FW: nse delay problems

2006-02-01 Thread Stephen Workman
Hey all, I'm attempting to use ns-2 in emulation mode to provide a fixed line network to analyse games traffic. I have four client machines, one server machine and the ns-2 host, all connected over a real standard ethernet network. Using the game clients and servers on the REAL network I achieve

[ns] doubt in wireless flooding

2006-02-01 Thread deepika priyadarshini
Hello all, Can anyone tell me the *.cc and *.h file corresponding to wireless flooding.tcl? what is the method used in finding cc and h files corresponding to tcl files specifically in wireless simulations? Thanks in advance for any suggestions!!! Eagerly waiting for reply Regards, deepika

[ns] what is this?

2006-02-01 Thread Fabio Guerra
Hi! Somebody can help me, i find this line in one floyd's script and i don´t know what is the meaning. set hstcp1 [$ns create-connection TCP/SackTS $hsnode(s1) TCPSink/Sack1 $hsnode(r1) 1] Thanks in Advance Fabio Guerra

[ns] RLP module in ns2

2006-02-01 Thread Edwin Cruz
Hi Vikas I try to install your RLP module (2-27) I have ns version 2.29, aan d I have problems for install the module, is it works on ns 2-29, or only in 2-27? The error apear when I put ·#make depend appear there is no rule for apps/mftp.cc and the file ppp.h You dont said where is it, I

Re: [ns] Needed help in TORA Simulation

2006-02-01 Thread Hailun Tan
First of all, what version of NS are you using? if it is before NS2.26, TORA should be OK, otherwise, you have to insert the following code into command function in tora.cc so that tora can work: int TORA::command(int argc, const char*const* argv) { . if(argc == 2) { . else if (strcmp(