[ns] xgraph problem

2006-04-12 Thread mohd hammad

hello alaeddine 
hoping that u r very well 
I would like to produce the tracing of xgraph for a
scenario of 50 node it dosnt worke 
but in 3 node as indivisual it works can u help me
please 
mohd hammad

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Re: [ns] Real time Play with NS-2 emulator

2006-04-12 Thread Svilen Ivanov


Hello Mowly,

You might want to try the Pcap/BPF Network Object to read a packet trace 
from a file in tcpdump format.

http://www.isi.edu/nsnam/ns/doc/node574.html

Best regards,
Svilen

[EMAIL PROTECTED] wrote:

I am just putting this question out there to see if it is possible to
implement.  Right now I only have access to one laptop.  I am running
ns-2.27 with pclinuxos.  So far I was able to 'make nse' and did not
return any error messages however I still can't run the pingdemo.tcl.
But the question is this:

I want the emulator to be able to read a tracefile (a large one
perhaps that of a half an hour show) in real time and at the same time
output the packets perhaps to a reciever tracefile that is constantly
updated as packets arrive.  Next the tracefile is read by a real time
player such as VLC (I think it has real time capabilities) and outputs
the video  So I can readily view the real-time video as it is being
emulated.  I have to all this in one machine or the laptop.

Is it possible or has anyone done anything like this before that can
offer me some direction?  Thank you.

Cheers
Mowly


  


-- 
+--+
| M.Sc. Svilen Ivanov  |
| Institute for Distributed Systems (IVS)  |
| Otto-von-Guericke University - Magdeburg |
| http://ivs.cs.uni-magdeburg.de/~svilen/  |
+--+



[ns] xgraph problem

2006-04-12 Thread mohd hammad

hello alaeddine 
hoping that u r very well 
I would like to produce the tracing of xgraph for a
scenario of 50 node it dosnt worke 
but in 3 node as indivisual it works can u help me
please 
mohd hammad

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



[ns] Does DSDV stores the Routing table of its neighbours?????

2006-04-12 Thread jeevesh sharma

HI Friends,
 Does DSDV stores the Routing table of its neighbours. I was 
unable to get it from the code of DSDV. And if it doesn't stores the routing 
table, then how the increamental updates works.
 Plezzz help.
   
  jeevesh kumar. 


-
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.


[ns] Values to be set in the TCL file to make the transmission range 100m

2006-04-12 Thread jeevesh sharma

Hi friends,
 What are the values to be set in the TCL file to make 
the transmission range 100m. In some mail i got some pointer for this 
but i am not getting them clearly. There i have to set Pt_ variable to 
a 
fixed value. Is it the only value I have to change? or it need some 
more changes. Then what is the use of values written below other than 
Pt_.
   
  CPThresh_ 10.0
CSThresh_ 1.559e-11
RXThresh_ 3.652e-10
Rb_ 2.0e6
Pt_ 0.2818
freq_ 914e+6
L_ 1.0
Please help me. Thanks a lot.
   
  jeevesh kumar
   



-
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.


Re: [ns] Set address to ns node

2006-04-12 Thread sandoche balakrichenan

Hello all

I have a topology like this

  __n2
 / \
Src---n1/ \n4__Dst
\___ /
   n3

From the src the packets are send both to n2 and n3 in a probabilistic
manner. My problem is for every iteration n4 should receive one packet
either from n2 or n3 depending on minimum packet sequence number. For e.g.
if n2 has packet 2 at the head of the queue and n3 has packet 1 at the head
of its queue. n4 should receive packet from n3. How can i do that comparing
two queues in different links and dequeing that packet to n4.

Cordialement
Sandoche BALAKRICHENAN.


Re: [ns] Values to be set in the TCL file to make the transmission range 100m

2006-04-12 Thread Qasim Raza Iqbal

Hi Jeevash

There are two method to do it.

Method a)
You calculate the RxThreshold using a small program written in C called
threshold.cc locayed in the folder ns-2.29/indep-utils/propogation/

compile the file as  g++ threshold.cc

