[ns] Help me in finding throughput and delay for wired environment

2007-02-27 Thread jenefa jebarani

Hai i've created a very simple MPLS network in NS2 in TCL coding now i need to 
calculate the delay and throughput for that program. 
   
  I've one delay.c program as i executed that i get the answer as 
   
  average end-end delay is : nan. or   nan   0
  
   Kindly help me to execute it and find the delay and throughput.
   
  Thank you.

 
-
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.


[ns] ip header

2007-02-27 Thread Albalas F (AT)

Hi all,

 

Urgently, can any one tell me at what file the ip header contents take
its values for data packets at AODV/MAODV.

 

Firas

 



Re: [ns] help needed

2007-02-27 Thread asma a

this site can help you

hpds.ee.ncku.edu.tw/~smallko/ns2/ns2.htm


Best wishes;

Asma







___ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 


[ns] Busy tone in NS2 or DBTMA code

2007-02-27 Thread Mohammad Nassiri

Hi all

I want to implement a MAC protocol based on 802.11. In this MAC
mechanism, each emitter emits   a busy tone during transmission.
Would you please tell me how I can implement busy tone in NS2. All
comments and any source code appreciated. Also I looked for DBTMA
code in NS2 but I could not find it.

Thanks in advance,
Mohammad NASSIRI



[ns] debugging in NS

2007-02-27 Thread Nabila khedimi


Hi,
I am using ns for the first time , I have a program that was implemented and 
tested by a researcher in ns-2.26, my first question : should it work on 
ns-2.29.3,
I have trouble in excuting it , the make command works but when I launch the 
ns command no thing happens, any one available to execute it on its machine? 
 what do you use for debugging: messages with put??


Thanks for help
Nabila from Montreal





From: Mohammad Nassiri [EMAIL PROTECTED]
To: ns-users@ISI.EDU
Subject: [ns] Busy tone in NS2 or DBTMA code
Date: Tue, 27 Feb 2007 18:02:43 +0100


Hi all

I want to implement a MAC protocol based on 802.11. In this MAC
mechanism, each emitter emits   a busy tone during transmission.
Would you please tell me how I can implement busy tone in NS2. All
comments and any source code appreciated. Also I looked for DBTMA
code in NS2 but I could not find it.

Thanks in advance,
Mohammad NASSIRI



_
Find what you need at prices you’ll love. Compare products and save at MSN® 
Shopping. 
http://shopping.msn.com/default/shp/?ptnrid=37,ptnrdata=24102tcode=T001MSN20A0701




Re: [ns] Creating Relay Station

2007-02-27 Thread Naxo


I'm with the same problem, using RTP and AODV or DSDV. If anyone could help
us!!, and I need it for my final project :-S 
-- 
View this message in context: 
http://www.nabble.com/Creating-Relay-Station-tf3290784.html#a9156884
Sent from the ns-users mailing list archive at Nabble.com.



[ns] Disable ARP

2007-02-27 Thread Ahmad Khayyat

What is the easiest way to disable the use of the ARP protocol?
I guess the IP address corresponds to the MAC address in ns-2, doesn't
it? So how do I make the LL/ARP modules use it immediately without
using ARP?

I tried adding the following two lines at the top of
ARPTable::arpresolve(nsaddr_t dst, Packet *p, LL *ll)

mac_-hdr_dst((char*) HDR_MAC(p), dst);
return 0;

but that caused strange behaviour on rare occasions, where a packet
suddenly would appear in another far node. Playing with ARP doesn't
explain the problem for me, but somehow removing those two lines
gets rid of the strange behaviour. So, what is a proper way of
disabling ARP?

Thanks..
Ahmad



[ns] Routing problem in OBS extension

2007-02-27 Thread Nipatjakorn Kannasoot

Hi all,

I have a routing problem in OBS extension of Ns-2. Usually, when we don't
specify routing protocol to be used in the ns-2, the ns-2 will automatically
run static routing using shortest path algorithm and create routing table
for the simulation. In the OBS extension of ns-2, It defines its own
classifier (CoreClassifier) instead of using the normol classifier of the
node. Then It is replaced the normal classifier by the CoreClassifier by
using this tcl script

