From duc.bui at student.rmit.edu.au Fri Feb 1 06:31:23 2008 From: duc.bui at student.rmit.edu.au (Quang Duc Bui) Date: Fri, 1 Feb 2008 21:31:23 +0700 Subject: [ns] Robust routing Message-ID: <001d01c864df$2d171070$4001a8c0@bdquangLAPTOP> Hi everybody, I am looking for some robust routing implementations in ns-2. If you know any of them, please tell me. Many thanks Quang D. Bui Research Student School of Electrical and Computer Engineering RMIT University Melbourne, Australia E-mail: duc.bui at student.rmit.edu.au -----Original Message----- From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf Of ns-users-request at ISI.EDU Sent: Thursday, January 31, 2008 8:00 AM To: ns-users at ISI.EDU Subject: Ns-users Digest, Vol 49, Issue 31 Send Ns-users mailing list submissions to ns-users at isi.edu To subscribe or unsubscribe via the World Wide Web, visit http://mailman.isi.edu/mailman/listinfo/ns-users or, via email, send a message with subject or body 'help' to ns-users-request at isi.edu You can reach the person managing the list at ns-users-owner at isi.edu When replying, please edit your Subject line so it is more specific than "Re: Contents of Ns-users digest..." Today's Topics: 1. parallel connection (Smita Vishwakarma) 2. Comparison of BW Estimators 2 (Livian) 3. Multiple transmission power settings (Tae Dempsey) 4. Error compile aodv.cc (Normalia Samian) ---------------------------------------------------------------------- Message: 1 Date: Wed, 30 Jan 2008 12:21:54 +0530 From: "Smita Vishwakarma" Subject: [ns] parallel connection To: "ns-users at isi.edu" Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Dear ns users,

I would like to know how to establish a parallel links between two nodes in Tcl.If anybody have any idea please share with me.

