[ns] Display in NAM

2011-01-31 Thread lalit isarani
Dear All, I am working on Online Video Streaming, and i have to build a topology using gt-itm topology generator. Following is the program, but in output i m not getting any display on Network animator (NAM). can anybody suggest me the correction in program? set ns [new Simulator] set nf [open

[ns] Changing behaviour of node.

2011-01-31 Thread swat_nag
Im kind of new to ns2, i need help in changing the default working of the node. I dont know how to apply the changes to the code. COnsider 3 nodes: A,B and C. C is like a router. A sends packet to B through C and B sends to A via C. In normal operation, when C gets the packets simultaneously,

Re: [ns] umts in ns2.29

2011-01-31 Thread RamiHach
hi, I am doing the same as you. working with UMTS on cygwin. did you find the patch for UMTS. I want to simulate heteregenous envirment. (UMTS and WIFI and WIMAX) to study the handover between them waiting your reply plz wajdouch wrote: hi, can you help me? i want to simulate umts senario

Re: [ns] Changing behaviour of node.

2011-01-31 Thread Manoj_Kumar
swat_nag wrote: Im kind of new to ns2, i need help in changing the default working of the node. I dont know how to apply the changes to the code. COnsider 3 nodes: A,B and C. C is like a router. A sends packet to B through C and B sends to A via C. In normal operation, when C gets the

[ns] Adding a new command

2011-01-31 Thread isenturk
Hi, Since there is no node-down command defined for 802_11 like the one in 802_15_4 I m trying to add one to 802_11. As you may know there is a command method defined like this in mac-802_11.cc Mac802_11::command(int argc, const char*const* argv) When I add my node_down command in that method

Re: [ns] Adding a new command

2011-01-31 Thread Mubashir Rehmani
Hi, Please try to access the mac command() by writing the following commands in your tcl script: setMub_Mac_(0) [$node_(0) set mac_(0)] $ns_ at 0.0 $Mub_Mac_(0) *myfunction* 1; Define *myfunction* in the Command of Mac802_11...Once the handler is in myfunction of Command of

Re: [ns] Urgent Help Needed with running AODV on NS-2.34

2011-01-31 Thread Anoop thesis
Thanks . This tool is a good help for referece purposes. Appreciate the help On Fri, Jan 28, 2011 at 5:30 PM, kdcorp khalidst...@hotmail.com wrote: You can use this great tool TCL Script Generator to generate NS2 script via a java GUI, very useful

Re: [ns] Packets in link's Queue

2011-01-31 Thread Teerawat@UBC
HI, NS2 implements buffering in link, not in node. This is to model the link with large bandwidth-delay product. For example, consider a link with 100 Mbps link and 1 s propagation delay, and packets whose size is 1 Mbits. Then this link can stores upto 100 packets at any instance. Best

Re: [ns] Urgent Help Needed with running AODV on NS-2.34

2011-01-31 Thread ankur goyal
Hi Anoop, As you said you have already generated the traffic file and scenario file from the internal script provided in NS-2 installation than in your tcl script there is no use to mention the below lines, you can simply scrap these lines from your TCL script: # Provide initial location of

Re: [ns] Changing behaviour of node.

2011-01-31 Thread swat_nag
Yes, i want to do network coding... Can you tell me how to do it?as in what all do i have to know to go about it?... Manoj_Kumar wrote: swat_nag wrote: Im kind of new to ns2, i need help in changing the default working of the node. I dont know how to apply the changes to the code.