Re: [ns] How to specify "wait" in ns2
I think you can use the timer class of NS2 in c++. You can find how to use timer in most souce code, such as tcp.cc, tfrc.cc. - Original Message - From: "Heo Heo" <[EMAIL PROTECTED]> To: Sent: Monday, May 22, 2006 12:47 PM Subject: [ns] How to specify "wait" in ns2 > > I am working on improving AODV, and I need to specify "wait" in ns2, > something like: > > - When the routing packets (RREQ) arrive, just store it into a buffer > and do not send out anything. > > - Wait for a period of X miliseconds. After that, look into the > buffer and select the routing packet that satisfy some conditions and send > it out. > >I don't know how to do that "wait for X miliseconds". > >Thanks a lot for any help. > > > > - > Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone. Get Yahoo! > Messenger with Voice
[ns] How to specify "wait" in ns2
I am working on improving AODV, and I need to specify "wait" in ns2, something like: - When the routing packets (RREQ) arrive, just store it into a buffer and do not send out anything. - Wait for a period of X miliseconds. After that, look into the buffer and select the routing packet that satisfy some conditions and send it out. I don't know how to do that "wait for X miliseconds". Thanks a lot for any help. - Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone. Get Yahoo! Messenger with Voice
[ns] Validation Error
I installed ns-allinone 2.29 on ubuntu64 (6.06 beta). After validation, I got some validation error as follows : --- validate overall report: some tests failed: ./test-all-srm ./test-all-smac-multihop ./test-all-hier-routing ./test-all-algo-routing ./test-all-mcast ./test-all-vc ./test-all-session ./test-all-mixmode ./test-all-webcache ./test-all-mcache ./test-all-plm ./test-all-wireless-tdma ./test-all-energy to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME Notice that some tests in webcache will fail on freebsd when -O is turned on. This is due to some event reordering, which will disappear when -g is turned on. --- I guess that's because generation of random numbers of 64bit os differs from that of 32bit os. How can I solve this problem? The every validation result must be correct? thanks in advance, Intaek. -- 임인택 (Intaek Lim, 林仁澤) 중앙대학교 컴퓨터네트워크 연구실 (Computer Network Lab., Chung-ang Univ., Seoul, Korea) -- 임인택 (Intaek Lim, 林仁澤) 중앙대학교 컴퓨터네트워크 연구실 (Computer Network Lab., Chung-ang Univ., Seoul, Korea)
Re: [ns] Ns-users Digest, Vol 29, Issue 24
Hi all, I sent this enquiry more than two times, please if any one know any thing about the implementation of secure routing protocols in NS-2 such as SRP,SAODV,SDSR,ARAN,Ariadne please reply to me and tell me how can I get them Many thanks,,, Mahmoud Abughazleh > From: [EMAIL PROTECTED]> Subject: Ns-users Digest, Vol 29, Issue 24> To: > ns-users@ISI.EDU> Date: Sun, 21 May 2006 17:00:04 -0700> > Send Ns-users > mailing list submissions to> ns-users@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> [EMAIL PROTECTED]> > You can reach > the person managing the list at> [EMAIL PROTECTED]> > When replying, please > edit your Subject line so it is more specific> than "Re: Contents of Ns-users > digest..."> > > Today's Topics:> >1. random motion in ns-2 (giuseppe > bono)>2. <<< ! " NS2 - Forum" Suggestion (GENERAL!) >>> (S. Alex Nixad)> >3. ns-2.1b9a/ns-2.26 Installation (Sam la)>4. put a payload in IP > packet (Fatemeh Karimirad)>5. Re: Does anyone in this forum has detailed > knowledge about> the NS2source code? (Mahmudul Haque Azad)>6. TFRC > simulation in NS-2 (Kacper Kurowski! )>7. ns remove() error (k s)>8. Problem in running tcl scripts - Urgent (Armelle Gnassou)>9. Re: Does anyone in this forum has detailed knowledge about> the NS2source code? (Faisal Siddiqui)> 10. Re: Does anyone in this forum has detailed knowledge about> the NS2source code? (Paul Vincent Craven)> > > --> > Message: 1> Date: Sun, 21 May 2006 11:32:05 +0200 (CEST)> From: giuseppe bono <[EMAIL PROTECTED]>> Subject: [ns] random motion in ns-2> To: ns-users@ISI.EDU> Message-ID: <[EMAIL PROTECTED]>> Content-Type: text/plain; charset=iso-8859-1> > someone you would know to say what to me to insert in> ns in order qualifying random motion in one the> simulation wireless > > > > > > > ___ > Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB > http://mail.yahoo.it> > > > --> > Message! : 2> Date: Sun, 21 May 2006 15:17:00 +0430> From: "S. Alex Nixad" > Subject: [ns] <<< ! " NS2 - Forum" Suggestion (GENERAL!) To: "NS-List" > Message-ID: <[EMAIL PROTECTED]>> Content-Type: text/plain; charset="iso-8859-1"> > Dear all,> Is there any FORUM for NS-2?> This routine of EMAIL sending and receiving is not perfect ... bad performance:> > 1.Many of questions are so frequent (e.g. which version of NS2 on which release of Linux...)> Even some questions have asked long ago, then NOW REPEATED QUERY WITHOUT ANSWER ...> > 2.'Coz in the Mail Archive, finding the related answer regards to their SUBJECT is TIME-CONSUMING > > With FORUM, all of unnecessary traffic and time to send repeated query will be eliminate.> Regards,> S. Alex Nixad> > > --> > Message: 3> Date: Sun, 21 May 2006 05:15:31 -0700 (PDT)> From: Sam la <[EMAIL PROTECTED]>> Subject: [ns] ns-2.1b9a/ns-2.26 Installation> To: ns-users@ISI.EDU> Message-ID: <[EMAIL PROTECTED] 1.mail.mud.yahoo.com>> Content-Type: text/plain; charset=iso-8859-1> > hi thr ,> Anyone is having gcc33 patch for> ns-2.1b9a/ns-2.26. Any pointer or source will be very> helpful .> > Rgs,> tilu > > __> Do You Yahoo!?> Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > > --> > Message: 4> Date: Sun, 21 May 2006 02:03:33 -0700 (PDT)> From: Fatemeh Karimirad <[EMAIL PROTECTED]>> Subject: [ns] put a payload in IP packet> To: ns-users@ISI.EDU> Message-ID: <[EMAIL PROTECTED]>> Content-Type: text/plain; charset=iso-8859-1> > Dear all,> I want to know whether it is possible in tcl program to put a payload in IP packet or not? > Best Regards,> > [EMAIL PROTECTED] |(@RiMiR@|)> > -> Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messenger with Voice.> > --> >! Message: 5> Date: Sun, 21 May 2006 23:38:16 +0600> From: "Mahmudul Ha que Azad" <[EMAIL PROTECTED]>> Subject: Re: [ns] Does anyone in this forum has detailed knowledge> about the NS2source code?> To: > Message-ID: <[EMAIL PROTECTED]>> Content-Type: Text/Plain; charset="iso-8859-1"> > dear faisal,> you can check out this link http://www.grid.unina> it/~vollero/resources/doc_ns2.27/html/index.html for ns2 source code> documentation.> > regards> > Mahmudul Haque Azad> Undergraduate Student> Department of Computer Science & Engineering> Bangladesh University of Engineering & Technology> http://www.mhazad.tk> +880 191 622 735> > ---Original Message---> > From: Faisal Siddiqui> Date: 05/20/06 11:32:35> To: ns-users> Subject: [n
[ns] Validation Error.
I installed ns-allinone 2.29 on ubuntu64 (6.06 beta). After validation, I got some validation error as follows : --- validate overall report: some tests failed: ./test-all-srm ./test-all-smac-multihop ./test-all-hier-routing ./test-all-algo-routing ./test-all-mcast ./test-all-vc ./test-all-session ./test-all-mixmode ./test-all-webcache ./test-all-mcache ./test-all-plm ./test-all-wireless-tdma ./test-all-energy to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME Notice that some tests in webcache will fail on freebsd when -O is turned on. This is due to some event reordering, which will disappear when -g is turned on. --- I guess that's because generation of random numbers of 64bit os differs from that of 32bit os. How can I solve this problem? The every validation result must be correct? thanks in advance, Intaek. -- 임인택 (Intaek Lim, 林仁澤) 중앙대학교 컴퓨터네트워크 연구실 (Computer Network Lab., Chung-ang Univ., Seoul, Korea)
Re: [ns] Does anyone in this forum has detailed knowledge about the NS2source code?
Hi Paul, Thanks for the link. I totally agree with you. I have spent so much time trying to understand as to how does the simulation flows through the source code, but can't really make any headways anymore. I am trying to implement a new control flow mechanism where no packet are dropped, but in order to do so I have read the queue size of the next hop so that the current node can decide whether to accept any more packets from other nodes or flag its exception indicatiing to all other nodes feeding into it to stop sending more packets to it. I am really stuck right now because I can't locate where in the source code does the current node find its next hop address and how does it find that out. I have bunch of more questions like how does the node and agents are located to each other because nodes don't store any information regarding agents or classifiers within them and vice-versa. I am still waiting if someone could lend some insight into it. Please let me know if you have any comments or if you find any help. Thanks, - Faisal On 5/21/06, Paul Vincent Craven <[EMAIL PROTECTED]> wrote: > > > The proper link is: > http://www.grid.unina.it/~vollero/resources/doc_ns2.27/html/index.html > > But the documentation there is limited at best. > > I'm in the same boat as you. I've spent a very long time trying to > understand the passing of events around, how to switch between > classifiers, etc. I'd love to find someone who really knows NS2 and hire > them as a consultant for a few hours just to answer all my questions! > > Paul Vincent Craven > [EMAIL PROTECTED] > >
[ns] WLAN and SCTP?
Hi, I am a posgraduate in Beijing University of Posts and Communications(BUPT) in China.I am working on handover,nowadays,I plan to do some research on WLAN with SCTP,but I have not found some useful resources and modules,I am a beginner in NS,if anyone have or had done the same research,I hope you can give me some advice,modules are appreciated,thanks a lot. best regards, -- jiangren [EMAIL PROTECTED]
Re: [ns] Does anyone in this forum has detailed knowledge about the NS2source code?
The proper link is: http://www.grid.unina.it/~vollero/resources/doc_ns2.27/html/index.html But the documentation there is limited at best. I'm in the same boat as you. I've spent a very long time trying to understand the passing of events around, how to switch between classifiers, etc. I'd love to find someone who really knows NS2 and hire them as a consultant for a few hours just to answer all my questions! Paul Vincent Craven [EMAIL PROTECTED]
Re: [ns] Does anyone in this forum has detailed knowledge about the NS2source code?
Hi, I can't open the page because it reports it can't find the server. Could you possibly check the link. Thanks in advance. - Faisal On 5/21/06, Mahmudul Haque Azad <[EMAIL PROTECTED]> wrote: > > > dear faisal, > you can check out this link http://www.grid.unina > it/~vollero/resources/doc_ns2.27/html/index.html for ns2 source code > documentation. > > regards > > Mahmudul Haque Azad > Undergraduate Student > Department of Computer Science & Engineering > Bangladesh University of Engineering & Technology > http://www.mhazad.tk > +880 191 622 735 > > ---Original Message--- > > From: Faisal Siddiqui > Date: 05/20/06 11:32:35 > To: ns-users > Subject: [ns] Does anyone in this forum has detailed knowledge about the > NS2source code? > > Hi, > > I am really curious to know if anybody in this forum has detailed > knowledge > about the network simulator source code. I have a lot of questions and I > have tried posting it here but haven't received any responses with people > who are the architects of the source code. > > I really want to know once the node is created through node.cc, is that > node > referenced anywhere else in the source code? I tried to step through each > step of the source code and could not find any reference to it. > > In the document, it says that classifiers are associated with each node. > Is > there any ways of accessing these classifier from the node itelf? I mean > from the static node list created from node.cc. > > Is it possible to access queues associated with each classifier (link)? > > The variable target_ is used all over the source code without providing > any > satisfactory explanation for its usage in various places. What does > target_ > really means? Does it means the next hop node for the packet? If thats the > case then why it's address doesn't match with the address of one of the > nodes from the static node list created initially from node.cc? > > If someone here knows the inside out of the simulator, please comment on > the > above questions. > > Thanks, > - Faisal >
[ns] Problem in running tcl scripts - Urgent
Hi! I have installed ns-2.29 on linux environment, but I am having problems in running tcl scripts. When i try to run tcl script , i get error messgae : " Error in calling class OldSim". Because of this problem , i am not able to proceed at all. so, please some one tell me how to solve this problem .I am waiting for ur replies. thanx in advance Armelle. _ Windows Live Mail : venez tester la version bêta ! http://www.ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d
[ns] ns remove() error
Hello, I searched for this error online, and it's happened before, but I couldn't find an explanation for why: in my wireless model, I've been decreasing the distance between nodes. If I make the nodes too close, I get this error after ns runs for ~1.8 simulation seconds: PacketQueue:: remove() couldn't find target and then it quits. Can anyone tell me why the distance between nodes matters? What is ns-2 even complaining about? I went to this error in queue/queue.cc and couldn't tell what the function was doing. Thanks, Kathy
[ns] TFRC simulation in NS-2
Hello, I am trying to see how TFRC and TCP (Reno) share the same bottleneck linkt. I have prepared the script but I cant see any fairness in the throughput ;) Do you happen to know how to configure TFRC in NS 2.29 to behave in a friendly way towards TCP? Could anyone send me tcl script for it ? I would also appreciate to see the perl or awk script to measure throughput from trace files. Thanks for your help -- Regards, Kacper Kurowski
Re: [ns] Does anyone in this forum has detailed knowledge about the NS2source code?
dear faisal, you can check out this link http://www.grid.unina it/~vollero/resources/doc_ns2.27/html/index.html for ns2 source code documentation. regards Mahmudul Haque Azad Undergraduate Student Department of Computer Science & Engineering Bangladesh University of Engineering & Technology http://www.mhazad.tk +880 191 622 735 ---Original Message--- From: Faisal Siddiqui Date: 05/20/06 11:32:35 To: ns-users Subject: [ns] Does anyone in this forum has detailed knowledge about the NS2source code? Hi, I am really curious to know if anybody in this forum has detailed knowledge about the network simulator source code. I have a lot of questions and I have tried posting it here but haven't received any responses with people who are the architects of the source code. I really want to know once the node is created through node.cc, is that node referenced anywhere else in the source code? I tried to step through each step of the source code and could not find any reference to it. In the document, it says that classifiers are associated with each node. Is there any ways of accessing these classifier from the node itelf? I mean from the static node list created from node.cc. Is it possible to access queues associated with each classifier (link)? The variable target_ is used all over the source code without providing any satisfactory explanation for its usage in various places. What does target_ really means? Does it means the next hop node for the packet? If thats the case then why it's address doesn't match with the address of one of the nodes from the static node list created initially from node.cc? If someone here knows the inside out of the simulator, please comment on the above questions. Thanks, - Faisal
[ns] put a payload in IP packet
Dear all, I want to know whether it is possible in tcl program to put a payload in IP packet or not? Best Regards, [EMAIL PROTECTED] |(@RiMiR@|) - Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messenger with Voice.
[ns] ns-2.1b9a/ns-2.26 Installation
hi thr , Anyone is having gcc33 patch for ns-2.1b9a/ns-2.26. Any pointer or source will be very helpful . Rgs, tilu __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] <<< ! " NS2 - Forum" Suggestion (GENERAL!) >>>
Dear all, Is there any FORUM for NS-2? This routine of EMAIL sending and receiving is not perfect ... bad performance: 1.Many of questions are so frequent (e.g. which version of NS2 on which release of Linux...) Even some questions have asked long ago, then NOW REPEATED QUERY WITHOUT ANSWER ... 2.'Coz in the Mail Archive, finding the related answer regards to their SUBJECT is TIME-CONSUMING With FORUM, all of unnecessary traffic and time to send repeated query will be eliminate. Regards, S. Alex Nixad
[ns] random motion in ns-2
someone you would know to say what to me to insert in ns in order qualifying random motion in one the simulation wireless ___ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it