[ns] How to call one function out of 2, using set nd [ns node] ???

2010-04-13 Thread The Learner
while creating a new node using the statement- Using this statement set nd [ns node], a function defined in ns-lib.tcl is called(particular to a protocol). In my case I have 2 agents, for different types of nodes and thus two functions in ns-lib.tcl, how shall I specify which function to be

Re: [ns] Regarding capacity(Bottleneck) bandwidth estimation

2010-04-13 Thread Aurelien Lafranchise
Hi, Is your problem related to the widest shotest path ? If yes I can help you. Aurélien naveen gowda a écrit : Hi All, If any one worked or working with estimating bottleneck bandwidth of path pls help me regarding this... I need tcl code of this.. Thankin you -- With regards Navi

[ns] Regarding project

2010-04-13 Thread naga jyothi
Hi, I am extending ieee802.11DCF Protocol, My protocol name is CTMAC protocol In this protocol ,Every node has to maintain a data structure which hold information of neighboring transmissions.Based on this information,It has to do some operations. Can any one tell me where i should declare this

[ns] the full duplex mode doesn't work even if with the use of duplex link

2010-04-13 Thread Emma Ch
I use this tcl script file, for creating a transmission between 10 nodes and the AP. I want that the transmission be in the full duplex -tcl set ns [new Simulator] # choix des couleurs: $ns color 0 blue $ns color 1 red $ns color 2 green $ns color 3 red $ns color 4 orange $ns color

Re: [ns] Specifying nodes in mobility trace generation

2010-04-13 Thread Mike Lorenz
Zitat von THADDEUS EZE et...@greenwich.ac.uk: Hi All, Please how can I specify nodes in scenario generation to start from a different number instead of 0? I mean having the scenario generation start from say node_(10) instead of node_(0). Any help is appreciated please. Eze just do

[ns] problem with running NAM trace

2010-04-13 Thread Emma Ch
I have problem with runnig tcl script set ns [new Simulator] # les dix noeuds: set node_0 [$ns node] set node_1 [$ns node] set node_2 [$ns node] set node_3 [$ns node] set node_4 [$ns node] set node_5 [$ns node] set node_6 [$ns node] set node_7 [$ns node] set node_8 [$ns node] set node_9 [$ns

Re: [ns] Error while running the tcl script while implementing a new protocol in ns2

2010-04-13 Thread Teerawat Issariyakul
Hi Learner, The error is due to the following line eval $node addr $args Class Node does not have instproc addr. Therefore the Tcl spit out the error. To fix it, define instproc addr for the class of $node If you would like to learn how to read OTcl error message, please read

Re: [ns] How to call one function out of 2, using set nd [ns node] ???

2010-04-13 Thread Teerawat Issariyakul
HI Learner, Instproc Simulator::node is just a way to create a basic node. If you want a fancy node of your own, you can define another instproc Simulator::my_node. At the Tcl simulation script, you can do something like set mynode [$ns my_node] Best Regards, Teerawat Issariyakul

Re: [ns] Error installing NS2 (tclcl make failed)

2010-04-13 Thread Topgun007
Hi Katsaros, I am facing the same problem, trying to install ns2.29 on Ubuntu 8.04 but getting tcl compilation errors. Have you fixed the problem and able to install sucessfully. Can you please share your experience and patches/packages installed. Regards Hassan LeCost wrote: Hey there,

Re: [ns] Did anyon use UCBT!!

2010-04-13 Thread Topgun007
Hi, I am trying to install UCBT on ns2.29 on Ubuntu 8.04 but getting errors. Can you please share your experience and packages/patches if applied. Regards Hassan hiba alame-2 wrote: Hi, I've been trying to install UCBT (a Bluetooth module) with ns2.28 and it gave me: ns make file

[ns] error model in 802.15.4

2010-04-13 Thread Jin Woo Kim
How do I simulate using error model in 802.15.4 in ns2? I inserted error model (ch13 in ns2 manual) and ran it. Invalid command name IncomingErrProc ... Is error model connected to only 802.11? Please help me.

Re: [ns] how to find the no of packet drops

2010-04-13 Thread Krishna Balasa
Hi, I am simulating a network traffic having 1000Mbps bandwidth having round trip of 80ms. The simulation runs for 100 seconds. I need to find the no of packet drops. For this I am generating the trace file. The problem I have is that the trace file generated is over 4GB and I believe

Re: [ns] Error installing NS2 (tclcl make failed)

2010-04-13 Thread Teerawat Issariyakul
Hi Hassan, I did some test on NS2 installation few weeks ago. Here is the result http://www.ns2ultimate.com/post/439346614/working-combination-ns-2-34-ubuntu-8-04-and-perhaps There is a problem with the current linux-like distribution. Here is the solution

[ns] problem: Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl)

2010-04-13 Thread meriem bouzouita
Hello, My simulation generates the following error message: Simulation is running...please wait... --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---     _o14: no target for slot -1 _o14 type: Classifier/Hash/Dest  content dump:  classifier _o14 0 offset   

Re: [ns] how to find the no of packet drops

2010-04-13 Thread Teerawat Issariyakul
Hi Krishna, I would use single null agent for the simulation. Then I would go to modify the null agent to count packet every time it receives a packet. At the end of simulation, have it print out all received packets. Best Wishes, Teerawat Issariyakul http://www.ns2ultimate.com/

[ns] trace file in ns2

2010-04-13 Thread Wei Zhang
Hello everybody,   In ns2, there existed a trace file for AODV,DSR?  Where is it? Please tell me.   Thank you so much. Wei

[ns] i use the duplex-link but i don't found it in the nam trace

2010-04-13 Thread Emma Ch
i have to do a scenario containing: one node AP eight nodes transmitting to the APthe AP resend packets to the node Thus, I want to do transmission with full duplex mode. So, I tried with this tcl script file: --tcl script-- set ns [new Simulator] # choix des

[ns] Exponential disconnection probability mode

2010-04-13 Thread shajnoska elena
Hello, I was wondering if you could give me explanation about the implementation of a disconnection probability in wireless networks, actually mobile IP. I m able to implement error model on the wireless link, but so far i couldnt find anything about using link-up and link-down periods in tcl