[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-2

[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 ttp://nile.wpi.edu

[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 laborator

[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 so

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 ru

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 c

[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

Re: [ns] how to implement a routing protocol

2006-03-07 Thread Francisco J. Ros
Hi, If you're interested in routing protocols for ad hoc networks, take a look here: http://masimum.dif.um.es/?Documents Regards, fran On Tuesday 07 March 2006 12:31, juan manuel gomez garcia wrote: > Hello, I'm a new NS2 student and I want to know how I make a new routing > protocol in NS2 an

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 time

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 loc

[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. Thank

[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 Messa

[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: ./test-all-smac

[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

[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 -2- IFQ ARP 0 TAOD

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 { pu

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: [EMAI

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,

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

2006-03-07 Thread Michael Sidiropoulos
Hello Subashini, ARP is located in the LL and does the translation between the IP address of the sender node and the MAC address of the destination node.So when a packet arrives at the LL and is searching for the next hop to be rooted,ARP does the mapping between the IP address of the sen

[ns] please urgent help :how to print routing table ?????

2006-03-07 Thread hamdi benmessaoud
Hi all, . In my simulation I must test three protocols :dsr ,dsdv ,aodv . But In a first step i will use the aodv ; so I want to get the values of the rooting table at the end of the simulation , and exactly I want to get for each node the route of each packet he send to reach the de

[ns] to show movement of packets in nam for wireless networks

2006-03-07 Thread Subashini S
hi, I would like to know if it is possible 1. to show the movement of packets between nodes in a wireless scenario. eg( 3 nodes using AODV) using NAM animator as we do for simple wired networks. 2. to color the node pairs between which the transmission of packets take place. That is the se

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 b

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 codig

[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] please urgent help :how to print routing table ?????

2006-03-07 Thread Pedro Vale Estrela
You can use the MASH object inspector to find the exact TCL object and instance variable that you need. http://inesc-0.tagus.ist.utl.pt/~pmsrve/ns2/ns2_with_tkcon_and_tcldebug_scre enshot2.PNG Then, make a proc to dump that information. This requires my ns2 debugging utilities, which has step-

Re: [ns] Creating an Identical Ad Hoc Routing

2006-03-07 Thread net sim
Can you explan more ony this, "use the same hdr_tora, and remove the duplicate definition on your file" I am doing a TORA attack evaluation, therefore, i MUST use the same hdr_tora. And based on the trace file, i need to analyse the attacker behaiour. set val(adhocRouting) TORA set val(adh

Re: [ns] Creating an Identical Ad Hoc Routing

2006-03-07 Thread Pedro Vale Estrela
Do "grep -d recurse -i tora" on top of your NS2 tree, and clone ALL accoureces of "tora" > -Original Message- > From: net sim [mailto:[EMAIL PROTECTED] > Sent: terça-feira, 7 de Março de 2006 16:39 > To: [EMAIL PROTECTED] > Subject: RE: [ns] Creating an Identical Ad Hoc Routing > > T

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

2006-03-07 Thread Pedro Vale Estrela
From my own experience with arp.cc, this explanation is entirely correct, especially the part where the buffer only has space for 1 packet > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Michael Sidiropoulos > Sent: terça-feira, 7 de Março de 2006

Re: [ns] reading trace files

2006-03-07 Thread Vietor Davis
A trace file will generally always be like that. A line is put into it every time a packet moves up or down the stack. If you wish to create a graph in any reasonable amount of time you must write (or find I suppose) tools to parse the traces. They are human readable, but don't be fooled into

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: 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 accoureces o

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 my_tora

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 >

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 `hdr_tora::

[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. Jenn

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 des

[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 followin

[ns] sctp with app data

2006-03-07 Thread Lee Begg
I am trying to pass AppData from one node to another using Agent/Sctp. I need to put in data (about 8 bytes) in, with a full packet size of 100 to 1028 bytes so that I can (custom) trace the send times and recv times. This is for tracing video streaming to compare with UDP. It appears to me t

[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 aodv_rtable::p

[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" ac

[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 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 understand

[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 t

Re: [ns] problem in installing ns-allinone-2.27

2006-03-07 Thread ben
Hi there, Maybe you can try download the rar package from this site http://140.116.72.80/~smallko/ns2/ns_setup.rar. This rar package contains cygwin+ns-2.27+bashrc files. The guide for this installation can be found at http://140.116.72.80/~smallko/ns2/setup_en.htm. Hope this helps. Cheers,