[ns] Processing packets at intermediate nodes/agents.

2006-07-13 Thread Brad Montgomery
All, I would like to write an Agent that inspects all packets that pass through the node to which it is connected. For example: Given the topology, N0 - N1 - N2 An Agent attached to N1 would execute it's recv() function even if N2 was sending a packet to N0. Is this possible? If so, any poi

[ns] How to use cmu-trace

2006-07-13 Thread Vijay Ghorpade
  Hi all, I my project i want to trace/count the no of pkts etc. I am working with wireless ad hoc network simulation.=0A In that i couldn't understand how to use the following instruction... set T [cmu-trace Send "RTR" $node] from this how i am going to know the RTR pkts sent by the no

Re: [ns] help on random FTP connections

2006-07-13 Thread Filippos Kolovos
As far as the random behaviour is concerned there is a quite good Random number generator implemented in NS, that can also generate random numbers from various distributions. You can check the NS-2 manual in the chapter "Mathematical Support" for further information. -Fk On 7/13/06, [EMAIL PROT

[ns] wireless-phy and packet drop

2006-07-13 Thread John
Hello: In wireless-phy.cc, the sendUp method (see below) simply drops the incoming packets when a node is not on. Since the transmission of a packet may last long enough that it would still be there after the node wakes up, this code would potentially mislead the MAC to believe the channel is free

[ns] what kind of 802.11

2006-07-13 Thread Harry
Hallo! What kind of 802.11 does NS use? Is it 802.11a, 802.11b or 802.11g? If all three types work, how can I choose one of them? Alberto Guglielmino ___ Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive http://it.messenge

[ns] "make" problem after LEACH installation

2006-07-13 Thread Jeannie Lee
After I installed the LEACH protocol and do '"make". it pops out the following information: Entering directory '/./ns-2.29/indep-utils/cmu-scen/gen/setdest' make[1]: Nothing to be done for 'all' make[1]:Leaving directory '/./ns-2.29/indep-utils/cmu-scen/gen/setdest' and so does other direc

[ns] Transmission and Interference Range

2006-07-13 Thread Ashish Sangwan
Hi, Can you tell me a clean way to change transmission and interference ranges in ns-2? I tried the threshold program given ~ns/indep-utils/propagation/ but that somehow is not giving correct values. Regards, -- Ashish Sangwan B.Tech, Computer Science & Engineering IIT Delhi -- I do know ever

[ns] please help in simulating sensor networks

2006-07-13 Thread Srirupa Dasgupta
Someone please help me to run some example scripts on ns2.28 No one is actually giving me any examples? Srirupa On Sun, 02 Jul 2006 [EMAIL PROTECTED] wrote : >Send Ns-users mailing list submissions to > ns-users@isi.edu > >To subscribe or unsubscribe via the World Wide Web, visit >

[ns] example sensor network application which actually has run on ns2

2006-07-13 Thread Srirupa Dasgupta
Please someone, Send me some sensor network application which have actually run on ns2.2X Srirupa

[ns] Cloning CBR traffic Generator class in NS-2.29

2006-07-13 Thread lekkie omotayo
I am tryin to clone the CBR traffic class in NS-2.29 to model a VoIP traffic generator. I will like to implement the send() and receive() fxns. Reason is, I want the traffic generator to model real life VoIP traffic. I want it to be a duplex (Dual) traffic that emanates from a source and gets to a

[ns] how can i get the CTS, RTS and packet range of 802.11 net

2006-07-13 Thread ns user
hi ns users; i want to know how can i get the CTS, RTS and packet range in 802.11 simulation ? i'm doing some analysis and it is primordial to know this informaion thanks in advance.

Re: [ns] how can i get the CTS, RTS and packet range of 802.11 net

2006-07-13 Thread Q.R.Iqbal
Hi there from my simulations and keeping it simple The default range for the packet delivery is 250m and that of Carrier sense Threshold is 550m, so from Node A --->B if the distance is less than or equal to 250 , then , the packet will be recieved successfully. If the distace is greater than 2

Re: [ns] Transmission and Interference Range

2006-07-13 Thread Ashish Sangwan
Hi , I didnot know about these three transmit power levels. Thanks Iqbal for that. I wanted to have Interference Range(Carrier Sense Range) to be twice the Communication Range. So I achieved by calculating CSThresh_ value by following formula Pt * Gt * Gr * (hr * hr * ht * ht) / {(Required interf

Re: [ns] Transmission and Interference Range

2006-07-13 Thread Q.R.Iqbal
Hi there I think there is no other cleaner or easiar way to do that unless you modify the code. One thing you have to be aware of is that by modifying the transmission range, you are only changing the receiver threshold, A distance from which a receiver can receive. Again there are three diffe

[ns] Simulating IP v4/IPv6 network with 2 nodes and a router

2006-07-13 Thread William . Ampeh
Hello, I am very new to ns, so any pointers will be very much appreciated. I have been assigned to come up with the following 2 simulations using ns: [IPv4 host] [IPv4 router]-[IPv4 host] [IPv4 host] [IPv4 router with header translation]

Re: [ns] How to use cmu-trace

2006-07-13 Thread guzinu
you can learn it from the trace file after completion of your simulation. you can search the field whose value is RTR and node ID is what you want with some shell programming experiment. > >   > Hi all, >I my project i want to trace/count the no of pkts etc. I am working > with wireless ad

[ns] Packet Loss Rates vs Data Rates

2006-07-13 Thread m w
Hi, I am trying to build a simple two node transmission set up in ns-2. I want to change the packet loss rates (say 0.1, 0.2, 0.3 ..0.9 etc.) and data rates (1, 2, 5.5, 11 Mbps etc.) and want to see the corresponding data rate throughput of the two node system. Later I want t

Re: [ns] Packet Loss Rates vs Data Rates

2006-07-13 Thread Q.R.Iqbal
Hi there please have a look at the info at this site ns2 for the impatient http://icapeople.epfl.ch/iaad/teaching/ns/ns.html It has examples on how how to calculate and display the throuput of 802.11 network and also how to set the different data rates I hope this helps > > Hi, > >

Re: [ns] Processing packets at intermediate nodes/agents.

2006-07-13 Thread Brad Montgomery
My initial thought in this regard, was to insert the Agent into Node N1's entry, and then set the Agent's target_ to the Clasifier in Node N1. Here's what I did in my Agent's command function: -- int MyAgent::command(int argc, const char*const* argv) { Tcl&

Re: [ns] Transmission and Interference Range

2006-07-13 Thread Pedro Vale Estrela
Check this code that I'm using to set the power based on the circular distance in meters: Usage: set coverage [CellCoverage 1 1 $MAX_X $MAX_Y $OVERLAP] set power [SetPt $coverage] Phy/WirelessPhy set Pt_ $power $ns node-config -rxPower $power -txPower $power --