Re: [ns] Does anyone in this forum has detailed knowledge about the NS2source code?

2006-05-31 Thread Ahmad Khayyat
A design decision like this can be accepted if it was supported by proper documentation, which is absolutely not the case for ns-2. IMHO, the biggest problem of ns-2 is lack of proper documentation. At least, there has to be two documents: a user's guide, and a developer's guide. ns manual is,

[ns] Routing overhead of manet routing protocol (DSR)

2006-05-31 Thread boygullit
Hi all, Could anyone tell me how to calculate routing overhead of DSR? How about the header size of RTR ( DSR ) and MAC (802.11) ? " s 18.741626845 _1_ AGT --- 681 cbr 10 [0 0 0 0] --- [1:0 0:0 32 0] [679] 0 0 r 18.741626845 _1_ RTR --- 681 cbr 10 [0 0 0 0] --- [1:0 0:0 32 0] [679] 0

[ns] RES: packet size TCP

2006-05-31 Thread Virginia Thoma
OK, I don't need remove the headers. But I didn't understand L3 header and L4 header. What's that? AODV / DSDV: 1060 bytes. (TCP 1000 + IP 20 + "??") DSR: 1040 bytes. (TCP 1000 + "??") Can you help me? Virginia. -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] E

[ns] RES: MANET > Error! just by changing AODV to DSR!

2006-05-31 Thread Virginia Thoma
Hi, You need change this parameter: "set opt(ifq) Queue/DropTail/PriQueue". Change to "set opt(ifq) CMUPriQueue" Virginia. -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de S. Alex Nixad Enviada em: quarta-feira, 31 de maio de 2006 13:01 Para: NS-List As

Re: [ns] MANET > Error! just by changing AODV to DSR!

2006-05-31 Thread Bo Wang
Hi, In this case, you need to use a debugger such as gdb to find out where is the problem. Best, Bo Wang On 5/31/06, S. Alex Nixad <[EMAIL PROTECTED]> wrote: > > > Hi everyone, > I'm simulating a ad hoc network with 50 random mobile nodes ... and 15 > random CBR traffic ... > The simulation is

Re: [ns] Does anyone in this forum has detailed knowledge about the NS2source code?

2006-05-31 Thread Bo Wang
Hi, IMHO, the mixture of C++ and oTcl is the most annoying feature of NS which makes it really hard to understand the code. Best, Bo Wang On 5/31/06, Ahmad Khayyat <[EMAIL PROTECTED]> wrote: > > > Just a tiny hint.. > > When you trace the code, don't forget that ns-2 is a mixture of C++ and >

[ns] IEEE 802.11 MAC implementation in NS2

2006-05-31 Thread Bo Wang
Hi, all, The following "Bug Fix" http://www.dei.unipd.it/wdyn/?IDsezione=2435 pointed out that " The *send* procedure begins with the 'send' method of the class 'Mac802_11' in 'mac-802_11.cc' file. First, *send* checks whether the medium is idle and no previous backoff procedure is pending. If t

Re: [ns] packet size TCP

2006-05-31 Thread John Kioussis
Hi Virginia, In ns-2 the default packet size is 1000 bytes. In AODV and DSDV the default MTU is 1060 because of the L4 header (20 bytes) and L3 headers (IP 20 bytes and AODV[DSDV] another 20 bytes). In DSR there is no IP header, that's why the packet size is 1040. In TCP, if you want to change

[ns] ns-2.29.3 built successfully on Core Duo and Cygwin

2006-05-31 Thread John Kioussis
Sven, Ethan thank you. I managed to build ns2 from package ns-2.29.3, but it did compile only when I tried to install it from an X client. nam compiled fine.Everything is OK now!!! Thank you!

[ns] how to model two state markov chain in ns2

2006-05-31 Thread Armelle Gnassou
Hi !!! Can somebody please tell how to model a two markov chain in ns2? Regards. Armelle. _ Windows Live Mail : venez tester la version bĂȘta ! http://www.ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2

Re: [ns] How to specify "wait" in ns2

2006-05-31 Thread Ahmad Khayyat
You may want to consider using a timer.. Heo Heo wrote: > 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 m

Re: [ns] Does anyone in this forum has detailed knowledge about the NS2source code?