set cl [new Classifier/BaseClassifier/CoreClassifier]
$n set classifier_ $cl
[$n set classifier_] set address_ $nodeid

and I have to call the procedurebuild-routing-table created by the coder
of this extension in order to create normal routing table for static
shortest path

The problem is I want to run Link-state protocol instead of Static routing.
Then instead of calling the procedure build-routing-table, I use normal
ns-2 script to activate Link-state protocol, which is

$ns rtproto LS

But when I run it, it generate error message like this
*Scheduler:attempt to schedule the event with null handler.Don't do that*
I guess this is because the simulation have empty routing table -- routing
routing table is created yet


Re: [ns] urgent : problem in installing ns2

2007-02-27 Thread harpreet

  
hi 
i check the previsous tread i got only one similar tread 
http://mailman.isi.edu/pipermail/ns-users/2006-November/057980.html
but there is no solution for this proble.
if any body know how to solve this problem please help me...


On Tue, 27 Feb 2007 Matthias Kuhnert wrote :
Hi,

search the mailinglist, there were recently some similar problems posted with 
solutions. One time it had to do with different bash versions, some of which 
did not like a apostrophes at a certain place, or it was some incompatible 
compiler version

Greets,
  Matthias


 Original-Nachricht 
Datum: 27 Feb 2007 14:30:17 -
Von: harpreet [EMAIL PROTECTED]
An: ns_users ns-users@ISI.EDU
CC:
Betreff: [ns] urgent : problem in installing ns2

 
  hi
  i have older version of ns2 now i uninstall that and now when i try to
  reload ns2.30 or and then other earlier version too i am getting problem in
  installing i am following these steps to install these ns2 version.  it 
  gives
  me problem in tk file installation
 
 
  i am using fedora core 4 version for linux
  i logon as root
  userid root
  password   yourpassword
 
  Place ns-allinone-2.30.tar.gz file in the directory
  /usr/src
 
  Open a terminal window and move to the /usr/src directory
  cd  /usr/src
 
  Unpack this file using the command
  tar -xvzf ns-allinone-2.30.tar.gz
 
  This will unpack the files and create a new subdirectory
  /usr/src/ns-allinone-2.30
 
  Move into the new directory
  cd ns-allinone-2.30
 
  To compile the source files enter (dot slash install)
  The dot means use the current directory
  ./install
 
 
  and this finally gives me following error
 
 
  /usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1305: error:
  syntax error before ‘)’ token
  /usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1307: error:
  syntax error before ‘)’ token
  /usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1307: error:
  syntax error before ‘)’ token
  /usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1308: error:
  syntax error before ‘)’ token
  /usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c: In function
  ‘TkDebugBorder’:
  /usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1388: error:
  ‘borderPtr’ undeclared (first use in this function)
  /usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1391: error:
  invalid operands to binary *
  /usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1391: error:
  syntax error before ‘)’ token
  /usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1394: error:
  request for member ‘borderTable’ in something not a structure or
  union
  /usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1394: error:
  request for member ‘borderTable’ in something not a structure or
  union
  /usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1396: error:
  syntax error before ‘)’ token
  {standard input}: Assembler messages:
  {standard input}:13: Error: symbol `q' is already defined
  {standard input}:25: Error: symbol `q' is already defined
  {standard input}:31: Error: symbol `q' is already defined
  {standard input}:37: Error: symbol `p' is already defined
  {standard input}:79: Error: symbol `dy' is already defined
  {standard input}:85: Error: symbol `dx' is already defined
  make: *** [tk3d.o] Error 1
  tk8.4.13 make failed! Exiting ...
  For problems with Tcl/Tk see http://www.scriptics.com
 
 
 
  please help me in installing this. because i already uninstalled earlier
  version and i have to some urgent project work.
 
  thanks in advance
 
 
  harpreet singh

--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser


harpreet singh


[ns] how to implement umts patch in ns2

2007-02-27 Thread harpreet

  
hi
i am also want to know how to implement the umts patch in ns2. do i have to go 
to root for implementing patch or i can do it from user login. and which 
command i need to implement these patches.
thanks

harpreet singh