[ns] core network

2007-10-25 Thread Brenda Lindsay Williams

Can you pls help me...
I'm working on VoIP core networks...
I'm basically connecting 4 WAN models via an edge network to the core...
The core consist of only routers whose function is to route voice packets
amoongst the WANs...
can you pls give me an idea of what my tcl script will look like
I need to know how to configure the core for packet transmission amongst the
4 WAN models I'm working with...
I'm investigating Quality of Service (QoS) at the core area
Thanks

Brenda


[ns] plots in ns2

2007-10-25 Thread alejandro gomez

hi every one:
 
I have benn trying ti make some scripts and my goal is to obtain some plots 
about the packets behaviour.
 
I am runing ns2 on windows xp with cywgin and i hav an example which uses tha 
xgraph to get the plot.
 
Is there any specific procedure to genearte the file tr and run the xgraph???
 
how can i do it (obtain the graph runing xgraph)
 
thanks in advance
_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


[ns] How to use xgraph command in NS 2.28 Fedora4

2007-10-25 Thread SuNiL SoNi

Hello Everybody,

xgraph command is running successfully in my machine.

But I dont know how to use it.

I only know that xgraph generates graph.

I am interested to draw graph for trace file using
xgraph, Is it possible?

bye,


  Find a mall, hotel or ATM in any part of India. Go to 
http://in.maps.yahoo.com



[ns] IPsec on NS2

2007-10-25 Thread wafa boudiab

Hi all,

I'd like to know if there is an implementation of IPSec ESP on NS2! if so how 
to get it?

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


Re: [ns] Bug in 802.15.4?

2007-10-25 Thread bilge kartal

Hii,

I have similar problem but mine is related to sleeping state of nodes. When
i set sleep time a value. After that time my nodes spend most of their time
in sleep mode. I m using AODV over 802.15.4. So all packets drop becasue of
the routing hole.
And another question about ARP disabling. Becasue i remove all headers
including ARP headers. I didnt understand why you are changing C++ code.
Removing ARP headers can use to disabling ARP protocol. I confused. It
should be so. If packet doesnt have ARP headers how it can use ARP
protocol. Can u explain me why you need to change c++ code.Thank u in
advance

Regards
Bilge.


On 10/23/07, Cesare M. Carretti [EMAIL PROTECTED] wrote:


 Hi again,
 I have tried to turn off arp packets but I have still the problem. I was
 thinking to produce a function to reset in some way the mac if this 'get
 stuck' situation happen. What do you think?
 For be aware of blocking inside the code I could wait some attempt to send
 counting from application layer or from the queue...

 Regards
 Cesare Carretti

  Hi,
  thank you so much for your answers!
  I will try to disable ARP packet transmissions. Thank you also for the
 explanation, I was trying to debug p802_15_4mac but it is not so easy...
 I forced the queue to send packet modifying the recv function in the
 file
  queue.cc, adding a counter and calling the resume function after a
 certain
  number of attempts, also with the blocked flag true. It is not so
 elegant
  but it helped me to understand something more!
 
  Regards
 
  Cesare Carretti
 
  Hi there,
  this failure should most probably relate to the busy_rx state returned
 after the call to switch the radio to transmit.
  This happens basically in two different situations,
  one is during the association and the other one is during sending/CCA.
 If during the CCA a packet arrives, this packet gets falsely received
 and
  thus, upon the call to switch, the function to switch the radio state
 returns with a busy_rx, that doesn't get handled and thus the whole
 sending process gets stuck. As there is still the outgoing packet
 within
  the mac, the enforcement of an additional sending - by the way, how did
 you manage/implement that one? - leads to a task overflow.
  The arp only diminishes the probability of this failure happening, as
 it
  shortens the time for packet processing at the node...
   Original-Nachricht 
  Datum: Thu, 18 Oct 2007 18:11:48 +0200
  Von: Stefano Busanelli [EMAIL PROTECTED]
  An: Cesare M. Carretti [EMAIL PROTECTED]
  CC: ns-users@ISI.EDU
  Betreff: Re: [ns] Bug in 802.15.4?
  In the past I'd had noticed a similar strange behavior: in fact,
 during
  some simulation runs, nodes didn't transmit packets, seemingly without
 no reason, while in other simulations nodes transmitted normally. I
 had solved the problem disabling ARP packet transmissions.
  In the mailing list archive there are many threads that explain how to
 do this.
  Regards
  Stefano Busanelli
  Il giorno gio, 18/10/2007 alle 12.33 +0200, Cesare M. Carretti ha
 scritto:
   Hello all,
   I am implementing a distributed algorithm for sensor network, and I
  wrote
   an application and a transport protocol simil-UDP to send data. I
 have a strange problem in my simulation:
   at some point, one node stop to send packet, it is blocked and if I
  try
  to
   force the queue to send packet, I have a task overflow error from
 mac
   layer.
   I still do not know why this thing happen at some point, I am trying
  to
  do
   some debugging, maybe for some collision. Anyway I think this is not
 normal, because it should never happen that a node stop sending data
  (it
   continues to receive) at all forever, it should maybe reset itself
 if
   there is some problem. Maybe it is waiting for something?
   My application works very well over 802.11, so I think it should be
  the
   same with 802.15.4 (of course with a different output, number of
  packet
   etc).
   However it shouldn't stop!
  
   What do you think?
  
   best regards
  
   Cesare Carretti
  
  --
  GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
  Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
 
 
 







