Re: [ns] [NS]Problem with AODV+,Please help me!
@topgun007 awk script May be you can find a perl or awk script in awk_scripts-05.2014.tar.bz2 ? https://drive.google.com/file/d/0B7S255p3kFXNcm9KTG84TVo2ZFE/edit?usp=sharing ... It's a package with about 75 scripts. - -- View this message in context: http://network-simulator-ns-2.7690.n7.nabble.com/NS-Problem-with-AODV-Please-help-me-tp15086p29218.html Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] [NS]Problem with AODV+,Please help me!
Hi, The error message format_aodv: invalid AODV packet file appears in the following function definition in the aodv.cc file: voidAODV::recvAODV(Packet *p) Simply in this function a packet is manipulated which has a type does not match with any of the case labels found in switch structure inside the function. So, examine those labels (which packets types) and add any new type and call the suitable recv function to manipulate it (it seems that AODV+ has added new control packet type to support additional features, see them). Regards, Ghada From: huy quang nachom...@gmail.com To: ns-users@ISI.EDU Sent: Mon, December 13, 2010 7:32:54 PM Subject: [ns] [NS]Problem with AODV+,Please help me! Hi I would like to simulate a wired-cum-wireless tcl scenario with the implementation of AODV+. I'm using NS-2.33 in UBUNTU 8.04. The AODV+ include all the gateway discovery method. I'm able run simulation with the *Reactive Method* but got error when I try *Hybrid* and *Proactive Gateway Discovery*. Here is the error: *format_aodv: invalid AODV packet file* Please, I would like someone to explain me how can i solve this problem.It is very important for me. Thank you
[ns] [NS]Problem with AODV+,Please help me!
Hi I would like to simulate a wired-cum-wireless tcl scenario with the implementation of AODV+. I'm using NS-2.33 in UBUNTU 8.04. The AODV+ include all the gateway discovery method. I'm able run simulation with the *Reactive Method* but got error when I try *Hybrid* and *Proactive Gateway Discovery*. Here is the error: *format_aodv: invalid AODV packet file* Please, I would like someone to explain me how can i solve this problem.It is very important for me. Thank you
[ns] Ns problem
Sorry users I forgot to send you the warnings I am getting the following warnings warning: route to base_stn not known:dropping pkt warning: route to base_stn not known:dropping pkt warning: route to base_stn not known:dropping pkt warning: route to base_stn not known:dropping pkt warning: route to base_stn not known:dropping pkt MAC_802_11:accessing MAc cache_ array out of range (src 6, dest 5, size 6)! MAC_802_11:accessing MAc cache_ array out of range (src 6, dest 5, size 6)! MAC_802_11:accessing MAc cache_ array out of range (src 6, dest 5, size 6)! MAC_802_11:accessing MAc cache_ array out of range (src 6, dest 5, size 6)! MAC_802_11:accessing MAc cache_ array out of range (src 6, dest 5, size 6)! luv nitish
[ns] ns problem
hi i wrote a simple example and run at ns but i see this: --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o18: no target for slot -1 _o18 type: Classifier/Hash/Dest content dump: classifier _o18 0 offset 0 shift 2147483647 mask 1 slots slot 2: _o116 (Classifier/Port) -1 default -- Finished standard no-slot{} default handler -- i havent understanding about that i wanted to know about that thanks
Re: [ns] ns problem
Hi, Basically, you are accessing the slot -1 which does not exist. I posted the details at http://t-issariyakul.blogspot.com/2009/03/no-slot-error-for-classifiers.html For more information about Classifiers, see Chapter 6 in the following book from Springer: T. Issaraiyakul and E. Hossain, Introduction to Network Simulator NS2, Springer 2008. http://www.springer.com/engineering/signals/book/978-0-387-71759-3 You may also find the following website useful: http://www.ece.ubc.ca/~teerawat/NS2.htm Best, Teerawat On 3/11/2009, ali bala mrbala...@yahoo.com wrote: hi i wrote a simple example and run at ns but i see this: --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o18: no target for slot -1 _o18 type: Classifier/Hash/Dest content dump: classifier _o18 0 offset 0 shift 2147483647 mask 1 slots slot 2: _o116 (Classifier/Port) -1 default -- Finished standard no-slot{} default handler -- i havent understanding about that i wanted to know about that thanks
Re: [ns] [NS] Problem to access the neighbors list of mobile nodes
When having problems, one should always do make clean; make depend; make -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon de Andrés Sent: segunda-feira, 19 de Dezembro de 2005 1:15 To: ns-users@ISI.EDU Subject: Re: [ns] [NS] Problem to access the neighbors list of mobile nodes I've never used 'make depend' in order to compile ns2. The error you paste don't have any relation with aodv or the nb_delay atribute. I used the nb_delay attitrbute (double) in the neighbour class, in the aodv_rtable.h file. Because you don't use it, you must delete this line: tcl.evalf(puts \\t%d\t%f\,nb-nb_addr, nb-nb_delay); or delete 'nb-nb_delay' and '%f' in it. Bye El Domingo 18 Diciembre 2005 16:24, olivier berho escribió: Hi, I tried the following code in order to access the neighbords list of a node using AODV. /* * / Code I used : Olivier, really i don't see anywhere the link between the neighbour list in C++ and the variable neighbour_ you say. I'm making a job with AODV and QoS routing, and i've made a Tcl command for AODV agent to show its neighbour list and their delays between the agent. I post it for you: if(strcmp(argv[1], show-table)) { AODV_Neighbor *nb = nbhead.lh_first; tcl.evalf(puts \\nDelay Table of Node: %d \, index); tcl.evalf(puts \\tNode\tDelay\); for(;nb;nb=nb-nb_link.le_next ){ tcl.evalf(puts \\t%d\t%f\,nb-nb_addr, nb-nb_delay); } return TCL_OK; } You must paste it or something similar in the command function in the AODV agent. However, the nb_delay attribute you can see should be deleted or implemented in the aodv_rtable. I hope this could help you. Bye Olivier. /* * / Then when I tried to recompile ns, I made make depend and then make in the ns directory and I got the following error : /* * / error I got : In file included from ../../../config.h:54, from logparse.h:7, from tr-stat.cc:24: ../../../autoconf.h:85: error: namespace `CPP_NAMESPACE' undeclared /* * / Is it because of this : However, the nb_delay attribute you can see should be deleted or implemented in the aodv_rtable that I did not understand ? I really wish someone could explain me why I got that error and what I should do to correct it. Thanks a lot, Olivier. On 12/10/05, Olivier Berho [EMAIL PROTECTED] wrote: Hello, I am working on a project about communication between mobile nodes and I am nooby in tcl and NS2. My first part is about sending packets to each nearly neighbors of a node. I know that there is a variable neighbors_ which contains the neighbors of each node but I cannot access these informations. First because I have some problems to access the list using tcl and second because The list seems to be empty when the topology of my network is created. I am using the AODV routing protocol which should update itself the variable of the neighbors but I don't know how access it. Thanks a lot for help, Olivier. P.S : I am a French student,and I apologize for the mistakes in my English. -- Jon de Andrés Frías GPG: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x4E856203