[ns] RED queue grows beyond limit on ns-2.28-9

2006-03-07 Thread ben
Hi ns users, I some doubt about the RED Queue. I run a simple tcl script ( can be download from http://nile.wpi.edu/NS/Example/red.tcl) for RED queue with 2 TCP sources. I observed that the RED queue just grow beyond the limit (it is set to 100 packets in the tcl script) when run on ns-2.28,

[ns] Creating an Identical Ad Hoc Routing

2006-03-07 Thread net sim
Hi, I would to create another identical TORA ad hoc routing protocol in Ns-2. But i would like it to be renamed as MYTORA. Can i copy all the files in TORA to a new folder call MYTORA and change tora.c tora.h to mytora.c mytora.h , then edit the Makefile and some files inside ns-2.29/tcl/lib.

[ns] RED queue grows beyond limit on ns-2.28-9 - updated

2006-03-07 Thread ben
Hi, The red queue still grow beyond the limit_ if i set to 100 or 25 or any other value on ns-2.28. Please refer to redns228.ps. However, it does not happen when I rerun the tcl script on ns-2.27. Both ns are run on Fedora Core 4. Tcl script that I use can be on obtain from

[ns] segmentation fault

2006-03-07 Thread Kavi priya K
hai all, I got an error as Segmentation fault when I run my scripts(fro c++ codes). I have created a new agent , but when I try to use that agent in my scripts, it sends 1 packet and after that it reports segmentation fault.. how to get rid of it. plz help me. Thanks.

Re: [ns] VoIP

2006-03-07 Thread Alexander Sayenko
Hi Since many VoIP codecs send data at the constant rate, you can use normal UDP/CBR application to simulate VoIP. You have to set appropriate parameters so that the rate and the packet size correspond to the codec you use. Sincerely, Alexander Sayenko (PhD) Assistant Telecommunication

[ns] Regarding CBR packet sending rate

2006-03-07 Thread jeevesh sharma
HI friends, As we know CBR connection use an option type packet/sec to be sent. Is that means they are sent at regular interval. i.e. 4 packet/sec means it will send the packet at regular interval of .25 sec. But i think it is not the real world communication.

[ns] routing from out of range.

2006-03-07 Thread sxroy1
I am trying to simulate OAR protocol in a wireless network.. now the issue i am goin throgh is, i have 4 nodes, like in the diagram below. 1 | |--50 mts | 0 | |50 mts | 2 | |-200 mts | 3 here node 3 is out of range of node 0. I try to attach 3 cbr traffic

Re: [ns] RED queue grows beyond limit on ns-2.28-9

2006-03-07 Thread Soo-Hyun Choi
The instantaneous RED queue size shouldn't grow beyond the actual RED queue size, and the average RED queue size shouldn't grow beyond the maxthresh. You may want to check your parameters again. On 3/7/06, ben [EMAIL PROTECTED] wrote: Hi ns users, I some doubt about the RED Queue. I run a

Re: [ns] RED queue grows beyond limit on ns-2.28-9

2006-03-07 Thread ben
Hi Soo-Hyun Choi, I attached the output of the xgraph in ps format. 1. red.ps - red.tcl run on ns2.27 in fedora core 4 2. red2.ps - the same red.tcl on ns2.28 in fedora core4 In previous post, I wrote the limit is 100. It is mistake, it is infact limit_ is equals to 25. In the first part the

[ns] i come across the foll error IN XGRAPH- reg

2006-03-07 Thread maha lingam
hi hamdi, this is mahalingam . i executed the code from example4[1].tcl from marc grei's tutorial. i came across the following problem ie. CANNOT EXECUTE THE XGRAPH kindly give me a soln mahalingam maha lingam [EMAIL PROTECTED] a écrit : hello friends, i am mahalingam doing a project in

Re: [ns] Regarding CBR packet sending rate

2006-03-07 Thread Mohammad Zubair Ahmad
The very fact that you are using CBR taffic means that the packets you are sending will be at a constant rate (in you case at an interval of .25 secs). Your second case defines bursty traffic - characteristics of TCP traffic where packets equal to the congestion window value are sent out at a

Re: [ns] Creating an Identical Ad Hoc Routing

2006-03-07 Thread Pedro Vale Estrela
http://inesc-0.tagus.ist.utl.pt/~pmsrve/ns2/ns2_beginners.html#_Toc128325750 5: The above, but modifying the NS2 simulator yourself. When you are doing cutting edge research, that nobody did before, the only solution is to model your own additions to NS2. The first thing you should do is to

[ns] How to get nodes within the radio range in ad hoc

2006-03-07 Thread Karim . Rezaul
Dear all, I am simulating mobile ad hoc network using aodv with 50 nodes in 802.11. Can anyone please tell me 1. How can I get the nodes within range of a particular node? 2. How a node will recognize that another node came to its range? I dont know the radio range as well. Please help me.

[ns] Help In FEC modeling using ns2

2006-03-07 Thread qadous
Dear NS2 users, I need urgently to build a FEC(Forward Error Correction) inside the LL of TCP/IP. I need to know how to start changing in LL to enable FEC. Thank you in Advance. This message was sent using IMP, the Internet

[ns] Inquiry About ns-2.29 Installation

2006-03-07 Thread Ka-Cheong Leung
Dear all, I have recently attempted to install ns-2.29 in a Sun Solaris workstation. It has gone fine but some validation tests failed I noted that some events were reordered. The validation test showed the following errors: validate overall report: some tests failed:

[ns] how to implement a routing protocol

2006-03-07 Thread juan manuel gomez garcia
Hello, I'm a new NS2 student and I want to know how I make a new routing protocol in NS2 and which are the necessary changes in NS2. I see the Marc Greis' tutorial but I don't understand it. Please, say me other web page or document. Thank very much.

Re: [ns] RED queue grows beyond limit on ns-2.28-9

2006-03-07 Thread Soo-Hyun Choi
You need to set the queue size by modifying the following two lines. $ns queue-limit $node_(r1) $node_(r2) 100 $ns queue-limit $node_(r2) $node_(r1) 100 On 3/7/06, ben [EMAIL PROTECTED] wrote: Hi Soo-Hyun Choi, I attached the output of the xgraph in ps format. 1. red.ps - red.tcl run on

[ns] Urgent: Meaning of ARP IFQ in trace file

2006-03-07 Thread Subashini S
H, I have modified AODV algorithm for wireless networks. The send request routine is working fine. The node is able to receive the request and it also generates the reply packet. But the reply packet is getting dropped and the reason i found from the trace file was that D time -2- IFQ ARP 0

Re: [ns] Creating an Identical Ad Hoc Routing

2006-03-07 Thread net sim
Hi, I made some changes and finally my erros jus reduced to few only. In mytora/mytora.cc -- int hdr_tora::offset_; static class MYTORAHeaderClass : public PacketHeaderClass {

Re: [ns] Creating an Identical Ad Hoc Routing

2006-03-07 Thread Pedro Vale Estrela
Either use the same hdr_tora, and remove the duplicate definition on your file, or duplicate it to be hdr_mytora for a complete clonage Hint: use seach and replace -Original Message- From: net sim [mailto:[EMAIL PROTECTED] Sent: terça-feira, 7 de Março de 2006 13:10 To: [EMAIL

Re: [ns] how to implement a routing protocol

2006-03-07 Thread juan manuel gomez garcia
I make the protocol that you say me in the web page but when I do 'make' , I obtain many errors. ¿do you know if the code in that page is complete? Thank you. From: Francisco J. Ros [EMAIL PROTECTED] To: ns-users@ISI.EDU Subject: Re: [ns] how to implement a routing protocol Date: Tue, 7 Mar

Re: [ns] how to implement a routing protocol

2006-03-07 Thread Francisco J. Ros
Hi, If you're trying to compile the code as is, it won't work. Please follow the tutorial step by step, completing the code according to your routing protocol. Regards, fran On Tuesday 07 March 2006 17:12, juan manuel gomez garcia wrote: I make the protocol that you say me in the web page

Re: [ns] how to implement a routing protocol

2006-03-07 Thread juan manuel gomez garcia
Si soy español. Estoy haciendo mi proyecto fin de carrera en Malaga en la E.T.S.Telecomunicaciones. Necesito hacer el protocolo de red Zigbee.He visitado el enlace que me has dado y esta bien. He creado el protocolo que dice esa pagina creando todos los ficheros que dice y añadiendoles el

[ns] ip address of node

2006-03-07 Thread ravi kumar
  Dear NS2 users, how can i set ip address of the node. can i use switch,hub in ns-2. can you suggest me any access point tutorial. Thanks Ravi

Re: [ns] Creating an Identical Ad Hoc Routing

2006-03-07 Thread net sim
From: Pedro Vale Estrela [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: 'net sim' [EMAIL PROTECTED] CC: ns-users@ISI.EDU Subject: RE: [ns] Creating an Identical Ad Hoc Routing Date: Tue, 7 Mar 2006 17:02:51 - Do grep -d recurse -i tora on top of your NS2 tree, and clone ALL

Re: [ns] Creating an Identical Ad Hoc Routing

2006-03-07 Thread Pedro Vale Estrela
Regarding the code cloning: you’re my_tora cloned agents can either - talk only to other my_tora agents; - talk to my_tora agents, but also to unmodified tora agents; in the first case, you can simply duplicate all references to tora, which will duplicate the packet header tora into

Re: [ns] reading trace files

2006-03-07 Thread Pedro Vale Estrela
For out-of-the-box NS2 graphs, check www.tracegraph.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vietor Davis Sent: terça-feira, 7 de Março de 2006 17:24 To: Nauman Afzal Cc: ns-users@ISI.EDU Subject: Re: [ns] reading trace files A

Re: [ns] Creating an Identical Ad Hoc Routing

2006-03-07 Thread net sim
Sir, As you can see, I still getting the same error mesage when doing make if i use the (MYTORA) hdr_tora same name with (TORA) mytora/mytora.o:(.bss+0x0): multiple definition of

[ns] How to know which neighbor sent the packet

2006-03-07 Thread Jiangyi Hu
Hi, I am doing research on DSR. When a node receiveds a packet, how can it find out which neighbor (the previous hop) send it? I assume I have to make some changes in DSRAgent:recev() in dsragent.cc, but how? Anybody help me? It's is really important for me. Thanks in advance! Regards.

Re: [ns] Creating an Identical Ad Hoc Routing

2006-03-07 Thread Pedro Vale Estrela
First of all, you must know what you are doing in order to get this right; Second, either remove the hdr_tora definition stuff from mytora.cc, or modify them to be hdr_mytora! -Original Message- From: net sim [mailto:[EMAIL PROTECTED] Sent: terça-feira, 7 de Março de 2006 18:07

[ns] destroying nodes

2006-03-07 Thread Ian
What's the TCL command for killing a node during a simulation (if there is one)? I want to do something like $ns_ at 5.0 kill $node_(1). Thanks for any help, Ian

[ns] question regarding ARP and IFQ and dropped packets

2006-03-07 Thread Qasim Raza Iqbal
Dear All While running the MyTest.tcl script I dont understand why there are so many packets dropped by (seen the reason in below trace file). Is that because SMAC uses DumbAgent protocol in this example, so the ARP hold the packet, and waits for the destination address, and if another packet

[ns] Help I need to change the nodes id

2006-03-07 Thread Piedad Negro Diez
Help, I want to now the id node of a node and I think I have to use this function: Node* node = Node::get_node_by_address(addr); But I want to chage this value in the node source, because my protocol uses other diferent ID. How Can I Make?

Re: [ns] RED queue grows beyond limit on ns-2.28-9 - solved

2006-03-07 Thread ben
Hi, I think I solved the problem. Actually it is not a problem. I think in ns2.28 the paramater Queue/RED set queue-in-bytes_ true is set to true by default. In ns2.27, the parameter is set to false by default. I want the queue size in term of packets. To over ride this just add the following

[ns] please help: problem with routing table ????

2006-03-07 Thread hamdi benmessaoud
Hi all , To print the routing table I have followed this steps : 1)I went to the file aodv_rtrace.h and add this line void print(Trace*); 2) I wet to the file aodv_rtrace.cc and add this fuction void

[ns] Network interface card characteristics and NS wirelessPhy

2006-03-07 Thread june
Dear, users. I'm trying to implement rate adaptation scheme reacting on the received SINR(Signal-to-Interference plus Noise Ratio) into each node(such as an additional class). However, in real domain(i.e. Cisco Aironet 802.11g NIC specification) there are some quantitative such as sensitivity

[ns] problem in installing ns-allinone-2.27

2006-03-07 Thread Nagender Annem
Hi, Iam new to ns2 and Facing a problem in installing ns-allinone2.27 on windows using cygwin. when I try to install using ./install it says XFree86-base is not found. I tried to download them using cygwin setup but I could not find the package in any of the categories. So, Please help me in

[ns] trace file

2006-03-07 Thread minaxi rawat
hi thanks for help i want make a graph between source to destination time at which packet send and recieve and also provide the level for x, y axis so i want two seprate colume for souce time to destination time. can you you help me .please also send me a link which help me to

[ns] Mobile IP blues

2006-03-07 Thread Nauman Afzal
Hi, I ran the script in Mar Gries' tutorial wireless3.tcl which deals with Mobile IP, the question is how are the base station (i.e HA and FA in this case) boundaries specified? I mean at what point does the MH get FA's beacon signals? Moreover, if I create another FA and make the node move