Thanks in advance
--
smita -- smita ------------------------------ Message: 2 Date: Tue, 29 Jan 2008 23:26:52 -0800 (PST) From: Livian Subject: [ns] Comparison of BW Estimators 2 To: NS-User Message-ID: <719980.4443.qm at web37001.mail.mud.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Hello I m working with a network scenario ....where link BW is 1.5Mbps and is shared by both TCP and UDP flows. I used FTP over TCP and UDP based CBR background load with the same packet size 512 bytes. .................. Simulation Time: is 30sec. I have to maintain CBR rate to At 0-5 sec : 1Mbps At 5-10 sec: 1.5 Mbps At 10-15 sec: .8Mbps At 15-20 sec: .1.3Mbps At 20-25 sec: 1.5Mbps At 20-25 sec: .4Mbps But i dont know how to control cbr rate in TCL script. My outputs are always close to link BW .....they are not close to available BW. Here is my TCL Script : set ns [new Simulator] #Open the Trace files set file1 [open out.txt w] set f0 [open output1.txt w] $ns trace-all $file1 #Open the nam trace file set nf [open out.nam w] $ns namtrace-all $nf $ns color 1 Blue $ns color 2 Red #Define a 'finish' procedure proc finish {} { global f0 ns nf $ns flush-trace #Close the trace file close $nf #Execute nam on the trace file exec nam out.nam & close $f0 exit 0 } set n0 [$ns node] set n1 [$ns node] $ns duplex-link $n0 $n1 1.5Mb 10ms DropTail proc record {} { global sink0 f0 set ns [Simulator instance] #Set the time after which the procedure should be called again set time 0.1 #How many bytes have been received by the traffic sinks? set bw0 [$sink0 set bytes_] #Get the current time set now [$ns now] #Calculate the bandwidth (in MBit/s) and write it to the files puts $f0 "$now [expr $bw0/$time*8/1000000]" #Reset the bytes_ values on the traffic sinks $sink0 set bytes_ 0 #Re-schedule the procedure $ns at [expr $now+$time] "record" } set u_src [new Agent/UDP] $ns attach-agent $n0 $u_src set u_dst [new Agent/Null] $ns attach-agent $n1 $u_dst $ns connect $u_src $u_dst $u_src set fid_ 1 set cbr [new Application/Traffic/CBR] $cbr set packetSize_ 512 #$cbr set interval_ 0.250 $cbr attach-agent $u_src set t_src [new Agent/TCP/Newreno] $t_src set packetSize_ 512 set sink0 [new Agent/TCPSink] $ns attach-agent $n0 $t_src $ns attach-agent $n1 $sink0 $ns connect $t_src $sink0 $t_src set fid_ 2 set ftp [new Application/FTP] $ftp attach-agent $t_src $ns at 0.0 "record" $ns at 0.1 "$cbr start" $cbr set rate_ 1 $ns at 5.0 "$cbr stop" $ns at 5.1 "$cbr start" $cbr set rate_ 1.5 $ns at 10.0 "$cbr stop" $ns at 10.1 "$cbr start" $cbr set rate_ .8 $ns at 15.0 "$cbr stop" $ns at 15.1 "$cbr start" $cbr set rate_ 1.3 $ns at 20.0 "$cbr stop" $ns at 20.1 "$cbr start" $cbr set rate_ 1.5 $ns at 25.0 "$cbr stop" $ns at 25.1 "$cbr start" $cbr set rate_ .4 $ns at 30.0 "$cbr stop" $ns at 1.0 "$ftp start" $ns at 29.0 "$ftp stop" $ns at 30.1 "finish" #Run the simulation $ns run If anyone understand my problem ..i will very much appreitate his reply. Thanks. --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. --------------------------------- Never miss a thing. Make Yahoo your homepage. ------------------------------ Message: 3 Date: Wed, 30 Jan 2008 09:23:19 -0500 From: "Tae Dempsey" Subject: [ns] Multiple transmission power settings To: ns-users at ISI.EDU Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Dear ns-users, I have a simulation scenario setup with two wireless networks -- one network is running the DSR protocol and the other is running AODV in promiscuous mode. Is there a way to adjust the settings in ns2 so that the AODV nodes can transmit farther and faster than the DSR nodes? And which settings get adjusted? Essentially there will be two settings: one for DSR and one for AODV nodes. Thank you. ------------------------------ Message: 4 Date: Wed, 30 Jan 2008 22:28:05 +0800 From: "Normalia Samian" Subject: [ns] Error compile aodv.cc To: ns-users at ISI.EDU Message-ID: <15aad3300801300628s12e837a5gc956f993cf8b8e07 at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 *Dear all, I have a problem compiling the aodv.cc code and hope you can help me out to solve the problem. I try to compile the aodv.cc on ns-2.31 but it produces the following error: * [root at fsksm aodv]# g++ aodv.cc -o aodv aodv.cc:35:18: error: aodv.h: No such file or directory aodv.cc:36:25: error: aodv_packet.h: No such file or directory aodv.cc:37:20: error: random.h: No such file or directory aodv.cc:38:23: error: cmu-trace.h: No such file or directory aodv.cc:59: error: 'hdr_aodv' has not been declared aodv.cc:60: error: expected class-name before '{' token aodv.cc: In constructor 'AODVHeaderClass::AODVHeaderClass()': aodv.cc:62: error: class 'AODVHeaderClass' does not have any field named 'PacketHeaderClass' aodv.cc:63: error: 'hdr_all_aodv' was not declared in this scope aodv.cc:64: error: 'hdr_aodv' has not been declared aodv.cc:64: error: 'bind_offset' was not declared in this scope aodv.cc: At global scope: aodv.cc:68: error: expected class-name before '{' token aodv.cc :71: error: ISO C++ forbids declaration of 'TclObject' with no type aodv.cc:71: error: expected ';' before '*' token aodv.cc:76: error: expected `;' before '}' token aodv.cc: In constructor 'AODVclass::AODVclass()': aodv.cc:70: error: class 'AODVclass' does not have any field named 'TclClass' aodv.cc: At global scope: aodv.cc:80: error: 'AODV' has not been declared *My question is, why can't the program find all the *.h files when the location of the files is already correctly pointed. * * Does this problem has anything to do with environment path setting? Or do i need to do something to incorporate the gcc compiler with ns2 using Makefile? This problem has dragged my work since i face the same problem when i run my own program that need to include the necessary header files (aodv.h, aodv_packet.h, agent.h & gridkeeper.h). I've already point the header files to their exact locations but the same problems still occur involving other linking files such as cmu-trace. ** The following is my own program that produce the same error when i compile aodv.cc. * [root at fsksm friend_code2]# g++ countfriend.cc -o countfriend countfriend.cc:6:23: error: aodv/aodv.h: No such file or directory countfriend.cc:7:30: error: aodv/aodv_packet.h: No such file or directory countfriend.cc:8:19: error: agent.h: No such file or directory countfriend.cc:9:24: error: gridkeeper.h: No such file or directory countfriend.cc:11: error: expected class-name before '{' token countfriend.cc:23: error: expected class-name before '{' token countfriend.cc:26: error: ISO C++ forbids declaration of 'TclObject' with no type countfriend.cc:26: error: expected ';' before '*' token countfriend.cc:30: error: expected `;' before '}' token countfriend.cc: In constructor 'CountFriendClass::CountFriendClass()': countfriend.cc:25: error: class 'CountFriendClass' does not have any field named 'TclClass' countfriend.cc: In constructor 'CountFriend::CountFriend()': countfriend.cc:32: error: class 'CountFriend' does not have any field named 'Agent' countfriend.cc:32: error: 'PT_AODV' was not declared in this scope countfriend.cc: In member function 'int CountFriend::command(int, const char* const*)': countfriend.cc:97: error: 'TCL_OK' was not declared in this scope countfriend.cc:100: error: 'Agent' has not been declared [root at fsksm friend_code2]# *I really hope anybody could help me out to solve this problem. Regards, Normalia* ------------------------------ _______________________________________________ Ns-users mailing list Ns-users at isi.edu http://mailman.isi.edu/mailman/listinfo/ns-users End of Ns-users Digest, Vol 49, Issue 31 **************************************** From tomhend at u.washington.edu Fri Feb 1 08:48:46 2008 From: tomhend at u.washington.edu (tomhend@u.washington.edu) Date: Fri, 1 Feb 2008 08:48:46 -0800 Subject: [ns] ns-2 FAQ Message-ID: <200802011648.m11GmkrL001668@ns-regression.ee.washington.edu> The Network Simulator ns-2: Frequently Asked Questions Note: This FAQ is now available at the project wiki: http://nsnam.isi.edu/nsnam/index.php/Ns_Users_FAQ _The mailing is is now subscriber only---please see the FAQ entry on "How do I post to the mailing list? Why was my post rejected?" for details._ * _Where do I get ns?_ From the ns web site at http://www.isi.edu/nsnam/ns/ns.html and the download page http://www.isi.edu/nsnam/ns/ns-tests.html. * _What platforms does ns run on and what kind of hardware do I need?_ Please see "where to start" on the building ns web page: http://www.isi.edu/nsnam/ns/ns-build.html#start. * _What should I do if I have trouble downloading/extracting ns?_ This question is answered in detail at http://www.isi.edu/nsnam/ns/ns-problems.html#downloading. * _What should I do if I encounter problems building ns?_ Check: 1. the README that comes in the distribution (very brief), 2. the "installation problems, bug fixes and help" web page http://www.isi.edu/nsnam/ns/ns-problems.html, 3. the archives of the ns-users mailing list http://www.isi.edu/nsnam/ns/ns-lists.html, 4. post a bug report (see below) http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi. * _What do I do after I successfully build ns?_ + Put the path to your ns executable into your PATH environment + Put the path to your otcl into your LD_LIBRARY_PATH environment + Put the path to your tcl library into your TCL_LIBRARY environment * _Where can I find documentation for ns?_ All documentation is linked from the main ns web page http://www.isi.edu/nsnam/ns/. Documentation includes a tutorial (originally from Marc Greis) and a reference manual (ns notes and documentation). * _Words, words, words... that documentation is nice, but where are some sample scripts I can start from?_ Many sample scripts can be found in the ns distribution in ~ns-2/tcl/ex and ~ns-2/tcl/test. * _What protocols does ns support?_ A lot! Almost all variants of TCP, several forms of multicast, wired networking, several ad hoc routing protocols and propagation models (but not cellular phones), data diffusion, satellite, and other stuff. See the documentation (described above) for details, or download ns and look. * _How do I know that ns correctly implements these protocols?_ Ns has validation tests that cover many protocols, see http://www.isi.edu/nsnam/ns/ns-tests.html. However, ultimately users are responsible for verifying that ns is accurate for their purposes---since we cannot foresee all the ways ns may be used, we cannot test all cases with all inputs. * _Are there any contributed/additional protocols not in the main distribution?_ Yes, please see the contributed code web page http://www.isi.edu/nsnam/ns/ns-contributed.html. The mailing list archives can also be helpful (see below). * _How should I get started doing something (like implementing a new protocol or trying an experiment)?_ We recommend that you look through the tutorial (see documentation, above), then start with an example program that is most similar to yours (in the tutorial, or in tcl/ex or tcl/test in the distribution), and then start changing things. * _What should I do to compile ns to reflect my changes if I've modified some .cc or .h files?_ go to ns directory and run "make" or "make depend; make" * _How do I subscribe to the ns-users mailing list? How do I search old list archives? I can't take any more---how do I get off this list?_ To subscribe or unsubscribe, see http://www.isi.edu/nsnam/ns/ns-lists.html. The list archive is at http://www.isi.edu/nsnam/ns/ns-lists.html. * _How do I post to the mailing list? Why was my post rejected?_ As of June 2004 the ns-users lists allow posts from _subscriber only_. If you're not a subscriber, your posts to the list will be rejected. (This is unfortunately necessary to dispose efficiently of spam; manual filtering is too expensive.) We realize that the list is high traffic, so if you wish to post to the list without receiving messages on it, please subscribe and select the _no-mail_ option for your subscription. For details about the mailing list including mailing-list specific FAQ (for example, what if you're subscribed but still can't post), please see http://www.isi.edu/nsnam/ns/ns-lists.html. * _Did my post appear on the mailing list? (Or, why didn't my post appear on the mailing list?)_ See the http://www.isi.edu/nsnam/ns/ns-lists.html web page for help debugging mailing list problems. * _What if I have a question that's not answered here?_ If you've checked the installation problems and bug fixes web page (http://www.isi.edu/nsnam/ns/ns-problems.html) and there's no answer to your question, you may want to file a bug report or post a question to the ns-user's mailing list. First, you should check the archive of the list at http://www.isi.edu/nsnam/ns/ns-lists.html. Your question may already be answered there. If not, you can post a bug report using the web form at http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi. If your question is NOT about ns implementation bugs, you may wish to post to the list. First you should subscribe. Subscription instructions are at http://www.isi.edu/nsnam/ns/ns-lists.html. _Please note that mail sent to the list is publicly distributed and archived. _If you have concerns about your message being made public (spam harvesting of your address), please consider that _before_ posting. We cannot remove messages from reciepient's mailboxes or the public archive after they're posted. When posting bug reports, please _always_ include information including at least (the bug report form includes spaces for these): + what version of ns you're using, + what operating system you're running on (not just Linux or Solaris, but RedHat version 7.0 or Solaris 2.4---send us the output of "uname -a"), + what specific behavior you see (if ns doesn't compile, what's the specific error; if TCP does something strange, what exactly did it do [send a pointer to a packet trace]), + what behavior you expected to see (if ns doesn't compile this is obvious, but if TCP does something strange, why is it strange, where is the TCP spec violated?), + pointers to your script detailed output files, + a statement that "yes, I've read the FAQ, ns-problems page, and manual and I couldn't find the answer there" (or a statement about why you didn't do that yet :-) Soo-Hyun Choi observed from posts to the list: _Sometimes, I see this list is filled with the questions with: 1) asked many times before 2) hardly understandable what this guy is asking 3) too easy to find an answer over a few clicks over the Internet 4) soliciting to do their homework in a simple way by asking in this list 5) easily seekable an answer by contributing a couple of hours of reading the ns-manual 6) etc, etc. _ _As many of us in this list are doing an advanced degree, it would be suggested to read the following article in order to raise a useful/meaningful question in a smart way. http://www.catb.org/~esr/faqs/smart-questions.html _ This is _very_ good advice, since asking the Right Question is very likely to get a good/helpful answer, while asking a question poorly. For example, think about how you would answer these two questions: _"Ns doesn't work for me, it crashes. Help."_ as compared to _"I get a segmentation fault when running test script test-suite-webcache on Mandrake 10 Linux. The backtrace is on my web page at www.someu.edu/~someone. It looks like it passes in the on-line test suites, but it fails for me. Am I doing something wrong?_ A reminder about mailing list etiquette: + Please check the web pages and list archives before posting your question. + Please keep the body of your post to simple ASCII, not HTML. + Please do _not_ send large attachments (if what you have is bigger than a few kilobytes, put it on a web page and send a URL) + Before posting a question like "did people see my post" or "the list seems down", please check the archives (you can answer this question more accurately by checking yourself rather than asking). + Please don't post subscribe/unsubscribe requests directly to the list, use the lists' information page. (see the web page mentioned above for details). From mesiti at tlc.polito.it Fri Feb 1 01:39:17 2008 From: mesiti at tlc.polito.it (Fabio Mesiti) Date: Fri, 01 Feb 2008 10:39:17 +0100 Subject: [ns] Simulating infrastructured wireless networks in ns2 In-Reply-To: <1201740574.47a11b1e77ccf@webmail.vt.edu> References: <1201740574.47a11b1e77ccf@webmail.vt.edu> Message-ID: <47A2E8C5.30306@tlc.polito.it> Hi Theresa, There exists an interesting patch which prevents stations from routing packets towards intermediate nodes (single-hop). The patch is NOAH (NO Ad-Hoc) and you can find it here: http://icapeople.epfl.ch/widmer/uwb/ns-2/noah/ Fabio Theresa Nelson wrote: > All, > > I am trying to simulate an infrastructure wireless network in ns2, but am having > severe issues finding code examples of how to accomplish this. Almost all of the > wireless tcl scripts I have found deal with adhoc networks, but I am trying to > simulate mobile nodes connecting to routing-protocol-free access points (i.e. > using typical 802.11 connection). Any help and / or example code as to how this > is done would be appreciated greatly. > > Sincerely, > > Theresa Nelson > Virginia Tech > > > From nicolas.boettcher at al.udp.cl Sat Feb 2 08:03:31 2008 From: nicolas.boettcher at al.udp.cl (Nicolas Boettcher) Date: Sat, 2 Feb 2008 13:03:31 -0300 Subject: [ns] graphics in ns2 extension for PHY & MAC 802.15.4 Message-ID: Hi ns users I donwnloaded the ns2 extension for PHY & MAC 802.15.4 from this website: http://lrcwww.epfl.ch/uwb/ns-2/installation.html but when I run the examples, graphics generated by the code only have one data what parameters I need modificate for generate good graphs? someone has works with this extension? please help me From dempsetl at muohio.edu Sat Feb 2 13:31:18 2008 From: dempsetl at muohio.edu (Tae Dempsey) Date: Sat, 2 Feb 2008 16:31:18 -0500 Subject: [ns] Error Model / Loss Model Message-ID: What is the difference between an error model and a loss model? I want to maliciously drop packets over a wireless link and am not sure how to do this. Could someone please help? Thanks From gprabhu at tce.edu Sun Feb 3 21:13:59 2008 From: gprabhu at tce.edu (gprabhu@tce.edu) Date: Mon, 4 Feb 2008 10:43:59 +0530 (IST) Subject: [ns] How to display the routing tale entries while running the wireless simulation in AODV protocol? Message-ID: <43016.203.129.194.20.1202102039.squirrel@mail.tce.edu> Hi, I want to know the details of the routing table entries for that i have to display the routing table entries while running the wireless simulation in AODV protocol.. Plz guide me... ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) From zawtun78 at gmail.com Mon Feb 4 00:54:28 2008 From: zawtun78 at gmail.com (Zaw Tun) Date: Mon, 4 Feb 2008 00:54:28 -0800 (PST) Subject: [ns] how to know request time and reply time Message-ID: <15264094.post@talk.nabble.com> Hello all I would like to know a node RREQ forward and RREQ accept time. How this can implement in AODV protocol? Please any suggestion for that case. -- View this message in context: http://www.nabble.com/how-to-know-request-time-and-reply-time-tp15264094p15264094.html Sent from the ns-users mailing list archive at Nabble.com. From mdinesh21 at yahoo.com Mon Feb 4 02:33:20 2008 From: mdinesh21 at yahoo.com (dheen) Date: Mon, 4 Feb 2008 02:33:20 -0800 (PST) Subject: [ns] re garding sensor networks on reliable transmission using RMST filter Message-ID: <15265474.post@talk.nabble.com> Hi , i am dinesh doing my project in sensor networks. My reference paper is "Appearing in 1st IEEE International Workshop on Sensor Net Protocols and Applications (SNPA). Anchorage, Alaska, USA. May 11, 2003. RMST: Reliable Data Transport in Sensor Networks Fred Stann, John Heidemann" i need code for RMST. and also i need to know if there is any enhancement regarding this RMST filter please kindly do help me in this concern. thanking you with anticipation regards Dinesh -- View this message in context: http://www.nabble.com/regarding-sensor-networks-on-reliable-transmission-using-RMST-filter-tp15265474p15265474.html Sent from the ns-users mailing list archive at Nabble.com. From vipz_genius002 at yahoo.com Mon Feb 4 09:23:15 2008 From: vipz_genius002 at yahoo.com (LoTuS SwEeT) Date: Mon, 4 Feb 2008 09:23:15 -0800 (PST) Subject: [ns] Fwd:help Throughput measure Message-ID: <389626.28883.qm@web56703.mail.re3.yahoo.com> LoTuSwEeT at GmAiL.CoM ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From nicolas.boettcher at al.udp.cl Mon Feb 4 11:36:12 2008 From: nicolas.boettcher at al.udp.cl (Nicolas Boettcher) Date: Mon, 4 Feb 2008 14:36:12 -0500 Subject: [ns] error when compiling ns2 mustafa extension for 802.15.3 In-Reply-To: References: Message-ID: Hi ns users I donwnloaded the ns2 extension for MAC 802.15.3 (Mustafa) from this website: http://inrg.csie.ntu.edu.tw/802153_extension/ns2extension.html When I try to compile, I get the following error: configure: creating ./config.status config.status: creating Makefile g++ -c -DNO_TK -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_0A8 -DHAVE_OTCL_H -DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_STRTOQ=1 -DHAVE_STRTOLL=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG=4 -DHAVE_INT64=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_3=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_3=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A8=1 -I. -I/home/dragonx/programas/mustafa/otcl-1.0a8-I/home/dragonx/programas/mustafa/include -I/home/dragonx/programas/mustafa/include -o Tcl.o Tcl.cc tclcl-mappings.h: In static member function 'static int TclObjectHelper::dispatch_(void*, Tcl_Interp*, int, char**)': tclcl-mappings.h:51: error: incomplete type 'Tcl' used in nested name specifier tclcl-mappings.h:52: error: invalid use of undefined type 'struct Tcl' tclcl-mappings.h:41: error: forward declaration of 'struct Tcl' tclcl-mappings.h:57: error: invalid use of undefined type 'struct Tcl' tclcl-mappings.h:41: error: forward declaration of 'struct Tcl' make: *** [Tcl.o] Error 1 tclcl-1.0b12 make failed! Exiting ... See http://www.isi.edu/nsnam/ns/ns-problems.html for problems Can someone help me? From maruf at ou.edu Mon Feb 4 15:03:49 2008 From: maruf at ou.edu (Huq, Syed M.) Date: Mon, 4 Feb 2008 17:03:49 -0600 Subject: [ns] error when compiling ns2 mustafa extension for 802.15.3 In-Reply-To: References: , Message-ID: Hey, I had a similar problem few days back and I think its probably the same dependency problem. I think all you need to do is to install your all the components of "Development " from your linux CD and make sure. I suggest you install all the Development Stuff: which are Development Tools, Kernel Development, X Software, GNOME Software Development and KDE Software. In simple words just insert the linux installation CD, choose to upgrade and install the ALL the stuff under Development. Make sure you install all the subcomponents( i.e. check all the boxes). Once linux is upgraded, I think it will install. It doesn't matter whether your using Red Hat or Fedora, the process applies to all. NS uses a lot of development tools while compiling, thus the problem occur. Hope it works! Good luck! Maruf ________________________________________ From: ns-users-bounces at ISI.EDU [ns-users-bounces at ISI.EDU] On Behalf Of Nicolas Boettcher [nicolas.boettcher at al.udp.cl] Sent: Monday, February 04, 2008 1:36 PM To: ns-users at ISI.EDU Subject: [ns] error when compiling ns2 mustafa extension for 802.15.3 Hi ns users I donwnloaded the ns2 extension for MAC 802.15.3 (Mustafa) from this website: http://inrg.csie.ntu.edu.tw/802153_extension/ns2extension.html When I try to compile, I get the following error: configure: creating ./config.status config.status: creating Makefile g++ -c -DNO_TK -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_0A8 -DHAVE_OTCL_H -DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_STRTOQ=1 -DHAVE_STRTOLL=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG=4 -DHAVE_INT64=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_3=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_3=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A8=1 -I. -I/home/dragonx/programas/mustafa/otcl-1.0a8-I/home/dragonx/programas/mustafa/include -I/home/dragonx/programas/mustafa/include -o Tcl.o Tcl.cc tclcl-mappings.h: In static member function 'static int TclObjectHelper::dispatch_(void*, Tcl_Interp*, int, char**)': tclcl-mappings.h:51: error: incomplete type 'Tcl' used in nested name specifier tclcl-mappings.h:52: error: invalid use of undefined type 'struct Tcl' tclcl-mappings.h:41: error: forward declaration of 'struct Tcl' tclcl-mappings.h:57: error: invalid use of undefined type 'struct Tcl' tclcl-mappings.h:41: error: forward declaration of 'struct Tcl' make: *** [Tcl.o] Error 1 tclcl-1.0b12 make failed! Exiting ... See http://www.isi.edu/nsnam/ns/ns-problems.html for problems Can someone help me? From penguin166 at gmail.com Mon Feb 4 19:21:19 2008 From: penguin166 at gmail.com (M Lee) Date: Tue, 5 Feb 2008 11:21:19 +0800 Subject: [ns] Somthing wrong when I patch NS-2.27 with Emulation Extensions Message-ID: Hello: I have install NS-2.27 on* Linux Redhat9* and patch it with NS-2 Emulation Extensions : *Distributed Clients Emulation Patch against ns-2 2.27, examples [**TGZ * *]* Every thing is OK until I type "make", the following info coming: ..... /filter_core -I./asim/ -I./qs -o common/scheduler.o common/scheduler.cc *common/scheduler.cc:53:21: asm/msr.h: No such file or directory common/scheduler.cc: In member function `void RealTimeScheduler::sync_cputicks()': common/scheduler.cc:1059: `rdtscll' undeclared (first use this function) common/scheduler.cc:1059: (Each undeclared identifier is reported only once for each function it appears in.) make: *** [common/scheduler.o] Error 1* * * * Anyone met this before? *How can I do?* * ** * Thanks!* ** * * * * From penguin166 at gmail.com Mon Feb 4 19:35:57 2008 From: penguin166 at gmail.com (M Lee) Date: Tue, 5 Feb 2008 11:35:57 +0800 Subject: [ns] Which is the best Opreating System for NS2.27 emulation Message-ID: Hello: I want to know which is the best Opreating System for NS2(2.27--2.32)?especially for emulation. linux Redhat9 ? linux Debian? Free BSD? Thanks! From abdullahqawasmeh at yahoo.com Mon Feb 4 21:33:10 2008 From: abdullahqawasmeh at yahoo.com (abdullah qawasmeh) Date: Mon, 4 Feb 2008 21:33:10 -0800 (PST) Subject: [ns] Simulating a routing protocol for Mobile Ad-Hoc Network Message-ID: <643556.59852.qm@web54104.mail.re2.yahoo.com> Hi All, I am currently working on developing a new routing protocol for Mobile Ad hoc Networks, the protocol uses the location information of each node in the network minimize the number of packet retransmissions. I am considering Network Simulator 2 for simulating the performance of the protocol. I started reading the NS-2 manual, but until now I am not sure whether I can set the get the location of each node during the simulation and use the location information to decide if a node after receiving a packet will retransmit it or drop it when it knows that all its 1-hop neighbors. Do I need to write some C++ code?. If any body can help me with this issue please reply. Sincerely, Abdulla --------------------------------- Never miss a thing. Make Yahoo your homepage. From mahrenholz at rt-solutions.de Mon Feb 4 23:28:44 2008 From: mahrenholz at rt-solutions.de (Daniel Mahrenholz) Date: Tue, 05 Feb 2008 08:28:44 +0100 Subject: [ns] Which is the best Opreating System for NS2.27 emulation In-Reply-To: References: Message-ID: <47A8102C.1090603@rt-solutions.de> M Lee schrieb: > Hello: > I want to know which is the best Opreating System for > NS2(2.27--2.32)?especially > for emulation. > linux Redhat9 ? linux Debian? Free BSD? > > Thanks! > Debian - if you use Debian, you can install the whole emulation extension using apt-get / aptitude. Furthermore, NSE has been developed and tested on Debian for a long time. Daniel. From mahrenholz at rt-solutions.de Mon Feb 4 23:32:06 2008 From: mahrenholz at rt-solutions.de (Daniel Mahrenholz) Date: Tue, 05 Feb 2008 08:32:06 +0100 Subject: [ns] Somthing wrong when I patch NS-2.27 with Emulation Extensions In-Reply-To: References: Message-ID: <47A810F6.9050408@rt-solutions.de> Hi, you need to install the kernel headers (or the complete kernel sources) to compile this emulation extension. Daniel. M Lee schrieb: > Hello: > I have install NS-2.27 on* Linux Redhat9* and patch it with NS-2 > Emulation Extensions : > *Distributed Clients Emulation Patch against ns-2 2.27, examples [**TGZ > * > *]* > > Every thing is OK until I type "make", the following info coming: > ..... > /filter_core -I./asim/ -I./qs -o common/scheduler.o > common/scheduler.cc > *common/scheduler.cc:53:21: asm/msr.h: No such file or directory > common/scheduler.cc: In member function `void > RealTimeScheduler::sync_cputicks()': > common/scheduler.cc:1059: `rdtscll' undeclared (first use this function) > common/scheduler.cc:1059: (Each undeclared identifier is reported only once > for > each function it appears in.) > make: *** [common/scheduler.o] Error 1* > * * > * Anyone met this before? *How can I do?* * > ** > * Thanks!* > ** > * * > > * * > From mnikpour59 at yahoo.com Tue Feb 5 02:43:32 2008 From: mnikpour59 at yahoo.com (Mohammad Nikoupour) Date: Tue, 5 Feb 2008 02:43:32 -0800 (PST) Subject: [ns] How to implement an agent who knows its neighbors Message-ID: <843752.92475.qm@web45506.mail.sp1.yahoo.com> Can anyone help me to have an agent (in c code) that can recognize the neighbors of the node onwhich it resides and send packets to them, I do not want to connect in TCL code. Thanks. --------------------------------- Never miss a thing. Make Yahoo your homepage. From L.Wood at surrey.ac.uk Tue Feb 5 07:30:12 2008 From: L.Wood at surrey.ac.uk (Lloyd Wood) Date: Tue, 05 Feb 2008 15:30:12 +0000 Subject: [ns] CFP: announcing the second workshop on ns-2 (WNS2 2008) Message-ID: <200802051530.m15FUDT01616@cisco.com> http://www.wns2.org/ http://www.wns2.org/docs/wns2-2008-call-for-papers.pdf Below is our first Call For Papers for WNS2 2008, the only peer-reviewed event focusing on papers about ns2 (and 3). Thanks to George Riley for offering to give the tutorial on the first day. I should also note that the Internet Measurement Workshop is also taking place earlier that week, nearby in a suburb of Athens. http://www.imconf.net/imc-2008/cfp.html giving the opportunity to get more from your travel budget. L. for the WNS2 2008 conference co-chairs. Hi all, Lloyd earlier posted the WNS2 conference call for participation, and that WNS2 will include an ns-3 tutorial. I'd like to also announce that there are two ns-3 tutorials associated with upcoming conferences: I will present an ns-3 tutorial at the Simutools conference, March 5, 2008, Marseille, France: http://www.simutools.org/ns3.shtml George Riley will conduct an ns-3 tutorial at the SpringSim conference on April 15, 2008, in Ottawa, CA http://www.scs.org/confernc/springsim/springsim08/springsim08.htm We'll put the materials on-line as they become available. - Tom From sankarasubramanian.s at gmail.com Tue Feb 5 15:11:28 2008 From: sankarasubramanian.s at gmail.com (Sankar Subramanian Salvady) Date: Tue, 5 Feb 2008 18:11:28 -0500 Subject: [ns] Reading Mobile Node's location co-ordinates from a File Message-ID: <3feb959c0802051511j5c534b9fyc623cda9476ab940@mail.gmail.com> Dear All, Greetings. I am a newbie in NS2 trying to achieve a handover scenario for a Vehicular movement ( a mix of Wired and wireless scenario) . I have a trace of Mobile node's co-ordinates taken every 3.5 seconds. Is it possible to simulate the movement of mobile node based on this data instead of having to hard code it ? I would appreciate any help in this regard. Thanks and Regards Sankar From sankarasubramanian.s at gmail.com Tue Feb 5 15:30:10 2008 From: sankarasubramanian.s at gmail.com (Sankar Subramanian Salvady) Date: Tue, 5 Feb 2008 18:30:10 -0500 Subject: [ns] Reading Mobile Node's location co-ordinates from a File In-Reply-To: <3feb959c0802051511j5c534b9fyc623cda9476ab940@mail.gmail.com> References: <3feb959c0802051511j5c534b9fyc623cda9476ab940@mail.gmail.com> Message-ID: <3feb959c0802051530p295e6fe0l6a92afe5e1d18061@mail.gmail.com> All, I figured out a way to do it. Thanks anyways Regards Sankar On Feb 5, 2008 6:11 PM, Sankar Subramanian Salvady wrote: > Dear All, > > Greetings. I am a newbie in NS2 trying to achieve a handover scenario > for a Vehicular movement ( a mix of Wired and wireless scenario) . > > I have a trace of Mobile node's co-ordinates taken every 3.5 seconds. > Is it possible to simulate the movement of mobile node based on this > data instead of having to hard code it ? > > I would appreciate any help in this regard. > > Thanks and Regards > Sankar > -- ------------------------------- Sankar S. Salvady My run for a cause... http://www.ashanet.org/centralnj/events/marathon/2007/runnernet/publicmypage07.php?runnerid=2007TA588 From vipz_genius002 at yahoo.com Wed Feb 6 01:24:18 2008 From: vipz_genius002 at yahoo.com (LoTuS SwEeT) Date: Wed, 6 Feb 2008 01:24:18 -0800 (PST) Subject: [ns] throughput Measure Message-ID: <180811.35253.qm@web56715.mail.re3.yahoo.com> Hi ppl, can anyone help that how can we measure throughput or what should include in script to measure throughput. --------------------------------- Never miss a thing. Make Yahoo your homepage. From malarvizhi_14 at yahoo.co.in Wed Feb 6 01:34:26 2008 From: malarvizhi_14 at yahoo.co.in (Malar) Date: Wed, 6 Feb 2008 01:34:26 -0800 (PST) Subject: [ns] Need procedure to run a patch file Message-ID: <15306308.post@talk.nabble.com> hi friends I am trying to run a patch file. I have included all the code given in the patch file, to the corresponding files and directories of the ns folder. I don't know to proceed further. So help me out to run the patch file. Waiting for ur reply.... Thanks & Regards, Malarvizhi.N -- View this message in context: http://www.nabble.com/Need-procedure-to-run-a-patch-file-tp15306308p15306308.html Sent from the ns-users mailing list archive at Nabble.com. From mruknown1 at yahoo.com Wed Feb 6 04:02:51 2008 From: mruknown1 at yahoo.com (uknown noname) Date: Wed, 6 Feb 2008 04:02:51 -0800 (PST) Subject: [ns] MG tutorial-A new protocol for ns Message-ID: <988692.42043.qm@web63104.mail.re1.yahoo.com> Regarding to Marc Greis tutorial (A new protocol for ns), what is the used for header file (ping.h), C++ code and etc. This is because we still can run ping.tcl itself without added other files. I also don't know how to get 'packet.h' file ( VII.3. Necessary changes) My system : FC 6 2.6.18-1.2869.fc6 ns2.30 --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From mruknown1 at yahoo.com Wed Feb 6 04:49:55 2008 From: mruknown1 at yahoo.com (uknown noname) Date: Wed, 6 Feb 2008 04:49:55 -0800 (PST) Subject: [ns] DSR algorithm Message-ID: <721051.31987.qm@web63109.mail.re1.yahoo.com> hi all.. In DSR routing protocol, there are 2 phase, which is route discovery and route maintenance. Roughly, if a source want to start communicate, it will check a route cache to determine whether the route already exist or not. If the route expired or don't exist, then they will initiate a route discovery process by broadcasting a RREQ. Then the neighbors will forward the RREQ to another node untill it reach the destination. The destination then response with RREP and send back to the source. Once the source received RREP, the communication will start. The algorithm also involves updating routing table, set timer,accumulating the address of each node between source and destination, rejecting a loop route and etc. I try to explore ../ns2.30/dsr/ but I didn't find the file that described/written this algorithm. 1. How the example in ../tcl/ex/wireless.tcl is link with ../ns2.30/dsr/ ? 2. In which line wireless.tcl called the procedure or agent in dsr directory? My system : FC 6 2.6.18-1.2869.fc6 ns2.30 --------------------------------- Never miss a thing. Make Yahoo your homepage. From mkcgphy at gmail.com Wed Feb 6 05:02:25 2008 From: mkcgphy at gmail.com (mj) Date: Wed, 6 Feb 2008 18:32:25 +0530 Subject: [ns] how to run nam for wireless programs Message-ID: hi , i have just started working on wireless scripts and i need to know how i can run nam for these programs so that i can analyse the things properly. -- mk From mkcgphy at gmail.com Wed Feb 6 05:04:47 2008 From: mkcgphy at gmail.com (mj) Date: Wed, 6 Feb 2008 18:34:47 +0530 Subject: [ns] role of channel in mobile nodes Message-ID: hi , i wanted to know what is channel and how it plays a major role in creating mobile environment . how do i know that these many numbers of channels are required for "n" number of nodes.. -- mk From mkcgphy at gmail.com Wed Feb 6 05:37:21 2008 From: mkcgphy at gmail.com (mj) Date: Wed, 6 Feb 2008 19:07:21 +0530 Subject: [ns] code for ns-2 Message-ID: hi all, i am doing my project on topic called detection and isolation routing misbehavior in manet using 2ACK  based on IEEE paper named An acknowledgement approach to detect routing misbehavior in manet .. if some can help me in providing code for that please that will be highly appreciated -- mk From juanmagoga at hotmail.com Wed Feb 6 07:10:38 2008 From: juanmagoga at hotmail.com (juan manuel gomez garcia) Date: Wed, 6 Feb 2008 16:10:38 +0100 Subject: [ns] sleep node In-Reply-To: References: Message-ID: Hi ns_users: I'm working with ns2 and its energy model. How I can sleep a node?. Please help me with any tutorial or web page. Thank you very much. _________________________________________________________________ La vida de los famosos al desnudo en MSN Entretenimiento http://entretenimiento.es.msn.com/ From kankshit at yahoo.co.in Wed Feb 6 07:55:57 2008 From: kankshit at yahoo.co.in (Kankshit Modi) Date: Wed, 6 Feb 2008 15:55:57 +0000 (GMT) Subject: [ns] Fwd: Unable to synchronize RSVP code with ns Message-ID: <155096.82317.qm@web7604.mail.in.yahoo.com> Note: forwarded message attached. --------------------------------- Now you can chat without downloading messenger. Click here to know how. From dempsetl at muohio.edu Wed Feb 6 08:52:13 2008 From: dempsetl at muohio.edu (Tae Dempsey) Date: Wed, 6 Feb 2008 11:52:13 -0500 Subject: [ns] Dropping packets at the MAC layer Message-ID: Hi all, I am trying to drop packets in a wireless situation. I have written code in the mac-802_11.cc file to do such dropping. Even though the logic works, and output (to the console) shows I should be dropping, the packet somehow still gets sent to the link layer and gets processed (it shows up in the trace file as the node receiving the ACK) Can anybody help me resolve the issue? I want to actually drop the packet for good to force a resend of the data packet. Thanks! Here I am trying to drop ACKs to force the source to resend packets.... static bool PACKET_DROP_FLAG = 1; // Do I want to drop packets or not? static int PACKET_COUNT = 0; // Keep track of how many "interesting" packets I have encountered static int PACKET_DROP_COUNT = 0; // Keep track of how many "interesting" packets I have actually dropped static int PACKET_TYPE = PT_ACK; // Specify what kind of packet to drop static int PACKET_LOSS_MODULUS = 10; // Specify how often to drop the packet static int BUFFER_COUNT = 10; // Don't drop the first 10 packets static char* PKT_SENDER = "2"; // Where is the packet going to be coming from? static char* PKT_RECVR = "0"; // Who should receive the packet under ideal situations? static int MALICIOUS_NODE = 0; // Who is the one dropping the packet? void Mac802_11::recvDATA(Packet *p) { struct hdr_mac802_11 *dh = HDR_MAC802_11(p); u_int32_t dst, src, size; struct hdr_cmn *ch = HDR_CMN(p); /* * Going to drop ACK packets using the static constants provided above this method. * */ int dest_match = strcmp(Address::instance().print_nodeaddr(hdr_ip::access(p)->daddr()), PKT_RECVR); int src_match = strcmp(Address::instance().print_nodeaddr(hdr_ip::access(p)->saddr()), PKT_SENDER); if (PACKET_DROP_FLAG && hdr_cmn::access(p)->ptype() == PACKET_TYPE && index_ == MALICIOUS_NODE && dest_match == 0 && src_match == 0) { PACKET_COUNT ++; if (BUFFER_COUNT > 0) { BUFFER_COUNT --; } else if (PACKET_COUNT % PACKET_LOSS_MODULUS == 0) { PACKET_DROP_COUNT ++; int SEQ_NO = hdr_tcp::access(p)->seqno(); fprintf(stdout, "at node %d; packet type = %d; counted = %d; dropped = %d ; seq_no = %d \n", index_, PACKET_TYPE, PACKET_COUNT, PACKET_DROP_COUNT, SEQ_NO); //drop(p); discard(p, DROP_MAC_BUSY); // using some dummy constant as "why" return; } } /* * End my code * */ From ssakthivel85 at gmail.com Wed Feb 6 09:27:25 2008 From: ssakthivel85 at gmail.com (Sakthivel Subramanian) Date: Wed, 6 Feb 2008 22:57:25 +0530 Subject: [ns] C++ and tcl linkage Message-ID: <8f98fbc00802060927w5b00ec14n5bf2e5713d3445b8@mail.gmail.com> Hi I am Sakthivel from Hindustan college of engineering.I saw your presentations about ns2 simulator in the internet.I am doing networking project. The title is "A New Inter-domain routing architecture".For that I need to use ns2 simulator. I have installed ns2 simulator in windows XP successfully.Then i saw some simple tcl script programs from your presentation as well as from the internet. Is it possible to define protocol in front end ie., TCL script itself. As for as backend is concerned we have to use C++ coding. If we define routing protocol in C++ then how can we connect C++ and TCL . Then what is use for OTCL. Is it possible for simulating this kind of project which use routing protocol.. Give some examples which uses both C++ as well as TCL. Please help us.. Thanks S.SAKTHIVEL From juanmagoga at hotmail.com Wed Feb 6 10:49:28 2008 From: juanmagoga at hotmail.com (juan manuel gomez garcia) Date: Wed, 6 Feb 2008 19:49:28 +0100 Subject: [ns] sleep node Message-ID: Hi ns_users: I want to sleep some nodes in my simulations. How I can do it? I don't understand what is "T_sleep_". Please help me. Thank you. _________________________________________________________________ MSN Video. http://video.msn.com/?mkt=es-es From ipetrov181 at yahoo.com Wed Feb 6 10:52:02 2008 From: ipetrov181 at yahoo.com (Ivan Petrov) Date: Wed, 6 Feb 2008 10:52:02 -0800 (PST) Subject: [ns] ns2 extension files for MIP Message-ID: <968025.21890.qm@web51912.mail.re2.yahoo.com> Hi to all Please give me instructions where to find extension modules MIPv4, MIPv6, HMIPv6, FHMIPv6 and S-MIP for any ns version. I hope that it is possible somehow to incorporate all of them in one ns simulator. Regards --------------------------------- Never miss a thing. Make Yahoo your homepage. From juanmagoga at hotmail.com Wed Feb 6 11:17:24 2008 From: juanmagoga at hotmail.com (juan manuel gomez garcia) Date: Wed, 6 Feb 2008 20:17:24 +0100 Subject: [ns] sleepTime parameter Message-ID: Hi: Could anyone explain me what is sleepTime parameter in the node_config procedure?. Please, what is its default value? Thank you. _________________________________________________________________ MSN Noticias http://noticias.msn.es/comunidad.aspx From bachar.wehbi at int-edu.eu Wed Feb 6 11:58:36 2008 From: bachar.wehbi at int-edu.eu (Bachar Wehbi) Date: Wed, 06 Feb 2008 20:58:36 +0100 Subject: [ns] Mac 802.11 interface queue length Message-ID: <47AA116C.8060100@int-edu.eu> Hello, I'm using NS2.31 to implement some modifications to the mac-802.11 code. I need to check the length of the mac interface queue in Mac802_11 class. In the "Queue" class there is a function "length()" that gives the number of packets in the queue. However I'm not seeing how to use it from the Mac-802_11 class. Any suggestions please? Thanks in advance, Bach From fauzan at ui.edu Wed Feb 6 18:30:28 2008 From: fauzan at ui.edu (Fauzan Zaini) Date: Thu, 07 Feb 2008 09:30:28 +0700 Subject: [ns] How to Add BS in EURANE? Message-ID: <20080207093028.2na08bgu80g8o8s4@webmail.ui.edu> Dear All, Is there anybody using EURANE Module actively? I'd like to know how to add more Base Station (BS) in EURANE Module. I would appreciate if you kindly share it with me. Need lot of things to do for my thesis. Thanks a lot for your kind help :) Regards, Fauzan ---------------------------------------------------------------- This email was sent by IMP Webmail System Universitas Indonesia - www.ui.edu From samaneh_rastegari at yahoo.com Wed Feb 6 19:37:45 2008 From: samaneh_rastegari at yahoo.com (samaneh rastegari) Date: Wed, 6 Feb 2008 19:37:45 -0800 (PST) Subject: [ns] DNS traffic application Message-ID: <420780.37870.qm@web36513.mail.mud.yahoo.com> Hi, I need to simulate the DNS behaviors in order to generate a big dataset of DNS traffic (both request and responses). As I know DNS is based on UDP protocol so should I produce a new traffic application that uses the UDP protocol like CBR traffic? Is there anyone tried to simulate DNS resolving process including these components: Client --> resolver --> cache server --> authoritative server Thanks, Samaneh --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From samaneh_rastegari at yahoo.com Wed Feb 6 22:57:33 2008 From: samaneh_rastegari at yahoo.com (samaneh rastegari) Date: Wed, 6 Feb 2008 22:57:33 -0800 (PST) Subject: [ns] defining DNS packets Message-ID: <610955.50063.qm@web36511.mail.mud.yahoo.com> Hi, We have different types of packet for example CBR, Video, Message, Request ... I want to define a new packet type for DNS packets. Can anyone tell me where I can define this new type as ns-2 doesn't have this type in its list? Thanks, Samaneh --------------------------------- Never miss a thing. Make Yahoo your homepage. From gkioumou at gmail.com Wed Feb 6 23:59:06 2008 From: gkioumou at gmail.com (GEORGIOS KIOUMOURTZIS) Date: Thu, 7 Feb 2008 08:59:06 +0100 Subject: [ns] PGMCC source code Message-ID: <2c92d6790802062359o38c4b2e9u17cfa1caa34b438@mail.gmail.com> Hey all Has anyone worked on PGMCC (Pragmatic General Multicast Congestion Control) simulations? please let me now as I need to integrate the code into a newer ns2 version best regards -- Georgios Kioumourtzis,MSc Computer Engineering and Informatics Department University of Patras, Greece alt email: gkioumou at ceid.upatras.gr URL:http://gkioumou.googlepages.com/home From gprabhu at tce.edu Thu Feb 7 00:12:23 2008 From: gprabhu at tce.edu (gprabhu@tce.edu) Date: Thu, 7 Feb 2008 13:42:23 +0530 (IST) Subject: [ns] Anyone is having Trust calculation code for DSR protocol? Message-ID: <60702.203.129.194.20.1202371943.squirrel@mail.tce.edu> Hi, Is anyone having the trust value calculation code for DSR protocol. If yes please send me and also the URL Thank you, ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) From blackcpzhang at ustc.edu Thu Feb 7 00:29:44 2008 From: blackcpzhang at ustc.edu (blackz) Date: Thu, 7 Feb 2008 00:29:44 -0800 (PST) Subject: [ns] Problem of ARF Simulation Message-ID: <15222177.post@talk.nabble.com> Hello, everyone. I encounter a problem when I simulate the ARF algorithm in NS2 with dei80211mr patch. I have installed ns-allinone-2.31 and dei80211mr patch upon ubuntu 7.10, and excuted adhoc_tcp.tcl and infrastruct_rate_adaptation.tcl successfully. But when I try to implement ARF in adhoc_tcp.tcl, there are seg faults in some scenarios. I add following codes to adhoc_tcp.tclto implement ARF: set ra($i) [new RateAdapter/ARF] $ra($i) attach2mac $mac($i) $ra($i) use80211g $ra($i) setmodeatindex 0 These codes are added in the block of agents configuring for all nodes in adhoc_tcp.tcl. When I set numUserPairs to 4 or 7, there are seg faults and the trace file is empty. When I set numUserPairs to 5 or 6, the simulation can be executed successfully. I also try to set numUserPairs and XMAX to other values, but seg faults always appear in some scenarios. I hope I can simulate ARF in WLANs when the number of nodes in WLAN is from 1 to 40 or 50 for every scenarios. But I encounter the above problem, and didn't find the solution in the mailing list. Could you tell me how to find the answers or what's wrong with my simulation? Thank you very much! Sincerely, Chunpeng 08.2.11 -- View this message in context: http://www.nabble.com/Problem-of-ARF-Simulation-tp15222177p15222177.html Sent from the ns-users mailing list archive at Nabble.com. From mugesh_2585 at yahoo.co.in Thu Feb 7 00:44:32 2008 From: mugesh_2585 at yahoo.co.in (mugesh_2585) Date: Thu, 7 Feb 2008 00:44:32 -0800 (PST) Subject: [ns] how to run wf2q-queue ? Message-ID: <15329524.post@talk.nabble.com> i got the coding from net...... what are all procedure i have to follow to run wf2q instead of droptail. if any one know plzzzzzz send me -- View this message in context: http://www.nabble.com/how-to-run-wf2q-queue---tp15329524p15329524.html Sent from the ns-users mailing list archive at Nabble.com. From zawtun78 at gmail.com Thu Feb 7 01:08:47 2008 From: zawtun78 at gmail.com (Zaw Tun) Date: Thu, 7 Feb 2008 01:08:47 -0800 (PST) Subject: [ns] time of RREQ and RREP Message-ID: <15329850.post@talk.nabble.com> Roughly, In AODV routing protocol,if a source want to start communicate, it will check a route cache to determine whether the route already exist or not. If the route expired or don't exist, then they will initiate a route discovery process by broadcasting a RREQ. Then the neighbors will forward the RREQ to another node untill it reach the destination. The destination then response with RREP and send back to the source. Once the source received RREP, the communication will start. The algorithm also involves updating routing table, set timer,accumulating the address of each node between source and destination, rejecting a loop route and etc. How can we know the route request time and route reply time? Can we know the number of neighbors in this protocol? -- View this message in context: http://www.nabble.com/time-of-RREQ-and-RREP-tp15329850p15329850.html Sent from the ns-users mailing list archive at Nabble.com. From abdeljaouad at gmail.com Thu Feb 7 01:29:04 2008 From: abdeljaouad at gmail.com (Imad Abdeljaouad) Date: Thu, 7 Feb 2008 09:29:04 +0000 Subject: [ns] Fwd: NS2 EURANE & Evalvid In-Reply-To: <8e20d47b0802060108r61479482kcbbdb2658aa41ebe@mail.gmail.com> References: <8e20d47b0802060108r61479482kcbbdb2658aa41ebe@mail.gmail.com> Message-ID: <8e20d47b0802070129wd067b30l236ee5f9b763d67@mail.gmail.com> Hi All, I have been getting some emails about integrating NS2 , EURANE and Evalvid (for simulating video streaming over UMTS networks), so I decided to write a small document and I hope it will be of help. You will also find the sample TCL script. I strongly recommend reading about EURANE and Evalvid and trying each one separatly to gain knowledge and make sure they are working by themselves before joing them together. You can still send me an email if you need further help but PLEASE make sure you go over this tutorial and do readings first. Good luck to all of you, ____________________________________________________________________ How to integrate NS2, EURANE and Evalvid, by Imad Abdeljaouad ( abdeljaouad at gmail dot com ) After installing ns2 (ns2.30) and applying the EURANE patch, proceed with the following: Follow the steps in: http://140.116.72.80/~smallko/ns2/myevalvid2.htm (The most important step is to include the 'mympeg' directory and recompile ns2). After that you can test with the script on the same page to see if evalvid is working for wired links. Next open the file mytraffictrace2.cc and comment the following: if(f_==1){ agent_->set_prio(10); }else if(f_==2){ agent_->set_prio(11); }else if(f_==3){ agent_->set_prio(12); }else { agent_->set_prio(f_); } Then re-compile ns2 and make your TCL file and run it. It should work now. Commenting these lines change the priority of each packet based on the frame type it is carrying: I --> priority 1 , P --> 2, B --> 3 but there is a priority field for each flow in EURANE, so doing this messes up the priority/flow buffers of EURANE. So you have to assume that packets of same flow have the same priority. After creating the video file using the different tools as described in the previous link, you have to follow steps in that tutorial in order to make the sender trace. Before that, make sure you open the sender trace and change entries labeled 'H' by 'I' (You can do that by editing the file and replacing the letter H by the letter I). Then you can start your simulation and move to the evaluation process and calculate the different QoS parameters as well as reconstruct the received video. I recommend that you use Evalvid on wired links first and make sure it works. Then use EURANE with some traffic like CBR and make sure it works. After that, you can try using both of them along. If the simulation runs successfully but the receiver trace is empty, then this is a bug in EURANE where packets are not delivered to the destination application when using UM or UM-hs RLC modes, Follow instructions in this thread: http://mailman.isi.edu/pipermail/ns-users/2005-May/049765.html to solve the problem. Useful link: http://www.tkn.tu-berlin.de/research/evalvid/EvalVid/docevalvid.html TCL file for 5 users (5 streaming servers streaming to 5 User Equipments): /*****************************************************************/ set ns [new Simulator] set f [open out.tr w] #$ns trace-all $f proc finish {} { global ns global f # $ns flush-trace close $f puts " Simulation ended." exit 0 } set max_fragmented_size 1024 set packetSize 1052 $ns node-config -UmtsNodeType rnc # Node address is 0. set rnc [$ns create-Umtsnode] $ns node-config -UmtsNodeType bs \ -downlinkBW 32kbs \ -downlinkTTI 10ms \ -uplinkBW 32kbs \ -uplinkTTI 10ms \ -hs_downlinkTTI 2ms \ -hs_downlinkBW 64kbs \ # Node address is 1. set bs [$ns create-Umtsnode] # Interface between RNC and BS $ns setup-Iub $bs $rnc 622Mbit 622Mbit 15ms 15ms DummyDropTail 2000 $ns node-config -UmtsNodeType ue \ -baseStation $bs \ -radioNetworkController $rnc set ue1 [$ns create-Umtsnode] set ue2 [$ns create-Umtsnode] set ue3 [$ns create-Umtsnode] set ue4 [$ns create-Umtsnode] set ue5 [$ns create-Umtsnode] set ue6 [$ns create-Umtsnode] # Node address for sgsn0 and ggsn0 is 6 and 7, respectively. set sgsn0 [$ns node] set ggsn0 [$ns node] set node1 [$ns node] set node2 [$ns node] set node3 [$ns node] set node4 [$ns node] set node5 [$ns node] set node6 [$ns node] # Connections between fixed network nodes $ns duplex-link $rnc $sgsn0 622Mbit 0.4ms DropTail 1000 $ns duplex-link $sgsn0 $ggsn0 622MBit 10ms DropTail 1000 $ns duplex-link $ggsn0 $node1 622MBit 15ms DropTail 1000 $ns duplex-link $node1 $node2 100MBit 35ms DropTail 1000 $ns duplex-link $node1 $node3 100MBit 35ms DropTail 1000 $ns duplex-link $node1 $node4 100MBit 35ms DropTail 1000 $ns duplex-link $node1 $node5 100MBit 35ms DropTail 1000 $ns duplex-link $node1 $node6 100MBit 35ms DropTail 1000 # Routing gateway $rnc add-gateway $sgsn0 # Agent set-up for ue1 set myUDP0 [new Agent/myUDP] $myUDP0 set fid_ 0 $myUDP0 set packetSize_ $packetSize $myUDP0 set_filename sd_a00 # Agent set-up for ue2 set myUDP1 [new Agent/myUDP] $myUDP1 set fid_ 1 $myUDP1 set packetSize_ $packetSize $myUDP1 set_filename sd_a01 # Agent set-up for ue3 set myUDP2 [new Agent/myUDP] $myUDP2 set fid_ 2 $myUDP2 set packetSize_ $packetSize $myUDP2 set_filename sd_a02 # Agent set-up for ue4 set myUDP3 [new Agent/myUDP] $myUDP3 set fid_ 3 $myUDP3 set packetSize_ $packetSize $myUDP3 set_filename sd_a03 # Agent set-up for ue5 set myUDP4 [new Agent/myUDP] $myUDP4 set fid_ 4 $myUDP4 set packetSize_ $packetSize $myUDP4 set_filename sd_a04 # Attach agents to a common fixed node $ns attach-agent $node2 $myUDP0 $ns attach-agent $node3 $myUDP1 $ns attach-agent $node4 $myUDP2 $ns attach-agent $node5 $myUDP3 $ns attach-agent $node6 $myUDP4 # Create and attach NULLs set myUdpSink20 [new Agent/myUdpSink2] $myUdpSink20 set fid_ 0 $ns attach-agent $ue1 $myUdpSink20 $myUdpSink20 set_trace_filename rd_a00 set myUdpSink21 [new Agent/myUdpSink2] $myUdpSink21 set fid_ 1 $ns attach-agent $ue2 $myUdpSink21 $myUdpSink21 set_trace_filename rd_a01 set myUdpSink22 [new Agent/myUdpSink2] $myUdpSink22 set fid_ 2 $ns attach-agent $ue3 $myUdpSink22 $myUdpSink22 set_trace_filename rd_a02 set myUdpSink23 [new Agent/myUdpSink2] $myUdpSink23 set fid_ 3 $ns attach-agent $ue4 $myUdpSink23 $myUdpSink23 set_trace_filename rd_a03 set myUdpSink24 [new Agent/myUdpSink2] $myUdpSink24 set fid_ 4 $ns attach-agent $ue5 $myUdpSink24 $myUdpSink24 set_trace_filename rd_a04 # Connect NULLs to rtp agents $ns connect $myUDP0 $myUdpSink20 $ns connect $myUDP1 $myUdpSink21 $ns connect $myUDP2 $myUdpSink22 $ns connect $myUDP3 $myUdpSink23 $ns connect $myUDP4 $myUdpSink24 #############MPEG##################### set original_file_name0 st_a00 set original_file_name1 st_a01 set original_file_name2 st_a02 set original_file_name3 st_a03 set original_file_name4 st_a04 set trace_file_name0 video1.dat set trace_file_name1 video2.dat set trace_file_name2 video3.dat set trace_file_name3 video4.dat set trace_file_name4 video5.dat set original_file_id0 [open $original_file_name0 r] set original_file_id1 [open $original_file_name1 r] set original_file_id2 [open $original_file_name2 r] set original_file_id3 [open $original_file_name3 r] set original_file_id4 [open $original_file_name4 r] set trace_file_id0 [open $trace_file_name0 w] set trace_file_id1 [open $trace_file_name1 w] set trace_file_id2 [open $trace_file_name2 w] set trace_file_id3 [open $trace_file_name3 w] set trace_file_id4 [open $trace_file_name4 w] set frame_count0 0 set frame_count1 0 set frame_count2 0 set frame_count3 0 set frame_count4 0 while {[eof $original_file_id0] == 0} { gets $original_file_id0 current_line scan $current_line "%d%s%d%s%s%s%d%s" no_ frametype_ length_ tmp1_ tmp2_ tmp3_ tmp4_ tmp5_ #puts "$no_ $frametype_ $length_ $tmp1_ $tmp2_ $tmp3_ $tmp4_ $tmp5_" # 30 frames/sec. if one want to generate 25 frames/sec, one can use set time [expr 1000*1000/25] set time [expr 1000 * 1000/30] if { $frametype_ == "I" } { set type_v 1 } if { $frametype_ == "P" } { set type_v 2 } if { $frametype_ == "B" } { set type_v 3 } if { $frametype_ == "H" } { set type_v 1 } puts $trace_file_id0 "$time $length_ $type_v $max_fragmented_size" incr frame_count0 } while {[eof $original_file_id1] == 0} { gets $original_file_id1 current_line scan $current_line "%d%s%d%s%s%s%d%s" no_ frametype_ length_ tmp1_ tmp2_ tmp3_ tmp4_ tmp5_ #puts "$no_ $frametype_ $length_ $tmp1_ $tmp2_ $tmp3_ $tmp4_ $tmp5_" # 30 frames/sec. if one want to generate 25 frames/sec, one can use set time [expr 1000*1000/25] set time [expr 1000 * 1000/30] if { $frametype_ == "I" } { set type_v 1 } if { $frametype_ == "P" } { set type_v 2 } if { $frametype_ == "B" } { set type_v 3 } if { $frametype_ == "H" } { set type_v 1 } puts $trace_file_id1 "$time $length_ $type_v $max_fragmented_size" incr frame_count1 } while {[eof $original_file_id2] == 0} { gets $original_file_id2 current_line scan $current_line "%d%s%d%s%s%s%d%s" no_ frametype_ length_ tmp1_ tmp2_ tmp3_ tmp4_ tmp5_ #puts "$no_ $frametype_ $length_ $tmp1_ $tmp2_ $tmp3_ $tmp4_ $tmp5_" # 30 frames/sec. if one want to generate 25 frames/sec, one can use set time [expr 1000*1000/25] set time [expr 1000 * 1000/30] if { $frametype_ == "I" } { set type_v 1 } if { $frametype_ == "P" } { set type_v 2 } if { $frametype_ == "B" } { set type_v 3 } if { $frametype_ == "H" } { set type_v 1 } puts $trace_file_id2 "$time $length_ $type_v $max_fragmented_size" incr frame_count2 } while {[eof $original_file_id3] == 0} { gets $original_file_id3 current_line scan $current_line "%d%s%d%s%s%s%d%s" no_ frametype_ length_ tmp1_ tmp2_ tmp3_ tmp4_ tmp5_ #puts "$no_ $frametype_ $length_ $tmp1_ $tmp2_ $tmp3_ $tmp4_ $tmp5_" # 30 frames/sec. if one want to generate 25 frames/sec, one can use set time [expr 1000*1000/25] set time [expr 1000 * 1000/30] if { $frametype_ == "I" } { set type_v 1 } if { $frametype_ == "P" } { set type_v 2 } if { $frametype_ == "B" } { set type_v 3 } if { $frametype_ == "H" } { set type_v 1 } puts $trace_file_id3 "$time $length_ $type_v $max_fragmented_size" incr frame_count3 } while {[eof $original_file_id4] == 0} { gets $original_file_id4 current_line scan $current_line "%d%s%d%s%s%s%d%s" no_ frametype_ length_ tmp1_ tmp2_ tmp3_ tmp4_ tmp5_ #puts "$no_ $frametype_ $length_ $tmp1_ $tmp2_ $tmp3_ $tmp4_ $tmp5_" # 30 frames/sec. if one want to generate 25 frames/sec, one can use set time [expr 1000*1000/25] set time [expr 1000 * 1000/30] if { $frametype_ == "I" } { set type_v 1 } if { $frametype_ == "P" } { set type_v 2 } if { $frametype_ == "B" } { set type_v 3 } if { $frametype_ == "H" } { set type_v 1 } puts $trace_file_id4 "$time $length_ $type_v $max_fragmented_size" incr frame_count4 } close $original_file_id0 close $original_file_id1 close $original_file_id2 close $original_file_id3 close $original_file_id4 close $trace_file_id0 close $trace_file_id1 close $trace_file_id2 close $trace_file_id3 close $trace_file_id4 set end_sim_time0 [expr 1.0 * 1000/30 * ($frame_count0 + 1) / 1000] set end_sim_time1 [expr 1.0 * 1000/30 * ($frame_count1 + 1) / 1000] set end_sim_time2 [expr 1.0 * 1000/30 * ($frame_count2 + 1) / 1000] set end_sim_time3 [expr 1.0 * 1000/30 * ($frame_count3 + 1) / 1000] set end_sim_time4 [expr 1.0 * 1000/30 * ($frame_count4 + 1) / 1000] puts "$end_sim_time0" puts "$end_sim_time1" puts "$end_sim_time2" puts "$end_sim_time3" puts "$end_sim_time4" #############MPEG##################### set trace_file0 [new Tracefile] $trace_file0 filename $trace_file_name0 set trace_file1 [new Tracefile] $trace_file1 filename $trace_file_name1 set trace_file2 [new Tracefile] $trace_file2 filename $trace_file_name2 set trace_file3 [new Tracefile] $trace_file3 filename $trace_file_name3 set trace_file4 [new Tracefile] $trace_file4 filename $trace_file_name4 set trace_file5 [new Tracefile] # Create and connect four applications to their agent set video0 [new Application/Traffic/myTrace2] $video0 attach-agent $myUDP0 $video0 attach-tracefile $trace_file0 set video1 [new Application/Traffic/myTrace2] $video1 attach-agent $myUDP1 $video1 attach-tracefile $trace_file1 set video2 [new Application/Traffic/myTrace2] $video2 attach-agent $myUDP2 $video2 attach-tracefile $trace_file2 set video3 [new Application/Traffic/myTrace2] $video3 attach-agent $myUDP3 $video3 attach-tracefile $trace_file3 set video4 [new Application/Traffic/myTrace2] $video4 attach-agent $myUDP4 $video4 attach-tracefile $trace_file4 $ns node-config -llType UMTS/RLC/UM \ -downlinkBW 64kbs \ -uplinkBW 64kbs \ -downlinkTTI 20ms \ -uplinkTTI 20ms \ -hs_downlinkTTI 2ms \ -hs_downlinkBW 64kbs UMTS/RLC/UMHS set macDA_ -1 UMTS/RLC/UMHS set win_ 1024 UMTS/RLC/UMHS set temp_pdu_timeout_time 2ms UMTS/RLC/UMHS set credit_allocation_interval_ 30ms UMTS/RLC/UMHS set flow_max_ 20 UMTS/RLC/UMHS set priority_max_ 5 UMTS/RLC/UMHS set buffer_level_max_ 500 UMTS/RLC/UMHS set payload_ 40 UMTS/RLC/UMHS set TTI_ 2ms UMTS/RLC/UMHS set length_indicator_ 7 UMTS/RLC/UMHS set min_concat_data_ 3 Mac/Hsdpa set delay_ 10us Mac/Hsdpa set TTI_ 2ms Mac/Hsdpa set flow_max_ 20 Mac/Hsdpa set priority_max_ 5 Mac/Hsdpa set reord_buf_size_ 64 Mac/Hsdpa set stall_timer_delay_ 25ms Mac/Hsdpa set credit_allocation_interval_ 15 Mac/Hsdpa set flow_control_mode_ 1 Mac/Hsdpa set flow_control_rtt_ 30ms Mac/Hsdpa set mac_mac_hs_buffer_level 250 Mac/Hsdpa set scheduler_type_ 3 Mac/Hsdpa set alpha_ 1 Mac/Hsdpa set mac_hs_headersize_ 21 # Configure HARQ Parameters Mac/Hsdpa set nr_harq_rtx_ 3 Mac/Hsdpa set nr_harq_processes_ 6 Mac/Hsdpa set ack_process_delay_ 15us # Create HS-DSCH and attach null agent for ue1 $ns create-hsdsch $ue1 $myUdpSink20 # Attach rtp agents for ue2 ue3 and ue4 to existing HS-DSCH $ns attach-hsdsch $ue2 $myUdpSink21 $ns attach-hsdsch $ue3 $myUdpSink22 $ns attach-hsdsch $ue4 $myUdpSink23 $ns attach-hsdsch $ue5 $myUdpSink24 #Loads input tracefiles for each UE, identified by its fid_ $bs setErrorTrace 0 "Ray_corr-3kmh-200m-850s-UEnr1" $bs setErrorTrace 1 "Ray_corr-3kmh-200m-850s-UEnr2" $bs setErrorTrace 2 "Ray_corr-3kmh-200m-850s-UEnr3" $bs setErrorTrace 3 "Ray_corr-3kmh-200m-850s-UEnr4" $bs setErrorTrace 4 "Ray_corr-3kmh-200m-850s-UEnr5" # Load BLER lookup table from file SNRBLERMatrix $bs loadSnrBlerMatrix "SNRBLERMatrix" # Tracing for all HSDPA traffic in downtarget $rnc trace-inlink $f 0 $bs trace-outlink $f 2 # UE1 Tracing $ue1 trace-inlink $f 2 $ue1 trace-outlink $f 3 $bs trace-inlink $f 3 # UE2 Tracing $ue2 trace-inlink $f 2 $ue2 trace-outlink $f 3 $bs trace-inlink $f 4 # UE3 Tracing $ue3 trace-inlink $f 2 $ue3 trace-outlink $f 3 $bs trace-inlink $f 5 # UE4 Tracing $ue4 trace-inlink $f 2 $ue4 trace-outlink $f 3 $bs trace-inlink $f 6 # UE5 Tracing $ue5 trace-inlink $f 2 $ue5 trace-outlink $f 3 $bs trace-inlink $f 7 $ns at 0.0 "$video0 start" $ns at 0.0 "$video1 start" $ns at 0.0 "$video2 start" $ns at 0.0 "$video3 start" $ns at 0.0 "$video4 start" $ns at $end_sim_time0 "$video0 stop" $ns at $end_sim_time1 "$video1 stop" $ns at $end_sim_time2 "$video2 stop" $ns at $end_sim_time3 "$video3 stop" $ns at $end_sim_time4 "$video4 stop" $ns at [expr $end_sim_time0 + 1.0] "$myUdpSink20 closefile" $ns at [expr $end_sim_time1 + 1.0] "$myUdpSink21 closefile" $ns at [expr $end_sim_time2 + 1.0] "$myUdpSink22 closefile" $ns at [expr $end_sim_time3 + 1.0] "$myUdpSink23 closefile" $ns at [expr $end_sim_time4 + 1.0] "$myUdpSink24 closefile" $ns at [expr $end_sim_time0 + 1.0] "finish" puts " Simulation is running ... please wait ..." $ns run /*****************************************************************/ ffmpeg is an open source tool for converting football.divx to football.m4v(MPEG4): ./ffmpeg -s qcif -vcodec mpeg4 -r 30 -b 64 -g 30 -bf 2 -i football.divx football.m4v MP4BOX is for hinting the video track: ./MP4Box -hint -mtu 1024 -fps 30 -add football.m4v football.mp4 Mp4trace is for creating the sender trace (st_a00): ./mp4trace -f -s 192.168.0.2 12346 football.mp4 > st_a00 (the program mp4trace marks 'I' frames as 'H' instead of 'I', just open the output file st_a00 and replace 'H' by 'I' so as to have good results after the simulation) Run the TCL Script: ns mympeg.tcl Change missing frames by 0: ./etmp4 -p -0 sd_a00 rd_a00 st_a00 football.mp4 a00e ./etmp4 -p -0 sd_a01 rd_a01 st_a01 football.mp4 a01e ./etmp4 -p -0 sd_a02 rd_a02 st_a02 football.mp4 a02e ./etmp4 -p -0 sd_a03 rd_a03 st_a03 football.mp4 a03e Change missing frames by trancating: ( if -f does not work, try -p) ./etmp4 -p -x sd_a00 rd_a00 st_a00 football.mp4 a00ex ./etmp4 -p -x sd_a01 rd_a01 st_a01 football.mp4 a01ex ./etmp4 -p -x sd_a02 rd_a02 st_a02 football.mp4 a02ex ./etmp4 -p -x sd_a03 rd_a03 st_a03 football.mp4 a03ex Calculate PSNR: ./psnr 176 144 420 football.mp4 a00e.mp4 > psnr_output0 ./psnr 176 144 420 football.mp4 a01e.mp4 > psnr_output1 ./psnr 176 144 420 football.mp4 a02e.mp4 > psnr_output2 ./psnr 176 144 420 football.mp4 a03e.mp4 > psnr_output3 Those tools are available on the useful link above. /*****************************************************************/ -- best regards, ________________________ Imad Abdeljaouad From joaomateiro at av.it.pt Thu Feb 7 03:57:10 2008 From: joaomateiro at av.it.pt (=?ISO-8859-1?Q?Jo=E3o?= Mateiro) Date: Thu, 07 Feb 2008 11:57:10 +0000 Subject: [ns] Centralized Multicast - SSM Message-ID: <1202385430.6161.2.camel@jm-laptop> Hi, Does anyone have o tcl example with Centralized Multicast? set mproto CtrMcast set mrthandle [$ns mrtproto $mproto] Please send me a copy. Thanks From zhang.66 at wright.edu Thu Feb 7 09:25:34 2008 From: zhang.66 at wright.edu (tao zhang) Date: Thu, 7 Feb 2008 12:25:34 -0500 Subject: [ns] Is there anyone familiar with NOAH? In-Reply-To: <94d4cc070802070846k5f430a35g27e0ff4643c5bde4@mail.gmail.com> References: <94d4cc070802070846k5f430a35g27e0ff4643c5bde4@mail.gmail.com> Message-ID: <94d4cc070802070925u1db54aajdb4eda8f561e86dc@mail.gmail.com> Hi, I am a newbie about NS2. I want to implement a scenario that a mobile host can access different base station when it is in the different location. I need some documents and codes about NOAH + wlan. Of course, I am very glad to hear any advice. Your help will be highly appreciated! Thank you. -- Tao From ipetrov181 at yahoo.com Thu Feb 7 09:39:22 2008 From: ipetrov181 at yahoo.com (Ivan Petrov) Date: Thu, 7 Feb 2008 09:39:22 -0800 (PST) Subject: [ns] ns2 extension files for MIP In-Reply-To: <968025.21890.qm@web51912.mail.re2.yahoo.com> Message-ID: <656357.33174.qm@web51909.mail.re2.yahoo.com> Hi to all Please give me instructions where to find extension modules MIPv4, MIPv6, HMIPv6, FHMIPv6 and S-MIP for any ns version. I hope that it is possible somehow to incorporate all of them in one ns simulator. Regards --------------------------------- Never miss a thing. Make Yahoo your homepage. --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. From tommaso.balercia at googlemail.com Thu Feb 7 12:08:22 2008 From: tommaso.balercia at googlemail.com (Tommaso Balercia) Date: Thu, 7 Feb 2008 21:08:22 +0100 Subject: [ns] Patch EURANE ns-2.31 Message-ID: <001201c869c5$31719420$1e02a8c0@dharma> I worked on a EURANE patch for ns-2.31. If anybody is interested and is in touch with the EURANE guys, I've no problems in making it publicly available on the site. I apologize for posting here and not on the EURANE mailing list, but my request to subscribe to the latter remained unanswered. Kind regards, Tommaso Balercia From t.balercia at gmail.com Thu Feb 7 14:06:19 2008 From: t.balercia at gmail.com (Tommaso Balercia) Date: Thu, 7 Feb 2008 23:06:19 +0100 Subject: [ns] Patch EURANE ns-2.31 Message-ID: <000001c869d5$ac6ffcb0$1e02a8c0@dharma> I worked on a EURANE patch for ns-2.31. If anybody is interested and is in touch with the EURANE guys, I?ve no problems in making it publicly available on the site. I apologize for posting here and not on the EURANE mailing list, but my request to subscribe to the latter remained unanswered. ? Kind regards, Tommaso Balercia From tommaso.balercia at googlemail.com Thu Feb 7 14:17:10 2008 From: tommaso.balercia at googlemail.com (Tommaso Balercia) Date: Thu, 7 Feb 2008 23:17:10 +0100 Subject: [ns] Patch EURANE ns-2.31 Message-ID: <000601c869d7$2f72d8c0$1e02a8c0@dharma> I worked on a EURANE patch for ns-2.31. If anybody is interested and is in touch with the EURANE guys, I?ve no problems in making it publicly available on the site. I apologize for posting here and not on the EURANE mailing list, but my request to subscribe to the latter remained unanswered. ? Kind regards, Tommaso Balercia From contact.joarder at yahoo.com Thu Feb 7 17:38:52 2008 From: contact.joarder at yahoo.com (Mustafa Kamal) Date: Thu, 7 Feb 2008 17:38:52 -0800 (PST) Subject: [ns] Patch EURANE ns-2.31 In-Reply-To: <001201c869c5$31719420$1e02a8c0@dharma> Message-ID: <641981.41403.qm@web45612.mail.sp1.yahoo.com> Hi, I have also working with the UTRAN/UMTS extension and EURANE as well. My focus is to develop a complete UMTS Release 6 (HSDPA) extension for ns-2.32. And thus I have started from the scratch. If you can send me the patch/the necessary files it will be very much helpful. I have already printed out both the UTRAN/UMTS docs and EURANE two pdf manuals for studying. So, it will be very much helpful if can guide me someway. Thanks in advance. Bye. Tommaso Balercia wrote: I worked on a EURANE patch for ns-2.31. If anybody is interested and is in touch with the EURANE guys, I've no problems in making it publicly available on the site. I apologize for posting here and not on the EURANE mailing list, but my request to subscribe to the latter remained unanswered. Kind regards, Tommaso Balercia --------------------------------- Never miss a thing. Make Yahoo your homepage. From contact.joarder at yahoo.com Thu Feb 7 18:03:43 2008 From: contact.joarder at yahoo.com (Mustafa Kamal) Date: Thu, 7 Feb 2008 18:03:43 -0800 (PST) Subject: [ns] UMTS Extension for NS2 Message-ID: <517709.61172.qm@web45602.mail.sp1.yahoo.com> Hi, I have also working with the UTRAN/UMTS extension and EURANE as well. My focus is to develop a complete UMTS Release 6 (HSDPA) extension for ns-2.32. And thus I have started from the scratch. If you can send me the patch/the necessary files it will be very much helpful. I have already printed out both the UTRAN/UMTS docs and EURANE two pdf manuals for studying. So, it will be very much helpful if can guide me someway. Thanks in advance. Bye. --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From abdeljaouad at gmail.com Fri Feb 8 01:04:34 2008 From: abdeljaouad at gmail.com (Imad Abdeljaouad) Date: Fri, 8 Feb 2008 09:04:34 +0000 Subject: [ns] How to Add BS in EURANE? (Fauzan Zaini) Message-ID: <8e20d47b0802080104j6c203f35j79d680b23e0153bf@mail.gmail.com> Dear Fauzan, I don't know about this but did you try adding a normal BS node like this: $ns node-config -UmtsNodeType bs \ -downlinkBW 32kbs \ -downlinkTTI 10ms \ -uplinkBW 32kbs \ -uplinkTTI 10ms \ -hs_downlinkTTI 2ms \ -hs_downlinkBW 64kbs \ set bs1 [$ns create-Umtsnode] $ns node-config -UmtsNodeType bs \ -downlinkBW 32kbs \ -downlinkTTI 10ms \ -uplinkBW 32kbs \ -uplinkTTI 10ms \ -hs_downlinkTTI 2ms \ -hs_downlinkBW 64kbs \ set bs2 [$ns create-Umtsnode] But before, check the eurane user guide for that possibility. I know that there is support for single cell environment only but I don't know about how many BSs you can put ! Good luck, Message: 1 > Date: Thu, 07 Feb 2008 09:30:28 +0700 > From: Fauzan Zaini > Subject: [ns] How to Add BS in EURANE? > To: ns-users at ISI.EDU > Message-ID: <20080207093028.2na08bgu80g8o8s4 at webmail.ui.edu> > Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; > format="flowed" > > Dear All, > > Is there anybody using EURANE Module actively? I'd like to know how to > add more Base Station (BS) in EURANE Module. I would appreciate if you > kindly share it with me. Need lot of things to do for my thesis. > > Thanks a lot for your kind help :) > > Regards, > Fauzan > > > ---------------------------------------------------------------- > This email was sent by IMP Webmail System > Universitas Indonesia - www.ui.edu > From mohamedsabry83 at hotmail.com Fri Feb 8 14:07:52 2008 From: mohamedsabry83 at hotmail.com (mohamed Sabry) Date: Fri, 8 Feb 2008 22:07:52 +0000 Subject: [ns] calculate power consumption Message-ID: dear, All how to calculate power consumption in every node is there any examples for this thanks M.Sabry _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From mdinesh21 at yahoo.com Fri Feb 8 21:10:42 2008 From: mdinesh21 at yahoo.com (dheen) Date: Fri, 8 Feb 2008 21:10:42 -0800 (PST) Subject: [ns] re garding wireless sensor networks(RMST) Message-ID: <15368757.post@talk.nabble.com> hi all, i am dinesh M.E computer science doing my project in sensor networks. My reference paper is "Appearing in 1st IEEE International Workshop on Sensor Net Protocols and Applications (SNPA). Anchorage, Alaska, USA. May 11, 2003. RMST: Reliable Data Transport in Sensor Networks Fred Stann, John Heidemann" i need to know if there is any enhancement regarding this RMST filter If so do help me.. I am trying to evaluates the performance on RMST, Any one please give me an idea or sample code on writing the TCL script for sensor networks using RMST. please kindly do help me in this concern. thanking you with anticipation regards Dinesh -- View this message in context: http://www.nabble.com/regarding-wireless-sensor-networks%28RMST%29-tp15368757p15368757.html Sent from the ns-users mailing list archive at Nabble.com. From mnikpour59 at yahoo.com Sat Feb 9 02:16:35 2008 From: mnikpour59 at yahoo.com (Mohammad Nikoupour) Date: Sat, 9 Feb 2008 02:16:35 -0800 (PST) Subject: [ns] How to send packets to neighbors? Message-ID: <77190.79797.qm@web45501.mail.sp1.yahoo.com> Hi everybody, Can anyone help me how an agent can send packets to the neighbors in C++ code (not TCL) ? That's something like what routing protocols do, thanks. --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From mkcgphy at gmail.com Sat Feb 9 04:56:28 2008 From: mkcgphy at gmail.com (mj) Date: Sat, 9 Feb 2008 18:26:28 +0530 Subject: [ns] parameters required Message-ID: hi all , i am using wireless scripts for my project and i need to run xgraph. for that i need to know what are the parameters to run it apart from nam.. -- mk From pholtermann at rauland.com Thu Feb 7 12:01:41 2008 From: pholtermann at rauland.com (Holtermann, Pete) Date: Thu, 7 Feb 2008 14:01:41 -0600 Subject: [ns] Manual routing in wireless networks? Message-ID: <8B59C13FEE5B7947AD277C704F7DE50101DA2250@RBEXCHG.skokie.rauland-borg.net> How do you configure manual routes in wireless network? Thanks. From vipz_genius002 at yahoo.com Sun Feb 10 07:15:47 2008 From: vipz_genius002 at yahoo.com (LoTuS SwEeT) Date: Sun, 10 Feb 2008 07:15:47 -0800 (PST) Subject: [ns] Help How to solve Segmentation fault Message-ID: <887531.1223.qm@web56715.mail.re3.yahoo.com> hi there i was just simulating simple UDP script but i got error like segmentation erro so plz help how to solve it.. thanks LoTuSwEeT at GmAiL.CoM ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs From v.vinay.k at gmail.com Sun Feb 10 09:01:01 2008 From: v.vinay.k at gmail.com (vinay kumar) Date: Sun, 10 Feb 2008 22:31:01 +0530 Subject: [ns] Fwd: help regarding simulation of power control 802.11 MAC In-Reply-To: <15d841490802100846g30117accwadc987c03cf3ac67@mail.gmail.com> References: <15d841490802100846g30117accwadc987c03cf3ac67@mail.gmail.com> Message-ID: <15d841490802100901m9a4ad72j90b1a6bd91556797@mail.gmail.com> ---------- Forwarded message ---------- From: vinay kumar Date: Feb 10, 2008 10:16 PM Subject: help regarding simulation of power control 802.11 MAC To: Ns-users at isi.edu Hi I am doing my project work on power control protocols on 802.11 mac protocols.I am new to this area.I need to simulate three protocols ie 802.11mac,Basic protocol with power control and PMAC(Power control mac protocol). I need to change the code of c++ for simulating the later two protocols.Could any body if working on power control protocols please help me on how to change the code for simulating them. Best regards Vinay From ssakthivel85 at gmail.com Mon Feb 11 07:34:01 2008 From: ssakthivel85 at gmail.com (Sakthivel Subramanian) Date: Mon, 11 Feb 2008 21:04:01 +0530 Subject: [ns] routing protocol Message-ID: <8f98fbc00802110734l165c501exac4a5ddeee399013@mail.gmail.com> Hi, How to make link between C++ and OTCL coding.. How to define protocol in C++.... Can you give some example which uses both C++ OTCL... I have searched google but i did not get any grisp result... From mnikpour59 at yahoo.com Mon Feb 11 07:45:08 2008 From: mnikpour59 at yahoo.com (Mohammad Nikoupour) Date: Mon, 11 Feb 2008 07:45:08 -0800 (PST) Subject: [ns] C++ code eqaul to connect command in TCL Message-ID: <616056.23060.qm@web45501.mail.sp1.yahoo.com> Hi everybody, Can anyone suggest a c++ code that exactly does the action equal to this in TCL: $ns connect $udp1 $udp2 udp1 and udp2 are UDP agents. I want to send packets to different UDP agents without executing connect in TCL, thanks in advance. --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From asraf06 at gmail.com Mon Feb 11 07:46:24 2008 From: asraf06 at gmail.com (Noor Asraf) Date: Mon, 11 Feb 2008 23:46:24 +0800 Subject: [ns] Path traversal in AODV Message-ID: <189a7b9c0802110746g7df157bg273f086b5dd006cb@mail.gmail.com> Hi all, Is there a way to obtain the source to (different) destination paths of a multicast tree in the MAODV protocol say using breadth first search or Dijkstra's? But first, I need to know where to look to start traversing from source node. Is there a way I can do this with the Multicast Routing Table in MAODV? If so, how do I access it? Or do I need to do this from the trace file itself? If someone even has done this in an unicast AODV setup, please let me know how. Thanks, Asraf From rupcee_k at rediffmail.com Mon Feb 11 11:33:29 2008 From: rupcee_k at rediffmail.com (rupcee kaur) Date: 11 Feb 2008 19:33:29 -0000 Subject: [ns] LEACH error Message-ID: <20080211193329.19199.qmail@f5mail-236-234.rediffmail.com> I tried LEACH protocol and following is the error that occurred. This error is faced by many ns-users but there is no meaningful solution to it mentioned. Can someone who successfully ran LEACH on NS2 under ubuntu 7.04 help me in this matter. invalid command name "Resource/Energy" while executing "Resource/Energy instproc setParams {args} { $self instvar energyLevel_ alarmLevel_ set energyLevel_ [lindex $args 0] set alarmLevel_ [lind..." (file "/home/jaspreet/Desktop/ns-allinone-2.29/ns-2.29/mit/rca/resources/ns-energy-resource.tcl" line 11) invoked from within "source.orig /home/jaspreet/Desktop/ns-allinone-2.29/ns-2.29/mit/rca/resources/ns-energy-resource.tcl" ("uplevel" body line 1) invoked from within "uplevel source.orig [list $fileName]" invoked from within "if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig [list $fileName] ..." (procedure "source" line 8) invoked from within "source $env(RCA_LIBRARY)/resources/ns-energy-resource.tcl" (file "mit/uAMPS/sims/uamps.tcl" line 18) invoked from within "source.orig mit/uAMPS/sims/uamps.tcl" ("uplevel" body line 1) invoked from within "uplevel source.orig [list $fileName]" invoked from within "if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig [list $fileName] ..." (procedure "source" line 8) invoked from within "source mit/uAMPS/sims/uamps.tcl" (file "tcl/mobility/leach.tcl" line 18) invoked from within "source.orig tcl/mobility/leach.tcl" ("uplevel" body line 1) invoked from within "uplevel source.orig [list $fileName]" invoked from within "if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig [list $fileName] ..." (procedure "source" line 8) invoked from within "source tcl/mobility/$opt(rp).tcl" (file "tcl/ex/wireless.tcl" line 187) Thank you in advance. Regards, Rupcee. From vls_sistla at yahoo.com Mon Feb 11 14:04:50 2008 From: vls_sistla at yahoo.com (sstl vls) Date: Mon, 11 Feb 2008 14:04:50 -0800 (PST) Subject: [ns] NS2.27 + LEACH installation problem. Message-ID: <749526.77734.qm@web32509.mail.mud.yahoo.com> Hello all, Iam trying to install and run LEACH on ubuntu6.06. I followed the procedure from the site: http://tmtam.wordpress.com/2007/07/31/installing-ns-227-and-leach-extension-on-ubuntu-704-feisty-fawn/ and encountered the following problems on ./test: ./test num_nodes is set 3 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl warning: no class variable Phy/WirelessPhy::alive_ see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Phy/WirelessPhy::Efriss_amp_ warning: no class variable Phy/WirelessPhy::Etwo_ray_amp_ warning: no class variable Phy/WirelessPhy::EXcvr_ warning: no class variable Phy/WirelessPhy::sleep_ warning: no class variable Phy/WirelessPhy::ss_ warning: no class variable Phy/WirelessPhy::dist_ INITIALIZE THE LIST xListHead warning: no class variable Phy/WirelessPhy::alive_ see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Phy/WirelessPhy::Efriss_amp_ warning: no class variable Phy/WirelessPhy::Etwo_ray_amp_ warning: no class variable Phy/WirelessPhy::EXcvr_ warning: no class variable Phy/WirelessPhy::sleep_ warning: no class variable Phy/WirelessPhy::ss_ warning: no class variable Phy/WirelessPhy::dist_ warning: no class variable Phy/WirelessPhy::alive_ see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Phy/WirelessPhy::Efriss_amp_ warning: no class variable Phy/WirelessPhy::Etwo_ray_amp_ warning: no class variable Phy/WirelessPhy::EXcvr_ warning: no class variable Phy/WirelessPhy::sleep_ warning: no class variable Phy/WirelessPhy::ss_ warning: no class variable Phy/WirelessPhy::dist_ Loading connection pattern? Loading scenario file? Starting Simulation? channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, distCST_ = 89.8 SORTING LISTS ?DONE! NS EXITING? 1..... Why is this happening? I guess the problem is with the inclusion of Phy/WirelessPhy channel. Where is it located in the ns2.27 folder? How do I verify if it is present? N How do I include it? When I execute validate, I get ?the outputs deviate from standard results?. Can you tell me where the problem lies? 2. Also once the GCC 4.1.x: ns-2.27-gcc410.patch patch is applied, nrlsensorsim extension for ns 2.27 is showing problems on installation. I had to omit that. 3. Do I have to install 802.15.4 layer support separately to simulate sensor networks? How do I do it? Kindly help. It is extremely important to me. -Sreevalli Send instant messages to your online friends http://uk.messenger.yahoo.com From ns2 at live.de Mon Feb 11 23:29:05 2008 From: ns2 at live.de (viva wlan) Date: Tue, 12 Feb 2008 08:29:05 +0100 Subject: [ns] which ns-version used for examination security aspect for Voice over Wlan? In-Reply-To: References: Message-ID: Dear ns.user,Help!! Please please please I want to examine security aspect for voice over wlan. which standard and ns-version can I use? Best Regards, _________________________________________________________________ Neu: Internet Explorer 7 optimiert f?r MSN! http://optimize.de.msn.com/default.aspx?mkt=de-de From mnikpour59 at yahoo.com Tue Feb 12 00:09:18 2008 From: mnikpour59 at yahoo.com (Mohammad Nikoupour) Date: Tue, 12 Feb 2008 00:09:18 -0800 (PST) Subject: [ns] send UDP without connect Message-ID: <248934.61025.qm@web45510.mail.sp1.yahoo.com> Hi, Is it possible to send a packet from a udp agent to another without executing connect in TCL? --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. From vipz_genius002 at yahoo.com Tue Feb 12 07:59:43 2008 From: vipz_genius002 at yahoo.com (LoTuS SwEeT) Date: Tue, 12 Feb 2008 07:59:43 -0800 (PST) Subject: [ns] Help :Command Problem for awk script Message-ID: <375599.25644.qm@web56715.mail.re3.yahoo.com> Hi there, I got this problem when i was simulating this script. #Create a simulator object set ns [new Simulator] #Define different colors for data flows (for NAM) $ns color 1 Blue $ns color 2 Red #Open the NAM trace file set nf [open out.nam w] $ns namtrace-all $nf #Open the traffic trace file to record all events set nd [open out.tr w] $ns trace-all $nd #Define a 'finish' procedure proc finish {} { global ns nf nd $ns flush-trace #Close the NAM trace file close $nf close $nd #Execute NAM on the trace file exec nam out.nam & exit 0 } #Create four nodes set n0 [$ns node] set n1 [$ns node] set n2 [$ns node] set n3 [$ns node] #Create links between the nodes $ns duplex-link $n0 $n2 2Mb 10ms DropTail $ns duplex-link $n1 $n2 2Mb 10ms DropTail $ns duplex-link $n2 $n3 1.7Mb 20ms DropTail #Set Queue Size of link (n2-n3) to 10 $ns queue-limit $n2 $n3 10 #Give node position (for NAM) $ns duplex-link-op $n0 $n2 orient right-down $ns duplex-link-op $n1 $n2 orient right-up $ns duplex-link-op $n2 $n3 orient right #Monitor the queue for link (n2-n3). (for NAM) $ns duplex-link-op $n2 $n3 queuePos 0.5 #Setup a TCP connection set tcp [new Agent/TCP] $tcp set class_ 2 $ns attach-agent $n0 $tcp set sink [new Agent/TCPSink] $ns attach-agent $n3 $sink $ns connect $tcp $sink $tcp set fid_ 1 #Setup a FTP over TCP connection set ftp [new Application/FTP] $ftp attach-agent $tcp $ftp set type_ FTP #Setup a UDP connection set udp [new Agent/UDP] $ns attach-agent $n1 $udp set null [new Agent/Null] $ns attach-agent $n3 $null $ns connect $udp $null $udp set fid_ 2 #Setup a CBR over UDP connection set cbr [new Application/Traffic/CBR] $cbr attach-agent $udp $cbr set type_ CBR $cbr set packet_size_ 1000 $cbr set rate_ 1mb $cbr set random_ false #Schedule events for the CBR and FTP agents $ns at 0.1 "$cbr start" $ns at 1.0 "$ftp start" $ns at 4.0 "$ftp stop" $ns at 4.5 "$cbr stop" #Detach tcp and sink agents (not really necessary) $ns at 4.5 "$ns detach-agent $n0 $tcp ; $ns detach-agent $n3 $sink" #Call the finish procedure after 5 seconds of simulation time $ns at 5.0 "finish" #Print CBR packet size and interval puts "CBR packet size = [$cbr set packet_size_]" puts "CBR interval = [$cbr set interval_]" #Run the simulation $ns run ------------------------------------------------------------------------- Script for measuring throughput ---------------------------throughput.awk------------------------------------------------------ BEGIN { > recv = 0 > } > > { > # Trace line format: normal > if ($2 != "-t") { > event = $1 > time = $2 > if (event == "+" || event == "-") node_id = $3 > if (event == "r" || event == "d") node_id = $4 > flow_id = $8 > pkt_id = $12 > pkt_size = $6 > } > # Trace line format: new > if ($2 == "-t") { > event = $1 > time = $3 > node_id = $5 > flow_id = $39 > pkt_id = $41 > pkt_size = $37 > } > > # Calculate total received packets' size > if (flow_id == flow && event == "r" && node_id == dst) { > if (flow_t != "sctp") { > recv += pkt_size - hdr_size > #printf("recv[%g] = %g --> tot: > %g\n",node_id,pkt_size-hdr_size,recv) > } else { > # Rip off SCTP header, whose size depends > # on the number of chunks in each packet > if (pkt_size == 40) pkt_size = 0 > if (pkt_size == 448) pkt_size = 400 > if (pkt_size == 864) pkt_size = 800 > if (pkt_size == 1280) pkt_size = 1200 > recv += pkt_size > #printf("recv[%g] = %g --> tot: > %g\n",node_id,pkt_size,recv) > } > } > } > > END { > printf("%10g %10s %10g\n",flow,flow_t,(recv/simtime)*(8/1000)) > } ---------------------------------------------------------------------------------------------------- I used following command for throughput and i got following error $gawk ?f throughput.awk out.tr bash: ?f: command not found LoTuSwEeT at GmAiL.CoM ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From pholtermann at rauland.com Tue Feb 12 12:54:40 2008 From: pholtermann at rauland.com (Holtermann, Pete) Date: Tue, 12 Feb 2008 14:54:40 -0600 Subject: [ns] [NS] Frequency agility modeling Message-ID: <8B59C13FEE5B7947AD277C704F7DE50101E1ABEE@RBEXCHG.skokie.rauland-borg.net> Hello everyone, Does anyone know how to model multiple wireless "channels" in a given wireless network? I am trying to model a node which can dynamically change frequency (i.e. channel) if its current channel gets blocked or congested. Thanks. - Pete From gladiator_uts at yahoo.com Tue Feb 12 23:15:35 2008 From: gladiator_uts at yahoo.com (Livian) Date: Tue, 12 Feb 2008 23:15:35 -0800 (PST) Subject: [ns] Calculating Throughput and Goodput Message-ID: <330958.77452.qm@web37010.mail.mud.yahoo.com> Hello If this is the situation of a trace file : What will be the correct throughput and Goodput in KBits/Sec ? Thanks in advance . + 0.1 1 2 cbr 1000 ------- 2 1.0 3.1 0 0 - 0.1 1 2 cbr 1000 ------- 2 1.0 3.1 0 0 r 0.114 1 2 cbr 1000 ------- 2 1.0 3.1 0 0 + 0.114 2 3 cbr 1000 ------- 2 1.0 3.1 0 0 - 0.114 2 3 cbr 1000 ------- 2 1.0 3.1 0 0 r 0.248286 2 3 cbr 1000 ------- 2 1.0 3.1 0 0 + 0.9 1 2 cbr 1000 ------- 2 1.0 3.1 1 1 - 0.9 1 2 cbr 1000 ------- 2 1.0 3.1 1 1 r 0.914 1 2 cbr 1000 ------- 2 1.0 3.1 1 1 + 0.914 2 3 cbr 1000 ------- 2 1.0 3.1 1 1 - 0.914 2 3 cbr 1000 ------- 2 1.0 3.1 1 1 + 1 0 2 tcp 40 ------- 1 0.0 3.0 0 2 - 1 0 2 tcp 40 ------- 1 0.0 3.0 0 2 r 1.01016 0 2 tcp 40 ------- 1 0.0 3.0 0 2 + 1.01016 2 3 tcp 40 ------- 1 0.0 3.0 0 2 - 1.028286 2 3 tcp 40 ------- 1 0.0 3.0 0 2 r 1.048286 2 3 cbr 1000 ------- 2 1.0 3.1 1 1 r 1.052857 2 3 tcp 40 ------- 1 0.0 3.0 0 2 + 1.152857 3 2 ack 40 ------- 1 3.0 0.0 0 3 - 1.152857 3 2 ack 40 ------- 1 3.0 0.0 0 3 r 1.177429 3 2 ack 40 ------- 1 3.0 0.0 0 3 + 1.177429 2 0 ack 40 ------- 1 3.0 0.0 0 3 - 1.177429 2 0 ack 40 ------- 1 3.0 0.0 0 3 r 1.187589 2 0 ack 40 ------- 1 3.0 0.0 0 3 + 1.187589 0 2 tcp 1050 ------- 1 0.0 3.0 1 4 - 1.187589 0 2 tcp 1050 ------- 1 0.0 3.0 1 4 + 1.187589 0 2 tcp 1050 ------- 1 0.0 3.0 2 5 - 1.191789 0 2 tcp 1050 ------- 1 0.0 3.0 2 5 r 1.201789 0 2 tcp 1050 ------- 1 0.0 3.0 1 4 + 1.201789 2 3 tcp 1050 ------- 1 0.0 3.0 1 4 - 1.201789 2 3 tcp 1050 ------- 1 0.0 3.0 1 4 r 1.205989 0 2 tcp 1050 ------- 1 0.0 3.0 2 5 + 1.205989 2 3 tcp 1050 ------- 1 0.0 3.0 2 5 - 1.321789 2 3 tcp 1050 ------- 1 0.0 3.0 2 5 r 1.341789 2 3 tcp 1050 ------- 1 0.0 3.0 1 4 + 1.441789 3 2 ack 40 ------- 1 3.0 0.0 1 6 - 1.441789 3 2 ack 40 ------- 1 3.0 0.0 1 6 r 1.461789 2 3 tcp 1050 ------- 1 0.0 3.0 2 5 r 1.46636 3 2 ack 40 ------- 1 3.0 0.0 1 6 + 1.46636 2 0 ack 40 ------- 1 3.0 0.0 1 6 - 1.46636 2 0 ack 40 ------- 1 3.0 0.0 1 6 r 1.47652 2 0 ack 40 ------- 1 3.0 0.0 1 6 + 1.47652 0 2 tcp 1050 ------- 1 0.0 3.0 3 7 - 1.47652 0 2 tcp 1050 ------- 1 0.0 3.0 3 7 + 1.47652 0 2 tcp 1050 ------- 1 0.0 3.0 4 8 - 1.48072 0 2 tcp 1050 ------- 1 0.0 3.0 4 8 r 1.49072 0 2 tcp 1050 ------- 1 0.0 3.0 3 7 + 1.49072 2 3 tcp 1050 ------- 1 0.0 3.0 3 7 - 1.49072 2 3 tcp 1050 ------- 1 0.0 3.0 3 7 r 1.49492 0 2 tcp 1050 ------- 1 0.0 3.0 4 8 + 1.49492 2 3 tcp 1050 ------- 1 0.0 3.0 4 8 + 1.561789 3 2 ack 40 ------- 1 3.0 0.0 2 9 - 1.561789 3 2 ack 40 ------- 1 3.0 0.0 2 9 r 1.58636 3 2 ack 40 ------- 1 3.0 0.0 2 9 + 1.58636 2 0 ack 40 ------- 1 3.0 0.0 2 9 - 1.58636 2 0 ack 40 ------- 1 3.0 0.0 2 9 r 1.59652 2 0 ack 40 ------- 1 3.0 0.0 2 9 + 1.59652 0 2 tcp 1050 ------- 1 0.0 3.0 5 10 - 1.59652 0 2 tcp 1050 ------- 1 0.0 3.0 5 10 + 1.59652 0 2 tcp 1050 ------- 1 0.0 3.0 6 11 - 1.60072 0 2 tcp 1050 ------- 1 0.0 3.0 6 11 - 1.61072 2 3 tcp 1050 ------- 1 0.0 3.0 4 8 r 1.61072 0 2 tcp 1050 ------- 1 0.0 3.0 5 10 + 1.61072 2 3 tcp 1050 ------- 1 0.0 3.0 5 10 r 1.61492 0 2 tcp 1050 ------- 1 0.0 3.0 6 11 + 1.61492 2 3 tcp 1050 ------- 1 0.0 3.0 6 11 r 1.63072 2 3 tcp 1050 ------- 1 0.0 3.0 3 7 + 1.7 1 2 cbr 1000 ------- 2 1.0 3.1 2 12 - 1.7 1 2 cbr 1000 ------- 2 1.0 3.1 2 12 r 1.714 1 2 cbr 1000 ------- 2 1.0 3.1 2 12 + 1.714 2 3 cbr 1000 ------- 2 1.0 3.1 2 12 + 1.73072 3 2 ack 40 ------- 1 3.0 0.0 3 13 - 1.73072 3 2 ack 40 ------- 1 3.0 0.0 3 13 - 1.73072 2 3 tcp 1050 ------- 1 0.0 3.0 5 10 r 1.75072 2 3 tcp 1050 ------- 1 0.0 3.0 4 8 r 1.755291 3 2 ack 40 ------- 1 3.0 0.0 3 13 + 1.755291 2 0 ack 40 ------- 1 3.0 0.0 3 13 - 1.755291 2 0 ack 40 ------- 1 3.0 0.0 3 13 r 1.765451 2 0 ack 40 ------- 1 3.0 0.0 3 13 + 1.765451 0 2 tcp 1050 ------- 1 0.0 3.0 7 14 - 1.765451 0 2 tcp 1050 ------- 1 0.0 3.0 7 14 + 1.765451 0 2 tcp 1050 ------- 1 0.0 3.0 8 15 - 1.769651 0 2 tcp 1050 ------- 1 0.0 3.0 8 15 r 1.779651 0 2 tcp 1050 ------- 1 0.0 3.0 7 14 + 1.779651 2 3 tcp 1050 ------- 1 0.0 3.0 7 14 r 1.783851 0 2 tcp 1050 ------- 1 0.0 3.0 8 15 + 1.783851 2 3 tcp 1050 ------- 1 0.0 3.0 8 15 + 1.85072 3 2 ack 40 ------- 1 3.0 0.0 4 16 - 1.85072 3 2 ack 40 ------- 1 3.0 0.0 4 16 - 1.85072 2 3 tcp 1050 ------- 1 0.0 3.0 6 11 r 1.87072 2 3 tcp 1050 ------- 1 0.0 3.0 5 10 r 1.875291 3 2 ack 40 ------- 1 3.0 0.0 4 16 + 1.875291 2 0 ack 40 ------- 1 3.0 0.0 4 16 - 1.875291 2 0 ack 40 ------- 1 3.0 0.0 4 16 r 1.885451 2 0 ack 40 ------- 1 3.0 0.0 4 16 + 1.885451 0 2 tcp 1050 ------- 1 0.0 3.0 9 17 - 1.885451 0 2 tcp 1050 ------- 1 0.0 3.0 9 17 + 1.885451 0 2 tcp 1050 ------- 1 0.0 3.0 10 18 - 1.889651 0 2 tcp 1050 ------- 1 0.0 3.0 10 18 r 1.899651 0 2 tcp 1050 ------- 1 0.0 3.0 9 17 + 1.899651 2 3 tcp 1050 ------- 1 0.0 3.0 9 17 r 1.903851 0 2 tcp 1050 ------- 1 0.0 3.0 10 18 + 1.903851 2 3 tcp 1050 ------- 1 0.0 3.0 10 18 + 1.97072 3 2 ack 40 ------- 1 3.0 0.0 5 19 - 1.97072 3 2 ack 40 ------- 1 3.0 0.0 5 19 - 1.97072 2 3 cbr 1000 ------- 2 1.0 3.1 2 12 r 1.99072 2 3 tcp 1050 ------- 1 0.0 3.0 6 11 r 1.995291 3 2 ack 40 ------- 1 3.0 0.0 5 19 + 1.995291 2 0 ack 40 ------- 1 3.0 0.0 5 19 - 1.995291 2 0 ack 40 ------- 1 3.0 0.0 5 19 r 2.005451 2 0 ack 40 ------- 1 3.0 0.0 5 19 + 2.005451 0 2 tcp 1050 ------- 1 0.0 3.0 11 20 - 2.005451 0 2 tcp 1050 ------- 1 0.0 3.0 11 20 + 2.005451 0 2 tcp 1050 ------- 1 0.0 3.0 12 21 - 2.009651 0 2 tcp 1050 ------- 1 0.0 3.0 12 21 r 2.019651 0 2 tcp 1050 ------- 1 0.0 3.0 11 20 + 2.019651 2 3 tcp 1050 ------- 1 0.0 3.0 11 20 r 2.023851 0 2 tcp 1050 ------- 1 0.0 3.0 12 21 + 2.023851 2 3 tcp 1050 ------- 1 0.0 3.0 12 21 d 2.023851 2 3 tcp 1050 ------- 1 0.0 3.0 12 21 - 2.085006 2 3 tcp 1050 ------- 1 0.0 3.0 7 14 + 2.09072 3 2 ack 40 ------- 1 3.0 0.0 6 22 - 2.09072 3 2 ack 40 ------- 1 3.0 0.0 6 22 r 2.105006 2 3 cbr 1000 ------- 2 1.0 3.1 2 12 --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. From petrou at ceid.upatras.gr Wed Feb 13 04:59:56 2008 From: petrou at ceid.upatras.gr (Phivos Petrou) Date: Wed, 13 Feb 2008 14:59:56 +0200 Subject: [ns] Need OBS simulator Message-ID: <1202907596.4024.6.camel@localhost.localdomain> Hi, I am trying to create a simulation of a network that uses TCP over OBS using ns-2. The problem is that I can't download the OBS simulators that I found which are: 1. OIRC OBS-ns Simulator from http://wine.icu.ac.kr/~obsns/ 2. OBS-ns simulator from University of Maryland DAWN research lab (http://dawn.cs.umbc.edu/owns/) I can't download the first one because when I fill the form with my email and other information, I receive an email with a link to a page that says that this page is expired. The second one it's because when I try to follow the link http://dawn.cs.umbc.edu/owns/ says that I don't have access to that directory. Thanks for your time From tarakantalenka at googlemail.com Wed Feb 13 07:27:37 2008 From: tarakantalenka at googlemail.com (Tarakant Lenka) Date: Wed, 13 Feb 2008 20:57:37 +0530 Subject: [ns] TORA problem Message-ID: <992f74a10802130727x7620c84dw6cad57658cf9d65@mail.gmail.com> HI, I am using NS 2.31 on FC-6. Whenver I run a TORA routing protocol , I get a message like given below. But all other protocols like AODV, DSR and DSDV run smoothly. So does any 1 have any clues?? The error is: num_nodes is set 4 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead (_o17 cmd line 1) invoked from within "_o17 cmd port-dmux _o28" invoked from within "catch "$self cmd $args" ret" invoked from within "if [catch "$self cmd $args" ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error "error when calling class $cls: $args" $..." (procedure "_o17" line 2) (SplitObject unknown line 2) invoked from within "$agent port-dmux $dmux_" (procedure "_o14" line 11) (Node/MobileNode add-target-rtagent line 11) invoked from within "$self add-target-rtagent $agent $port" (procedure "_o14" line 23) (Node/MobileNode add-target line 23) invoked from within "$self add-target $agent $port" (procedure "_o14" line 15) (Node attach line 15) invoked from within "$node attach $ragent [Node set rtagent_port_]" (procedure "_o3" line 72) (Simulator create-wireless-node line 72) invoked from within "_o3 create-wireless-node" ("eval" body line 1) invoked from within "eval $self create-wireless-node $args" (procedure "_o3" line 23) (Simulator node line 23) invoked from within "$ns node" ("for" body line 2) invoked from within "for {set i 0} {$i < $val(nn) } { incr i } { set node_($i) [$ns node] }" (file "wrls-tora2.tcl" line 54) From tnelson at vt.edu Wed Feb 13 10:09:29 2008 From: tnelson at vt.edu (Theresa Nelson) Date: Wed, 13 Feb 2008 13:09:29 -0500 Subject: [ns] ERROR: Undefined symbol when making ns2 after code patch Message-ID: <1202926169.47b33259aeb94@webmail.vt.edu> All, Hello. I have an AIX box on which I am running ns2. I applied the patch for NOAH (http://icapeople.epfl.ch/widmer/uwb/ns-2/noah/), and then tried running "./configure", "make clean" and "make" in the directory "ns-2.31", but am getting errors saying that I have undefined symbols. Has anyone run into this before? Any suggestions on how to fix this? Any help would be much appreciated. Here is my output for "make": g++ -o ns common/tclAppInit.o tools/random.o tools/rng.o tools/ranvar.o common/misc.o common/timer-handler.o common/scheduler.o common/object.o common/packet.o common/ip.o routing/route.o common/connector.o common/ttl.o trace/trace.o trace/trace-ip.o classifier/classifier.o classifier/classifier-addr.o classifier/classifier-hash.o classifier/classifier-virtual.o classifier/classifier-mcast.o classifier/classifier-bst.o classifier/classifier-mpath.o mcast/replicator.o classifier/classifier-mac.o classifier/classifier-qs.o classifier/classifier-port.o src_rtg/classifier-sr.o src_rtg/sragent.o src_rtg/hdr_src.o adc/ump.o qs/qsagent.o qs/hdr_qs.o apps/app.o apps/telnet.o tcp/tcplib-telnet.o tools/trafgen.o trace/traffictrace.o tools/pareto.o tools/expoo.o tools/cbr_traffic.o adc/tbf.o adc/resv.o adc/sa.o tcp/saack.o tools/measuremod.o adc/estimator.o adc/adc.o adc/ms-adc.o adc/timewindow-est.o adc/acto-adc.o adc/pointsample-est.o adc/salink.o adc/actp-adc.o adc/hb-adc.o adc/expavg-est.o adc/param-adc.o adc/null-estimator.o adc/adaptive-receiver.o apps/vatrcvr.o adc/consrcvr.o common/agent.o common/message.o apps/udp.o common/session-rtp.o apps/rtp.o tcp/rtcp.o common/ivs.o common/messpass.o common/tp.o common/tpm.o apps/worm.o tcp/tcp.o tcp/tcp-sink.o tcp/tcp-reno.o tcp/tcp-newreno.o tcp/tcp-vegas.o tcp/tcp-rbp.o tcp/tcp-full.o tcp/rq.o baytcp/tcp-full-bay.o baytcp/ftpc.o baytcp/ftps.o tcp/scoreboard.o tcp/scoreboard-rq.o tcp/tcp-sack1.o tcp/tcp-fack.o tcp/tcp-asym.o tcp/tcp-asym-sink.o tcp/tcp-fs.o tcp/tcp-asym-fs.o tcp/tcp-int.o tcp/chost.o tcp/tcp-session.o tcp/nilist.o sctp/sctp.o apps/sctp_app1.o sctp/sctp-timestamp.o sctp/sctp-hbAfterRto.o sctp/sctp-multipleFastRtx.o sctp/sctp-mfrHbAfterRto.o sctp/sctp-mfrTimestamp.o sctp/sctp-cmt.o sctp/sctpDebug.o tools/integrator.o tools/queue-monitor.o tools/flowmon.o tools/loss-monitor.o queue/queue.o queue/drop-tail.o adc/simple-intserv-sched.o queue/red.o queue/semantic-packetqueue.o queue/semantic-red.o tcp/ack-recons.o queue/sfq.o queue/fq.o queue/drr.o queue/srr.o queue/cbq.o queue/jobs.o queue/marker.o queue/demarker.o link/hackloss.o queue/errmodel.o queue/fec.o link/delay.o tcp/snoop.o gaf/gaf.o link/dynalink.o routing/rtProtoDV.o common/net-interface.o mcast/ctrMcast.o mcast/mcast_ctrl.o mcast/srm.o common/sessionhelper.o queue/delaymodel.o mcast/srm-ssm.o mcast/srm-topo.o routing/alloc-address.o routing/address.o lib/int.Vec.o lib/int.RVec.o lib/dmalloc_support.o webcache/http.o webcache/tcp-simple.o webcache/pagepool.o webcache/inval-agent.o webcache/tcpapp.o webcache/http-aux.o webcache/mcache.o webcache/webtraf.o webcache/webserver.o webcache/logweb.o empweb/empweb.o empweb/empftp.o realaudio/realaudio.o mac/lanRouter.o classifier/filter.o common/pkt-counter.o common/Decapsulator.o common/Encapsulator.o common/encap.o mac/channel.o mac/mac.o mac/ll.o mac/mac-802_11.o mac/mac-802_3.o mac/mac-tdma.o mac/smac.o mobile/mip.o mobile/mip-reg.o mobile/gridkeeper.o mobile/propagation.o mobile/tworayground.o mobile/antenna.o mobile/omni-antenna.o mobile/shadowing.o mobile/shadowing-vis.o mobile/dumb-agent.o common/bi-connector.o common/node.o common/mobilenode.o mac/arp.o mobile/god.o mobile/dem.o mobile/topography.o mobile/modulation.o queue/priqueue.o queue/dsr-priqueue.o mac/phy.o mac/wired-phy.o mac/wireless-phy.o mac/mac-timers.o trace/cmu-trace.o mac/varp.o mac/mac-simple.o satellite/sat-hdlc.o dsdv/dsdv.o dsdv/rtable.o queue/rtqueue.o routing/rttable.o imep/imep.o imep/dest_queue.o imep/imep_api.o imep/imep_rt.o imep/rxmit_queue.o imep/imep_timers.o imep/imep_util.o imep/imep_io.o tora/tora.o tora/tora_api.o tora/tora_dest.o tora/tora_io.o tora/tora_logs.o tora/tora_neighbor.o dsr/dsragent.o dsr/hdr_sr.o dsr/mobicache.o dsr/path.o dsr/requesttable.o dsr/routecache.o dsr/add_sr.o dsr/dsr_proto.o dsr/flowstruct.o dsr/linkcache.o dsr/simplecache.o dsr/sr_forwarder.o aodv/aodv_logs.o aodv/aodv.o noah/noah.o aodv/aodv_rtable.o aodv/aodv_rqueue.o common/ns-process.o satellite/satgeometry.o satellite/sathandoff.o satellite/satlink.o satellite/satnode.o satellite/satposition.o satellite/satroute.o satellite/sattrace.o rap/raplist.o rap/rap.o rap/media-app.o rap/utilities.o common/fsm.o tcp/tcp-abs.o diffusion/diffusion.o diffusion/diff_rate.o diffusion/diff_prob.o diffusion/diff_sink.o diffusion/flooding.o diffusion/omni_mcast.o diffusion/hash_table.o diffusion/routing_table.o diffusion/iflist.o tcp/tfrc.o tcp/tfrc-sink.o mobile/energy-model.o apps/ping.o tcp/tcp-rfc793edu.o queue/rio.o queue/semantic-rio.o tcp/tcp-sack-rh.o tcp/scoreboard-rh.o plm/loss-monitor-plm.o plm/cbr-traffic-PP.o linkstate/hdr-ls.o mpls/classifier-addr-mpls.o mpls/ldp.o mpls/mpls-module.o routing/rtmodule.o classifier/classifier-hier.o routing/addr-params.o nix/hdr_nv.o nix/classifier-nix.o nix/nixnode.o routealgo/rnode.o routealgo/bfs.o routealgo/rbitmap.o routealgo/rlookup.o routealgo/routealgo.o nix/nixvec.o nix/nixroute.o diffserv/dsred.o diffserv/dsredq.o diffserv/dsEdge.o diffserv/dsCore.o diffserv/dsPolicy.o diffserv/ew.o diffserv/dewp.o queue/red-pd.o queue/pi.o queue/vq.o queue/rem.o queue/gk.o pushback/rate-limit.o pushback/rate-limit-strategy.o pushback/ident-tree.o pushback/agg-spec.o pushback/logging-data-struct.o pushback/rate-estimator.o pushback/pushback-queue.o pushback/pushback.o common/parentnode.o trace/basetrace.o common/simulator.o asim/asim.o common/scheduler-map.o common/splay-scheduler.o linkstate/ls.o linkstate/rtProtoLS.o pgm/classifier-pgm.o pgm/pgm-agent.o pgm/pgm-sender.o pgm/pgm-receiver.o mcast/rcvbuf.o mcast/classifier-lms.o mcast/lms-agent.o mcast/lms-receiver.o mcast/lms-sender.o queue/delayer.o xcp/xcpq.o xcp/xcp.o xcp/xcp-end-sys.o wpan/p802_15_4csmaca.o wpan/p802_15_4fail.o wpan/p802_15_4hlist.o wpan/p802_15_4mac.o wpan/p802_15_4nam.o wpan/p802_15_4phy.o wpan/p802_15_4sscs.o wpan/p802_15_4timer.o wpan/p802_15_4trace.o wpan/p802_15_4transac.o noah/noah.o diffusion3/lib/nr/nr.o diffusion3/lib/dr.o diffusion3/filters/diffusion/one_phase_pull.o diffusion3/filters/diffusion/two_phase_pull.o diffusion3/lib/diffapp.o diffusion3/ns/diffagent.o diffusion3/ns/diffrtg.o diffusion3/ns/difftimer.o diffusion3/filter_core/filter_core.o diffusion3/filter_core/iolog.o diffusion3/filter_core/iostats.o diffusion3/lib/main/attrs.o diffusion3/lib/main/events.o diffusion3/lib/main/iodev.o diffusion3/lib/main/iohook.o diffusion3/lib/main/timers.o diffusion3/lib/main/message.o diffusion3/lib/main/tools.o diffusion3/apps/gear_examples/gear_common.o diffusion3/apps/gear_examples/gear_receiver.o diffusion3/apps/gear_examples/gear_sender.o diffusion3/apps/rmst_examples/rmst_sink.o diffusion3/apps/rmst_examples/rmst_source.o diffusion3/apps/ping/1pp_ping_sender.o diffusion3/apps/ping/1pp_ping_receiver.o diffusion3/apps/ping/2pp_ping_sender.o diffusion3/apps/ping/2pp_ping_receiver.o diffusion3/apps/ping/ping_common.o diffusion3/apps/ping/push_receiver.o diffusion3/apps/ping/push_sender.o diffusion3/filters/gear/gear_attr.o diffusion3/filters/gear/gear.o diffusion3/filters/gear/gear_tools.o diffusion3/filters/misc/log.o diffusion3/filters/misc/srcrt.o diffusion3/filters/misc/tag.o diffusion3/filters/rmst/rmst.o diffusion3/filters/rmst/rmst_filter.o delaybox/delaybox.o packmime/packmime_HTTP.o packmime/packmime_HTTP_rng.o packmime/packmime_OL.o packmime/packmime_OL_ranvar.o packmime/packmime_ranvar.o gen/version.o gen/ns_tcl.o gen/ptypes.o common/win32.o -L/data/ns-allinone-2.31/tclcl-1.19 -ltclcl -L/data/ns-allinone-2.31/otcl-1.13 -lotcl -L/data/ns-allinone-2.31/lib -ltk8.4 -L/data/ns-allinone-2.31/lib -ltcl8.4 -lnsl -lintl -lpcap -lm -lm ld: 0711-317 ERROR: Undefined symbol: vtable for __cxxabiv1::__class_type_info ld: 0711-317 ERROR: Undefined symbol: vtable for __cxxabiv1::__si_class_type_info ld: 0711-317 ERROR: Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info ld: 0711-317 ERROR: Undefined symbol: .std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*) ld: 0711-317 ERROR: Undefined symbol: .std::basic_ostream >::operator<<(unsigned long) ld: 0711-317 ERROR: Undefined symbol: .std::basic_ostream >::operator<<(short) ld: 0711-317 ERROR: Undefined symbol: .std::basic_ostream >::operator<<(std::ios_base& (*)(std::ios_base&)) ld: 0711-317 ERROR: Undefined symbol: .std::basic_ostream >::operator<<(int) ld: 0711-317 ERROR: Undefined symbol: .std::basic_ifstream >::basic_ifstream(char const*, std::_Ios_Openmode) ld: 0711-317 ERROR: Undefined symbol: .std::basic_ios >::fail() const ld: 0711-317 ERROR: Undefined symbol: .std::basic_istream >& std::operator>> >(std::basic_istream >&, char*) ld: 0711-317 ERROR: Undefined symbol: .std::basic_istream >::get(char&) ld: 0711-317 ERROR: Undefined symbol: .std::basic_istream >::get(char*, long, char) ld: 0711-317 ERROR: Undefined symbol: .std::basic_istream >::operator>>(int&) ld: 0711-317 ERROR: Undefined symbol: .std::basic_ifstream >::close() ld: 0711-317 ERROR: Undefined symbol: .std::basic_ifstream >::~basic_ifstream() ld: 0711-317 ERROR: Undefined symbol: .std::basic_string, std::allocator >::~basic_string() ld: 0711-317 ERROR: Undefined symbol: .std::basic_string, std::allocator >::basic_string(std::basic_string, std::allocator > const&) ld: 0711-317 ERROR: Undefined symbol: .std::basic_string, std::allocator >::compare(std::basic_string, std::allocator > const&) const ld: 0711-317 ERROR: Undefined symbol: .std::allocator::allocator() ld: 0711-317 ERROR: Undefined symbol: .std::basic_string, std::allocator >::basic_string(char const*, std::allocator const&) ld: 0711-317 ERROR: Undefined symbol: .std::allocator::~allocator() ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1. Stop. Theresa Nelson M.S. Computer Engineering Networks & Network Security 1330 Torg Hall, IT Security Lab Virginia Tech From claudia.campolo at unirc.it Wed Feb 13 12:12:42 2008 From: claudia.campolo at unirc.it (Claudia Campolo) Date: Wed, 13 Feb 2008 21:12:42 +0100 Subject: [ns] ns-2.31 and 802.11e Message-ID: <52c33ea94b360f4a.4b360f4a52c33ea9@mailsrv.unirc.it> Hi all, I am new to ns. I would like to say if someone has already tested 802.11e patch from TKN Berlin (suitable for older version of ns, e.g. ns-2.28) in the new release ns-2.31. Thanks in advance! Kind regards C. From ns2 at live.de Wed Feb 13 13:02:52 2008 From: ns2 at live.de (viva wlan) Date: Wed, 13 Feb 2008 22:02:52 +0100 Subject: [ns] I want to examnie security aspect for Voice over Wlan(ns2-version or 802.11 standard) Message-ID: Hi all,I am new to ns2. I would like to examine security for voice over wlan 802.11i. wisch ns2-version or 802.11 standard can I use? Thanks in advance!Kind regards _________________________________________________________________ Kostenlose Windows Live Services in einem Komplettpaket. Gleich downloaden! http://get.live.com/ From samy.samar at hotmail.com Wed Feb 13 14:41:27 2008 From: samy.samar at hotmail.com (samy samar) Date: Wed, 13 Feb 2008 16:41:27 -0600 Subject: [ns] ESRT code Message-ID: Hi,Could you please send me a code to simulate ESRT (Event to sink reliable transport) protocol for wireless sensor network.ThanksBest regards, Samy _________________________________________________________________ From salcaraz at obelix.umh.es Wed Feb 13 16:48:23 2008 From: salcaraz at obelix.umh.es (salcaraz@obelix.umh.es) Date: Thu, 14 Feb 2008 01:48:23 +0100 (CET) Subject: [ns] Simulation of web traffic from web servers logs In-Reply-To: <200802091007.m19A7vUD003901@gamma.isi.edu> References: <15368757.post@talk.nabble.com> <200802091007.m19A7vUD003901@gamma.isi.edu> Message-ID: any idea, please? I only need the name of the file or procedure. Thanks. Hi all, I need to simulate web traffic using web servers logs. So, What is the ns-2 module that I need to use? Thank you very much /salva > > From neerajgupta37 at rediffmail.com Wed Feb 13 20:00:58 2008 From: neerajgupta37 at rediffmail.com (neeraj gupta) Date: 14 Feb 2008 04:00:58 -0000 Subject: [ns] bandwidth estimation Message-ID: <20080214040058.17672.qmail@webmail52.rediffmail.com> hi all how do we calculate the bandwidth requirement of the application . also where in mac layer is bandwidth calculated , self and one hop neighbors. how can we manipulate the algorithm in ns . Neeraj Neeraj From feel2chat at gmail.com Wed Feb 13 20:16:22 2008 From: feel2chat at gmail.com (feel2chat) Date: Thu, 14 Feb 2008 04:16:22 +0000 Subject: [ns] Link Failure Probability In-Reply-To: <62010d950802132004g1ebb48b5n75412111705a742d@mail.gmail.com> References: <62010d950802132004g1ebb48b5n75412111705a742d@mail.gmail.com> Message-ID: <62010d950802132016i320f0d39x5011e697824c0c3b@mail.gmail.com> Hi, I have a network topology generated by GT-ITM and I need to add a link failure probability before I run the simulations. For example how to run network simulations with link failure probability 0.2? Any hints? cheers! Z From vls_sistla at yahoo.com Wed Feb 13 21:59:51 2008 From: vls_sistla at yahoo.com (sstl vls) Date: Wed, 13 Feb 2008 21:59:51 -0800 (PST) Subject: [ns] LEACH installation Message-ID: <113742.29607.qm@web32513.mail.mud.yahoo.com> Hello all, Iam trying to install and run LEACH on ubuntu6.06. I followed the procedure from the site: http://tmtam.wordpress.com/2007/07/31/installing-ns-227-and-leach-extension-on-ubuntu-704-feisty-fawn/ and encountered the following problems on ./test: ./test num_nodes is set 3 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl warning: no class variable Phy/WirelessPhy::alive_ see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Phy/WirelessPhy::Efriss_amp_ warning: no class variable Phy/WirelessPhy::Etwo_ray_amp_ warning: no class variable Phy/WirelessPhy::EXcvr_ warning: no class variable Phy/WirelessPhy::sleep_ warning: no class variable Phy/WirelessPhy::ss_ warning: no class variable Phy/WirelessPhy::dist_ INITIALIZE THE LIST xListHead warning: no class variable Phy/WirelessPhy::alive_ see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Phy/WirelessPhy::Efriss_amp_ warning: no class variable Phy/WirelessPhy::Etwo_ray_amp_ warning: no class variable Phy/WirelessPhy::EXcvr_ warning: no class variable Phy/WirelessPhy::sleep_ warning: no class variable Phy/WirelessPhy::ss_ warning: no class variable Phy/WirelessPhy::dist_ warning: no class variable Phy/WirelessPhy::alive_ see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Phy/WirelessPhy::Efriss_amp_ warning: no class variable Phy/WirelessPhy::Etwo_ray_amp_ warning: no class variable Phy/WirelessPhy::EXcvr_ warning: no class variable Phy/WirelessPhy::sleep_ warning: no class variable Phy/WirelessPhy::ss_ warning: no class variable Phy/WirelessPhy::dist_ Loading connection pattern? Loading scenario file? Starting Simulation? channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, distCST_ = 89.8 SORTING LISTS ?DONE! NS EXITING? 1..... Why is this happening? I guess the problem is with the inclusion of Phy/WirelessPhy channel. Where is it located in the ns2.27 folder? How do I verify if it is present? N How do I include it? When I execute validate, I get the outputs do not match standard results. Can you tell me where the problem lies? 2. Also once the GCC 4.1.x: ns-2.27-gcc410.patch patch is applied, nrlsensorsim extension for ns 2.27 is showing problems on installation. I had to omit that. 3. Do I have to install 802.15.4 layer support separately to simulate sensor networks? How do I do it? Kindly help. It is extremely important to me. -Sreevalli Send instant messages to your online friends http://uk.messenger.yahoo.com From gkioumou at gmail.com Thu Feb 14 00:27:57 2008 From: gkioumou at gmail.com (GEORGIOS KIOUMOURTZIS) Date: Thu, 14 Feb 2008 09:27:57 +0100 Subject: [ns] ns-2.31 and 802.11e Message-ID: <2c92d6790802140027k55aa045ag9abc20aaa455091@mail.gmail.com> I did it in ns-2.30 but some modifications are needed in the code. I see if I can upload it on my web site with some instructions and simulation sripts. br -- Georgios Kioumourtzis,MSc Computer Engineering and Informatics Department University of Patras, Greece alt email: gkioumou at ceid.upatras.gr URL:http://gkioumou.googlepages.com/home From gladiator_uts at yahoo.com Thu Feb 14 00:55:47 2008 From: gladiator_uts at yahoo.com (Livian) Date: Thu, 14 Feb 2008 00:55:47 -0800 (PST) Subject: [ns] Can anyone Help ? Message-ID: <693216.26096.qm@web37002.mail.mud.yahoo.com> Hello If this is the situation of a trace file : What will be the correct throughput and Goodput in KBits/Sec ? Thanks in advance . + 0.1 1 2 cbr 1000 ------- 2 1.0 3.1 0 0 - 0.1 1 2 cbr 1000 ------- 2 1.0 3.1 0 0 r 0.114 1 2 cbr 1000 ------- 2 1.0 3.1 0 0 + 0.114 2 3 cbr 1000 ------- 2 1.0 3.1 0 0 - 0.114 2 3 cbr 1000 ------- 2 1.0 3.1 0 0 r 0.248286 2 3 cbr 1000 ------- 2 1.0 3.1 0 0 + 0.9 1 2 cbr 1000 ------- 2 1.0 3.1 1 1 - 0.9 1 2 cbr 1000 ------- 2 1.0 3.1 1 1 r 0.914 1 2 cbr 1000 ------- 2 1.0 3.1 1 1 + 0.914 2 3 cbr 1000 ------- 2 1.0 3.1 1 1 - 0.914 2 3 cbr 1000 ------- 2 1.0 3.1 1 1 + 1 0 2 tcp 40 ------- 1 0.0 3.0 0 2 - 1 0 2 tcp 40 ------- 1 0.0 3.0 0 2 r 1.01016 0 2 tcp 40 ------- 1 0.0 3.0 0 2 + 1.01016 2 3 tcp 40 ------- 1 0.0 3.0 0 2 - 1.028286 2 3 tcp 40 ------- 1 0.0 3.0 0 2 r 1.048286 2 3 cbr 1000 ------- 2 1.0 3.1 1 1 r 1.052857 2 3 tcp 40 ------- 1 0.0 3.0 0 2 + 1.152857 3 2 ack 40 ------- 1 3.0 0.0 0 3 - 1.152857 3 2 ack 40 ------- 1 3.0 0.0 0 3 r 1.177429 3 2 ack 40 ------- 1 3.0 0.0 0 3 + 1.177429 2 0 ack 40 ------- 1 3.0 0.0 0 3 - 1.177429 2 0 ack 40 ------- 1 3.0 0.0 0 3 r 1.187589 2 0 ack 40 ------- 1 3.0 0.0 0 3 + 1.187589 0 2 tcp 1050 ------- 1 0.0 3.0 1 4 - 1.187589 0 2 tcp 1050 ------- 1 0.0 3.0 1 4 + 1.187589 0 2 tcp 1050 ------- 1 0.0 3.0 2 5 - 1.191789 0 2 tcp 1050 ------- 1 0.0 3.0 2 5 r 1.201789 0 2 tcp 1050 ------- 1 0.0 3.0 1 4 + 1.201789 2 3 tcp 1050 ------- 1 0.0 3.0 1 4 - 1.201789 2 3 tcp 1050 ------- 1 0.0 3.0 1 4 r 1.205989 0 2 tcp 1050 ------- 1 0.0 3.0 2 5 + 1.205989 2 3 tcp 1050 ------- 1 0.0 3.0 2 5 - 1.321789 2 3 tcp 1050 ------- 1 0.0 3.0 2 5 r 1.341789 2 3 tcp 1050 ------- 1 0.0 3.0 1 4 + 1.441789 3 2 ack 40 ------- 1 3.0 0.0 1 6 - 1.441789 3 2 ack 40 ------- 1 3.0 0.0 1 6 r 1.461789 2 3 tcp 1050 ------- 1 0.0 3.0 2 5 r 1.46636 3 2 ack 40 ------- 1 3.0 0.0 1 6 + 1.46636 2 0 ack 40 ------- 1 3.0 0.0 1 6 - 1.46636 2 0 ack 40 ------- 1 3.0 0.0 1 6 r 1.47652 2 0 ack 40 ------- 1 3.0 0.0 1 6 + 1.47652 0 2 tcp 1050 ------- 1 0.0 3.0 3 7 - 1.47652 0 2 tcp 1050 ------- 1 0.0 3.0 3 7 + 1.47652 0 2 tcp 1050 ------- 1 0.0 3.0 4 8 - 1.48072 0 2 tcp 1050 ------- 1 0.0 3.0 4 8 r 1.49072 0 2 tcp 1050 ------- 1 0.0 3.0 3 7 + 1.49072 2 3 tcp 1050 ------- 1 0.0 3.0 3 7 - 1.49072 2 3 tcp 1050 ------- 1 0.0 3.0 3 7 r 1.49492 0 2 tcp 1050 ------- 1 0.0 3.0 4 8 + 1.49492 2 3 tcp 1050 ------- 1 0.0 3.0 4 8 + 1.561789 3 2 ack 40 ------- 1 3.0 0.0 2 9 - 1.561789 3 2 ack 40 ------- 1 3.0 0.0 2 9 r 1.58636 3 2 ack 40 ------- 1 3.0 0.0 2 9 + 1.58636 2 0 ack 40 ------- 1 3.0 0.0 2 9 - 1.58636 2 0 ack 40 ------- 1 3.0 0.0 2 9 r 1.59652 2 0 ack 40 ------- 1 3.0 0.0 2 9 + 1.59652 0 2 tcp 1050 ------- 1 0.0 3.0 5 10 - 1.59652 0 2 tcp 1050 ------- 1 0.0 3.0 5 10 + 1.59652 0 2 tcp 1050 ------- 1 0.0 3.0 6 11 - 1.60072 0 2 tcp 1050 ------- 1 0.0 3.0 6 11 - 1.61072 2 3 tcp 1050 ------- 1 0.0 3.0 4 8 r 1.61072 0 2 tcp 1050 ------- 1 0.0 3.0 5 10 + 1.61072 2 3 tcp 1050 ------- 1 0.0 3.0 5 10 r 1.61492 0 2 tcp 1050 ------- 1 0.0 3.0 6 11 + 1.61492 2 3 tcp 1050 ------- 1 0.0 3.0 6 11 r 1.63072 2 3 tcp 1050 ------- 1 0.0 3.0 3 7 + 1.7 1 2 cbr 1000 ------- 2 1.0 3.1 2 12 - 1.7 1 2 cbr 1000 ------- 2 1.0 3.1 2 12 r 1.714 1 2 cbr 1000 ------- 2 1.0 3.1 2 12 + 1.714 2 3 cbr 1000 ------- 2 1.0 3.1 2 12 + 1.73072 3 2 ack 40 ------- 1 3.0 0.0 3 13 - 1.73072 3 2 ack 40 ------- 1 3.0 0.0 3 13 - 1.73072 2 3 tcp 1050 ------- 1 0.0 3.0 5 10 r 1.75072 2 3 tcp 1050 ------- 1 0.0 3.0 4 8 r 1.755291 3 2 ack 40 ------- 1 3.0 0.0 3 13 + 1.755291 2 0 ack 40 ------- 1 3.0 0.0 3 13 - 1.755291 2 0 ack 40 ------- 1 3.0 0.0 3 13 r 1.765451 2 0 ack 40 ------- 1 3.0 0.0 3 13 + 1.765451 0 2 tcp 1050 ------- 1 0.0 3.0 7 14 - 1.765451 0 2 tcp 1050 ------- 1 0.0 3.0 7 14 + 1.765451 0 2 tcp 1050 ------- 1 0.0 3.0 8 15 - 1.769651 0 2 tcp 1050 ------- 1 0.0 3.0 8 15 r 1.779651 0 2 tcp 1050 ------- 1 0.0 3.0 7 14 + 1.779651 2 3 tcp 1050 ------- 1 0.0 3.0 7 14 r 1.783851 0 2 tcp 1050 ------- 1 0.0 3.0 8 15 --------------------------------- Never miss a thing. Make Yahoo your homepage. From jawadoubaha at yahoo.fr Thu Feb 14 03:22:52 2008 From: jawadoubaha at yahoo.fr (jawad oubaha) Date: Thu, 14 Feb 2008 12:22:52 +0100 (CET) Subject: [ns] TSS algorithm in NS Message-ID: <924664.14879.qm@web27006.mail.ukl.yahoo.com> Hello I would to use MPLS with TSS algorithm in NS (Network simulator) I want to integrate the algorithm TSS into NS Can you help me? thanks in advance Jawad OUBAHA Doctorant au Laboratoire SI2M, ?quipe WiM ENSIAS UM5S Souissi, BP.713 RABAT Maroc Tel +21268219436 --------------------------------- Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail From errahulmathur at gmail.com Thu Feb 14 03:23:28 2008 From: errahulmathur at gmail.com (rahul mathur) Date: Thu, 14 Feb 2008 16:53:28 +0530 Subject: [ns] Snoop ,WTCP implemtation help required In-Reply-To: References: Message-ID: I m new to NS2. Could anyone tell me how to implement Snoop , WTCP and I-TCP in NS2. Thanks in advance. Regards, Rahul Mathur From gladiator_uts at yahoo.com Thu Feb 14 21:47:23 2008 From: gladiator_uts at yahoo.com (Livian) Date: Thu, 14 Feb 2008 21:47:23 -0800 (PST) Subject: [ns] Packet Drop Rate Message-ID: <168095.34405.qm@web37015.mail.mud.yahoo.com> Hello How can we calculate Packet Drop Rate from trace file if we consider Mixed wired and wireless situation ? --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. From mnikpour59 at yahoo.com Fri Feb 15 03:15:53 2008 From: mnikpour59 at yahoo.com (Mohammad Nikoupour) Date: Fri, 15 Feb 2008 03:15:53 -0800 (PST) Subject: [ns] Does anyone get my question? Message-ID: <407998.80327.qm@web45514.mail.sp1.yahoo.com> Please send an mpty answer, I doubt if anyone gets my questions. Thx --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From mnikpour59 at yahoo.com Fri Feb 15 03:17:15 2008 From: mnikpour59 at yahoo.com (Mohammad Nikoupour) Date: Fri, 15 Feb 2008 03:17:15 -0800 (PST) Subject: [ns] How do agents connect? Message-ID: <905770.19657.qm@web45512.mail.sp1.yahoo.com> Can an agent connect to another without executing connect in TCL? I want to do it in C++ code. Thx --------------------------------- Never miss a thing. Make Yahoo your homepage. From daji at iastate.edu Fri Feb 15 09:14:56 2008 From: daji at iastate.edu (Qiao, Daji [E CPE]) Date: Fri, 15 Feb 2008 11:14:56 -0600 Subject: [ns] CFP: IEEE ICCCN -- Wireless Platform: Applications and Testbeds TRACK (due date approaching soon) In-Reply-To: <1183DCE9E7BEEF41B92A2F933E51EA1A01F450B8@murtagh.eng.iastate.edu> References: <1183DCE9E7BEEF41B92A2F933E51EA1AC6065A@murtagh.eng.iastate.edu> <1183DCE9E7BEEF41B92A2F933E51EA1A01EFE0BF@murtagh.eng.iastate.edu> <1183DCE9E7BEEF41B92A2F933E51EA1A01F450B8@murtagh.eng.iastate.edu> Message-ID: <1183DCE9E7BEEF41B92A2F933E51EA1A021BE28B@murtagh.eng.iastate.edu> We apologize in advance if you receive multiple copies of this CFP. >>> CALL FOR PAPERS <<< >>> IEEE ICCCN 2008 <<< >>> Wireless Platform: Applications and Testbeds TRACK <<< > Frenchman's Reef & Morning Star Marriott Beach Resort > St. Thomas, US Virgin Islands, USA > August 04-07, 2008 > http://www.icccn.org/icccn08/ >>> Submission Deadline: February 17, 2008 <<< Wireless networks are among the fastest growing fields in the communication technologies. This dramatic evolution has spurred new challenges to research community and introduced an array of exciting applications. This track provides a common platform for discussion to leading researchers, industry professionals and academics across the world to present their work and discuss the latest advances in wireless systems, testbeds and applications. The aim of this track is to disseminate research results, introduce novel applications, promote new ideas and share experiences with real systems and networks. Original papers that can steer discussion to new ideas are welcome. Submitted papers will be peer reviewed by the members of technical program committee. All submissions must present unpublished work and should not be currently under review by any other conference or journal. Topics of interest include, but are not limited to, the following topics: - Wireless networking testbeds, prototypes, and middleware - Design, implementation, and experimental evaluation of wireless networking protocols and algorithms - Wireless network traffic characterization, measurement, and usability studies - Network architectures and management solutions for wireless communications - Mobility management and handoff mechanisms - Security, privacy and dependability issues in wireless networks - QoS issues in WLAN, WPAN and WMAN systems - Packet scheduling and link adaptation techniques in wireless networks - Channel allocation and resource management schemes in wireless networks - Performance evaluation of multimedia services using analytical, simulation and experimental techniques Submission of Manuscripts: Please follow the general submission instructions on the conference website. >>> Important Dates <<< Submission Deadline: February 17, 2008 Notification: May 12, 2008 Camera Ready Due: June 1, 2008 >>> Organizing Committee <<< Track Co-Chairs: Prof. Daji Qiao (Iowa State University, USA) Prof. Irfan Awan (University of Bradford, UK) From mayuravb at gmail.com Fri Feb 15 19:33:19 2008 From: mayuravb at gmail.com (Mayura Bhandarkar) Date: Fri, 15 Feb 2008 22:33:19 -0500 Subject: [ns] Code for OGDC(Optimal Geographical Density Control)in NS2 In-Reply-To: <2ac268fc0802151932v1374cadn4a4e86c18c08b9ec@mail.gmail.com> References: <2ac268fc0802151932v1374cadn4a4e86c18c08b9ec@mail.gmail.com> Message-ID: <2ac268fc0802151933k13736f8es4258b75dde144f82@mail.gmail.com> Hi, I want to run some simulations on OGDC Algorithm for Sensor Networks.(Maintaining Sensing Coverage and Connectivity in Sensor Networks) I am looking for NS2 implementation of this algorithm. Does anyone know where I can find it. I would appreciate the help. Thanks and Regards, M. From ericosign at gmail.com Fri Feb 15 21:17:17 2008 From: ericosign at gmail.com (Erico Augusto) Date: Sat, 16 Feb 2008 02:17:17 -0300 Subject: [ns] Help :Command Problem for awk script In-Reply-To: <375599.25644.qm@web56715.mail.re3.yahoo.com> References: <375599.25644.qm@web56715.mail.re3.yahoo.com> Message-ID: Copy and paste this: gawk -f throughput.awk out.tr Execute it. 2008/2/12, LoTuS SwEeT : > > > > Hi there, > > I got this problem when i was simulating this script. > > > #Create a simulator object > > set ns [new Simulator] > > > > #Define different colors for data flows (for NAM) > > $ns color 1 Blue > > $ns color 2 Red > > > > #Open the NAM trace file > > set nf [open out.nam w] > > $ns namtrace-all $nf > > > > #Open the traffic trace file to record all events > > set nd [open out.tr w] > > $ns trace-all $nd > > > > #Define a 'finish' procedure > > proc finish {} { > > global ns nf nd > > $ns flush-trace > > #Close the NAM trace file > > close $nf > > close $nd > > #Execute NAM on the trace file > > exec nam out.nam & > > exit 0 > > } > > > > #Create four nodes > > set n0 [$ns node] > > set n1 [$ns node] > > set n2 [$ns node] > > set n3 [$ns node] > > > > #Create links between the nodes > > $ns duplex-link $n0 $n2 2Mb 10ms DropTail > > $ns duplex-link $n1 $n2 2Mb 10ms DropTail > > $ns duplex-link $n2 $n3 1.7Mb 20ms DropTail > > > > #Set Queue Size of link (n2-n3) to 10 > > $ns queue-limit $n2 $n3 10 > > > > #Give node position (for NAM) > > $ns duplex-link-op $n0 $n2 orient right-down > > $ns duplex-link-op $n1 $n2 orient right-up > > $ns duplex-link-op $n2 $n3 orient right > > > > #Monitor the queue for link (n2-n3). (for NAM) > > $ns duplex-link-op $n2 $n3 queuePos 0.5 > > > > #Setup a TCP connection > > set tcp [new Agent/TCP] > > $tcp set class_ 2 > > $ns attach-agent $n0 $tcp > > set sink [new Agent/TCPSink] > > $ns attach-agent $n3 $sink > > $ns connect $tcp $sink > > $tcp set fid_ 1 > > > > #Setup a FTP over TCP connection > > set ftp [new Application/FTP] > > $ftp attach-agent $tcp > > $ftp set type_ FTP > > > > #Setup a UDP connection > > set udp [new Agent/UDP] > > $ns attach-agent $n1 $udp > > set null [new Agent/Null] > > $ns attach-agent $n3 $null > > $ns connect $udp $null > > $udp set fid_ 2 > > > > #Setup a CBR over UDP connection > > set cbr [new Application/Traffic/CBR] > > $cbr attach-agent $udp > > $cbr set type_ CBR > > $cbr set packet_size_ 1000 > > $cbr set rate_ 1mb > > $cbr set random_ false > > > > #Schedule events for the CBR and FTP agents > > $ns at 0.1 "$cbr start" > > $ns at 1.0 "$ftp start" > > $ns at 4.0 "$ftp stop" > > $ns at 4.5 "$cbr stop" > > > > #Detach tcp and sink agents (not really necessary) > > $ns at 4.5 "$ns detach-agent $n0 $tcp ; $ns detach-agent $n3 $sink" > > > > #Call the finish procedure after 5 seconds of simulation time > > $ns at 5.0 "finish" > > > > #Print CBR packet size and interval > > puts "CBR packet size = [$cbr set packet_size_]" > > puts "CBR interval = [$cbr set interval_]" > > > > #Run the simulation > > $ns run > ------------------------------------------------------------------------- > > Script for measuring throughput > > --------------------------- > throughput.awk------------------------------------------------------ > BEGIN { > > recv = 0 > > } > > > > { > > # Trace line format: normal > > if ($2 != "-t") { > > event = $1 > > time = $2 > > if (event == "+" || event == "-") node_id = $3 > > if (event == "r" || event == "d") node_id = $4 > > flow_id = $8 > > pkt_id = $12 > > pkt_size = $6 > > } > > # Trace line format: new > > if ($2 == "-t") { > > event = $1 > > time = $3 > > node_id = $5 > > flow_id = $39 > > pkt_id = $41 > > pkt_size = $37 > > } > > > > # Calculate total received packets' size > > if (flow_id == flow && event == "r" && node_id == dst) { > > if (flow_t != "sctp") { > > recv += pkt_size - hdr_size > > #printf("recv[%g] = %g --> tot: > > %g\n",node_id,pkt_size-hdr_size,recv) > > } else { > > # Rip off SCTP header, whose size depends > > # on the number of chunks in each packet > > if (pkt_size == 40) pkt_size = 0 > > if (pkt_size == 448) pkt_size = 400 > > if (pkt_size == 864) pkt_size = 800 > > if (pkt_size == 1280) pkt_size = 1200 > > recv += pkt_size > > #printf("recv[%g] = %g --> tot: > > %g\n",node_id,pkt_size,recv) > > } > > } > > } > > > > END { > > printf("%10g %10s %10g\n",flow,flow_t,(recv/simtime)*(8/1000)) > > } > > ---------------------------------------------------------------------------------------------------- > I used following command for throughput and i got following error > > $gawk ?f throughput.awk out.tr > > bash: ?f: command not found > > > LoTuSwEeT at GmAiL.CoM > > > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. > http://tools.search.yahoo.com/newsearch/category.php?category=shopping > > From safee_2000 at hotmail.com Sat Feb 16 03:23:01 2008 From: safee_2000 at hotmail.com (safaa Saad_Eldine) Date: Sat, 16 Feb 2008 11:23:01 +0000 Subject: [ns] aodv help Message-ID: Hello everyone, in ns2 there is a file called "aodv.cc", in this file there is a function called "recv()" . I want to know which part of this function that responsible for "when any destination receives a data packet". thanks safaa saad-eldeen, _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 From gladiator_uts at yahoo.com Sat Feb 16 05:22:25 2008 From: gladiator_uts at yahoo.com (Livian) Date: Sat, 16 Feb 2008 05:22:25 -0800 (PST) Subject: [ns] Wireless Error Message-ID: <465691.95505.qm@web37003.mail.mud.yahoo.com> Hello For the following code repatedly i m facing this error : invalid command name "-llType" while executing "-llType $val(ll) \" How can it be solved ? # ==================================================================== # Define Node Configuration paramaters #==================================================================== set val(chan) Channel/WirelessChannel ;# channel type set val(prop) Propagation/TwoRayGround ;# radio-propagation model set val(netif) Phy/WirelessPhy ;# network interface type set val(mac) Mac/802_11 ;# MAC type set val(ifq) Queue/DropTail/PriQueue ;# interface queue type set val(ll) LL ;# link layer type set val(ant) Antenna/OmniAntenna ;# antenna model set val(ifqlen) 50 ;# max packet in ifq set val(nn) 8 ;# number of mobilenodes set val(rp) DSDV ;# routing protocol set val(x) 500 ;# X dimension of the topography set val(y) 500 ;# Y dimension of the topography Mac/802_11 set RTSThreshold_ 3000 Mac/802_11 set basicRate_ 1Mb Mac/802_11 set dataRate_ 2Mb #===================================================================== # Initialize trace file desctiptors #===================================================================== # *** Throughput Trace *** set f0 [open out02.tr w] set f1 [open out12.tr w] set f2 [open out22.tr w] set f3 [open out32.tr w] # *** Packet Loss Trace *** set f4 [open lost02.tr w] set f5 [open lost12.tr w] set f6 [open lost22.tr w] set f7 [open lost32.tr w] # *** Packet Delay Trace *** set f8 [open delay02.tr w] set f9 [open delay12.tr w] set f10 [open delay22.tr w] set f11 [open delay32.tr w] # *** Initialize Simulator *** set ns_ [new Simulator] # *** Initialize Trace file *** set tracefd [open trace2.tr w] $ns_ trace-all $tracefd # *** Initialize Network Animator *** set namtrace [open sim12.nam w] $ns_ namtrace-all-wireless $namtrace $val(x) $val(y) # *** set up topography object *** set topo [new Topography] $topo load_flatgrid 500 500 # Create General Operations Director (GOD) object. It is used to store global information about the state of the environment, network, or nodes that an # omniscent observer would have, but that should not be made known to any participant in the simulation. create-god $val(nn) # configure nodes $ns_ node-config -adhocRouting $val(rp) \ -llType $val(ll) \ -macType $val(mac) \ -ifqType $val(ifq) \ -ifqLen $val(ifqlen) \ -antType $val(ant) \ -propType $val(prop) \ -phyType $val(netif) \ -channelType $val(chan) \ -topoInstance $topo \ -agentTrace ON \ -routerTrace ON \ -macTrace OFF \ -movementTrace OFF # Create Nodes for {set i 0} {$i < $val(nn) } {incr i} { set node_($i) [$ns_ node] $node_($i) random-motion 0 ;# disable random motion } # Initialize Node Coordinates $node_(0) set X_ 5.0 $node_(0) set Y_ 5.0 $node_(0) set Z_ 0.0 $node_(1) set X_ 200.0 $node_(1) set Y_ 5.0 $node_(1) set Z_ 0.0 $node_(2) set X_ 5.0 $node_(2) set Y_ 50.0 $node_(2) set Z_ 0.0 $node_(3) set X_ 200.0 $node_(3) set Y_ 50.0 $node_(3) set Z_ 0.0 $node_(4) set X_ 5.0 $node_(4) set Y_ 100.0 $node_(4) set Z_ 0.0 $node_(5) set X_ 200.0 $node_(5) set Y_ 100.0 $node_(5) set Z_ 0.0 $node_(6) set X_ 2.0 $node_(6) set Y_ 150.0 $node_(6) set Z_ 0.0 $node_(7) set X_ 200.0 $node_(7) set Y_ 150.0 $node_(7) set Z_ 0.0 # Setup traffic flow between nodes # TCP connections between node_(0) and node_(1) # Create Constant four Bit Rate Traffic sources set agent1 [new Agent/UDP] ;# Create TCP Agent $agent1 set prio_ 0 ;# Set Its priority to 0 set sink [new Agent/LossMonitor] ;# Create Loss Monitor Sink in order to be able to trace the number obytes received $ns_ attach-agent $node_(0) $agent1 ;# Attach Agent to source node $ns_ attach-agent $node_(1) $sink ;# Attach Agent to sink node $ns_ connect $agent1 $sink ;# Connect the nodes set app1 [new Application/Traffic/CBR] ;# Create Constant Bit Rate application $app1 set packetSize_ 512 ;# Set Packet Size to 512 bytes $app1 set rate_ 600Kb ;# Set CBR rate to 200 Kbits/sec $app1 attach-agent $agent1 ;# Attach Application to agent set agent2 [new Agent/UDP] ;# Create TCP Agent $agent2 set prio_ 1 ;# Set Its priority to 1 set sink2 [new Agent/LossMonitor] ;# Create Loss Monitor Sink in order to be able to trace the number obytes received $ns_ attach-agent $node_(2) $agent2 ;# Attach Agent to source node $ns_ attach-agent $node_(3) $sink2 ;# Attach Agent to sink node $ns_ connect $agent2 $sink2 ;# Connect the nodes set app2 [new Application/Traffic/CBR] ;# Create Constant Bit Rate application $app2 set packetSize_ 512 ;# Set Packet Size to 512 bytes $app2 set rate_ 600Kb ;# Set CBR rate to 200 Kbits/sec $app2 attach-agent $agent2 ;# Attach Application to agent set agent3 [new Agent/UDP] ;# Create TCP Agent $agent3 set prio_ 2 ;# Set Its priority to 2 set sink3 [new Agent/LossMonitor] ;# Create Loss Monitor Sink in order to be able to trace the number obytes received $ns_ attach-agent $node_(4) $agent3 ;# Attach Agent to source node $ns_ attach-agent $node_(5) $sink3 ;# Attach Agent to sink node $ns_ connect $agent3 $sink3 ;# Connect the nodes set app3 [new Application/Traffic/CBR] ;# Create Constant Bit Rate application $app3 set packetSize_ 512 ;# Set Packet Size to 512 bytes $app3 set rate_ 600Kb ;# Set CBR rate to 200 Kbits/sec $app3 attach-agent $agent3 ;# Attach Application to agent set agent4 [new Agent/UDP] ;# Create TCP Agent $agent4 set prio_ 3 ;# Set Its priority to 3 set sink4 [new Agent/LossMonitor] ;# Create Loss Monitor Sink in order to be able to trace the number obytes received $ns_ attach-agent $node_(6) $agent4 ;# Attach Agent to source node $ns_ attach-agent $node_(7) $sink4 ;# Attach Agent to sink node $ns_ connect $agent4 $sink4 ;# Connect the nodes set app4 [new Application/Traffic/CBR] ;# Create Constant Bit Rate application $app4 set packetSize_ 512 ;# Set Packet Size to 512 bytes $app4 set rate_ 600Kb ;# Set CBR rate to 200 Kbits/sec $app4 attach-agent $agent4 ;# Attach Application to agent # defines the node size in Network Animator for {set i 0} {$i < $val(nn)} {incr i} { $ns_ initial_node_pos $node_($i) 20 } # Initialize Flags set holdtime 0 set holdseq 0 set holdtime1 0 set holdseq1 0 set holdtime2 0 set holdseq2 0 set holdtime3 0 set holdseq3 0 set holdrate1 0 set holdrate2 0 set holdrate3 0 set holdrate4 0 # Function To record Statistcis (Bit Rate, Delay, Drop) proc record {} { global sink sink2 sink3 sink4 f0 f1 f2 f3 f4 f5 f6 f7 holdtime holdseq holdtime1 holdseq1 holdtime2 holdseq2 holdtime3 holdseq3 f8 f9 f10 f11 holdrate1 holdrate2 holdrate3 holdrate4 set ns [Simulator instance] set time 0.9 ;#Set Sampling Time to 0.9 Sec set bw0 [$sink set bytes_] set bw1 [$sink2 set bytes_] set bw2 [$sink3 set bytes_] set bw3 [$sink4 set bytes_] set bw4 [$sink set nlost_] set bw5 [$sink2 set nlost_] set bw6 [$sink3 set nlost_] set bw7 [$sink4 set nlost_] set bw8 [$sink set lastPktTime_] set bw9 [$sink set npkts_] set bw10 [$sink2 set lastPktTime_] set bw11 [$sink2 set npkts_] set bw12 [$sink3 set lastPktTime_] set bw13 [$sink3 set npkts_] set bw14 [$sink4 set lastPktTime_] set bw15 [$sink4 set npkts_] set now [$ns now] # Record Bit Rate in Trace Files puts $f0 "$now [expr (($bw0+$holdrate1)*8)/(2*$time*1000000)]" puts $f1 "$now [expr (($bw1+$holdrate2)*8)/(2*$time*1000000)]" puts $f2 "$now [expr (($bw2+$holdrate3)*8)/(2*$time*1000000)]" puts $f3 "$now [expr (($bw3+$holdrate4)*8)/(2*$time*1000000)]" # Record Packet Loss Rate in File puts $f4 "$now [expr $bw4/$time]" puts $f5 "$now [expr $bw5/$time]" puts $f6 "$now [expr $bw6/$time]" puts $f7 "$now [expr $bw7/$time]" # Record Packet Delay in File if { $bw9 > $holdseq } { puts $f8 "$now [expr ($bw8 - $holdtime)/($bw9 - $holdseq)]" } else { puts $f8 "$now [expr ($bw9 - $holdseq)]" } if { $bw11 > $holdseq1 } { puts $f9 "$now [expr ($bw10 - $holdtime1)/($bw11 - $holdseq1)]" } else { puts $f9 "$now [expr ($bw11 - $holdseq1)]" } if { $bw13 > $holdseq2 } { puts $f10 "$now [expr ($bw12 - $holdtime2)/($bw13 - $holdseq2)]" } else { puts $f10 "$now [expr ($bw13 - $holdseq2)]" } if { $bw15 > $holdseq3 } { puts $f11 "$now [expr ($bw14 - $holdtime3)/($bw15 - $holdseq3)]" } else { puts $f11 "$now [expr ($bw15 - $holdseq3)]" } # Reset Variables $sink set bytes_ 0 $sink2 set bytes_ 0 $sink3 set bytes_ 0 $sink4 set bytes_ 0 $sink set nlost_ 0 $sink2 set nlost_ 0 $sink3 set nlost_ 0 $sink4 set nlost_ 0 set holdtime $bw8 set holdseq $bw9 set holdrate1 $bw0 set holdrate2 $bw1 set holdrate3 $bw2 set holdrate4 $bw3 $ns at [expr $now+$time] "record" ;# Schedule Record after $time interval sec } # Start Recording at Time 0 $ns_ at 0.0 "record" $ns_ at 1.4 "$app1 start" ;# Start transmission at time t = 1.4 Sec $ns_ at 10.0 "$app2 start" ;# Start transmission at time t = 10 Sec $ns_ at 20.0 "$app3 start" ;# Start transmission at time t = 20 Sec $ns_ at 30.0 "$app4 start" ;# Start transmission at time t = 30 Sec # Stop Simulation at Time 80 sec $ns_ at 80.0 "stop" # Reset Nodes at time 80 sec for {set i 0} {$i < $val(nn) } {incr i} { $ns_ at 80.0 "$node_($i) reset"; } # Exit Simulatoion at Time 80.01 sec $ns_ at 80.01 "puts \"NS EXITING...\" ; $ns_ halt" proc stop {} { global ns_ tracefd f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 # Close Trace Files close $f0 close $f1 close $f2 close $f3 close $f4 close $f5 close $f6 close $f7 close $f8 close $f9 close $f10 close $f11 # Plot Recorded Statistics exec xgraph out02.tr out12.tr out22.tr out32.tr -geometry 800x400 & exec xgraph lost02.tr lost12.tr lost22.tr lost32.tr -geometry 800x400 & exec xgraph delay02.tr delay12.tr delay22.tr delay32.tr -geometry 800x400 & # Reset Trace File $ns_ flush-trace close $tracefd exit 0 } puts "Starting Simulation..." $ns_ run --------------------------------- Never miss a thing. Make Yahoo your homepage. From claudia.campolo at unirc.it Sat Feb 16 06:37:16 2008 From: claudia.campolo at unirc.it (Claudia Campolo) Date: Sat, 16 Feb 2008 15:37:16 +0100 Subject: [ns] ns2 wireless data forwarding Message-ID: <443d884d2d5e532f.2d5e532f443d884d@mailsrv.unirc.it> Hello, I would like to understand when in a wireless simulation the first field of the trace file could be set to "f". I'm using AODV as routing protocol and I think that the multi-hop packet forwarding is enabled by default. Is this right? Thanks a lot! Have a nice sunday! C. From gokul.deva at gmail.com Fri Feb 15 23:05:56 2008 From: gokul.deva at gmail.com (Gokul) Date: Sat, 16 Feb 2008 13:05:56 +0600 Subject: [ns] Using ferry node for wireless networking. In-Reply-To: References: Message-ID: Hi, I'm using NS 2.31, i need to make communication between two disconnected wireless networks with the help of a ferry node. The ferry is the moving node that go in the range of the disconnected networks from time to time. The ferry must act in a Strore-Carry-Deliver method. For that, i need the ferry to have a buffer to store the packet sent from one node and deliver to the destination node which is out of range for the first node. I'm using AODV protocol. Should i modify the AODV protocol for this..? or is there any way without modifying the protocol to work with the application layer itself. I attached the snapshot in which i created the ferry without that protocol.. In that snapshot nodes 0,1,2,3 are stationary wireless nodes, where node 4 is the ferry which moves to others range. Help me in this.. From mayuravb at gmail.com Sat Feb 16 12:03:10 2008 From: mayuravb at gmail.com (Mayura Bhandarkar) Date: Sat, 16 Feb 2008 15:03:10 -0500 Subject: [ns] Fwd: Request to mailing list Ns-developers rejected In-Reply-To: References: Message-ID: <2ac268fc0802161203u232b7995r4bfb10f9ce546d36@mail.gmail.com> Why did my message get rejected?? Mayura. ---------- Forwarded message ---------- From: Date: Feb 16, 2008 2:49 PM Subject: Request to mailing list Ns-developers rejected To: mayuravb at gmail.com Your request to the Ns-developers mailing list Posting of your message titled "Code for OGDC(Optimal Geographical Density Control)in NS2" has been rejected by the list moderator. The moderator gave the following reason for rejecting your request: "Your message was deemed inappropriate by the moderator. Please redirect queries of this type to ns-users at isi.edu." Any questions or comments should be directed to the list administrator at: ns-developers-owner at isi.edu From tomh at tomh.org Sat Feb 16 19:15:43 2008 From: tomh at tomh.org (Tom Henderson) Date: Sat, 16 Feb 2008 19:15:43 -0800 Subject: [ns] Fwd: Request to mailing list Ns-developers rejected In-Reply-To: <2ac268fc0802161203u232b7995r4bfb10f9ce546d36@mail.gmail.com> References: <2ac268fc0802161203u232b7995r4bfb10f9ce546d36@mail.gmail.com> Message-ID: <47B7A6DF.4000803@tomh.org> Mayura Bhandarkar wrote: > Why did my message get rejected?? > > Mayura. Mayura, These types of questions have long been considered out of scope for the developers mailing list. Please see: http://www.isi.edu/nsnam/ns/ns-dev-list.html - Tom > > ---------- Forwarded message ---------- > From: > Date: Feb 16, 2008 2:49 PM > Subject: Request to mailing list Ns-developers rejected > To: mayuravb at gmail.com > > > Your request to the Ns-developers mailing list > > Posting of your message titled "Code for OGDC(Optimal Geographical > Density Control)in NS2" > > has been rejected by the list moderator. The moderator gave the > following reason for rejecting your request: > > "Your message was deemed inappropriate by the moderator. Please > redirect queries of this type to ns-users at isi.edu." > > Any questions or comments should be directed to the list administrator > at: > > ns-developers-owner at isi.edu > From asraf06 at gmail.com Sun Feb 17 05:21:23 2008 From: asraf06 at gmail.com (Noor Asraf) Date: Sun, 17 Feb 2008 21:21:23 +0800 Subject: [ns] Multicast Tree in MAODV Message-ID: <189a7b9c0802170521j45933bdcg330619b39f3324a4@mail.gmail.com> Hi all, I would like to access the source to destination path based on the tree constructed via MAODV. For instance, src -> node 1 -> node 2 -> dest. How do I traverse the multicast tree path? Is it possible? Any idea how to do this? Thank you, Asraf From SYilmaz at aselsan.com.tr Sun Feb 17 08:21:45 2008 From: SYilmaz at aselsan.com.tr (Semra YILMAZ) Date: Sun, 17 Feb 2008 18:21:45 +0200 Subject: [ns] how to change the speed of node while randomly moving References: <22DF48915EF5BF4998B4B34DE67C0A99169E05@POSTA.aselsan.com.tr> Message-ID: <22DF48915EF5BF4998B4B34DE67C0A99169E06@POSTA.aselsan.com.tr> Hi all, I am using the random motion of the nodes in my wireless scenario. In the below line, which is not random, we can adjust the speed of the moving nodes. $ns at $time $node setdest My question is that how i can change only the speed of the moving node in tcl, although the nodes still moving random fashion. Thanks in advance. Semra ###################################################################### Dikkat: Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz. Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte, guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki gorusler ve bakis acisi gondericiye ait olup Aselsan A.S. resmi gorusu olmak zorunda degildir. ###################################################################### Attention: This e-mail message is privileged and confidential. If you are not the intended recipient please delete the message and notify the sender. E-mails to and from the company are monitored for operational reasons and in accordance with lawful business practices. Any views or opinions presented are solely those of the author and do not necessarily represent the views of the company. ###################################################################### From mayuravb at gmail.com Sun Feb 17 08:38:36 2008 From: mayuravb at gmail.com (Mayura Bhandarkar) Date: Sun, 17 Feb 2008 11:38:36 -0500 Subject: [ns] Code for OGDC(Optimal Geographical Density Control)in NS2 In-Reply-To: <2ac268fc0802151928j89244a4td8e071bc7c2cdd16@mail.gmail.com> References: <2ac268fc0802151928j89244a4td8e071bc7c2cdd16@mail.gmail.com> Message-ID: <2ac268fc0802170838v1b4bd38bq30d7a97a9051ccc6@mail.gmail.com> Hi, I want to run some simulations on OGDC Algorithm for Sensor Networks.(Maintaining Sensing Coverage and Connectivity in Sensor Networks) I am looking for NS2 implementation of this algorithm. Does anyone know where I can find it. I would appreciate the help. Thanks and Regards, M. From nagufriendly at gmail.com Sun Feb 17 10:36:36 2008 From: nagufriendly at gmail.com (naga rajan) Date: Mon, 18 Feb 2008 00:06:36 +0530 Subject: [ns] Broad casting Message-ID: <8b4d207d0802171036t6d356a76if27f5b4b3a3c6f0d@mail.gmail.com> I am Nagarajan from Madras Institute of Technology. I am currently doing my final year project in NS2. I have a big hurdle in broadcasting packets in wired simulation. I have tried all possible suggestions from the forum. But yet i am unable to find the solution. I am using ns-2.32. It would be very helpful if you could suggest some solution. It is the first part of my project. Help me... Thanking you.. From matrix-83 at libero.it Sun Feb 17 11:47:33 2008 From: matrix-83 at libero.it (matrix-83@libero.it) Date: Sun, 17 Feb 2008 20:47:33 +0100 Subject: [ns] know link and bandwith of the link Message-ID: Hi! I have create a function namely "calculate_metric" that calculate the metric for every outgoing link in every Agent. I would know if is possible know delay and bandwidth of the outgoing link in C++ because i use that information for the calculation of metric. I have find the function: LinkDelay* del = (LinkDelay*)TclObject::lookup(....); that return a pointer of a link, but i don't know what I must put in place of the points. Sincerely, Marco From v.vinay.k at gmail.com Sun Feb 17 14:46:41 2008 From: v.vinay.k at gmail.com (v.vinay.k) Date: Sun, 17 Feb 2008 14:46:41 -0800 (PST) Subject: [ns] settin different transmit power levels for diffent nodes Message-ID: <15535910.post@talk.nabble.com> hi everyone I need to simulate for 802.11 network with nodes in random topology and differnt nodes with differnt transmit powers basically i need differnt transmisison ranges.Please tell me how to ocnfigure that topology. I have doubt whether on transmit power (pt_) and tXpower_.Among those two which one will consume battery power and which one is used to adjust the transmission range. In wireless card specifications cureent ratings(450mA,350mA,10mA ) for transmit,recive,sleep mode is given.But how to set the power levels in tcl. Please help me if u have any answer that strikes you.please its very urgent for me.Thank you -- View this message in context: http://www.nabble.com/settin-different-transmit-power-levels-for-diffent-nodes-tp15535910p15535910.html Sent from the ns-users mailing list archive at Nabble.com. From lxn1974 at hotmail.com Sun Feb 17 18:39:10 2008 From: lxn1974 at hotmail.com (liuxiaoning) Date: Mon, 18 Feb 2008 02:39:10 +0000 Subject: [ns] the operating system and version number for ns 2.1b7a installation Message-ID: Hi all, I've gotten the problem with insalling ns-2.1b7a as I want to use the Bluehoc (or Blueware)for my project. Both Bluehoc and Blueware only work with the ns-2.1b7a. I tried to install it on cygwin and frdora 6.0, but not successful. I spent lots of time searching for the internet, including this mailing list, there were no any clues on the platform on which the ns-2.1b7a works. Can anyone here please tell me which version operating system the ns-2.1b7a can be compatible with? Thank you very much. Linda. _________________________________________________________________ MSNÊ¥µ®ÀñÎï»ðÈȵdz¡£¬Ãâ·Ñ·¢·ÅÖУ¬¿ìÀ´ÁìÈ¡°É£¡ http://im.live.cn/emoticons/?ID=18 From gprabhu at tce.edu Sun Feb 17 21:55:04 2008 From: gprabhu at tce.edu (gprabhu@tce.edu) Date: Mon, 18 Feb 2008 11:25:04 +0530 (IST) Subject: [ns] Need for sample wireless sensor network code Message-ID: <59725.203.129.194.20.1203314104.squirrel@mail.tce.edu> Hi, I want to execute the wireless sensor network related to my project work for that i am in need of the sensor network sample code. Do anyone havin gthe code please send me.. Thank you, G.Prabhu ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) From neerajgupta37 at rediffmail.com Sun Feb 17 23:34:42 2008 From: neerajgupta37 at rediffmail.com (neeraj gupta) Date: 18 Feb 2008 07:34:42 -0000 Subject: [ns] estination of bandwidth Message-ID: <20080218073442.996.qmail@webmail64.rediffmail.com> hi all i doing a project on QoS in ad hoc networks. as my first target is to estimate the bandwidth in the network and required by tha application. can any one tell me is there any function or the way to estimate tha bandwith in the network. how can i run it in ns-2.30 its urgent as i need to submit the progress report. thanks Neeraj Gupta From penguin166 at gmail.com Mon Feb 18 17:24:45 2008 From: penguin166 at gmail.com (M Lee) Date: Tue, 19 Feb 2008 09:24:45 +0800 Subject: [ns] How to write a script like thrutcp.tcl under NSE extension? In-Reply-To: References: Message-ID: Hi, all: I am using *NS-2 Emulation Extensions* from http://www-ivs.cs.uni-magdeburg.de/EuK/forschung/projekte/nse/ But I am not sure how to write a script *like thrutcp.tcl* under it? Could anyone show me how? Thanks! From gprabhu at tce.edu Mon Feb 18 21:13:04 2008 From: gprabhu at tce.edu (gprabhu@tce.edu) Date: Tue, 19 Feb 2008 10:43:04 +0530 (IST) Subject: [ns] What is the difference between Active root timeout and my route timeout?] Message-ID: <35040.203.129.194.20.1203397984.squirrel@mail.tce.edu> Hi, I am working on the timeout calculation for AODV protocol. From the protocol specifications i found two variables with default values. I want to know the difference between the two.. ACTIVE_ROUTE_TIMEOUT 3,000 Milliseconds MY_ROUTE_TIMEOUT 2 * ACTIVE_ROUTE_TIMEOUT what is the meaning of ACTIVE_ROUTE_TIMEOUT and MY_ROUTE_TIMEOUT? Plz give me solution for this question. Thank you, G.Prabhu ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) From penguin166 at gmail.com Mon Feb 18 22:38:32 2008 From: penguin166 at gmail.com (M Lee) Date: Tue, 19 Feb 2008 14:38:32 +0800 Subject: [ns] Failure when install NS2.32 under FreeBSD6.3 Message-ID: Hi, all: I install NS2.32 allinone under FreeBSD6.3 , meet problem: *creating ./gen* * "Makefile",line 74 :**Unassociated shell * * command "-I*. *-I/root/ns-allinone-2.32/tclcl-1.19 -I/.....* * .....* * make:fatal errors encountered--cannot continue* ** * *Can anyone show me how to do ? * * * Thanks!* From azharp at gmail.com Tue Feb 19 06:20:17 2008 From: azharp at gmail.com (AZHAR MOHD ARIS) Date: Tue, 19 Feb 2008 22:20:17 +0800 Subject: [ns] how to add the agent and verify it Message-ID: i had add density as agent ..but if anyone have exeperience where do i need to check again if i miss to declare new agent %ns esElection.tcl num_nodes is set 0 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl invalid command name "Agent/Density" while executing "Agent/Density disc_delay 5" (file "esElection.tcl" line 171) -- AZHAR MOHD ARIS (GS16917) Master in Computer Science Candidate (Distributed Computing) University Putra of Malaysia +^019.613.742.2 YM: azuan76 From tnelson at vt.edu Tue Feb 19 11:33:13 2008 From: tnelson at vt.edu (Theresa Nelson) Date: Tue, 19 Feb 2008 14:33:13 -0500 Subject: [ns] Alternatives to "flatgrid" In-Reply-To: References: Message-ID: <1203449593.47bb2ef941adb@webmail.vt.edu> I am trying to simulate a 3D simulation. ns2 has all mobile nodes and access points depicted graphically via the use of x,y, and z coordinates, however I am not sure how to simulate these correctly. I used the FreeSpace radio-propagation model, which doesn't complain if you give your nodes a non-zero z coordinate, but then I got unexpected results and again looked through my code. I then realized that every simulation example I had seen has "$topo load_flatgrid $opt(x) $opt(y)". Is there a way to load a 3D grid, rather than a 2D grid? If so, how is that done? Thanks in advance. Theresa Nelson - tnelson at vt.edu M.S. Computer Engineering Networks & Network Security 1330 Torg Hall, IT Security Lab Virginia Tech From gananthi at tce.edu Tue Feb 19 20:35:14 2008 From: gananthi at tce.edu (gananthi@tce.edu) Date: Wed, 20 Feb 2008 10:05:14 +0530 (IST) Subject: [ns] energy -wireless sensor simulation Message-ID: <36572.203.129.194.20.1203482114.squirrel@mail.tce.edu> hi all i wish to know how to initiate energy in NS 2.31? What s the command we should use to initiate it? is there any possibility to know the network energy and delay. if any one know ,kindly reply me. ananthi ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) From gprabhu at tce.edu Tue Feb 19 21:31:12 2008 From: gprabhu at tce.edu (gprabhu@tce.edu) Date: Wed, 20 Feb 2008 11:01:12 +0530 (IST) Subject: [ns] Need code for multiple source nodes transmitting packets to various destinations... Message-ID: <33033.203.129.194.20.1203485472.squirrel@mail.tce.edu> Hi, I want to transmit packets from more than one source - destination node pairs. I have tried to create more than one traffic pattern for achieving 2 node pairs(source-destination) to transmit packets at the same time but there was some problem in that so i didnt get the desired output in my animator. SO if anyone is having the tcl code for AODV/DSR protocol for transmitting more than one source node to more than one destinatio nodes plz send me with this mail id... Thank you, G.Prabhu ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) From ghadaayed at yahoo.com Wed Feb 20 00:50:25 2008 From: ghadaayed at yahoo.com (Ghada Al-Mashaqbeh) Date: Wed, 20 Feb 2008 00:50:25 -0800 (PST) Subject: [ns] About OFDM MATLAB simulator created by John Terry Message-ID: <7863.57984.qm@web51704.mail.re2.yahoo.com> Dear all, Have anybody used/dealed with the OFDM matlab simulator that comes with the following book: OFDM Wireless LANs: A Theoretical and Practical Guide Juha Heiskala, John Terry Format: Paperback, 315pp. Publisher: Sams Published: December 2001 I am using it to obtain empirical BER vs. SNR curves to be used with MAC layer in ns-2 for the error model, but I have many questions about it, so please let me know if anybody can help me in this. Thanks, Ghada --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From gananthi at tce.edu Wed Feb 20 02:51:46 2008 From: gananthi at tce.edu (gananthi@tce.edu) Date: Wed, 20 Feb 2008 16:21:46 +0530 (IST) Subject: [ns] reg sensor network Message-ID: <33803.203.129.194.20.1203504706.squirrel@mail.tce.edu> Dear all Is there any possibility to represent short distance ~5m range between the two nodes in NS2.31 ? Kindly reply me. ananthi ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) From sidcool6 at yahoo.com Wed Feb 20 04:35:15 2008 From: sidcool6 at yahoo.com (Siddharth Rane) Date: Wed, 20 Feb 2008 12:35:15 +0000 (GMT) Subject: [ns] Segmentation Fault while running DSR simulation Message-ID: <751616.95375.qm@web32401.mail.mud.yahoo.com> hi, I'm trying to simulate the DSR protocol on NS-2.28. While running the simulation with the ENERGY PARAMETERS set i'm constantly getting a Segmentation Fault. If I remove the energy parameters then the script runs fine. Also, if I change the protocol to AODV or DSDV the script runs fine. Can anyone please advice me on the issue. I've attached the script file. Regards Siddharth --------------------------------- Unlimited freedom, unlimited storage. Get it now From adi.sriku366 at gmail.com Wed Feb 20 06:02:49 2008 From: adi.sriku366 at gmail.com (adimulam srikanth) Date: Wed, 20 Feb 2008 19:32:49 +0530 Subject: [ns] More Than one LINK Message-ID: Hi guys, I am new to ns2..But am wrkin on well from the kind of tutorials u all have created.... I have a problem ....How should I create more than one link between the same nodes... It is not the different agents that are to be connected ...I want to have two different physical links.. Can I do that???? From kingkouka2006 at yahoo.fr Wed Feb 20 09:32:32 2008 From: kingkouka2006 at yahoo.fr (king kouka) Date: Wed, 20 Feb 2008 17:32:32 +0000 (GMT) Subject: [ns] mobility model Message-ID: <40397.77853.qm@web25407.mail.ukl.yahoo.com> Hello all I would like to simulate a node turning around ( circle or ovale) in wirelless communication Please help regards kouka _____________________________________________________________________________ Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr From vighneshlall at gmail.com Wed Feb 20 11:34:15 2008 From: vighneshlall at gmail.com (vighnesh lall) Date: Thu, 21 Feb 2008 01:04:15 +0530 Subject: [ns] Fwd: Problem with wrls-dsr.tcl In-Reply-To: <7ceda4860802161230q56598d6cl413cc7ec83663daa@mail.gmail.com> References: <7ceda4860802161230q56598d6cl413cc7ec83663daa@mail.gmail.com> Message-ID: <7ceda4860802201134l662ac249p41aa5ed004a0a783@mail.gmail.com> ---------- Forwarded message ---------- From: vighnesh lall Date: Feb 17, 2008 2:00 AM Subject: Problem with wrls-dsr.tcl To: ns-users at isi.edu Hello Friends, Actually i am facing some problems while simulating wrls-dsr.tcl. I arranged the nodes in a straight line aligned along the X axis with the distance between the 2 nodes 100. So i arranged 8 nodes. The coordinate of the 1st node is (5,5) , 2nd node (105,5) and of the 8th node (705,5).When i tried to simulate this i got an error(segmentation fault). When i arranged 6 nodes with the coordinate of the 6th node as (555,5) i cud simulate it without any problem . When I increased the value of x to 556 , it once again gave an error . I am not sure about this , can someone please help me out. -- Vighnesh Lall -- Vighnesh Lall From tnelson at vt.edu Wed Feb 20 17:03:33 2008 From: tnelson at vt.edu (Theresa Nelson) Date: Wed, 20 Feb 2008 20:03:33 -0500 Subject: [ns] Floating Point Exception when using Shadowing radio propagation model In-Reply-To: References: Message-ID: <1203555813.47bccde5364f7@webmail.vt.edu> Hi. I was trying to use the shadowing radio propagation model, but am getting a floating point exception. I got this both when running on a windows box (cygwin) and on an AIX box. gdb said "Program received signal SIGFPE, Arithmetic exception", and when I use the same code with FreeSpace or TwoRay I have no problem. Has anyone else had this issue? How do you fix it? I'm attaching some code; if more code is necessary to look at, please let me know and I'll add the whole file. Thanks in advance. Theresa Nelson - tnelson at vt.edu M.S. Computer Engineering Networks & Network Security 1330 Torg Hall, IT Security Lab Virginia Tech set ns_ [new Simulator] Propagation/Shadowing set pathlossExp_ 2.0 ;# path loss exponent Propagation/Shadowing set std_db_ 4.0 ;# shadowing deviation (dB) Propagation/Shadowing set dist0_ 1.0 ;# reference distance (m) Propagation/Shadowing set seed_ 13 ;# seed for RNG $ns_ node-config -propType Propagation/Shadowing set opt(chan) Channel/WirelessChannel ;# channel type set opt(prop) Propagation/Shadowing ;# radio-propagation model set opt(netif) Phy/WirelessPhy ;# network interface type set opt(mac) Mac/802_11 ;# MAC type set opt(ifq) Queue/DropTail/PriQueue ;# interface queue type set opt(ll) LL ;# link layer type set opt(ant) Antenna/OmniAntenna ;# antenna model set opt(ifqlen) 50 ;# max packet in ifq set opt(nn) 50 ;# number of mobilenodes set opt(adhocRouting) NOAH ;# routing protocol set opt(cp) "" ;# cp file not used set opt(sc) "" ;# node movement file. set opt(x) 600 ;# x coordinate of topology set opt(y) 400 ;# y coordinate of topology set opt(seed) 0.0 ;# random seed set opt(stop) 45 ;# time to stop simulation set opt(ftp0-start) 0.0 set opt(ftp10-start) 0.0 set opt(ftp20-start) 0.0 set opt(ftp30-start) 0.0 set opt(ftp40-start) 0.0 set num_wired_nodes 39 set num_bs_nodes 18; ... $ns_ node-config -mobileIP ON \ -adhocRouting $opt(adhocRouting) \ -llType $opt(ll) \ -macType $opt(mac) \ -ifqType $opt(ifq) \ -ifqLen $opt(ifqlen) \ -antType $opt(ant) \ -propType $opt(prop) \ -phyType $opt(netif) \ -channelType $opt(chan) \ -topoInstance $topo \ -wiredRouting ON \ -agentTrace ON \ -routerTrace OFF \ -macTrace OFF From barcelonista at interia.pl Thu Feb 21 08:38:55 2008 From: barcelonista at interia.pl (Bartek Nawrocki) Date: Thu, 21 Feb 2008 17:38:55 +0100 Subject: [ns] problem - simulate a behaviour of some network Message-ID: <47BDA91F.7060304@interia.pl> Hi, I am a new ns user (version 2.29 under Windows - cygwin). I have to simulate a behaviour of some network with 22 nodes, so I would like to connect them together: I mean that the packets will be send from node 0 to all nodes in the network, from node 1 to all nodes in the network....etc. On the bottom of this mail you can see my script simulating this network. It's working, but the results are wrong. The simulation last from 0.1 to 5.0 seconds, but after a few decimals of second the packets are only sending from node 20 to node 21 and inversly. Could somebody have a look at my script and say what I'm doing wrong? Bartek Nawrocki set ns [new Simulator] $ns color 1 Blue $ns color 2 Red set nf [open out.nam w] #set winfile [open WinFile w] #set winfile1 [open WinFile1 w] $ns namtrace-all $nf set tf [open out.tr w] $ns trace-all $tf ##########################PROCEDURES################################ proc make_topology {} { global ns n #stworzenie wezlow for {set i 0} {$i < 22} {incr i} { set n($i) [$ns node] } #polaczenia miedzy wezlami $ns duplex-link $n(0) $n(1) 20Gb 10ms SFQ $ns duplex-link $n(0) $n(7) 20Gb 10ms SFQ $ns duplex-link $n(1) $n(2) 20Gb 10ms SFQ $ns duplex-link $n(2) $n(3) 1Gb 10ms SFQ $ns duplex-link $n(2) $n(5) 20Gb 10ms SFQ $ns duplex-link $n(3) $n(4) 1Gb 10ms SFQ $ns duplex-link $n(4) $n(8) 20Gb 10ms SFQ $ns duplex-link $n(5) $n(6) 20Gb 10ms SFQ $ns duplex-link $n(6) $n(7) 20Gb 10ms SFQ $ns duplex-link $n(7) $n(8) 20Gb 10ms SFQ $ns duplex-link $n(7) $n(9) 20Gb 10ms SFQ $ns duplex-link $n(7) $n(10) 20Gb 10ms SFQ $ns duplex-link $n(8) $n(10) 20Gb 10ms SFQ $ns duplex-link $n(8) $n(11) 20Gb 10ms SFQ $ns duplex-link $n(9) $n(21) 20Gb 10ms SFQ $ns duplex-link $n(10) $n(19) 20Gb 10ms SFQ $ns duplex-link $n(11) $n(12) 20Gb 10ms SFQ $ns duplex-link $n(11) $n(14) 20Gb 10ms SFQ $ns duplex-link $n(12) $n(13) 20Gb 10ms SFQ $ns duplex-link $n(13) $n(15) 1Gb 10ms SFQ $ns duplex-link $n(14) $n(16) 20Gb 10ms SFQ $ns duplex-link $n(15) $n(16) 1Gb 10ms SFQ $ns duplex-link $n(16) $n(17) 20Gb 10ms SFQ $ns duplex-link $n(17) $n(18) 20Gb 10ms SFQ $ns duplex-link $n(18) $n(19) 20Gb 10ms SFQ $ns duplex-link $n(18) $n(20) 20Gb 10ms SFQ $ns duplex-link $n(20) $n(21) 20Gb 10ms SFQ #polozenie wezlow w nam $ns duplex-link-op $n(0) $n(1) orient right-up $ns duplex-link-op $n(0) $n(7) orient right-down $ns duplex-link-op $n(1) $n(2) orient right $ns duplex-link-op $n(2) $n(3) orient right-down $ns duplex-link-op $n(2) $n(5) orient down $ns duplex-link-op $n(3) $n(4) orient right-down $ns duplex-link-op $n(4) $n(8) orient left-down $ns duplex-link-op $n(5) $n(6) orient right-down $ns duplex-link-op $n(6) $n(7) orient left-down $ns duplex-link-op $n(7) $n(8) orient right $ns duplex-link-op $n(7) $n(9) orient left-down $ns duplex-link-op $n(7) $n(10) orient right-down $ns duplex-link-op $n(8) $n(10) orient left-down $ns duplex-link-op $n(8) $n(11) orient down $ns duplex-link-op $n(9) $n(21) orient down $ns duplex-link-op $n(10) $n(19) orient down $ns duplex-link-op $n(11) $n(12) orient right $ns duplex-link-op $n(11) $n(14) orient down $ns duplex-link-op $n(12) $n(13) orient right-down $ns duplex-link-op $n(13) $n(15) orient left-down $ns duplex-link-op $n(14) $n(16) orient down $ns duplex-link-op $n(15) $n(16) orient left-down $ns duplex-link-op $n(16) $n(17) orient right $ns duplex-link-op $n(17) $n(18) orient up $ns duplex-link-op $n(18) $n(19) orient up $ns duplex-link-op $n(18) $n(20) orient right $ns duplex-link-op $n(20) $n(21) orient up } #----------------------------------------------------------------- proc make_sinks {} { global ns sink n for {set i 0} {$i < 22} {incr i} { set sink($i) [new Agent/TCPSink] $ns attach-agent $n($i) $sink($i) } } #----------------------------------------------------------------- proc attach_FTP_for_TCP {} { global ftp tcp for {set i 0} {$i < 22} {incr i} { set ftp($i) [new Application/FTP] $ftp($i) attach-agent $tcp($i) $ftp($i) set type_ FTP } } #----------------------------------------------------------------- proc make_TCPSources {} { global ns sink n tcp for {set i 0} {$i < 22} {incr i} { set tcp($i) [new Agent/TCP] $tcp($i) set packetSize_ 500 $tcp($i) set fid_ 1 $ns attach-agent $n($i) $tcp($i) } for {set i 0} {$i < 22} {incr i} { for {set j 0} {$j < 22} {incr j} { if {$i != $j} { $ns connect $tcp($i) $sink($j) } } } attach_FTP_for_TCP } #----------------------------------------------------------------- proc run_sim {} { global ns ftp start_time stop_time for {set i 0} {$i < 22} {incr i} { $ns at $start_time "$ftp($i) start" $ns at $stop_time "$ftp($i) stop" } } #----------------------------------------------------------------- proc finish {} { global ns nf tf $ns flush-trace close $nf close $tf exec nam out.nam & exit 0 } #----------------------------------------------------------------- #########################MAIN PROGRAM############################ make_topology make_sinks make_TCPSources set start_time 0.1 set stop_time 5.0 run_sim $ns at 5.25 "finish" $ns run ---------------------------------------------------------------------- Sprawdz gdzie lezy snieg, czy dzialaja armatki i jak przygotowane sa stoki >>> http://link.interia.pl/f1cfc From L.Wood at surrey.ac.uk Thu Feb 21 15:55:40 2008 From: L.Wood at surrey.ac.uk (Lloyd Wood) Date: Thu, 21 Feb 2008 23:55:40 +0000 Subject: [ns] can't install otcl-1.13 on Mac OS X 10.5.2? Message-ID: <200802212355.m1LNtri14999@cisco.com> I'm trying to install octcl 1.1.3 on Mac OS X 10.5.2, as part of the ns 2.32 allinone install: checking for X11 header files checking for X11 library archive checking for XOpenDisplay in -lX11... no can't find X library Now, I've installed XCode 3.0. I've installed the development headers found in separate packages on the Leopard install disk (so e.g. I've got the OpenGL stuff - though I've got another program that swears blind they're Not There.). I gave up on MacPorts and managed to install Fink. I've even installed Quartz for the missing bits of X that Apple didn't ship. And otcl still won't configure. Any hints? thanks, L. Saratoga: http://www.ee.surrey.ac.uk/Personal/L.Wood/dtn/ From neerajgupta37 at rediffmail.com Thu Feb 21 22:01:15 2008 From: neerajgupta37 at rediffmail.com (neeraj gupta) Date: 22 Feb 2008 06:01:15 -0000 Subject: [ns] code for bandwidth estimation Message-ID: <20080222060115.12032.qmail@webmail70.rediffmail.com> hi all i am woking on the qos in ad hoc wireless sytem. my problem is if i want to know thw avvailable bandwidth in the system the where should i code ie in link layer or in the mac layer. can anyone send me the code for estimating the bandwidth in ad hoc wireless sytem. Neeraj Gupta Assistant Professor HOD, CSE & IT Department Hindu College of Engineering Sonepat From michael.dy211 at gmail.com Fri Feb 22 01:31:46 2008 From: michael.dy211 at gmail.com (michael) Date: Fri, 22 Feb 2008 17:31:46 +0800 Subject: [ns] Reserved flow has longer delay than BestEffort flow on RSVP/ns??? Message-ID: <200802221731372963161@gmail.com> Hi All, I've installed RSVP/ns and it runs well with examples in RSVP/ns document by Marc Greis.. I've ran ns~\tcl\ex\rsvp\rsvp_distinct.tcl successfully, and got the same data as Figure 5( Measurements for distinct reservations) in RSVP/ns document. Then,I added trace-ralated codes in rsvp_distinct.tcl, to get delay,jitter,and loss for each flow. I found when a flow is successfully reserved,its loss become much lower than other BestEffort flows,so the receiver(node0) get more bits from reserved flow.But its delay,jitter become much higher than other BestEffort flows. e.g.When node0 have reserved 1k for node2 during 300s~900s, I get the following statistics: SrcNode DstNode delay(s) jitter(s^2) loss 2 0 1.350703 2.333099 0.326804 3 0 1.046185 0.000005 0.403614 4 0 1.046090 0.000004 0.392826 I've check my awk statistics script,there's no problem in it.And I've tried other periods(900s~1200s,1200s~1500s,etc.),all statistics are similar to above. In my opinion,RSVP is expected to provide lower delay and jitter(or an upperbound) than other BestEffort flows,though only Controlled Load Service is supported in RSVP/ns.Am I right? How to explain this phenomena? Is higher delay and jitter a cost for lower packet loss? I would appreciate your help. Thanks very much~ Best wishes, michael. From dieter.olpp at siemens.com Fri Feb 22 05:02:10 2008 From: dieter.olpp at siemens.com (Olpp, Dieter) Date: Fri, 22 Feb 2008 14:02:10 +0100 Subject: [ns] Nam: Packets cannot be transmitted over dynamically created links Message-ID: I'm using nam 1.11 under Windows XP / Cygwin 1.5.25. In my application, I need to create nodes and links dynamically, i.e. after the initialization phase. This feature was introduced in nam 1.6. Creating nodes and links dynamically does work, but it is not possible to visualize the transmission of packets over the newly created links ("h" and "r" trace event codes) - the packets just won't appear in the window. Has anyone come across this problem before and knows how to solve it? Many thanks, Dieter From SYilmaz at aselsan.com.tr Fri Feb 22 05:09:51 2008 From: SYilmaz at aselsan.com.tr (Semra YILMAZ) Date: Fri, 22 Feb 2008 15:09:51 +0200 Subject: [ns] =?iso-8859-9?q?=DDLT=3A_how_to_change_the_speed_of_node_whil?= =?iso-8859-9?q?e_randomly_moving?= References: <22DF48915EF5BF4998B4B34DE67C0A99169E05@POSTA.aselsan.com.tr> <22DF48915EF5BF4998B4B34DE67C0A99169E06@POSTA.aselsan.com.tr> Message-ID: <22DF48915EF5BF4998B4B34DE67C0A9981487E@POSTA.aselsan.com.tr> Hello all ns-users, I have sent the e-mail below, but couldn't get any response. If anyone has the answer of my question, it will be appreciated. Regards, Semra ________________________________ Kimden: Semra YILMAZ G?nderilmi?: Paz 17.02.2008 18:21 Kime: ns-users at ISI.EDU Konu: how to change the speed of node while randomly moving Hi all, I am using the random motion of the nodes in my wireless scenario. In the below line, which is not random, we can adjust the speed of the moving nodes. $ns at $time $node setdest My question is that how i can change only the speed of the moving node in tcl, although the nodes still moving random fashion. Thanks in advance. Semra ###################################################################### Dikkat: Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz. Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte, guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki gorusler ve bakis acisi gondericiye ait olup Aselsan A.S. resmi gorusu olmak zorunda degildir. ###################################################################### Attention: This e-mail message is privileged and confidential. If you are not the intended recipient please delete the message and notify the sender. E-mails to and from the company are monitored for operational reasons and in accordance with lawful business practices. Any views or opinions presented are solely those of the author and do not necessarily represent the views of the company. ###################################################################### From jamal.toutouh at yahoo.es Fri Feb 22 07:22:03 2008 From: jamal.toutouh at yahoo.es (Jamal Toutouh) Date: Fri, 22 Feb 2008 15:22:03 +0000 (GMT) Subject: [ns] [ binding variables Message-ID: <241792.2173.qm@web27608.mail.ukl.yahoo.com> ------------------------------------------------ Jamal Toutouh El Alamin NEO Group - Networking and Emerging Optimization University of Malaga ------------------------------------------------ Phone: (+34) 952 13 33 03 ------------------------------------------------ Addres: E.T.S Ingenieria Informatica Complejo Tecnologico, Lab. 3.3.4b Campus de Teatinos 29071 Malaga, Spain ------------------------------------------------- ----- Mensaje reenviado ---- De: Jamal Toutouh Para: NS-users list Enviado: jueves, 21 de febrero, 2008 16:57:44 Asunto: [ns] binding variables Hello all, I have develop a new app layer over udp. I know how to bind INPUT VARIABLES, but I don't know how to do to return values to read the in my tcl simularion file. I have written the next code: // Constructor (also initialize instances of timers) VDTPapp::VDTPapp() : running_(0), snd_timer_(this), ack_timer_(this) { bind("chunk_size_", &chunk_size_); bind("file_size_", &file_size_); bind("pktsize_", &pktsize_); } chunk_size_, file_size_, and pktsize_ are input variable, can someone tell me how can I bind OUTPUT variables. Thank you... ------------------------------------------------ Jamal Toutouh El Alamin NEO Group - Networking and Emerging Optimization University of Malaga ------------------------------------------------ Phone: (+34) 952 13 33 03 ------------------------------------------------ Addres: E.T.S Ingenieria Informatica Complejo Tecnologico, Lab. 3.3.4b Campus de Teatinos 29071 Malaga, Spain ------------------------------------------------- LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y m?viles desde 1 c?ntimo por minuto. http://es.voice.yahoo.com ______________________________________________ ?Con Mascota por primera vez? S? un mejor Amigo. Entra en Yahoo! Respuestas http://es.answers.yahoo.com/info/welcome From jamal.toutouh at yahoo.es Fri Feb 22 07:39:25 2008 From: jamal.toutouh at yahoo.es (Jamal Toutouh) Date: Fri, 22 Feb 2008 15:39:25 +0000 (GMT) Subject: [ns] DSR routing protocol problem Message-ID: <467465.23944.qm@web27602.mail.ukl.yahoo.com> Hello All, I have a problem when I try to simulate a wireless network, just when I use DSR routing protocol. When I use others I have not any problem. The problem is that during the simulation there is an EXCEPTION with the next message: 7 [main] ns 1880 _cygtls::handle_exceptions: Exception: STATUS_ACCES_VIOLATION 1833 [main] ns 1880 _open_stackdumpfile: Dumping stack trace to ns.exe.stackdump can someone tell me why? Best regards... Jamal ------------------------------------------------ Jamal Toutouh El Alamin NEO Group - Networking and Emerging Optimization University of Malaga ------------------------------------------------ Phone: (+34) 952 13 33 03 ------------------------------------------------ Addres: E.T.S Ingenieria Informatica Complejo Tecnologico, Lab. 3.3.4b Campus de Teatinos 29071 Malaga, Spain ------------------------------------------------- ______________________________________________ ?Con Mascota por primera vez? S? un mejor Amigo. Entra en Yahoo! Respuestas http://es.answers.yahoo.com/info/welcome From jamal.toutouh at yahoo.es Fri Feb 22 08:54:30 2008 From: jamal.toutouh at yahoo.es (Jamal Toutouh) Date: Fri, 22 Feb 2008 16:54:30 +0000 (GMT) Subject: [ns] AODV re-routing Message-ID: <127164.48032.qm@web27615.mail.ukl.yahoo.com> Hello, I want to know if there is some code or ns command, to ask a new routing, i mean, to update the AODV routing tables. Because sometimes it doesn't work. Cheers... ------------------------------------------------ Jamal Toutouh El Alamin NEO Group - Networking and Emerging Optimization University of Malaga ------------------------------------------------ Phone: (+34) 952 13 33 03 ------------------------------------------------ Addres: E.T.S Ingenieria Informatica Complejo Tecnologico, Lab. 3.3.4b Campus de Teatinos 29071 Malaga, Spain ------------------------------------------------- ______________________________________________ ?Con Mascota por primera vez? S? un mejor Amigo. Entra en Yahoo! Respuestas http://es.answers.yahoo.com/info/welcome From gabrial_monty at yahoo.com Fri Feb 22 10:08:16 2008 From: gabrial_monty at yahoo.com (Gabrial Monty) Date: Fri, 22 Feb 2008 10:08:16 -0800 (PST) Subject: [ns] About wireless cards specifications simulation Message-ID: <946565.30158.qm@web44904.mail.sp1.yahoo.com> Dear all, I have to simulate an infrastructured wireless network behavior using different wireless cards specifications. I want to test the network performance using 802.11a cards with high transmit power level (not less than 600 mW). I have choosen the XtremeRange5 card but what I have realized is that its outdoor range is over 50 km and it indoor range is 150 m, during simulation if two nodes are further than 150 m the link throughput is 0, so is it realistic to assume that I deal with indoor networks? what I mean I am dealing with similar networks topology to wireless mesh networks, can I assume this network to be indoor and apply this NIC card specifications? Waiting your replies. gaby --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From gabrial_monty at yahoo.com Fri Feb 22 11:59:38 2008 From: gabrial_monty at yahoo.com (Gabrial Monty) Date: Fri, 22 Feb 2008 11:59:38 -0800 (PST) Subject: [ns] Realistic or not, your help is needed Message-ID: <953517.37148.qm@web44910.mail.sp1.yahoo.com> Hi, is realistic to assume that thw transmit power level is 400/500/600 mW with Tx range = 150m for 802.11a based networks? please I need answer for this question please help --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. From mahrenholz at rt-solutions.de Fri Feb 22 15:23:05 2008 From: mahrenholz at rt-solutions.de (Daniel Mahrenholz) Date: Sat, 23 Feb 2008 00:23:05 +0100 Subject: [ns] About wireless cards specifications simulation In-Reply-To: <946565.30158.qm@web44904.mail.sp1.yahoo.com> References: <946565.30158.qm@web44904.mail.sp1.yahoo.com> Message-ID: <47BF5959.2080703@rt-solutions.de> Hi, Gabrial Monty schrieb: > I have to simulate an infrastructured wireless network behavior using different wireless cards specifications. I want to test the network performance using 802.11a cards with high transmit power level (not less than 600 mW). I have choosen the XtremeRange5 card but what I have realized is that its outdoor range is over 50 km and it indoor range is 150 m, during simulation if two nodes are further than 150 m the link throughput is 0, so is it realistic to assume that I deal with indoor networks? what I mean I am dealing with similar networks topology to wireless mesh networks, can I assume this network to be indoor and apply this NIC card specifications Basically there is no difference if you increase the transmission power or use a high gain antenna. So, apart from the transmission power, the sensitivity of the transceiver is what makes the most important difference between two wireless cards. Before you proceed with your work you should read something about wireless propagation. Just as an example, an outdoor range of 50km is only possible if the transmitter is placed high enough above ground. Otherwise you will not have a free line of sight and fresnel zone. When I remember right, for 50km distance the transmitter needs to be placed about 80m above ground. The environment defines how the transmitted signal is attenuated. Just imaging you are inside a metal elevator - then you probably get an "indoor range" of 1m. To answer your question: NO, it is absolutely not realistic to deduce from a result of 150m transmission range to be in an indoor scenario. I suggest that you start by selecting a propagation model that mimics the effects experienced in an indoor environment (e.g. multipath propagation, shadowing, interference ...). If you have such a propagation model, you can start to investigate effects caused by the transmission power, cars specification, protocol ... whatever you like. Hope that gets you started, Daniel. From L.Wood at surrey.ac.uk Fri Feb 22 16:09:56 2008 From: L.Wood at surrey.ac.uk (Lloyd Wood) Date: Sat, 23 Feb 2008 00:09:56 +0000 Subject: [ns] Successful Leopard install was Re: can't install otcl-1.13 on Mac OS X 10.5.2? In-Reply-To: <7.1.0.9.0.20080221235440.05d8ce78@surrey.ac.uk> References: <7.1.0.9.0.20080221235440.05d8ce78@surrey.ac.uk> Message-ID: <200802230010.m1N0A3i25831@cisco.com> Thanks to gier egeland and David Viera for the hints. ./configure --x-includes=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include --x-libraries=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib make worked for me to successfully configure and make otcl-1.13, tclcl-1.19, and ns-2.32 on Leopard. That also worked for configuring nam-1.13, but that failed at the linker stage bleating Undefined symbols: "__TkCreateXEventSource", referenced from: _TkpInit in tkUnixInit.o so I grabbed nam-1-20080222.tar, which failed with the same linker error. (I was using the available Tcl/Tk in the system, but using the allinone compiled Tcl/Tk made no difference here.) I expect that the above will work for any Mac OS X 10.4 or 10.5 with XCode with the added X11 headers -there's a pkg on Leopard Install disc 1. The parallel MacOSX10.5.sdk/ tree is pretty empty, relying heavily on the base code in 10.4u (for universal: on Intel and PowerPC). On 10.3, using directories under /Developer/MacOSX10.3.9.sdk/ *may* well work - that directory exists, but the tree under it is mostly empty under Leopard. Since 10.3 changed so much during its lifetime, probably easiest to forget about 10.3 support altogether. I think that these locations need to be special-cased for Darwin in the all-in-one installer, just as Cygwin is. My, validate complains about 'no class variable LanRouter::debug_' a lot... L. At Thursday 21/02/2008 23:55 +0000, Lloyd Wood wrote: >I'm trying to install octcl 1.1.3 on Mac OS X 10.5.2, as part of the ns 2.32 allinone install: > >checking for X11 header files >checking for X11 library archive >checking for XOpenDisplay in -lX11... no >can't find X library > >Now, I've installed XCode 3.0. I've installed the development headers found in separate packages on the Leopard install disk (so e.g. I've got the OpenGL stuff - though I've got another program that swears blind they're Not There.). I gave up on MacPorts and managed to install Fink. I've even installed Quartz for the missing bits of X that Apple didn't ship. And otcl still won't configure. > >Any hints? > >thanks, > >L. Saratoga: http://www.ee.surrey.ac.uk/Personal/L.Wood/dtn/ From gabrial_monty at yahoo.com Fri Feb 22 22:50:18 2008 From: gabrial_monty at yahoo.com (Gabrial Monty) Date: Fri, 22 Feb 2008 22:50:18 -0800 (PST) Subject: [ns] About wireless cards specifications simulation In-Reply-To: <47BF5959.2080703@rt-solutions.de> Message-ID: <583158.52661.qm@web44909.mail.sp1.yahoo.com> Hi, First of all thanks alot for your fast response. You have said that : "To answer your question: NO, it is absolutely not realistic to deduce from a result of 150m transmission range to be in an indoor scenario." Do you mean that I cannot assume an indoor range to be 150m, or I cannot assume that an infrastructured network is working in an indoor environment? The point that I want to get to, is that in the standard it is specified that the maximum transmit power for 802.11a cards in the range 5.725-5.825 GHz can reach 800 mW, following this can I assume a range of 150m (for example) for a card using 600 mW as its transmit power, apart from the propagation model or lets say I am working with TwoRayGround model, can I assume this or one can argue that my simulation settings are not real? Thanks again and waiting your reply, gaby Daniel Mahrenholz wrote: Hi, Gabrial Monty schrieb: > I have to simulate an infrastructured wireless network behavior using different wireless cards specifications. I want to test the network performance using 802.11a cards with high transmit power level (not less than 600 mW). I have choosen the XtremeRange5 card but what I have realized is that its outdoor range is over 50 km and it indoor range is 150 m, during simulation if two nodes are further than 150 m the link throughput is 0, so is it realistic to assume that I deal with indoor networks? what I mean I am dealing with similar networks topology to wireless mesh networks, can I assume this network to be indoor and apply this NIC card specifications Basically there is no difference if you increase the transmission power or use a high gain antenna. So, apart from the transmission power, the sensitivity of the transceiver is what makes the most important difference between two wireless cards. Before you proceed with your work you should read something about wireless propagation. Just as an example, an outdoor range of 50km is only possible if the transmitter is placed high enough above ground. Otherwise you will not have a free line of sight and fresnel zone. When I remember right, for 50km distance the transmitter needs to be placed about 80m above ground. The environment defines how the transmitted signal is attenuated. Just imaging you are inside a metal elevator - then you probably get an "indoor range" of 1m. To answer your question: NO, it is absolutely not realistic to deduce from a result of 150m transmission range to be in an indoor scenario. I suggest that you start by selecting a propagation model that mimics the effects experienced in an indoor environment (e.g. multipath propagation, shadowing, interference ...). If you have such a propagation model, you can start to investigate effects caused by the transmission power, cars specification, protocol ... whatever you like. Hope that gets you started, Daniel. --------------------------------- Never miss a thing. Make Yahoo your homepage. From sheraz_nadeem at hotmail.com Sat Feb 23 06:26:02 2008 From: sheraz_nadeem at hotmail.com (Sheraz Nadeem) Date: Sat, 23 Feb 2008 19:26:02 +0500 Subject: [ns] error using cbrgen.tcl In-Reply-To: References: Message-ID: HI ns users i am using ns-2.31 and while using the command for the generating cbr connections, which is>ns cbrgen.tcl -type cbr -nn 50 -seed 1 -mc 20 -rate 4i get an error statement like"warning using backward compatibility modeerror while calling class OldSim:cbrgen.tcl"should i run this command in ns or in the terminal of the linux, i am using linux Red Hat 10.0i cant understand what is the problem and from where to solve this please help me out. if anyone knows the solution plz tell me as soon as possible. my e-mail id is sheraz_nadeem at hotmail.comthnksregards _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From tomh at tomh.org Sat Feb 23 14:42:54 2008 From: tomh at tomh.org (Tom Henderson) Date: Sat, 23 Feb 2008 14:42:54 -0800 Subject: [ns] Successful Leopard install was Re: can't install otcl-1.13 on Mac OS X 10.5.2? In-Reply-To: <200802230010.m1N0A3i25831@cisco.com> References: <7.1.0.9.0.20080221235440.05d8ce78@surrey.ac.uk> <200802230010.m1N0A3i25831@cisco.com> Message-ID: <47C0A16E.2040801@tomh.org> Lloyd Wood wrote: > Thanks to gier egeland and David Viera for the hints. > > ./configure --x-includes=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include --x-libraries=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib > make > > worked for me to successfully configure and make otcl-1.13, tclcl-1.19, and ns-2.32 on Leopard. > > That also worked for configuring nam-1.13, but that failed at the linker stage bleating > Undefined symbols: > "__TkCreateXEventSource", referenced from: > _TkpInit in tkUnixInit.o > so I grabbed nam-1-20080222.tar, which failed with the same linker error. > > (I was using the available Tcl/Tk in the system, but using the allinone compiled Tcl/Tk made no difference here.) > > I expect that the above will work for any Mac OS X 10.4 or 10.5 with XCode with the added X11 headers -there's a pkg on Leopard Install disc 1. The parallel MacOSX10.5.sdk/ tree is pretty empty, relying heavily on the base code in 10.4u (for universal: on Intel and PowerPC). On 10.3, using directories under /Developer/MacOSX10.3.9.sdk/ *may* well work - that directory exists, but the tree under it is mostly empty under Leopard. Since 10.3 changed so much during its lifetime, probably easiest to forget about 10.3 support altogether. > > I think that these locations need to be special-cased for Darwin in the all-in-one installer, just as Cygwin is. > > My, validate complains about 'no class variable LanRouter::debug_' a lot... Lloyd, Thanks, I've added the above to the troubleshooting page: http://nsnam.isi.edu/nsnam/index.php/Troubleshooting I personally haven't had problems using allinone package with OS 10.4, Xcode 2.4 on a G4 PPC, so maybe something has changed with Leopard or the newer Xcode. Tom From azer.ayoub at gmail.com Sat Feb 23 15:17:10 2008 From: azer.ayoub at gmail.com (azer ayoub) Date: Sun, 24 Feb 2008 00:17:10 +0100 Subject: [ns] GTS on 802.15.4 module Message-ID: <3ea8d1ad0802231517k254ea20anbd122706ac60245e@mail.gmail.com> Hi, I am actually studying Zigbee and 802.15.4, could you please tell me if the GTS mode is implemented on the wpan module of ns-2.31. I tried to change the value of the txoption to 0x02 but I think that it doesn't work. Thank you for your help. From trabelsizayneb at yahoo.fr Sun Feb 24 07:30:50 2008 From: trabelsizayneb at yahoo.fr (trabelsi zayneb) Date: Sun, 24 Feb 2008 15:30:50 +0000 (GMT) Subject: [ns] Guaranteed Time Slot Message-ID: <798051.50135.qm@web27001.mail.ukl.yahoo.com> Hi, Does NS-2.31 support the Guaranteed Time Slot (GTS) data transmissions? _____________________________________________________________________________ Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr From tnelson at vt.edu Sun Feb 24 14:08:18 2008 From: tnelson at vt.edu (Theresa Nelson) Date: Sun, 24 Feb 2008 17:08:18 -0500 Subject: [ns] Problem using NOAH and MW-Node patches simultaneously In-Reply-To: References: Message-ID: <1203890898.47c1ead279f4c@webmail.vt.edu> I am trying to apply both the NOAH patch and the MW-Node patch. Has anyone else had success with this? When I try to apply the NOAH patch to 2.31, I have no problems, but when I try to apply it to 2.30, which is supposedly what it's designed for, I get a complaint about endian conversion. When I try to apply MW-Node to 2.30, it works, but it won't work for 2.31. Is there a way to use these two together? If so, using which version, and what instructions? If not, is there another way to use infrastructure wireless with multiple channels? Please respond ASAP if you have any advice. Thanks! NOAH patch: http://icapeople.epfl.ch/widmer/uwb/ns-2/noah/ MW-Node patch: http://www.q2s.ntnu.no/~paquerea/ns.html Theresa Nelson (tnelson at vt.edu) M.S. Computer Engineering Networks & Network Security 1330 Torg Hall, IT Security Lab Virginia Tech From abdullahqawasmeh at yahoo.com Sun Feb 24 19:35:53 2008 From: abdullahqawasmeh at yahoo.com (abdullah qawasmeh) Date: Sun, 24 Feb 2008 19:35:53 -0800 (PST) Subject: [ns] Reading Node Location during wireless simulation Message-ID: <885053.70646.qm@web54109.mail.re2.yahoo.com> Hi All, Does anybody know how to get the location of a node from the routing agent class?. I know that the Node Object has three instance variables (X,Y,and Z), but how can I read these values from the routing agent class?. I need to read these variables because I am developing a new ad hoc routing protocol, and based on the location of a node packets are routed. Any help regarding this issue will be greatly appreciated... --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From gprabhu at tce.edu Sun Feb 24 21:24:48 2008 From: gprabhu at tce.edu (gprabhu@tce.edu) Date: Mon, 25 Feb 2008 10:54:48 +0530 (IST) Subject: [ns] Multicasting in Ad hoc networks Message-ID: <54051.203.129.194.20.1203917088.squirrel@mail.tce.edu> Hi All, do anyone have the idea of doing Multicasting in Ad Hoc networks? If anyone having sample code for this please send to this mail id... Its very urgent... please help me...... ----------------------------------------- This email was sent using TCEMail Service. Thiagarajar College of Engineering Madurai - 625015 (India) From penguin166 at gmail.com Sun Feb 24 21:30:24 2008 From: penguin166 at gmail.com (M Lee) Date: Mon, 25 Feb 2008 13:30:24 +0800 Subject: [ns] How set dynamic delay like this: Message-ID: Hi, all: I want to set dynamic delay on the link between N1 an N2. *And the possible delay is one of 100ms ,125ms , 200ms, 220ms,* * random , 1/4 each one.* How to do? Thanks! From ksentini.amel at gmail.com Mon Feb 25 02:13:29 2008 From: ksentini.amel at gmail.com (amel ksentini) Date: Mon, 25 Feb 2008 11:13:29 +0100 Subject: [ns] repeat simulation Message-ID: hi everybody how can i repeat a simulation in a script? is there a proc to implement in the script ti do so? thanks From mukul_manet at rediffmail.com Mon Feb 25 03:06:00 2008 From: mukul_manet at rediffmail.com (Mukul Shukla) Date: 25 Feb 2008 11:06:00 -0000 Subject: [ns] ns2 installation problem Message-ID: <20080225110600.25147.qmail@webmail32.rediffmail.com> Dear ns2 users, I want to install ns2.32/ns2.31 on my laptop which is running the OS RHEL 4.0 with gcc version 3.4.3. When I run ./install it gives me error and stops compiling all-in-one package after some time. Kindly suggest me the solution. Thanking you. Mukul Shukla Astt. Prof. (IT) SGSITS -INDIA From mukul_manet at rediffmail.com Mon Feb 25 03:06:30 2008 From: mukul_manet at rediffmail.com (Mukul Shukla) Date: 25 Feb 2008 11:06:30 -0000 Subject: [ns] ns2 installation problem Message-ID: <20080225110630.4249.qmail@webmail52.rediffmail.com> Dear ns2 users, I want to install ns2.32/ns2.31 on my laptop which is running the OS RHEL 4.0 with gcc version 3.4.3. When I run ./install it gives me error and stops compiling all-in-one package after some time. Kindly suggest me the solution. Thanking you. Mukul Shukla Astt. Prof. (IT) SGSITS -INDIA From mahrenholz at rt-solutions.de Sun Feb 24 23:41:33 2008 From: mahrenholz at rt-solutions.de (Daniel Mahrenholz) Date: Mon, 25 Feb 2008 08:41:33 +0100 Subject: [ns] About wireless cards specifications simulation In-Reply-To: <583158.52661.qm@web44909.mail.sp1.yahoo.com> References: <583158.52661.qm@web44909.mail.sp1.yahoo.com> Message-ID: <47C2712D.6060506@rt-solutions.de> Hi, Gabrial Monty schrieb: > You have said that : > "To answer your question: NO, it is absolutely not realistic to deduce > from a result of 150m transmission range to be in an indoor scenario." > > Do you mean that I cannot assume an indoor range to be 150m, or I cannot assume that an infrastructured network is working in an indoor environment? > What I tried so say is: "If your transmission range is 150m, you cannot assume to be in an indoor environment". For your question: a) you cannot assume that the transmission range will be 150m in an indoor environment. Usually, when someone gives a transmission range, he means that the transmission range can be _up to_ this value. You can never assume a minimum range (s. the elevator example). b) An infrastructured network is known to work in an indoor environment. > > The point that I want to get to, is that in the standard it is specified that the maximum transmit power for 802.11a cards in the range 5.725-5.825 GHz can reach 800 mW, following this can I assume a range of 150m (for example) for a card using 600 mW as its transmit power, apart from the propagation model or lets say I am working with TwoRayGround model, can I assume this or one can argue that my simulation settings are not real? > In a general environment (one you have no specific knowledge about) you cannot assume anything (s. the elevator). If you define some properties of the environment as prerequisits (e.g. "we are in an open park area with clear line-of-sight and no obstacles within the first fresnel zone") you can assume a transmission range with high confidence (e.g. 150m +/- 20m). In an indoor environment this is quite difficult because the variation is extremly high - something linke 50m +/- 50m does not help you much. Furthermore, even in a static indoor environment (one where anything remains at its position, no people moving, no doors opened/closed etc.) the signal strength between a pair of stationary WLAN transmitters will not be constant. You will find more information and references to other peoples' work in my thesis (http://deposit.ddb.de/cgi-bin/dokserv?idn=980478588) or in the papers of my collegues that continued / extended my work (http://wwwivs.cs.uni-magdeburg.de/EuK/forschung/publikationen/index.shtml). So my advise - start your work with a discussion of the properties of the environment, than that of your devices, and finally that of your protocol. From all this you can derive the performance of your communication / application with reasonable confidence. And don't forget - transmission power is a property of your devicey, but transmission range is not. It is a result of the combination of transmitter, receiver, environment, and signal encoding. Daniel. > Daniel Mahrenholz wrote: > Hi, > > Gabrial Monty schrieb: > >> I have to simulate an infrastructured wireless network behavior using different wireless cards specifications. I want to test the network performance using 802.11a cards with high transmit power level (not less than 600 mW). I have choosen the XtremeRange5 card but what I have realized is that its outdoor range is over 50 km and it indoor range is 150 m, during simulation if two nodes are further than 150 m the link throughput is 0, so is it realistic to assume that I deal with indoor networks? what I mean I am dealing with similar networks topology to wireless mesh networks, can I assume this network to be indoor and apply this NIC card specifications >> > Basically there is no difference if you increase the transmission power > or use a high gain antenna. So, apart from the transmission power, the > sensitivity of the transceiver is what makes the most important > difference between two wireless cards. > > Before you proceed with your work you should read something about > wireless propagation. Just as an example, an outdoor range of 50km is > only possible if the transmitter is placed high enough above ground. > Otherwise you will not have a free line of sight and fresnel zone. When > I remember right, for 50km distance the transmitter needs to be placed > about 80m above ground. The environment defines how the transmitted > signal is attenuated. Just imaging you are inside a metal elevator - > then you probably get an "indoor range" of 1m. > > To answer your question: NO, it is absolutely not realistic to deduce > from a result of 150m transmission range to be in an indoor scenario. > > I suggest that you start by selecting a propagation model that mimics > the effects experienced in an indoor environment (e.g. multipath > propagation, shadowing, interference ...). If you have such a > propagation model, you can start to investigate effects caused by the > transmission power, cars specification, protocol ... whatever you like. > > Hope that gets you started, > Daniel. > > > > --------------------------------- > Never miss a thing. Make Yahoo your homepage. > From ghadaayed at yahoo.com Mon Feb 25 05:40:23 2008 From: ghadaayed at yahoo.com (Ghada Al-Mashaqbeh) Date: Mon, 25 Feb 2008 05:40:23 -0800 (PST) Subject: [ns] Can anybody explain why this happens?? network perfromance depends on used data structure Message-ID: <881640.97784.qm@web51711.mail.re2.yahoo.com> Hi all, I have modified AODV protocol to support other routing metric than hop-count, at the final stages of performance testing I have realized the following: I have added new fields to RREQ and RREP packets, lets say I have added three quantities of type double (x, y, z) to the RREQ to allow intermediate nodes to calculate the new route metric. What I have realized that the protocol performance will be different for the following two cases: -- if I have added these values as an array to the RREQ header (i.e.double new_metric[3]), -- if I add them as a three elements (i.e. double x, double y, double z). Also if only one element of the array is filled (i.e. new_metric[0], for example) the performance will be different from having all array elements are filled. I am measuring the total network throughput, the results are different for different RREQ format elements arrangements. Can any body explain this to me? what is happening here? Thanks, Ghada --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. From fjrm at dif.um.es Mon Feb 25 10:08:53 2008 From: fjrm at dif.um.es (Francisco J. Ros) Date: Mon, 25 Feb 2008 19:08:53 +0100 Subject: [ns] Reading Node Location during wireless simulation In-Reply-To: <885053.70646.qm@web54109.mail.re2.yahoo.com> References: <885053.70646.qm@web54109.mail.re2.yahoo.com> Message-ID: <200802251908.53634.fjrm@dif.um.es> Hi Abdullah, Assuming the node address is stored in 'index': -- double x, y, z; MobileNode *node_ = (MobileNode *) Node::get_node_by_address(index); node_->getLoc(&x, &y, &z); -- Now, x, y and z contain the current node position. Regards, fran On Monday 25 February 2008 04:35, abdullah qawasmeh wrote: > Hi All, > > Does anybody know how to get the location of a node from the routing agent > class?. I know that the Node Object has three instance variables (X,Y,and > Z), but how can I read these values from the routing agent class?. I need > to read these variables because I am developing a new ad hoc routing > protocol, and based on the location of a node packets are routed. > > Any help regarding this issue will be greatly appreciated... > > > > > --------------------------------- > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it > now. -- Francisco J. Ros, Ph.D. Student Dept. of Information and Communications Engineering University of Murcia, Murcia (Spain) http://masimum.inf.um.es/fjrm/ From ludelai at hotmail.com Tue Feb 26 00:12:30 2008 From: ludelai at hotmail.com (=?gb2312?B?wrO1wsC0?=) Date: Tue, 26 Feb 2008 16:12:30 +0800 Subject: [ns] about call the routing agent in mac layer in wireless node Message-ID: Dear all: I want to define a ZBRP *zbr in constructor of sscs, so I can call the zbr function freely. in node config -adhocrouting aodv \ -mac mac802.15.4 \ how can I do that, because the zbr agent has been constructed when node was making in [ns node] thanks alot in advance yours suser _________________________________________________________________ MSNÊ¥µ®ÀñÎï»ðÈȵdz¡£¬Ãâ·Ñ·¢·ÅÖУ¬¿ìÀ´ÁìÈ¡°É£¡ http://im.live.cn/emoticons/?ID=18 From bali at ikt.uni-hannover.de Tue Feb 26 01:55:08 2008 From: bali at ikt.uni-hannover.de (Samer Bali) Date: Tue, 26 Feb 2008 10:55:08 +0100 Subject: [ns] repeat simulation In-Reply-To: References: Message-ID: <000d01c8785d$ac8be4c0$05a3ae40$@uni-hannover.de> Hi, I wrote a code to calculate many parameters: packet delivery ratio, normalized throughput, routing overhead ratio, end2end delay, hop count and connection time. Furthermore, this code is suitable in case you want to repeat your simulation experiment many times to take the average of them. This code is freely available and you can download it from the following link between '(' and ')': ( http://www.ikt.uni-hannover.de/fileadmin/institut/mitarbeiter/bali/pl-sim-1. 1.zip ) There is a text file that explains how to use the code. However, I wrote this code for my own use and for my specific scenario. Best Regards, Samer -----Original Message----- From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf Of amel ksentini Sent: Monday, February 25, 2008 11:13 AM To: ns-users at ISI.EDU Subject: [ns] repeat simulation hi everybody how can i repeat a simulation in a script? is there a proc to implement in the script ti do so? thanks From bali at ikt.uni-hannover.de Tue Feb 26 03:01:02 2008 From: bali at ikt.uni-hannover.de (Samer Bali) Date: Tue, 26 Feb 2008 12:01:02 +0100 Subject: [ns] repeat simulation In-Reply-To: References: <000d01c8785d$ac8be4c0$05a3ae40$@uni-hannover.de> Message-ID: <001101c87866$e1471af0$a3d550d0$@uni-hannover.de> Hi Basim, Yes, you are right. The file "gen_pl.tcl" generates a file called "run_pl_sim" in which 30X50 simulation runs (using the file "pl.tcl" and the default values listed in the file "defaults-802.15.4a.tcl") will be listed, i.e., there is 30 simulation experiments, and each experiment is repeated 50 times. Also the file "run_pl_sim" will contain some commands to extract 4 trace files from the original trace file for each simulation run (using the files frd1.txt, frd3.txt, frd8.txt, frs1.txt, frs3.txt, and frs8.txt). When the file "run_pl_sim" is executed , there will be 30X50X4 = 6000 trace files. (*) What should I do with these 6000 trace files? In MATLAB, run the file "info_pl.m" with the same 5 parameters as in "run_pl" file (see file 'instructions-before-using-codes.txt'). This will extract the useful information from the trace files. The 6000 trace files will be replaced by 30X50 files. (NOTE: "run_pl" and "info_pl" can be executed simultaneously to save time) (*) What should I do with the 1500 information files? In MATLAB, run the file "analyse_pl.m" with the same 5 parameters as in "run_pl" file. This will tabulate the results obtained from 1500 files into one file only. (*) What should I do with this one file? In MATLAB, run the file "plot_pl_avg.m" to obtain various plots and graphs. Hope this help. Best wishes, Samer -----Original Message----- From: Basim Javed [mailto:basimjaved at gmail.com] Sent: Tuesday, February 26, 2008 11:35 AM To: Samer Bali Subject: Re: [ns] repeat simulation Hello Samer its a nice effort. after having an overview, I think u wrote your code in tcl. right? would u kindly guide me, as also I want to run many simulations: whats the high level view of your approach? what i mean is: BIG PICTURE loop: initialize NS create a scenario run the simulation get the results processed terminate NS end loop: Also could you plz specify how are u getting the throughput stuff by processing the out.tr files by something like perl...? How do u average out the throughput for different runs, as I guess, you would get different separate out.tr files? thanks many. basim On Tue, Feb 26, 2008 at 10:55 AM, Samer Bali wrote: > > Hi, > > I wrote a code to calculate many parameters: packet delivery ratio, > normalized throughput, routing overhead ratio, end2end delay, hop count and > connection time. Furthermore, this code is suitable in case you want to > repeat your simulation experiment many times to take the average of them. > This code is freely available and you can download it from the following > link between '(' and ')': > > ( > http://www.ikt.uni-hannover.de/fileadmin/institut/mitarbeiter/bali/pl-sim-1. > 1.zip ) > > There is a text file that explains how to use the code. However, I wrote > this code for my own use and for my specific scenario. > > Best Regards, > Samer > > -----Original Message----- > From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf > Of amel ksentini > Sent: Monday, February 25, 2008 11:13 AM > To: ns-users at ISI.EDU > Subject: [ns] repeat simulation > > > hi everybody > how can i repeat a simulation in a script? > is there a proc to implement in the script ti do so? > thanks > > From abhijit.subramanya at gmail.com Tue Feb 26 03:52:19 2008 From: abhijit.subramanya at gmail.com (abhijit subramanya) Date: Tue, 26 Feb 2008 17:22:19 +0530 Subject: [ns] ADTFRC MODULE FOR NS2 Message-ID: HI all i am looking for the ADTFRC code for ns2 . please mail me the code if you guyz have it or provide me the email ids of some people who would have implemented it. thanks. From mos_februarie at yahoo.fr Tue Feb 26 04:05:30 2008 From: mos_februarie at yahoo.fr (Razvan Stanica) Date: Tue, 26 Feb 2008 13:05:30 +0100 (CET) Subject: [ns] Routing protocols on multiple interface (MW-Node or not?) Message-ID: <984610.4657.qm@web23205.mail.ird.yahoo.com> Hello all, I am trying to simulate mobile nodes with multiple interface and using different routing protocols for each interface. I have applied the MW-Node patch from here: http://www.q2s.ntnu.no/~paquerea/ns.html However, from the provided documentation I understood that the existing protocols don't work with this patch and they have to be adapted. I haven't made any changes in the C++ libraries until now and I am afraid I would do some fatal mistake. Does anyone have an example of a protocol adapted for MW-Node or at least some guidelines? Or does anyone knows a different patch that might provide multiple interface with different routing protocols? Thank you, Razvan. --------------------------------- Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail From rashi_khushi at rediffmail.com Tue Feb 26 04:19:26 2008 From: rashi_khushi at rediffmail.com (rashi saxena) Date: 26 Feb 2008 12:19:26 -0000 Subject: [ns] help me regarging handoff simulation plz Message-ID: <20080226121926.8709.qmail@f5mail-237-212.rediffmail.com> hello all i want to simulate soft handoff of cellular network by using ns-2 but i don't have any idea abt that plz tellme is their any script available or not?i have to simulate call blocking and call dropping probability of soft handoff of CDMA and GSM network plz help me out plz.............i'll be thankful to u Rashi Saxena India From ludelai at hotmail.com Tue Feb 26 05:00:18 2008 From: ludelai at hotmail.com (=?gb2312?B?wrO1wsC0?=) Date: Tue, 26 Feb 2008 21:00:18 +0800 Subject: [ns] about Zigbee routing module Message-ID: Dear Friends: Here, I am wondering on your 802.15.4 module. That is when I want to assign a tree address to the joining device, we will get into the "void SSCS802_15_4::MLME_ASSOCIATE_indication" function, here I want to to assign the address by calling the zbr agent function . I am wondering how you can call the zbr agent function and variables ?that is how we should do "zbr = getZBRLink(mac->index_);" to get the local routing agent pointer in sscs.cc file? your reply will be really appreciated, thanks alot in advance! yours, Delai Lu _________________________________________________________________ MSNÊ¥µ®ÀñÎï»ðÈȵdz¡£¬Ãâ·Ñ·¢·ÅÖУ¬¿ìÀ´ÁìÈ¡°É£¡ http://im.live.cn/emoticons/?ID=18 From stan.bred at yahoo.com Tue Feb 26 06:54:19 2008 From: stan.bred at yahoo.com (Stankiewicz Bredkjaer) Date: Tue, 26 Feb 2008 06:54:19 -0800 (PST) Subject: [ns] DMAC and NAV Implementation Message-ID: <572975.59040.qm@web58301.mail.re3.yahoo.com> Hi, I've already read the Archives, but all provided links about Directional MAC and Network Allocation Vector (NAV) don't work anymore. Therefore i would be pleased if someone could show me where to find an ns-2 implementation of the DMAC (directional-MAC) protocol, the directional antenna and/or the Directional Network Allocation Vector(DNAV). Thanks. Stan. --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From ghadaayed at yahoo.com Mon Feb 25 02:24:36 2008 From: ghadaayed at yahoo.com (Ghada Al-Mashaqbeh) Date: Mon, 25 Feb 2008 02:24:36 -0800 (PST) Subject: [ns] Performance change due to change data order in packets header: Could anybody explain??? Message-ID: <833289.38840.qm@web51712.mail.re2.yahoo.com> Hi all, I have modified AODV protocol to support other routing metric than hop-count, at the final stages of performance testing I have realized the following: I have added new fields to RREQ and RREP packets, lets say I have added three quantities of type double (x, y, z) to the RREQ to allow intermediate nodes to calculate the new route metric. What I have realized that the protocol performance will be different for the following two cases: -- if I have added these values as an array to the RREQ header (i.e.double new_metric[3]), -- if I add them as a three elements (i.e. double x, double y, double z). Also if only one element of the array is filled (i.e. new_metric[0], for example) the performance will be different from having all array elements are filled. I am measuring the total network throughput, the results are different for different RREQ format elements arrangements. Can any body explain this to me? what is happening here? Thanks, Ghada --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. From sidcool6 at yahoo.com Tue Feb 26 10:22:04 2008 From: sidcool6 at yahoo.com (Siddharth Rane) Date: Tue, 26 Feb 2008 18:22:04 +0000 (GMT) Subject: [ns] Analysis of Energy Parameters for Wireless Nodes from trace file Message-ID: <878040.94376.qm@web32407.mail.mud.yahoo.com> hi, I'm working on the energy efficiency of protocols in MANETs. Can anyone please tell me on how to analyse the energy parameters from the trace file. I tried using NAM, but the energy data seems to be missing from the NAM file. Please advice. Regards Siddharth --------------------------------- Get the freedom to save as many mails as you wish. Click here to know how. From jayachandra_5010 at yahoo.co.in Tue Feb 26 13:58:49 2008 From: jayachandra_5010 at yahoo.co.in (jayachandra gullapalli) Date: Wed, 27 Feb 2008 03:28:49 +0530 (IST) Subject: [ns] Regarding wireless simulation Message-ID: <859780.53885.qm@web8515.mail.in.yahoo.com> Hi, I am working on simulations with wireless adhoc networks, I need to configure nodes with different sets of energies? How should I write a script to configure nodes with different energies? Thanks, Jayachandra. Download prohibited? No problem. CHAT from any browser, without download. Go to http://in.messenger.yahoo.com/webmessengerpromo.php/ From bali at ikt.uni-hannover.de Tue Feb 26 15:08:41 2008 From: bali at ikt.uni-hannover.de (Samer Bali) Date: Wed, 27 Feb 2008 00:08:41 +0100 Subject: [ns] repeat simulation In-Reply-To: References: <000d01c8785d$ac8be4c0$05a3ae40$@uni-hannover.de> <001101c87866$e1471af0$a3d550d0$@uni-hannover.de> Message-ID: <000001c878cc$87cc16e0$976444a0$@uni-hannover.de> Hi Basim, Let me simplify this issue as following: Suppose that I want to run a simulation experiment only once. To do so I should type the following 15 commands: (1) nsuwb pl.tcl regular uwb AODV 1 f 11 1 (2) grep -e "s -t " /root/results/pl/regular/uwb/AODV/uwb-AODV-1-11-1.tr > /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-sent.tr (3) grep -e "tcp -Il 1064" /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-sent.tr > /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-sentdata.tr (4) grep -e "-It AODV " /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-sent.tr > /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-temp1.tr (5) grep -F -f /root/simulation/trace/grepfiles/frs1.txt /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-temp1.tr > /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-temp2.tr (6) grep -F -f /root/simulation/trace/grepfiles/frd1.txt /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-temp2.tr > /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-sentAODV.tr (7) grep -e "r -t " /root/results/pl/regular/uwb/AODV/uwb-AODV-1-11-1.tr > /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-temp1.tr (8) grep -e "tcp -Il 1084" /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-temp1.tr > /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-temp2.tr (9) grep -e "-Nl AGT " /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-temp2.tr > /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-recvdata.tr (10) grep -e "d -t " /root/results/pl/regular/uwb/AODV/uwb-AODV-1-11-1.tr > /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-temp1.tr (11) grep -e "tcp -Il " /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-temp1.tr > /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-dropped.tr (12) rm /root/results/pl/regular/uwb/AODV/uwb-AODV-1-11-1.tr (13) rm /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-sent.tr (14) rm /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-temp1.tr (15) rm /root/results/pl/regular/uwb/AODV/f1/uwb-AODV-1-11-1-temp2.tr The first command run the simulation and it results in one trace file "uwb-AODV-1-11-1.tr" (NOTE: I renamed my ns-2 simulator name, so I typed "nsuwb" instead of "ns" because I used a version that support UWB networks). Now to obtain information about throughput, routing overhead, ...etc, I found it is better to filter the original trace file and replace it with 4 small files. This is done with commands (2) to (11). Then I deleted the unwanted files from my system with commands (12) to (15). Note: the first five parameters (regular uwb AODV 1 f) are specified in my code in the file "run_pl". The 6th and 7th (11 1) parameters are added by " gen_pl.tcl". The 6th parameter specifies the distance between nodes (in the above example it is 11m), while the 7th parameter determines the seed of the simulation. In my network scenario, I varied the distance between nodes from 1 to 30m with a step of 1. For each distance value I repeated the simulation 50 times. So imagine this, to run 30X50 simulation, I should write 30X50X15 commands which is of course unfeasible to do manually!!! So I chose to generate these commands automatically using "gen_pl.tcl". These commands will be listed in the file "run_pl_sim". To sum up, the file "run_pl" will use the file "gen_pl.tcl" to generate a file called "run_pl_sim" in which 30X50 simulation runs will be listed, in addition to some commands to extract 4 trace files from the original trace file for each simulation run. Then the file "run_pl_sim" will be executed. Then, In MATLAB, run the file "info_pl" with the same 5 parameters as in "run_pl" file. This will extract the useful information from the trace files. Here, every 4 trace files that represents one simulation run is replaced by one file with only one line (containing information such as number of sent packets, dropped packets, received packet, connection time, ...etc). Therefore, the 6000 trace files will be replaced by 30X50 = 1500 files. Then, In MATLAB also, run the file "analyse_pl" with the same 5 parameters as in "run_pl" file. This will calculate throughput, routing overhead, ...etc, for each file of the 1500 files. the file "analyse_pl" will generates two files, one file contains 30X50 = 1500 lines (no average is provided), and the other file contains the average of every 50 simulation corresponding to a certain distance between nodes, that is, the second file contains 30 lines, each line contains the average throughput, average routing overhead, ...etc. As I said before, I wrote this code for my own use. I did not write enough documentation so that other people can use it. But I hope that this email gives some hints for those who want to understand this code. Also, I think one will get more hints when he understand the network scenario simulated by this code. For more information about the network scenario (node mobility, traffic, . etc.) see the following paper: S. Bali, J. Steuer and K. Jobmann, "Performance of Three Routing Protocols in UWB Ad Hoc Network Deployed in an Industrial Application," accepted in GLOBECOM'07: IEEE Workshop on Wireless Mesh and Sensor Networks, 30 Nov, 2007. Downloadable at: http://www.ikt.uni-hannover.de/index.php?id=publikationen0 Best wishes, Samer -----Original Message----- From: Basim Javed [mailto:basimjaved at gmail.com] Sent: Tuesday, February 26, 2008 12:31 PM To: Samer Bali Subject: Re: [ns] repeat simulation hello Samer I dont think if I quite understand the role of run_pl_sim? is it another tcl file or trace file generated by gen_pl.tcl? what is this 30x50 runs..i mean the values for different parameters to be used in a specific run? lets consider one example of throughput averging: so you have 50 trace file for a particular setup of parameters; only you repeat the simulation with different seed values, while keeping other parameter values same. Which means probably you have 50 trace files. Now you need to average out these 50 trace file into one..right? probably the way you would do it is to geneate a throughput file for each of these 50 files, and then add the corresponding values of same time interval, and then divide by 50? thanks many. b On Tue, Feb 26, 2008 at 12:01 PM, Samer Bali wrote: > Hi Basim, > > Yes, you are right. The file "gen_pl.tcl" generates a file called > "run_pl_sim" in which 30X50 simulation runs (using the file "pl.tcl" and the > default values listed in the file "defaults-802.15.4a.tcl") will be listed, > i.e., there is 30 simulation experiments, and each experiment is repeated 50 > times. > > Also the file "run_pl_sim" will contain some commands to extract 4 trace > files from the original trace file for each simulation run (using the files > frd1.txt, frd3.txt, frd8.txt, frs1.txt, frs3.txt, and frs8.txt). > > When the file "run_pl_sim" is executed , there will be 30X50X4 = 6000 trace > files. > > (*) What should I do with these 6000 trace files? > In MATLAB, run the file "info_pl.m" with the same 5 parameters as in > "run_pl" file (see file 'instructions-before-using-codes.txt'). This will > extract the useful information from the trace files. The 6000 trace files > will be replaced by 30X50 files. > (NOTE: "run_pl" and "info_pl" can be executed simultaneously to save time) > > (*) What should I do with the 1500 information files? > In MATLAB, run the file "analyse_pl.m" with the same 5 parameters as in > "run_pl" file. This will tabulate the results obtained from 1500 files into > one file only. > > (*) What should I do with this one file? > In MATLAB, run the file "plot_pl_avg.m" to obtain various plots and graphs. > > Hope this help. > > Best wishes, > Samer > > > -----Original Message----- > From: Basim Javed [mailto:basimjaved at gmail.com] > Sent: Tuesday, February 26, 2008 11:35 AM > To: Samer Bali > Subject: Re: [ns] repeat simulation > > Hello Samer > > its a nice effort. > after having an overview, I think u wrote your code in tcl. right? > > would u kindly guide me, as also I want to run many simulations: > > whats the high level view of your approach? what i mean is: > > BIG PICTURE > loop: > > initialize NS > create a scenario > run the simulation > get the results processed > terminate NS > > end loop: > > Also could you plz specify how are u getting the throughput stuff by > processing the out.tr files by something like perl...? How do u > average out the throughput for different runs, as I guess, you would > get different separate out.tr files? > > thanks many. > basim > On Tue, Feb 26, 2008 at 10:55 AM, Samer Bali > wrote: > > > > Hi, > > > > I wrote a code to calculate many parameters: packet delivery ratio, > > normalized throughput, routing overhead ratio, end2end delay, hop count > and > > connection time. Furthermore, this code is suitable in case you want to > > repeat your simulation experiment many times to take the average of them. > > This code is freely available and you can download it from the following > > link between '(' and ')': > > > > ( > > > http://www.ikt.uni-hannover.de/fileadmin/institut/mitarbeiter/bali/pl-sim-1. > > 1.zip ) > > > > There is a text file that explains how to use the code. However, I wrote > > this code for my own use and for my specific scenario. > > > > Best Regards, > > Samer > > > > -----Original Message----- > > From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf > > Of amel ksentini > > Sent: Monday, February 25, 2008 11:13 AM > > To: ns-users at ISI.EDU > > Subject: [ns] repeat simulation > > > > > > hi everybody > > how can i repeat a simulation in a script? > > is there a proc to implement in the script ti do so? > > thanks > > > > > > From jkniess at ic.uff.br Tue Feb 26 15:46:55 2008 From: jkniess at ic.uff.br (Janine Kniess) Date: Tue, 26 Feb 2008 20:46:55 -0300 (BRT) Subject: [ns] problem with target_ Message-ID: <56586.200.20.15.62.1204069615.squirrel@webmail.ic.uff.br> Janine Kniess From azg at Cs.Nott.AC.UK Tue Feb 26 15:53:22 2008 From: azg at Cs.Nott.AC.UK (azg@Cs.Nott.AC.UK) Date: 26 Feb 2008 23:53:22 +0000 Subject: [ns] ad hoc networks Message-ID: <200802262353.ab06582@pat.Cs.Nott.AC.UK> Hi, please, has anybody used ns2 for ad hoc networks?? It seems I have a problem with positioning... in the code below initial_node_position launch the following error =============================================================== -bash-3.00$ ns ex3.tcl num_nodes is set 3 INITIALIZE THE LIST xListHead (_o3 cmd line 1) invoked from within "_o3 cmd initial_node_position _o14 20" invoked from within "catch "$self cmd $args" ret" invoked from within "if [catch "$self cmd $args" ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error "error when calling class $cls: $args" $..." (procedure "_o3" line 2) (SplitObject unknown line 2) invoked from within "$ns initial_node_position $node(0) 20" (file "ex3.tcl" line 78) -bash-3.00$ ================================================= And the tcl code is this: # Create simulator set ns [new Simulator] # Create a topology in a 670m x 670m area set topo [new Topography] $topo load_flatgrid 670 670 # ns trace and nam trace $ns trace-all [open ns.tr w] $ns namtrace-all-wireless [open ns.nam w] 670 670 # Create God set god [create-god 3] # Define how to create a mobile node $ns node-config \ -adhocRouting DSR \ -llType LL \ -macType Mac/802_11 \ -ifqLen 50 \ -ifqType Queue/DropTail/PriQueue \ -phyType Phy/WirelessPhy \ -antType Antenna/OmniAntenna \ -propType Propagation/TwoRayGround \ -channel [new Channel/WirelessChannel] \ -topoInstance $topo \ -agentTrace ON \ -routerTrace OFF \ -macTrace OFF \ -movementTrace OFF # Create mobile nodes for {set i 0} {$i<3} {incr i} { set node($i) [$ns node] # disable random motion for static network $node($i) random-motion 0 } # Define movement model (if applicable) #source movement-scenario-files # Define traffic model (if applicable) #source traffic-scenario-files $node(0) set X_ 83.4 $node(0) set Y_ 239.4 $node(0) set Z_ 0.0 $node(1) set X_ 257.1 $node(1) set Y_ 345.4 $node(1) set Z_ 0.0 $node(2) set X_ 591.3 $node(2) set Y_ 199.4 $node(2) set Z_ 0.0 $ns at 33.0 "$node(0) setdest 89.7 283.5 19.2" $ns at 51.0 "$node(1) setdest 221.8 80.9 14.9" $ns at 50.0 "$node(2) setdest 369.5 170.5 3.4" set udp_(0) [new Agent/UDP] $ns attach-agent $node(0) $udp_(0) set null_(0) [new Agent/Null] $ns attach-agent $node(2) $null_(0) set cbr_(0) [new Application/Traffic/CBR] $cbr_(0) set packetSize_ 1000 $cbr_(0) set interval_ 4.0 $cbr_(0) set random_ 1 $cbr_(0) set maxpkts_ 10000 $cbr_(0) attach-agent $udp_(0) $ns connect $udp_(0) $null_(0) $ns at 20.0 "$cbr_(0) start" # Define node initial position in nam #for {set i 0} {$i < 3} {incr i} { # $ns initial_node_position $node($i) 20 #} $ns initial_node_position $node(0) 20 $ns initial_node_position $node(1) 20 $ns initial_node_position $node(2) 20 # Tell ns/nam the simulation stop time $ns at 100.0 "$ns nam-end-wireless 100.0" $ns at 100.0 "$ns halt" # Start your simulation $ns run ===================================================== Any suggestion is more than welcome, Thanks, Adriano This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. From mukul_manet at rediffmail.com Tue Feb 26 21:18:15 2008 From: mukul_manet at rediffmail.com (Mukul Shukla) Date: 27 Feb 2008 05:18:15 -0000 Subject: [ns] IP Simulations in ns2 Message-ID: <20080227051815.23018.qmail@webmail52.rediffmail.com> Dear ns users, I want some help regarding the simulation of IP network protocols e.g. ICMP, CIDR, NAT etc. Why doesn't ns2 support IP simulations? If need to add the support for these protocols where should I start? Kindly help. Mukul Shukla INDIA From SYilmaz at aselsan.com.tr Tue Feb 26 22:13:18 2008 From: SYilmaz at aselsan.com.tr (Semra YILMAZ) Date: Wed, 27 Feb 2008 08:13:18 +0200 Subject: [ns] the link between node and assigned queue for that node Message-ID: <22DF48915EF5BF4998B4B34DE67C0A99814883@POSTA.aselsan.com.tr> Dear ns-users, I want to check the queue occupancy while a packet loss occurs, but i could not find any relation between node and assigned queue for that node in the source code. Does anybody know where (in which file) this link is created in the source code. Best regards, Semra ###################################################################### Dikkat: Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz. Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte, guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki gorusler ve bakis acisi gondericiye ait olup Aselsan A.S. resmi gorusu olmak zorunda degildir. ###################################################################### Attention: This e-mail message is privileged and confidential. If you are not the intended recipient please delete the message and notify the sender. E-mails to and from the company are monitored for operational reasons and in accordance with lawful business practices. Any views or opinions presented are solely those of the author and do not necessarily represent the views of the company. ###################################################################### From jkniess at ic.uff.br Wed Feb 27 04:45:30 2008 From: jkniess at ic.uff.br (Janine Kniess) Date: Wed, 27 Feb 2008 09:45:30 -0300 (BRT) Subject: [ns] problem with target_ (Scheduler: attempt to schedule an event with a NULL handler. Don't DO that.) In-Reply-To: <56586.200.20.15.62.1204069615.squirrel@webmail.ic.uff.br> References: <56586.200.20.15.62.1204069615.squirrel@webmail.ic.uff.br> Message-ID: <39020.200.20.15.62.1204116330.squirrel@webmail.ic.uff.br> Hi, I'm trying to send a Hello message (I used the AODV protocol model) and I received the folowing error: Scheduler: attempt to schedule an event with a NULL handler. Don't DO that. The problem is that the 'target_' always returned 0. Somebody know the solution for this problem? Janine From i.tumar at jacobs-university.de Wed Feb 27 07:01:52 2008 From: i.tumar at jacobs-university.de (Iyad Tumar) Date: Wed, 27 Feb 2008 16:01:52 +0100 Subject: [ns] PRoPHET routing protocol In-Reply-To: References: Message-ID: <082CC183-73A0-46F4-80A8-9EA3196E6527@jacobs-university.de> > Dear all, > > i am looking for the Implementation of PRoPHET routing protocol for > intermittent networks, where can i find the implementation of this > routing protocol in ns-2? > > pls help. > Iyad From islheg at gmail.com Wed Feb 27 07:34:03 2008 From: islheg at gmail.com (Islam Hegazy) Date: Wed, 27 Feb 2008 08:34:03 -0700 Subject: [ns] [code omitted because of length] error Message-ID: <06ef01c87956$c783ef80$65000e0a@pc.cpsc.ucalgary.ca> Hi all I added a new agent in ns and modified the ns-agent.tcl file with the following code: Agent/IMultiHop instproc init args { $self next $args } Agent/IMultiHop set sport_ 0 Agent/IMultiHop set dport_ 0 when I try to run my Tcl file with ns I get the following error: [code omitted because of length] : invalid command name "Agent/IMultiHop" while executing "Agent/IMultiHop instproc init args { $self next $args }" I searched FAQ and the internet but I didn't find an answer to this error. Can anyone tell me what is wrong? Regards Islam Hegazy From gabrial_monty at yahoo.com Wed Feb 27 19:05:54 2008 From: gabrial_monty at yahoo.com (Gabrial Monty) Date: Wed, 27 Feb 2008 19:05:54 -0800 (PST) Subject: [ns] Adding new metric to AODV Message-ID: <977931.42990.qm@web44913.mail.sp1.yahoo.com> Dear all, I want to modify AODV to support new metric other than hop count, the new metric needs to save the weight of each link within the constucted route, How can I modify the format of RREQ/RREP to append the weight of each link within the route? please support me with any idea in your mind, it could be very useful for me. thank you, gaby --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From ssdoria at gmail.com Wed Feb 27 23:47:07 2008 From: ssdoria at gmail.com (Sidney Doria) Date: Thu, 28 Feb 2008 04:47:07 -0300 Subject: [ns] New version of Puma available Message-ID: <1bc975700802272347t1bd2e235i9d1add429b8903f2@mail.gmail.com> Hi NS-2 all, A new version of Puma protocol (a multicast routing protocol, more efficient than MAODV) is now available at . *Now Puma for NS-2 is fully functional* Be free to test it and make comments about any issue. Hey you, how can I integrate Puma into NS-2 (just like AODV, TORA etc.)? Help wanted! -- Sidney Doria Redes ad hoc m?veis Mestrado em Computa??o UFCG Brasil "Nessa jornada, o conhecimento ser? o seu escudo..." (Mestre dos Magos no epis?dio do grimoire de ouro) From hcc at gatech.edu Thu Feb 28 05:22:53 2008 From: hcc at gatech.edu (Claus Christmann) Date: Thu, 28 Feb 2008 08:22:53 -0500 Subject: [ns] Updated Version of Toilers' implementation of LAR and DREAM In-Reply-To: <852081.34075.qm@web94514.mail.in2.yahoo.com> References: <852081.34075.qm@web94514.mail.in2.yahoo.com> Message-ID: <47C6B5AD.7080500@gatech.edu> Avishek, I am not using DREAM/LAR at the moment and do not even have a working ns2 at this time, so I can't give you step by step instructions... (My research interest shifted...) The questions you have are general questions related to the LAR/DREAM code written by TOILERS. You should ask the email list (ns-users at isi.edu) for general answers and after you figured out the solution to your problems, please go ahead and update the ns2 WIKI (http://nsnam.isi.edu/nsnam/index.php/Main_Page) so that other people could find the solutions you found, too. As to your particular question: If I remember correctly, the box.tcl does not specify a mobilty file (as stated by the error message). There are two solutions to this (again, if I remember correctly): either do what the error message told you to to, i.e. call $ ns box.tcl MOBILITY.FILE or simply include a mobility file inside box.tcl (for examples on how to do this look at any more recent tcl input file for a wireless scenario...) Please check the ns2 manual on how to create mobility files. Again, please add any insight you gained into the ns2 wiki (http://nsnam.isi.edu/nsnam/index.php/Main_Page) so that others can learn about and from your work. Hope that helps. Claus Maxy Mania wrote: > Hi Claus, > I have patched the code successfully after the code which > was updated by you. I am really grateful to you for your support. I am > working in LAR protocol. So I found a folder named LAR inside the > ns-2.32 folder. This folder consist of a .tcl file (box.tcl), a readme > file and a .cc file (lar.cc). Whenever I am executing the box.tcl file, > it is showing an error message "USAGE: ". From the code > in the box.tcl file, i found that we need to provide a file along with > the command "ns box.tcl" as an additional argument. The readme file is > also not very clear. So I request you to provide me a solution to y > problem. > > Regards > Avishek > > */Claus Christmann /* wrote: > > Hi Avishek, > > I am sorry, I had a typo in my email. What you need to do is to run the > unix command "patch" (http://www.rt.com/man/patch.1.html) in order to > include my patch-file. > > So in order to correct my command: > > $: patch -p1 > > This should include the .patch file (which is only a text file, created > with the "diff" utility). > > Hopefully you guys can get it running now... > > Claus > > > Maxy Mania wrote: > > Hi Claus, > > I am trying to patch the code given by u in my linux, but > > it is showing an error message "file p1 missing". please tell me > how do > > i overcome this major problem. we are using ns2 version 2.32. > i'll be > > eagerly waiting for your reply. > > > > Regards, > > > > Avishek > > > > > > */Claus Christmann /* wrote: > > > > Hi Avishek, > > > > Find attached the patch I created. > > > > After you included the patch, you should have a new directory (called > > DREAM if I recall correctly) that contains a README file. > > > > Please also inform Tracy Camp (tcamp at mines.edu) from TOILERS that you > > are using their code (I simply updated their ns2 patch) and include a > > reference to their paper on LAR and DREAM in any publication you > might > > have (http://toilers.mines.edu). > > > > Enjoy playing around with DREAM and LAR and please publish your > > results, > > struggles, patches and success stories either via the ns-users > mailing > > list or on the ns wiki > (http://nsnam.isi.edu/nsnam/index.php/Main_Page) > > so that others can pick up the good work you are doing. > > > > You should be able to apply this patch file by simply copying it into > > your ns-allinone-2.32 folder (parallel to the ns-2.32 folder) and > > performing the following command (in linux): > > > > $: patch p1 > > > > This should patch your installation with the data in the > > toilers-LAR-DREAM-2.32.patch file. > > > > Regards, > > > > Claus > > > > PS: I haven't tested the patch in cygwin. Please send me a short > > feedback in case you are using a cygwin environment. > > > > maxy_meets at yahoo.co.in wrote: > > > Hi, > > > I am Avishek and am working on LAR protocol now. I'll be very > > grateful, if you send me the LAR Protocol implementation code. > > > > > > Thanks, > > > Avishek R.C. > > > mail id: a.rc at aol.in > > > > > > > > > > > > Claus Christmann wrote: > > >> > > >> Hi List, > > >> > > >> the Toilers research group has written an implementation of > LAR and > > >> DREAM for ns2.1b7a related to the following paper: > > >> > > >> T. Camp, J. Boleng, B. Williams, L. Wilcox, and W. Navidi, > > Performance > > >> Comparision of Two Location Based Routing Protocols for Ad Hoc > > >> Networks, Proceedings of the IEEE INFOCOM, pp. 1678-1687, 2002. > > >> > > >> I received a copy of the code related to the ns2.1b7a version > > from the > > >> list and made an updated patch for ns-allinone-2.32. > > >> > > >> If anybody is interested in that patch, send me an email. I am > > more than > > >> happy to send you a copy. > > >> > > >> Cheers, > > >> > > >> Claus > > >> > > >> -- > > >> Claus Christmann > > >> Graduate Research Assistant > > >> > > >> Georgia Institute of Technology > > >> 270 Ferst Drive > > >> Atlanta, GA 30332-0150 > > >> > > >> http://uav.ae.gatech.edu > > >> > > >> > > >> > > > Quoted from: > > > > > > http://www.nabble.com/Updated-Version-of-Toilers%27-implementation-of-LAR-and-DREAM-tp13256452p13256452.html > > > > > > > -- > > Claus Christmann > > Graduate Research Assistant > > > > Georgia Institute of Technology > > 270 Ferst Drive > > Atlanta, GA 30332-0150 > ------------------------------------------------------------------------ > Now you can chat without downloading messenger. Click here > > to know how. -- Claus Christmann Graduate Research Assistant Georgia Institute of Technology 270 Ferst Drive Atlanta, GA 30332-0150 From smita.vishwa at gmail.com Thu Feb 28 06:26:04 2008 From: smita.vishwa at gmail.com (Smita Vishwakarma) Date: Thu, 28 Feb 2008 19:56:04 +0530 Subject: [ns] Fwd: packet flow In-Reply-To: <200802281334.m1SDYScA019256@gamma.isi.edu> References: <200802281334.m1SDYScA019256@gamma.isi.edu> Message-ID: ---------- Forwarded message ---------- From: Date: Thu, Feb 28, 2008 at 7:04 PM Subject: Re: [ns]packet flow To: smita.vishwa at gmail.com Welcome to posting to the ns-users mailing list! We automatically send this message to every new person who sends mail to the list. You should only receive it once. My apologies if the program contacts you twice, perhaps because you have multiple e-mail addresses or send mail from multiple machines. If you are an experienced ns-user who simply has not posted since we started using this responder, our apologies for inconveniencing you with this message. This message is intended to help inform users and cut down on redundant posts, which benefits everyone. Please look at the attached list of ns Frequently Asked Questions. If it answers your question, great! You're done. If not, please RE-SEND your original message to ns-users at isi.edu. A copy of your original message is included below for reference. You will NOT have to do re-send your message every time you post, only the FIRST time you send from a new account. The goal is to quickly help new users find the FAQ (hopefully answering their question). Thanks, -the ns development team ---------------------------------------- The Network Simulator ns-2: Frequently Asked Questions (This FAQ is also on the web at http://www.isi.edu/nsnam/ns/ns-faq.html.) * _Where do I get ns?_ From the ns web site at http://www.isi.edu/nsnam/ns/ns.html and the download page http://www.isi.edu/nsnam/ns/ns-tests.html. * _What platforms does ns run on and what kind of hardware do I need?_ Please see "where to start" on the building ns web page: http://www.isi.edu/nsnam/ns/ns-build.html#start. * _What should I do if I have trouble downloading/extracting ns?_ This question is answered in detail at http://www.isi.edu/nsnam/ns/ns-problems.html#downloading. * _What should I do if I encounter problems building ns?_ Check: 1. the README that comes in the distribution (very brief), 2. the "installation problems, bug fixes and help" web page http://www.isi.edu/nsnam/ns/ns-problems.html, 3. the archives of the ns-users mailing list http://www.isi.edu/nsnam/ns/ns-lists.html, 4. post a bug report (see below) http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi. * _What do I do after I successfully build ns?_ + Put the path to your ns executable into your PATH environment + Put the path to your otcl into your LD_LIBRARY_PATH environment + Put the path to your tcl library into your TCL_LIBRARY environment * _Where can I find documentation for ns?_ All documentation is linked from the main ns web page http://www.isi.edu/nsnam/ns/. Documentation includes a tutorial (originally from Marc Greis) and a reference manual (ns notes and documentation). * _Words, words, words... that documentation is nice, but where are some sample scripts I can start from?_ Many sample scripts can be found in the ns distribution in ~ns-2/tcl/ex and ~ns-2/tcl/test. * _What protocols does ns support?_ A lot! Almost all variants of TCP, several forms of multicast, wired networking, several ad hoc routing protocols and propagation models (but not cellular phones), data diffusion, satellite, and other stuff. See the documentation (described above) for details, or download ns and look. * _How do I know that ns correctly implements these protocols?_ Ns has validation tests that cover many protocols, see http://www.isi.edu/nsnam/ns/ns-tests.html. However, ultimately users are responsible for verifying that ns is accurate for their purposes---since we cannot foresee all the ways ns may be used, we cannot test all cases with all inputs. * _Are there any contributed/additional protocols not in the main distribution?_ Yes, please see the contributed code web page http://www.isi.edu/nsnam/ns/ns-contributed.html. The mailing list archives can also be helpful (see below). * _How should I get started doing something (like implementing a new protocol or trying an experiment)?_ We recommend that you look through the tutorial (see documentation, above), then start with an example program that is most similar to yours (in the tutorial, or in tcl/ex or tcl/test in the distribution), and then start changing things. * _What should I do to compile ns to reflect my changes if I've modified some .cc or .h files?_ go to ns directory and run "make" or "make depend; make" * _How do I subscribe to the ns-users mailing list? How do I search old list archives? I can't take any more---how do I get off this list?_ To subscribe or unsubscribe, see http://www.isi.edu/nsnam/ns/ns-lists.html. The list archive is at http://www.isi.edu/nsnam/ns/ns-lists.html. * _What if I have a question that's not answered here?_ If you've checked the installation problems and bug fixes web page (http://www.isi.edu/nsnam/ns/ns-problems.html) and there's no answer to your question, you may want to file a bug report or post a question to the ns-user's mailing list. First, you should check the archive of the list at http://www.isi.edu/nsnam/ns/ns-lists.html. Your question may already be answered there. If not, you can post a bug report using the web form at http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi. If your question is NOT about ns implementation bugs, you may wish to post to the list. First you should subscribe. Subscription instructions are at http://www.isi.edu/nsnam/ns/ns-lists.html. _Please note that mail sent to the list is publicly distributed and archived. _If you have concerns about your message being made public (spam harvesting of your address), please consider that _before_ posting. We cannot remove messages from reciepient's mailboxes or the public archive after they're posted. When posting bug reports, please _always_ include information including at least (the bug report form includes spaces for these): + what version of ns you're using, + what operating system you're running on (not just Linux or Solaris, but RedHat version 7.0 or Solaris 2.4---send us the output of "uname -a"), + what specific behavior you see (if ns doesn't compile, what's the specific error; if TCP does something strange, what exactly did it do [send a pointer to a packet trace]), + what behavior you expected to see (if ns doesn't compile this is obvious, but if TCP does something strange, why is it strange, where is the TCP spec violated?), + pointers to your script detailed output files, + a statement that "yes, I've read the FAQ, ns-problems page, and manual and I couldn't find the answer there" (or a statement about why you didn't do that yet :-) A reminder about mailing list etiquette: + Please check the web pages and list archives before posting your question. + Please keep the body of your post to simple ASCII, not HTML. + Please do _not_ send large attachments (if what you have is bigger than a few kilobytes, put it on a web page and send a URL) + Before posting a question like "did people see my post" or "the list seems down", please check the archives (you can answer this question more accurately by checking yourself rather than asking). + Please don't post subscribe/unsubscribe requests directly to the list, use the lists' information page. (see the web page mentioned above for details). _________________________________________________________________ ---------------------------------------- >From smita.vishwa at gmail.com Thu Feb 28 05:34:28 2008 Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64]) by gamma.isi.edu (8.13.8/8.13.8) with ESMTP id m1SDY0NA019129 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 28 Feb 2008 05:34:01 -0800 (PST) Received: from rv-out-0910.google.com (rv-out-0910.google.com [ 209.85.198.184]) by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id m1SDQeFJ002768 for ; Thu, 28 Feb 2008 05:26:40 -0800 (PST) Received: by rv-out-0910.google.com with SMTP id k15so2041035rvb.45 for ; Thu, 28 Feb 2008 05:26:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=NzN80Qv8J/xwsO1lcnrFiBeAjADIRpcshBDjGeVTolo=; b=xXg5RqRQ2yZzh/mobx+QCruQI6TGDtzvOaNIrzVy+neARdwZElrCtN9G0z8hd3RbmS9DT+oJuJ9VuFcaZCLJNyCv1ps4vyzXaGhrQTue4uqmFgYRbENH82PkxzIdRJl5atOegQsoJLHTp7MCw8v69OlSVIOT5x5iEHygjRTMJco= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=rPU54hGSxhqwEQj1YLdsLt+uI9BY8UKjvXixO4xz3TCPy6Pj/VAs6a0ro+u9J+AmL3/0ln6+w3K2vSQVqtrAuxzGJ5H9bhRXTZ87i39rGAXvEm5KQHCOQwzS7kY7dJL4Uscr/Mea/GeRu+9FrohtXxnFB3MwND6+zZJpgEPObgw= Received: by 10.140.163.3 with SMTP id l3mr5424741rve.68.1204205199826; Thu, 28 Feb 2008 05:26:39 -0800 (PST) Received: by 10.140.186.14 with HTTP; Thu, 28 Feb 2008 05:26:39 -0800 (PST) Message-ID: Date: Thu, 28 Feb 2008 18:56:39 +0530 From: "Smita Vishwakarma" To: "ns-users at isi.edu" , "Marcello Caleffi" Subject: [ns]packet flow MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_36187_3258678.1204205199816" X-ISI-4-43-8-MailScanner: Found to be clean, Found to be clean X-MailScanner-From: smita.vishwa at gmail.com ------=_Part_36187_3258678.1204205199816 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Dear all, I am using NS from last one year , right now I have some confusion about flow of the packet from one node to the multiple nodes, I want to know that how one node recognize their packet's id. please , tell me the solution. Thanks & Regards, -- smita India ------=_Part_36187_3258678.1204205199816 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Dear all,

