[ns] How to avoid movementTrace of mobile nodes ? ( It seems movementTrace OFF does not work)

2006-10-09 Thread amir zare
I want to simulate an ad hoc mobile network with 100 mobile nodes in 1000 seconds. But the problem is it take too much memory space and time to preform simulation. In order to remove unnecessary info of trace files, I tried to remove movement trace of mobile nodes with movementTrace OFF in

[ns] what is the meaning of $self next

2006-10-09 Thread Guillermo Biot
Hi, I'm using some test scripts and I found the following code in one of them: $self next What does it mean? It is part of an instproc. There is no function called next in the script. Thank you. Regards, Guillermo

Re: [ns] IPv6 support in NS-2

2006-10-09 Thread Pedro Vale Estrela
Check how this is done in mobiwan - these nice guys have implemented IPv6 and Mobile IPv6 http://tagus.inesc-id.pt/~pestrela/ns2/mobility.html Pedro Vale Estrela -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tubtim Sanguanwongthong Sent:

Re: [ns] what is the meaning of $self next

2006-10-09 Thread Pedro Vale Estrela
http://www.openmash.org/developers/docs/otcl-doc/doc/class.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guillermo Biot Sent: segunda-feira, 9 de Outubro de 2006 11:43 To: Ns Users Subject: [ns] what is the meaning of $self next Hi,

Re: [ns] How to change the parameters during the simulation to save thetime

2006-10-09 Thread Pedro Vale Estrela
Use this proc: http://tagus.inesc-id.pt/~pestrela/ns2/contributed_code.html#_Toc147652228 sample code: global opt set opt(opt_conv) { { d my_delay_ms } ... } set opt(my_delay_ms) 100;# default: 100 ms delay my_getopt $argv set

[ns] Problem: CBQ with wireless ad hoc network

2006-10-09 Thread DistributedSystem
hi i would be greatly thank full to you if you help me how can i use Class based queue in wireless ad hoc network. i know mobile nodes has interface queue, and default is Queue/DropTail/PriQueue , how i can change it to CBQ/WRR. also, in cbq we have to make link between two nodes and then

[ns] [Fwd: Backward Compatibility mode!]

2006-10-09 Thread g_fnoor
Original Message Subject: Backward Compatibility mode! From:[EMAIL PROTECTED] Date:Fri, October 6, 2006 1:15 pm To: Ns-users@ISI.EDU -- Hey Guys, I'm a

Re: [ns] sending packets

2006-10-09 Thread Pedro Vale Estrela
Inside my recv() function I do like this without problems: // clone the current packet and change some fields Packet* new_p = clone_pkt(p); hdr_ip*new_iph = hdr_ip::access(new_p); new_iph-daddr() = ...; new_iph-saddr() = addr();

Re: [ns] How to compute collision rate on wireless network ?

2006-10-09 Thread Martina Umlauft
Hi there, instead of first writing the file and then processing it with awk, pipe the ns output directly through awk so only the lines you are interested in are ever written to disk: set file [open | awk -f myfilter.awk short_tracefile.tr w]; myfilter.awk should contain your awk commands.

[ns] Re : How to compute collision rate on wireless network ?

2006-10-09 Thread ns user
hi Martina; but what i want to do is to compute the following value : number of collided packets / number of sent packet. So i need the two values and even like this i think it will take a lot of time. best regards. - Message d'origine De : Martina Umlauft [EMAIL PROTECTED] À : ns

Re: [ns] sending packets

2006-10-09 Thread Larry Brigman
On 10/9/06, Pedro Vale Estrela [EMAIL PROTECTED] wrote: Inside my recv() function I do like this without problems: // clone the current packet and change some fields Packet* new_p = clone_pkt(p); hdr_ip*new_iph = hdr_ip::access(new_p);

[ns] Can nix-vector routing be applied for simulating wireless ad hoc networks?

2006-10-09 Thread amir zare
Hi all, I want to reduce simulation time and memory usage by techniques introduced in Tips and Statistical Data for Running Large Simulations in NS. I want to know whether nix-vector routing can be applied for simulating wireless ad hoc networks? If yes, Is any setting or command required in

Re: [ns] sending packets

2006-10-09 Thread Larry Brigman
No, I need to send different p during the same recv function. (ie I need to deque multiple packets) On 10/9/06, Raghu-kisore Neelisetti [EMAIL PROTECTED] wrote: Hi, Iam not sure If i understood you right. You cannot send the same 'p' over and over again (If this what u meant). The way to