[ns] make clean, make depend, make do not take effect

2007-10-25 Thread minisivakumar vellore

Hi all
I am using ns-2.31 under linux environment.
I made some changes to .cc files in the ns2 directory (introduced or remove=
d some printf statements).
But my changes do not take effect at all.
I've tried the following
(i) make clean, make depend, make
(ii) make distclean, ./configure, make
(iii) make clean, ./install, ./configure, make
(iv) make distclean, ./install (then setting the library paths again), ./co=
nfigure, make
 
I run my tcl script by giving the command as ./ns xxx.tcl
I am not sure why my changes don't take effect. If someone has any pointers=
 please let me know.
 
PS: I do not get any errors for any of the commands.

_
Are you ready for Windows Live Messenger Beta 8.5 ? Get the latest for free 
today!
http://entertainment.sympatico.msn.ca/WindowsLiveMessenger


[ns] Fwd: Installation problem in NS2 under Fedora

2007-10-25 Thread Vikas Luthra

Hi

I got FC3 (as advised for NS2.26), did ./install on ns2.26 allinone

I get the following error

tclcl-mappings.h:52: error: invalid use of undefined type 'struct Tcl'
tclcl-mappings.h:41: error: forward declaration of 'struct Tcl'

tclcl-mappings.h:57: error: invalid use of undefined type 'struct Tcl'
tclcl-mappings.h:41: error: forward declaration of 'struct Tcl'
make: *** [embedded-tcl.o] Error 1
tclcl-1.0b13 make failed! Exiting ..


Did anyone face a similar problem?

On http://www.isi.edu/nsnam/ns/ns-problems.html I found


   - *Problem:* Tclcl doesn't build against gcc-3.4 (as in Fedora Core
   3).

   *Solution:* Fixed in current CVS. Apply this patch:

   --- tclcl.h~ 2003-07-29 11:24:50.0 -0700
   +++ tclcl.h  2004-12-10 08:55:34.692584936 -0800
   @@ -45,8 +45,8 @@
}

#include tclcl-config.h
   -#include tclcl-mappings.h
   
#include tracedvar.h
   +// tclcl-mappings.h included below, AFTER definition of class Tcl

struct Tk_Window_;

   @@ -158,6 +158,8 @@
Tcl_HashTable objs_;
};

   +#include 
   tclcl-mappings.h
   +
class InstVar;

class TclObject {


Do you know where  to put this patch.

Thanks
Vikas






On 10/23/07, sachin sharma  [EMAIL PROTECTED] wrote:



 I have installed NS-2.26 in Fedora 3 and in Red hat 9.
 Try these. I did not try same version of NS in FC-5.


 Best of Luck

 --- Vikas Luthra  [EMAIL PROTECTED]  wrote:

  Hi
 
  That was great piece of information.
  I have been trying to install NS2.26 on FC5 for 3
  days now. Is it possible
  at all?
 
  If not, what version should I get.
 
  I need to run NS2.26 for MAODV code implementation
  from
  http://www.sce.carleton.ca/wmc/code.html .
 
  I tried this on later versions of NS2, but it doesnt
  work. So I guess I need
  NS2.26 only.
 
  Can you please guide me which Linux or Cygwin (for
  windows) should I get?
 
  I sincerely appreciate your help.
 
 
 
  Thanks
  Vikas
  Arizona State University
 
  On 10/22/07, sharon_sachin
   [EMAIL PROTECTED] wrote:
  
  
  
   Installation of NS is operating system dependent.
  like if we want to talk
   about the Fedora.
   Then Fedora -3 support NS-2.28, Fedora 4 and
  Fedora 5 support NS - 2.29.
   So,
   before installling NS
   version U also see the compatibility of the same
  with the Linux operating
   System.
  
   Best Regards
   Sachin Sharma
  
   Karthikit wrote:
   
Hi friends,
I am having a problem at the time of installing
  NS2 in my notebook under
fedora OS.
The following is the error that I had during the
  installation.
   
checking system version (for dynamic loading)...
  ./configure: line 7624:
syntax error near unexpected token `)'
./configure: line 7624: `   OSF*)'
tcl8.3.2 configuration failed! Exiting ...
Tcl is not part of the ns project.  Please see
  www.Scriptics.com to see
   if
they have a fix for your platform.
   
This is the problem that I had.
Any one help me to install the NS2.
Thanks in advance.
   
   
  
   --
   View this message in context:
  
 

 http://www.nabble.com/Installation-problem-in-NS2-under-Fedora-tf4668605.html#a13357445
   Sent from the ns-users mailing list archive at
  Nabble.com.
  
  
 



   Bring your gang together - do your thing. Go to 
 http://in.promos.yahoo.com/groups