[ns] no-slot{} default handler
Hello all, I have encountered again a problem in NS2 which I have no clue about. i receive this error: --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o188: no target for slot -1 _o188 type: Classifier/Hash/Dest content dump: classifier _o188 0 offset 0 shift 2147483647 mask 1 slots slot 8: _o2455 (classifire/Port) -1 default -- Finished standard no-slot{} default handler -- nobody have any idea? looking forward to hearing from you best regards elahe. - Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
[ns] SCTP-aware applications in NS
Hi ns-users, I´m doing some simulations with SCTP in NS-2 and i want to use a SCTP-aware application using Application/SctpAppl1 instead FTP or other legacy-ns applications. I have some questions about how I can implement this. Can anybody send me an example, please? I appreciate some help. Thanks in advance Elisabete Reis
[ns] re problems with setdest
hi there i get this message when i run the make comand at the /setdest directory: g++ -c -Dstand_alone [EMAIL PROTECTED]@ -DCPP_NAMESPACE=std -Wall -o setdest.o setdest.ccsetdest.cc:55:32: error: ../../../tools/rng.h: No such file or directorysetdest.cc:140: error: expected constructor, destructor, or type conversion before â*â tokensetdest.cc: In function âdouble uniform()â:setdest.cc:146: error: ârngâ was not declared in this scopesetdest.cc: In function âint main(int, char**)â:setdest.cc:348: error: ârngâ was not declared in this scopesetdest.cc:348: error: expected type-specifier before âRNGâsetdest.cc:348: error: expected `;' before âRNGâsetdest.cc:349: error: âRNGâ has not been declaredsetdest.cc:349: error: âHEURISTIC_SEED_SOURCEâ was not declared in this scopemake: *** [setdest.o] Error 1what is the solution?!! J Mahdi Newcastle Upon Tyne ** _ 100’s of Music vouchers to be won with MSN Music https://www.musicmashup.co.uk/index.html
[ns] GPSR compile and simulation
Dear all I want to use GPSR protocol in ns2.27. I have done all this steps that I have found in internet 1- Create a directory "gpsr" with gpsr.cc and gpsr.h in it. 2- Declare gpsr packets in common/packet.h, adding PT_GPSR and in packet.h with name_[PT_GPSR] = "GPSR" 3- The tracing support doesn't need to be implemented right know. 4- In tcl/lib/ns-packet.tcl add "GPSR". Then you'll have to declare all defaults values of gpsr binded attributes in tcl/lib/ns-default.tcl. To do it easily, have a look at the end of the ns-default.tcl file originally used bu gpsr in ns2.1b6. You'll get everything you need. It should look like Agent/GPSR set . Copy paste it to your ns-default.tcl file. 5- You have to add procedures to create gpsr nodes in tcl/lib/ns-lib.tcl. You must add in Simulator instproc create-wireless-node args{ } the following: GPSR { set ragent [$self create-gpsr-agent $node] } Then, add the pocedure Simulator instproc create-protoname create-gpsr-agent {node} { set ragent [ne Agent/GPSR] $ragent node $node $self at 0.0 "$ragent start" return $ragent } 6- Finally, update the makefile to compile everything by adding the folowin line gpsr/gpsr.o\ However, when I try to compile gpsr.h, I get many errors. Does anybody have the same problems??How can I solucionate it? Thanks to everybody, MIKEL - Sé un Mejor Amante del Cine ¿Quieres saber cómo? ¡Deja que otras personas te ayuden!.
[ns] found the right version of tclsh
When configured, ns found the right version of tclsh in /home/azhar/ns2install/bin/tclsh8.4 but it doesn't seem to be there anymore, so ns will fall back on running the first tclsh in your path. The wrong version of tclsh may break the test suites. Reconfigure and rebuild ns if this is a problem. actually , when i search the /home/azhar/ns2install/bin/tclsh8.4 i remember that 'ns2install' was in my old installation directory. is it mean i need to run back my installation ./install again? or i need to make a littel changes -- AZHAR MOHD ARIS Master Candidate Of Distributed Computing University Putra of Malaysia
[ns] invalid command name "Application/MmApp" w/ns tutorial
Hello ns-users, I am attempting to run the example code here (http://nile.wpi.edu/NS/ - just click on 'Add new application and agent') and I have downloaded it and made the appropriate changes. When I run 'ns ex-mm-app.tcl' I get this error: ns: [code omitted because of length] : invalid command name "Application/MmApp" while executing "Application/MmApp set rate0_ 0.3mb" Has anyone else had and solved this error? Thanks for any help. -- Sincerely, Candace Phelps
[ns] The reception of the packets at the destination
Dear all, I was using UM-OLSR (0.88, NS2.29) to simulate the network and trying to do some operation at the destination. Normally, we add this kind of code in the recv() method for reception: *recv() {* . ** * if (ch->direction() == hdr_cmn::UP && ((u_int32_t)ih->daddr() == IP_BROADCAST || ih->daddr() == ra_addr())) { //do sth. ...* * dmux_->recv(p, 0); return; }* ** *}* ** But it seems that when the NS2 is trying to receive the packet at the destination, the recv() method is never called, and the packet is delivered directly from the MAC layer to AGT layer. And from the trace file I got: r -t 9.799191277 -Hs 1 -Hd 1 -Ni 1 -Nl MAC -Nw --- --Ii 622 -Iv 29 -Pn cbr -Pi 0 -Pf 4 -Po 3//the mac layer of the destination get the packet r -t 9.799216277 -Hs 1 -Hd 1 -Ni 1 -Nl AGT -Nw --- --Ii 622 -Iv 29 -Pn cbr -Pi 0 -Pf 4 -Po 3 //and pass it to the AGT layer, without passing the RTR layer The situation is the same with DSDV and AODV protocol in NS2. But in DSR, we have: r -t 9.801548775 -Hs 1 -Hd 1 -Ni 1 -Nl MAC -Nw --- - -Ii 0 -Iv 30 -Pn cbr -Pi 0 -Pf 3 -Po 3 r -t 9.801573775 -Hs 1 -Hd 1 -Ni 1 -Nl RTR -Nw --- --Ii 0 -Iv 30 -Pn cbr -Pi 0 -Pf 3 -Po 3 //here the packet is in RTR layer!!! This is what I want r -t 9.801573775 -Hs 1 -Hd 1 -Ni 1 -Nl AGT -Nw --- - -Ii 0 -Iv 30 -Pn cbr -Pi 0 -Pf 3 -Po 3 I try to analyse the differece in the code between the protocols, but have no idea about this problem. Is there anyone know about it? It will really save my ass Thank you in advance. Best regards, J. Yi
[ns] need help to evaluate performance of wire less mesh network routing protocols
I'm confused how to proceed. I was tried to do evaluation of multichannel and multi interface support for wireless mesh, I downloaded the ns-2.29_multichan and it didn't workk. And later, I started to evaluate performance of mesh routing protools and they are not fully supported in ns2.(only AODV,TORA,DSR and DSDV which are adhoc routing) can any body help me? - Shape Yahoo! in your own image. Join our Network Research Panel today!
Re: [ns] need help to evaluate performance of mesh routing protocols
I'm confused how to proceed. I was tried to do evaluation of multichannel and multi interface support for wireless mesh, I downloaded the ns-2.29_multichan and it didn't workk. And later, I started to evaluate performance of mesh routing protools and they are not fully supported in ns2.(only AODV,TORA,DSR and DSDV which are adhoc routing) can any body help me? - Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
[ns] someone working with the ns2hcca patch ?
Hello all If someone is working with the ns2hcca patch from http://info.iet.unipi.it/~cng/ns2hcca, someone could tell or explain me why in the example included in the directory tcl/ex/hcca (example.tcl) the delays in DCF are smaller than the delays in HCCA. this should not be this way because the delays in hcca should be smaller than the delays in DCF because HCCA guarantees quality of service (QoS) y DCF don't guarantees QoS I appreciate your time and your help. And I apologize for any inconvenience that this cause. Thank you for everything. Bye Jorge Bustos -- View this message in context: http://www.nabble.com/someone-working-with-the-ns2hcca-patch---tf4304018.html#a12251133 Sent from the ns-users mailing list archive at Nabble.com.
[ns] How set difference transmission rage
Dear all Please tell me if you know how can I set tcl code for set 50 node communicated in 250 m range and another 50 nodes in 500 m range ? I 'd like to see some code for set it by having difference range communicated Anyone help me, Please Best regard Phitsanu
Re: [ns] How can i set transmission difference rage
Phitsanu Eamsomboon schrieb: > Dear All > My name is Phitsanu from Thailand , I to do my research about ad > hoc network , In my research having 100 mobile nodes but I want to set 50 > nodes can communicated in 250 m and another 50 node communicated in 500 node > . How can I set in tcl for NS-2 ? > > Use antennas with different gains. Change the global settings for the antenna gain before you create a node. That means, set it to (for example) to 2dBi for the first 50 nodes and 8dBi for the next 50. Use the propagation.cc utility to calculate the exact parameters (search the list for details). But be aware, the transmission range depends on both, the sender and the receiver. That means, if you have two kinds of nodes (A and B) you get 3 different combinations and hence communication ranges (e.g. A->A: 250m, A->B: 400m, B->B: 500m). Hope this helps, Daniel. -- Dr.-Ing. Daniel Mahrenholz rt-solutions.de GmbH Oberländer Ufer 190a D-50968 Köln Web: www.rt-solutions.de rt-solutions.de networks you can trust.
[ns] How can i set transmission difference rage
Dear All My name is Phitsanu from Thailand , I to do my research about ad hoc network , In my research having 100 mobile nodes but I want to set 50 nodes can communicated in 250 m and another 50 node communicated in 500 node . How can I set in tcl for NS-2 ? Please help me!! Best regard Phitsanu
[ns] packet inter-arrival time monitoring in FTP traffic?!!
Dear friends, How can I monitor the packet inter-arrival time in a FTP traffic over TCP? Rgrds. Farzaneh. - Shape Yahoo! in your own image. Join our Network Research Panel today!