2006-05-31 Thread Ahmad Khayyat
Just a tiny hint.. When you trace the code, don't forget that ns-2 is a mixture of C++ and oTcl. Much of the object passing is done through oTcl. Faisal Siddiqui wrote: > Hi Paul, > > Thanks for the link. > > I totally agree with you. I have spent so much time trying to understand as > to how d

[ns] confusion on the timers implementation

2006-05-31 Thread juan manuel gomez garcia
Hello Ns-users: I have doubts about the implementation of the timers because there are two forms. In AODV, they use: class HelloTimer : public Handler { public: HelloTimer(AODV* a) : agent(a) {} voidhandle(Event*); private: AODV*agent; Event intr; };

[ns] Fw: How to install fhcf or afedcf implementation to NS-2? Please help me...

2006-05-31 Thread Mateusz
Hello everybody! Can anyone tell me how to install fhcf or afedcf implementation to NS-2? Can anybody help? I tried './make install' command in ns/ns2 directory but it doesn't work. In which directory should I unpack this implementation? Do I need add it to my already installed ns-allinone-2.2

[ns] MANET > Error! just by changing AODV to DSR!

2006-05-31 Thread S. Alex Nixad
Hi everyone, I'm simulating a ad hoc network with 50 random mobile nodes ... and 15 random CBR traffic ... The simulation is successful under AODV protocol; but when I just define DSR routing protocol for same network, it FAILS with following ERROR: Segmentation fault Kind regards, Alex Nixad

[ns] packet size TCP

2006-05-31 Thread vthoma
Hello, I'm using FTP with TCP, and would like know the packet size. In the my simulations, I'm using three types routing protocols. (AODV, DSDV and DSR). Are the size packets differents? With AODV and DSDV the packet size is 1060. And DSR the packet size is 1040. Why occurs that? Regards. Vi

Re: [ns] ns-2.29.2 installation problem on Intel Core Duo and Cygwin

2006-05-31 Thread Ethan Giordano
The allinone 2.29.3 package compiles fine (with the exception of nam) on OS X 10.4.6 running on Intel Core Duo. The 2.29.3 package was a maintenance release announce a few days ago. ~Ethan On May 31, 2006, at 8:14 AM, Sven Ehlert wrote: > > Dear John > > John Kioussis wrote: >> Hi, >> I had

[ns] examples of TORA tcl scripts

2006-05-31 Thread Alexandra Cioroianu
Hello everybody! i have written before about the failed TORA simulation, but i haven't found any solution for my problem. Does anyone have an example of a TORA simulation that works? Please, this is essential for my project. Anything would be useful.Thank you in advance! Regards, Alexandra

Re: [ns] ns-2.29.2 installation problem on Intel Core Duo and Cygwin

2006-05-31 Thread Sven Ehlert
Dear John John Kioussis wrote: > Hi, > I had a problem while trying to build ns-2 from package > ns-allinone-2.29.2 on an Intel Core Duo processor and Cygwin. The > following error > appears while building tcl8.4.11 : Unfortunately we don't have Core Duo Machines available here, so don't have ex

[ns] ns-2.29.2 installation problem on Intel Core Duo and Cygwin

2006-05-31 Thread John Kioussis
Hi, I had a problem while trying to build ns-2 from package ns-allinone-2.29.2 on an Intel Core Duo processor and Cygwin. The following error appears while building tcl8.4.11 : />>checking for sin...7 [main] ? (11612) C:\cygwin\bin\gcc.exe : *** fatal >>error - couldn't allocsize 65536, page_

[ns] nsaddr_t type and

2006-05-31 Thread Hai Nam
Hello, I'm implementing a routing protocol for hybrid ad hoc network where each node can change its base station dynamically. However I'd like to ask two questions: 1/ in config.h, we define typedef int32_t nsaddr_t; nsaddr_t is also address of a base station (in node.cc at get_node_by_address

[ns] problem when simulating wireless landmark

2006-05-31 Thread Steluta Gheorghiu
Hi everybody, I tried to run wireless-landmark.tcl but I get the following error: ns wireless-landmark.tcl invalid command name "Agent/landmark" while executing "Agent/landmark set sport_0" (file "../mobility/landmark.tcl" line 39) invoked from within "source.ori