I am using NS from last one year , right now I have some confusion about flow of the packet from one node to the multiple nodes, I want to know that how one node recognize their packet's id.
please , tell me the solution.

Thanks & Regards,
--
smita
India
------=_Part_36187_3258678.1204205199816-- -- smita From abhijit.subramanya at gmail.com Thu Feb 28 07:30:26 2008 From: abhijit.subramanya at gmail.com (abhijit subramanya) Date: Thu, 28 Feb 2008 21:00:26 +0530 Subject: [ns] ADTFRC code Message-ID: Hi if anyone has the code for Ad hoc Tcp freindly Rate Control Protocol please send me the module for that. i am really in need of it. please someone send me the code if you have it. thanks. From ksentini.amel at gmail.com Thu Feb 28 08:07:23 2008 From: ksentini.amel at gmail.com (amel ksentini) Date: Thu, 28 Feb 2008 17:07:23 +0100 Subject: [ns] help on aodv-uu Message-ID: Hi everybody, I am using the aodv-uu as a routing protocol for an ad hoc network on ns In the file trace, i find all the packets dropped because of IFQ or NRTE. Please help me solving this problem. From ssakthivel85 at gmail.com Thu Feb 28 19:17:52 2008 From: ssakthivel85 at gmail.com (Sakthivel Subramanian) Date: Fri, 29 Feb 2008 08:47:52 +0530 Subject: [ns] Routing by user choice Message-ID: <8f98fbc00802281917l2935882v942093f1a1b0ab9a@mail.gmail.com> Hi,Is source routing concept available in ns2 simulator...ie.,what i am trying to say is "the user can select his/her own route to send the packet to destination...ie.,user can select ISP through which his packet should sent.....Please help me friends.. From qingwen_liu at 163.com Fri Feb 29 00:04:51 2008 From: qingwen_liu at 163.com (Qingwen Liu) Date: Fri, 29 Feb 2008 16:04:51 +0800 Subject: [ns] Problems with rsvp-ns on ns-2.31 Message-ID: <1204272291.10211.4.camel@qw> Hi my friend, I tried to put the rsvp patch in ns-2.31. Following are the errors in wfq class: kurumin at augusto:~/ns-allinone-2.28/ns-2.28/tcl/ex/rsvp$ ns rsvp_ex.tcl warning: no class variable WFQClass::util_check_intv_ see tcl-object.tcl in tclcl for info about this warning. warning: no class variable WFQClass::util_records_ warning: no class variable WFQClass::util_check_intv_ see tcl-object.tcl in tclcl for info about this warning. warning: no class variable WFQClass::util_records_ warning: no class variable WFQClass::util_check_intv_ see tcl-object.tcl in tclcl for info about this warning. warning: no class variable WFQClass::util_records_ warning: no class variable WFQClass::util_check_intv_ see tcl-object.tcl in tclcl for info about this warning. warning: no class variable WFQClass::util_records_ So, waht you think? Do you have a patch for ns-2.31? Sincerely, Liu Qingwen Shanxi Taiyuan, China From marcello.caleffi at unina.it Fri Feb 29 00:21:48 2008 From: marcello.caleffi at unina.it (Marcello Caleffi) Date: Fri, 29 Feb 2008 09:21:48 +0100 Subject: [ns] porting AOMDV code to 2.31 . Request for your help. In-Reply-To: <8006f1e20802221455t6eadcdb5l2057ed15dccbd259@mail.gmail.com> References: <8006f1e20802221455t6eadcdb5l2057ed15dccbd259@mail.gmail.com> Message-ID: <8A6A2296-21D0-44D8-8273-34D751F434CC@unina.it> Hi to everyone, here http://wpage.unina.it/marcello.caleffi/ns2/aomdv.html you can find my personal 2-cents-AOMDV-code for the current release (2.32). I've updated an older version of AOMDV code, by merging it with the current AODV code and adding some personal contributes. I don't remember who gave me the original code; if someone knows who are the autors, please let me know. This code, differently from the original one, add the AOMDV as a new protocol in the ns tree and each code line which "adds the M to AODV" is indicated. Clearly, there is no guarantee about this code, however I've used it in the last year for my research activities without any troubles. Feedbacks and bug reports are welcome. Best regards, Marcello. ----------------------------------------- Marcello Caleffi Department of Electronic and Telecommunication Engineering University of Naples "Federico II" 21 Claudio street - 80125 Naples ITALY Tel +39-(0)81-7683810. Fax +39-(0)81-7683149 http://wpage.unina.it/marcello.caleffi/ Il giorno 22/feb/08, alle ore 23:55, Siddharth Khimsara ha scritto: > Hi Marcello, > > I am Masters in Electrical Engg student from San Diego State > University. I am currently working on multpath wireless ad hoc > routing and as a part of my research I am trying to integrate AOMDV > code into ns 2.31. I was going through the posts on ns2 in > mailman.isi.edu and I found your post on it. I was wondering if you > could please help me with my doubts regarding porting AOMDV code to > 2.31 > > googling for AOMDV code, I found two different sets of code for > AOMDV. One is from Mahesh Marina which is actually for ns 2.21, so > its the older version. > http://www.icis.ntu.edu.sg/wagio/campus/research/codes/aomdv-code- > ns2.tar.tar > > The other one i found is for ns 2.29 which is actually the above > code ported to 2.29 by Ahmad Khayyat but he claims that it is > not the complete port. > http://www.ccse.kfupm.edu.sa/~akhayyat/aomdv-ns-2.29.zip > > I have the following doubts regarding this. > 1. Should i be using Ahmad's code to integrate into 2.31 or should > I use the original code (the first one). Which one did you use? > 2. If possible, could you walk me briefly thru the process of > porting the AOMDV code into 2.31 the way you did it. > 3. There is an aodv.tcl file in the original /aodv folder in ns2 . > I have been trying to figure out the purpose of this file. Do I > have to copy those procedures into my tcl script or does it get > called from .cc files? I have been trying to figure this out for a > long time but I am getting nowhere. > > Thanks in advance :) looking forward to your reply. > > Regards, > siddharth > > > -- > > > > > Hello Macello, > > Can you please tell me how did you patch the AOMDV code with the > AODV in > > ns2.3? I would very much appreciate if you can give me some tips on > that! > :-) > > Also, I have bumped into problems with low packet delivery ratio of > AODV in > ns2.30. I have tested the AODV when its link layer detection is on > and off. > > But both of them give me pretty low ratio when the number of CBR > source is > only 20 to 30. Would you happen to know the reason why this is > happening? > > Really looking forward to your reply. > Thank you very much in advance, > > > Regards, > Martin > > marcello.caleffi wrote: > > > > > > Hello, > > I'm working on AOMDV in order to compare with ATR. > > Currently, I'm patching the AOMDV code with the AODV ns-2.31 one > > > (each single function :-| ). In this way one could compare the > > results of AOMDV simulations with which of another protocol (say > ATR, > > DART and AODV) implemented in ns-2.31. Then I will change every > > > reference to AODV in AOMDV code, in order to could mantain both the > > protocols in the same ns folder structure. > > I think you could not simply put the older AOMDV code in the ns > > > folder structure, aso if it looks working. This is my opinion. > > > > Best regards, Marcello. > > > > ----------------------------------------- > > > > > Marcello Caleffi, Ph.D. student > > Department of Electronic and Telecommunication Engineering > > University of Naples "Federico II" > > Via Claudio 21 > > 80125 Naples ITALY > > > http://wpage.unina.it/marcello.caleffi/ > > > > > >> Hello everyone in ns2, > >> > >> I am currently working on a load balancing strategy on the AOMDV > > >> protocol. I'm using ns2 and I am not able to find the AOMDV (Ad-hoc > >> Multipath Distance Vector) source code within the ns2 directory? > After > >> hours of googling, I managed to find a copy of AOMDV source code > for > > >> older version of ns2. > >> http://www.icis.ntu.edu.sg/wagio/campus/research/codes/aomdv-code- > >> ns2.tar.tar > > >> However, the installation steps provide with the source code > >> require me > >> to install an older version of AODV onto the new ns2 and some > >> overriding > > >> of ns2 original source code. Does anybody able to install AOMDV > into > >> ns2.3x ? I will be very grateful if you can teach me how to do it > >> correctly. > >> > > >> Thanks in advance. > >> Martin > > > > > > > > > > > > > > -- > View this message in context: http://www.nabble.com/AOMDV- > implementation-for-ns2.30-tf3657075.html#a10287090 > > Sent from the ns-users mailing list archive at Nabble.com. > > > ==================================== > View my profile on LinkedIn.com > > ==================================== > > "This e-mail and any files transmitted with it are for the sole use > of the intended recipient(s) and may contain confidential and > privileged information. > If you are not the intended recipient, please contact the sender by > reply e-mail and destroy all copies of the original message. > Any unauthorized review, use, disclosure, dissemination, > forwarding, printing or copying of this email or any action taken > in reliance on this e-mail is strictly > prohibited and may be unlawful." From nomee97 at yahoo.com Fri Feb 29 03:00:44 2008 From: nomee97 at yahoo.com (Ahmed, Noman) Date: Fri, 29 Feb 2008 03:00:44 -0800 (PST) Subject: [ns] Handover Latency in 802.21 Message-ID: <991704.13278.qm@web60222.mail.yahoo.com> Hi all, I am working on 802.21 protocol and accomplishing soft handover between 802.11 and 802.16 standards. I am using the NIST patch of NS2 implementation for MIH(Media Independant Handover 802.21) protocol. Anybody has an idea how to calculate the handover latency in thisscenario. I have a Multi interface mobile node connected with BS(Wimax)and AP(WLAN). Both BS and AP are connected to the CN(CorrespondantNode) via router. After a handover decision in the MIH of mobile node Isend a request to the CN to redirect the flows. How can I calculate thehandover latency ? Thanks in advance. Noman. ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From pdommay at ribera.tel.uva.es Fri Feb 29 03:16:12 2008 From: pdommay at ribera.tel.uva.es (pdommay@ribera.tel.uva.es) Date: Fri, 29 Feb 2008 12:16:12 +0100 (CET) Subject: [ns] Routing by user choice Message-ID: <24558076.8491204283772101.JavaMail.tomcat@pingus> You first have to select the source routing mode $ns src_rting 1 and then specify the route you want. For example if you want to send packets between a TCP Agent in node 0, and a sink in node 1, you can do it as follows: #Create a TCP agent and attach it to node n0 set cbr0 [new Agent/TCP] $ns attach-agent $n0 $cbr0 $cbr0 set fid_ 0 #Create a TCP agent and attach it to node n3 set cbr1 [new Agent/TCP] $ns attach-agent $n3 $cbr1 $cbr1 set fid_ 1 $cbr0 target [$n0 set src_agent_] $cbr1 target [$n3 set src_agent_] set temp [$n0 set src_agent_] $temp install_connection [$cbr0 set fid_] 0 1 0 2 4 3 1 set temp [$n3 set src_agent_] $temp install_connection [$cbr1 set fid_] 3 4 3 2 4 set null0 [new Agent/TCPSink] set null1 [new Agent/TCPSink] $ns attach-agent $n1 $null0 $ns attach-agent $n4 $null1 $ns connect $cbr0 $null0 $ns connect $cbr1 $null1 Where the route between nodes 0 and 1 is [0 2 4 3 1] On Fri Feb 29 04:17:52 CET 2008, Sakthivel Subramanian wrote: > > Hi,Is source routing concept available in ns2 > simulator...ie.,what i am > trying to say is "the user can select his/her own route to send > the packet > to destination...ie.,user can select ISP through which his packet > should > sent.....Please help me friends.. > null From i.tumar at jacobs-university.de Fri Feb 29 03:32:56 2008 From: i.tumar at jacobs-university.de (Iyad Tumar) Date: Fri, 29 Feb 2008 12:32:56 +0100 Subject: [ns] Integrate into ns-2 Message-ID: Dear all, i want your help, i have the c++ implementation for PRoPHET routing protocol and i want to integrate this implementation into ns-2 to do some experiments, if you please i need help how can i utilize this code in ns-2 i mean to implement it in ns-2 like AODV. thanks in advanced. Iyad From vighneshlall at gmail.com Fri Feb 29 04:03:23 2008 From: vighneshlall at gmail.com (vighnesh lall) Date: Fri, 29 Feb 2008 17:33:23 +0530 Subject: [ns] How to count no of packets reaching destination Message-ID: <7ceda4860802290403k585ae42br7e2ca359284cd280@mail.gmail.com> Hello friends...Can someone suggest me how can i count the number of packets reaching destination when the connection type is "cbr" in new trace file.. -- Vighnesh Lall From vinay.kuruvilla at gmail.com Fri Feb 29 04:26:17 2008 From: vinay.kuruvilla at gmail.com (Vinay Kuruvilla) Date: Fri, 29 Feb 2008 17:56:17 +0530 Subject: [ns] large scale network simulation problems Message-ID: <99a746170802290426x24faeeb2rf884fd17f9140cee@mail.gmail.com> Hi, I am using pdns -2.26 with the aim of simulating real-world large scale networks. I have written tcl script which simulates a network consisting of 3 possible topologies - ring,tree and star with number of nodes input by user. I am facing a problem in ring topology only. Suppose I create a ring of say 100 nodes. Then packets get dropped as the default TTL value in class Agent in tcl/lib/ns-default.tcl is 32 and the packet has to make more than 32 hops to reach its destination. When I increased the default TTL value to a conveniently high value and compiled ns, and ran the program, there were no drops. However, I want to set default TTL value on run-time based on topology created, instead of setting an unnecessarily high default TTL. Can anyone please suggest how I can set default TTL for all nodes and is it possible to set TTL for selective nodes only? Also, I was seeing other network simulators like GTNets and even NS 3 have provided support for following topologies : tree, star, dumbbell and grid,etc. but not ring. Is ring topology not ideal for representing real-world Internet traffic? Why are tree,star,dumbbell best for representing large-scale Internet traffic?? From ludelai at hotmail.com Fri Feb 29 05:03:13 2008 From: ludelai at hotmail.com (=?gb2312?B?wrO1wsC0?=) Date: Fri, 29 Feb 2008 21:03:13 +0800 Subject: [ns] hi about LAR Message-ID: Hello every one, Recently, I got one project related on location-based routing protocol, is there anybody get that source code of LAR in ns2? please send me one copy for reference, I will appreciate it. thanks alot in advance. yours, suser _________________________________________________________________ ÊÖ»úÒ²ÄÜÉÏ MSN ÁÄÌìÁË£¬¿ìÀ´ÊÔÊÔ°É£¡ http://mobile.msn.com.cn/ From enwillia at gmail.com Fri Feb 29 08:01:34 2008 From: enwillia at gmail.com (Ebonie Wiliams) Date: Fri, 29 Feb 2008 11:01:34 -0500 Subject: [ns] Fwd: Traffictrace format problems In-Reply-To: <20eb5c840802290757r74954289qf86fe58cac57f8e2@mail.gmail.com> References: <20eb5c840802290757r74954289qf86fe58cac57f8e2@mail.gmail.com> Message-ID: <20eb5c840802290801u7116f67eod36bfb6234cf1867@mail.gmail.com> ---------- Forwarded message ---------- From: Ebonie Wiliams Date: Fri, Feb 29, 2008 at 10:57 AM Subject: Traffictrace format problems To: ns-users at isi.edu Here is my problem: I am trying to create network traffic using a traffictrace application and file. I know that the file must be in binary format with two 32bit fields (the first field in microseconds for interpacket transfer time, and the next in bytes for packet size). I have a java program that generates the packets and writes them to file in binary string format (tobinaryString() : Integer class). I used the BufferedWriter and FileWriter to write the output. Then, I convert the output to binary using ascii2binary (a command-line linux program). Every time I look at my output changed to binary, there is barely any output written to it. I have done this many times. First few times, I simply had my java program write the fields without expressing them as a binary string (tobinaryString()). At first I would get this error "read failed" and NS would run my tcl script without generating any packets for the node that with the traffictrace application. I know that this means that NS thinks my file has no elements or is null. Now since I use ascii2binary, I don't get that anymore. Before using ascii2binary, I just had java's toBinaryString(). I have tried using the example-trace file included in the source code. It works, and when I look at its fields (I used ascii2binary's binary2ascii command), there is a lot of output in the file. My output files barely have anything written in them. My output files look fine in ascii format, though. I have tried to use the hack to ns that allows for ascii traffictrace files. I found this on the ns-users mailing list. It didn't work, so I am not using it anymore. My question is that I don't know how to create a traffictrace file that is successfully read by NS. Should I use another method to write to my output in java (BufferedWriter, FileWriter)? Should I use another language? I appreciate your feedback, thanks. From ssmukaka at gmail.com Fri Feb 29 12:32:30 2008 From: ssmukaka at gmail.com (SS Mukaka) Date: Fri, 29 Feb 2008 22:32:30 +0200 Subject: [ns] testing C++ code In-Reply-To: References: Message-ID: Dear All How can I test my C++ code for a new protocol that i developed before i can integrate it into NS2. Regards