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

2006-04-14 Thread guzinu

 Hi Jeevesh,
 DSDV stores the Routing table for each node that is modified by the
information received by the node's neighbor nodes. rtable.h file
contains class RoutingTable and rtable.cc stores each entry, contains
information about the current node's neighbors, into rtable_ent *rtab
member variable of RoutingTable class.
In dsdv.cc, makeupdate function builds a packet which contains
information about the current node's neighbors. if updatetype=1, all of
the records hold by the rtab member will be send, else appropriate
records will be send.
I hope, this answer helps you.


Guzin ULUTAS (Computer Engineer)





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

2006-04-14 Thread guzinu

   Hi Jeevesh,
   Actually DSDV doesn't have the all the neighbours's routing table with
it, at the time of calculation of shortest path. it has got only
necessary information gathered by the neighbor nodes during triggered
and periodic update.
It gets the routing update packet from its neighbors, and compare this
packet with its routing table. Necessary updates will be implemented.
But not all the table stored by this node.

Guzin Ulutas (CEng)





Re: [ns] FW: Re: nam: permission denied

2006-04-14 Thread Sergio Torassa

thanks tathagata and all who answered
effectively I added the path of that directories, but in the wrong form
(e.g., path=c:\cygwin\ns-allinone-2.29 instead of path=/ns-allinone-2.29 
and similar)

now the more difficult task: understand ns ;-)

sergio


From: tathagata dasgupta [EMAIL PROTECTED]
To: Sergio Torassa [EMAIL PROTECTED]
Subject: Re: [ns] FW: Re: nam: permission denied
Date: Fri, 14 Apr 2006 04:01:54 +0530

You need to add(PATH=$PATH:/..) the absolute paths of the directories that
house the binaries for nam and ns to your path variable.
for example
My PATH variable looks like this
/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games:/bin/:/usr/sbin:/opt/jdk1.5.0_06/bin:/usr/local/ns-2/ns-
2.29:/usr/local/ns-2

I had the same problem like yours and chaging it took care
Hope this helps




[ns] number of paquets receive and send don't change with mobility

2006-04-14 Thread www triste

Hello everybody
  that makes one week i have this probleme and it doesn't advance
  i want to plot the curve nombre of paquets received / nombre of paquets send 
in fuction to the mobility,
  so i do it this stages:
  1) i generated a scenario with ./setdest -n 50 -p 5 -m 0 - M x -t 200 -x 500 
-y 500  fx
   
  x:nombre between 10 and 100
  2)i simulate the tcl file with 10 scenarios
   
  3)i remarque that the number of paquets received and the number of paquets 
send don't change ,what do you think about that its logical?!
  i alreday give you my file tcl;and you tell me thats probably due to the 
model propagation i use it,ok i change the madel,i use random-waypoint 
model,but i have the same results,
  i ma bloqued,if you have any ideas,and you have a time,help me please
  THank you


-
 Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement 
vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et 
suivez l'actualité en temps réel. Cliquez ici.


[ns] Reset CW

2006-04-14 Thread Sebastián Guazzini


Hi, people. I try to do some modifications in the manner that 802.11 decrement 
the Contention Window (CW) but I can't find the function in mac-802_11.cc that 
return this variable to CWmin when the tx is successful. Anybody can help me?

Thank you a lot

 


[ns] Help needed for HCCA patch on NS-2.27

2006-04-14 Thread Ritwik Mitra

Hi!
 
 I downloaded and installed the HCCA patch for NS-2.27 from 
http://info.iet.unipi.it/~cng/ns2hcca/ 
 
 However, I am not able to find out how the stations get the access to the 
channel. Consider the offline TXOP list that is created. Suppose it contains 
the TXOP times for the stations 1,2,5,6. How does the patch ensure that first 
only station 1 will access the channel, and then stations 2, 5, 6 ... and so 
on. 
 
 If anybody can throw some light on this issue, I'll be really grateful.
 Thanks in advance
 
 

  Ritwik Mitra 