then run the program /a.out with the required distance you want to transmit.

In this case the transmit power remains the same as 0.2818 (default 250m)
and also the Carrier Sense Threshold (CSThresh) will remain 550+ but the
nodes that are 100+ meter away will drop the packages that they receive
considering it an error.

Method b) You only change the Pt_ value to 7.214e-3 , This will set the
maximum transmission range of the node to 100m.

so you can choose which option you want to go for

I hope this helps

regards




 Hi friends,
  What are the values to be set in the TCL file to make
 the transmission range 100m. In some mail i got some pointer for this
 but i am not getting them clearly. There i have to set Pt_ variable to
 a
 fixed value. Is it the only value I have to change? or it need some
 more changes. Then what is the use of values written below other than
 Pt_.

   CPThresh_ 10.0
 CSThresh_ 1.559e-11
 RXThresh_ 3.652e-10
 Rb_ 2.0e6
 Pt_ 0.2818
 freq_ 914e+6
 L_ 1.0
 Please help me. Thanks a lot.

   jeevesh kumar




 -
  Jiyo cricket on Yahoo! India cricket
 Yahoo! Messenger Mobile Stay in touch with your buddies all the time.



Kind regards

Qasim Raza Iqbal
PhD Candidate,
ACNRG Lab N504,  Office N505
Adaptive Communications Networks Research Group,
School of Engineering And Applied Science
Aston University
Birmingham  B4 7ET
United Kingdom
http://www.ee.aston.ac.uk/research/acrg/index.html




Re: [ns] Throughput of CBR over TCP

2006-04-12 Thread Soo-Hyun Choi

Hi,

First, in general, CBR is used for UDP traffic, not with TCP. You
should be able to tell the specific reason why you use CBR over TCP.

And the question you asked is also dependent upon a bottleneck link
speed and a bottleneck queue size. If the dely-bandwidth product is
larger than the CBR interval, it is likely that TCP will wait for the
CBR interval in oder to send a packet.

Soo-Hyun


On 4/11/06, 김병길 [EMAIL PROTECTED] wrote:

 Hi all,



 I perform simulation of TCP using NS-2 simulator.

 I already read all mails about CBR over TCP.

 But, I really not understand about TCP mechanism when CBR is used.



 1. use following TCP parameters :

 1)   CBR packetsize : 500

 2)   TCP packetsize : default



 When I start CBR traffic of 500kbps, I can measure throughput of TCP.

 The result is 2.2Mbps! Is it possible?



 I know that TCP ignore packetsize upper layer and TCP has own estimation of
 stable link and suitable time to send the packet.

 But, my problem is that TCP does not wait the whole size from CBR

 It seems that TCP sends own packetsize with CBR interval.



 So, my question is why this is happened? and what is the possible problem?

 Or, is it my mistake?



 Thanks in advance.







Re: [ns] Values to be set in the TCL file to make the transmission range 100m

2006-04-12 Thread Sasan Sahraei

transmission range defined internally by distCST_

the transmission range is suppose to be calculated using the parameted
below (as you mentioned) and propagation model however by looking at the
Wireless Physical code, the propagation model is not implemented yet and
thus the result is as -1 which is wrong.

so in 2.29 I had no choice to define it as a fix variable myself - still
not sure if this is an accurate simualtion. but to explain it, I am
setting energy levels and rx/tx power values to make the simulation more
accurate.

if you look at it from real life view point, devices (based on an initial
energy and type of MAC layer pawer consumption) do have a initial fix
transmission range

am I correct?

Sasan



 Hi friends,
  What are the values to be set in the TCL file to make
 the transmission range 100m. In some mail i got some pointer for this
 but i am not getting them clearly. There i have to set Pt_ variable to
 a
 fixed value. Is it the only value I have to change? or it need some
 more changes. Then what is the use of values written below other than
 Pt_.

   CPThresh_ 10.0
 CSThresh_ 1.559e-11
 RXThresh_ 3.652e-10
 Rb_ 2.0e6
 Pt_ 0.2818
 freq_ 914e+6
 L_ 1.0
 Please help me. Thanks a lot.

   jeevesh kumar




 -
  Jiyo cricket on Yahoo! India cricket
 Yahoo! Messenger Mobile Stay in touch with your buddies all the time.





Re: [ns] Values to be set in the TCL file to make the transmission range 100m

2006-04-12 Thread Daniel Mahrenholz

Sasan Sahraei schrieb:
 transmission range defined internally by distCST_

   
This is only the maximum assumed interference range for a propagation 
model and will be used to speed up the calculation of packet receivers.

 the transmission range is suppose to be calculated using the parameted
 below (as you mentioned) and propagation model however by looking at the
 Wireless Physical code, the propagation model is not implemented yet and
 thus the result is as -1 which is wrong.

   
You have various implemented propagation models (e.g. FreeSpace, 
TwoRayGround, Shadowing). Maybe you just look at the base class for all 
propagation models.

The transmission range is defined by the antennas of the transmitter AND 
the receiver, the transmission power, signal attenuation, modulation 
scheme (which results in different receiver sensitivities / RX 
treshhold) and so on. It is nothing you can compute solely by looking on 
the transmitter.

Just as a little example: two laptops equiped with usual WLAN interface 
adapters may have a transmission range of 300m in an open area. But with 
good external antennas you can boost this whithout amplification up to 
150km (http://www.wifi-shootout.com/).

As a personal advice for every WLAN simulation - use the Shadowing (or 
better) propagation model if possible. I can provide ready to use 
parameter sets for different environments if necessary.

Daniel.



[ns] Throughput Goodput

2006-04-12 Thread Julien HELMER

Hello,

Why the goodput measured by [$sink set bytes_] is greater than the
throughput measured with [$tcp set ndatabytes_] ??

This means that the receiver get more data than what the tcp sender has sent
??

Julien


Re: [ns] Bandwidth of wireless channel

2006-04-12 Thread Daniel Mahrenholz

Vinod schrieb:
 im working in qos routing in mobile adhoc networks.

 can anyone tell me why the default value of bandwidth is 0 in link layer 
 of type LL (wireless routing simulation). Does that mean its not used or 
 something else? I can see that the delay value is set to 25us by 
 default.

 Also, can anyone tell me whether i can have cost param attached to 
 wireless links as we can do in wired?
   
The short answer - there is nothing like a wireless link. Wireless 
communication uses a broadcast medium. Links are only logically defined 
by your MAC layer or routing protocol. Additionally you do not have 
something like a universal bandwidth of the wireless channel. This 
depends on your technology, modulation schemes etc. So you have to setup 
this value depending on your model technology (e.g. 2 Mbit/s for a WLAN 
using BPSK modulation).

Daniel.



[ns] how to debug memory?

2006-04-12 Thread skipper-com

Hello ns-users, please help

Anybody know how to debug memory in ns2? as applied to OTCl objects?
I`m use ns-2.29/cygwin(windows)
Thanks in advance

  

-- 
Best regards,
 skipper-com  mailto:[EMAIL PROTECTED]



[ns] generate SIP traffic

2006-04-12 Thread zied-sassi

Thank you for all the people that help me to implement SIP protocol in NS.
 Especially the guy that gave me the ns-2.27 patch I’m sorry because I delited 
the e-mail so I forgot his name so thank you guys !!
OK my next part of the project is to trace the traffic from the .tr file 
generated by the files proxy-test.tcl and redirect-test.tcl with XGRAPH!
 
If anyone had worked with the same project please help me 
 
 
GLORY TO NS COMMUNITY  

[ns] graphical interface problem in ns2.29

2006-04-12 Thread BENMESSAOUD ASMA

Hi every body , 
i try to use a tcl/tk graphic interface , but when i add ns the program 
declare an error .
ex: 
   in example.tcl when i create only widgets and i execute wish example.tcl 
it 's run very well , but when i add set ns [new Simulator] at the same 
program , it doesn't execute .
Please if there is anyone who know how we can use the graphic interface in ns , 
i supply him to reply me it's very important .
thanks a lot 
Asma.