M.Sc. Computer Science 
Department of Computer Science, 
Delhi University 



  





-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2¢/min or less.


[ns] Running nam on cygwin

2006-04-14 Thread Tuhin Kanti Sharma

hi,
I m getting an error that no display variable set or no display when I try
to run nam on cygwin...if ne1 can hlp I would be obliged.

Tuhin Kanti Sharma


[ns] Running nam on cygwin

2006-04-14 Thread Tuhin Kanti Sharma

hi,
I m getting this error:
$ nam MySnoop.nam
nam: no display name and no $DISPLAY environment variable

when I try to run nam on cygwin.if ne1 can hlp I would be obliged.

Tuhin Kanti Sharma


[ns] Fw: Reset CW

2006-04-14 Thread Sebastián Guazzini

I have found a call to function rst_cw in mac-802_11.cc  but the function is 
not there. Do you know where it is?
Thak you
- Original Message - 
From: Sebastián Guazzini 
To: usuarios_ns 
Cc: meschoyez3 ; meschoyez2 ; meschoyez 
Sent: Friday, April 14, 2006 10:43 AM
Subject: [ns] Reset CW



Hi, people. I try to do some modifications in the manner that 802.11 decrement 
the Contention Window (CW) but I can't find the function in mac-802_11.cc that 
return this variable to CWmin when the tx is successful. Anybody can help me?

Thank you a lot

 


[ns] Help on trace file format

2006-04-14 Thread Tuhin Kanti Sharma

Hi,
I am running ~ns-2.29\tcl\ex\snoop\MySnoop.tcl.
This tcl file is making a trace file out.tr.
In the trace file there is an h, what does this h stand for.
Help wld b appreciated.
Other identifiers:
+:enqueue
-:dequeue
r:recieve
f:forward
h:?

Tuhin
Dept. of CS, DU


Re: [ns] help with understanding AODV

2006-04-14 Thread Sita S. Krishnakumar

Vinod, Kapil, Kanthi,

Thank you for your replies. I think the timer refresh is not sufficient
enough in my case and the route (re-)requests are happening not so
frequently i.e. it is not in sync w/ the mobility (i am not yet sure how
that can be handled). Due to this, there is packet loss and the delivery
ratio is low. I will look further into aodv implementation to see how the
fine-tuning of timers is done to handle node mobility.

Regards,
Sita

 hi sita,

 afaik...there are route refresh timers in aodv. so whenever a route table
 entry expires , the source broadcasts route requests (ofcourse only if it
 has to send more data pkts) once again and the route to the destination is
 recomputed. the timers are fine-tuned to according to the mobility.

 hope this helps,
 vinod

 --
 Vinod Kone,
 Btech,Computer Science,
 VIII sem,
 Room 177,Kapili,
 IIT Guwahati.





Re: [ns] Fw: Reset CW

2006-04-14 Thread inanc inan

Please check mac-802_11.h. Regards,

Inanc

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sebastián Guazzini
Sent: Friday, April 14, 2006 8:00 AM
To: usuarios_ns
Cc: meschoyez3
Subject: [ns] Fw: Reset CW


I have found a call to function rst_cw in mac-802_11.cc  but the
function is not there. Do you know where it is?
Thak you
- Original Message - 
From: Sebastián Guazzini 
To: usuarios_ns 
Cc: meschoyez3 ; meschoyez2 ; meschoyez 
Sent: Friday, April 14, 2006 10:43 AM
Subject: [ns] Reset CW



Hi, people. I try to do some modifications in the manner that 802.11
decrement the Contention Window (CW) but I can't find the function in
mac-802_11.cc that return this variable to CWmin when the tx is
successful. Anybody can help me?

Thank you a lot

 



[ns] Generating ERPGM mobility model

2006-04-14 Thread aymen turki

hellon everybody;
  I want to generate ERPGM mobility scenario but im wondering if there is a 
generator for such mobility model else how to implement this by tcl script? 
  thank you


-
 Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement 
vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et 
suivez l'actualité en temps réel. Cliquez ici.


[ns] Qiang Ni ns-edcf.tar.gz Make install problem

2006-04-14 Thread marcelo.mpinheiro

Hi all, 

I hope you are doing fine. Can anyone help me with this issue? 
I am trying to use Qiang Ni's code on a Fedora 2 environment. Aparently all 
variables are set, even though I face the error below: 


 (There is lots of this before) 

plm/cbr-traffic-PP.o(.gnu.linkonce.t._ZN19CBR_PP_TrafficClassD1Ev+0x11): In 
function `CBR_PP_TrafficClass::~CBR_PP_TrafficClass [in-charge]()': 
: undefined reference to `TclClass::~TclClass [not-in-charge]()' 
plm/cbr-traffic-PP.o(.gnu.linkonce.r._ZTI19CBR_PP_TrafficClass+0x8): 
undefined reference to `typeinfo for TclClass' 
collect2: ld returned 1 exit status 
make: ** [ns] Erro 1 

GCC Version 
gcc (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7) 
Copyright (C) 2003 Free Software Foundation, Inc. 
This is free software; see the source for copying conditions.  There is NO 
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 

Has anyone faced this before? Is there any solution or workaround? 
Do you need any information? 

I would deeply appreciate any help, ideas, suggestions or comments. 

Have a nice weekend. 

Sincerely, 

Marcelo Pinheiro 




Re: [ns] Running nam on cygwin

2006-04-14 Thread Gilles Bertrand

Hello Tuhin Kanti Sharma,

You are probably trying to use NS on a linux server with ssh. Am I 
wrong? Anyway, typing the following commands in your console should help 
you a lot:
export DISPLAY = localhost:0

and if you are using ssh, please use the option -Y after having set the 
DISPLAY variable with the previous command, for example::
ssh -Y -l mydistantlogin mydistantcomputername

Mit freundlichen Grüßen, with kind regards, cordialement,

--
Gilles BERTRAND
Institut National des Télécommunications (GET)- Universität Stuttgart
http://raimizou.com/GB_online/pages/network_simulator.php
--



Tuhin Kanti Sharma a écrit :

hi,
I m getting this error:
$ nam MySnoop.nam
nam: no display name and no $DISPLAY environment variable

when I try to run nam on cygwin.if ne1 can hlp I would be obliged.

Tuhin Kanti Sharma

  




Re: [ns] Running nam on cygwin

2006-04-14 Thread Sasan Sahraei

in addition, I guess you need to run nam through startup batch file of
XWindows simulator, make sure X11 is installed and from bin directory you
can run startxwin.bat

Sasan

 Hello Tuhin Kanti Sharma,

 You are probably trying to use NS on a linux server with ssh. Am I
 wrong? Anyway, typing the following commands in your console should help
 you a lot:
 export DISPLAY = localhost:0

 and if you are using ssh, please use the option -Y after having set the
 DISPLAY variable with the previous command, for example::
 ssh -Y -l mydistantlogin mydistantcomputername

 Mit freundlichen Grüßen, with kind regards, cordialement,

 --
   Gilles BERTRAND
 Institut National des Télécommunications (GET)- Universität Stuttgart
 http://raimizou.com/GB_online/pages/network_simulator.php
 --



 Tuhin Kanti Sharma a écrit :

hi,
I m getting this error:
$ nam MySnoop.nam
nam: no display name and no $DISPLAY environment variable

when I try to run nam on cygwin.if ne1 can hlp I would be obliged.

Tuhin Kanti Sharma









[ns] Problem with 802.11 MAC layer

2006-04-14 Thread Shibdas Bannerjee

Hi,
  I am currenty coding a MANET protocol in NS. In routing agent, I am
able to send the packets to neighbouring nodes but when nodes are trying to
send the reply I am getting an error Invalid Control Packet from
802.11physical layer code. I have not changed anything in the physical
layer, I
have only plugged in my routing layer agent.

Please help..

Thanks
shibdas