[ns] how to run simulation 100 times in ns2

2010-01-27 Thread S.M.Mehdi Feiz

hi all

I want to run my simulation 100 times in ns2 and use the average performance 
parameters. However, I don't know how to do???
please, help me.

Mehdi Feiz 



  


[ns] How to detect the Misbehaving Nodes in MANET

2010-01-27 Thread 08DI005 resmybaby

Hi

 Anyone know any method to detect the misbehaviour of the Nodes in
MANET..any idea of implementing it in NS2..Plz reply

-- 
Resmy Baby
08DI005
NIE


[ns] IEEE WAVE and 802.11p Standard's Ability

2010-01-27 Thread Mustafa Kamal

Hi,


Can anyone tell me is IEEE WAVE and 802.11p standards offer V2V and I2V 
communications with either single-hop or multi-hop forwarding ability?
Any particular reference will be very much helpful in this regard.

Thanks in advance.
 
Regards,
Mustafa Kamal


  


[ns] class visibility issue

2010-01-27 Thread Atif Sharif

Hi all!

How can I come up with the issue of class visibility e.g. if I want to access 
the wireless-phy class protected parameters in in my routing agent class then 
by simply including the wireless-phy.h and calling the class reference didn't 
work (which is logically true from the C perspective) any idea to work for in 
NS? 


  


Re: [ns] Ns-users Digest, Vol 73, Issue 27

2010-01-27 Thread soni

Hi
 Can anyone provide me the code of any multicast routing protocols of
mobile ad hoc networks

Regards:
sunil soni

On Thu, Jan 28, 2010 at 6:30 AM, ns-users-requ...@isi.edu wrote:

 Send Ns-users mailing list submissions to
ns-users@isi.edu

 To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.isi.edu/mailman/listinfo/ns-users
 or, via email, send a message with subject or body 'help' to
ns-users-requ...@isi.edu

 You can reach the person managing the list at
ns-users-ow...@isi.edu

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Ns-users digest...


 Today's Topics:

   1. ping protocol ns2 implementation error (Frank Kitumba)
   2. how to run simulation 100 times in ns2 (S.M.Mehdi Feiz)
   3. How to detect the Misbehaving Nodes in MANET (08DI005 resmybaby)
   4. IEEE WAVE and 802.11p Standard's Ability (Mustafa Kamal)


 --

 Message: 1
 Date: Wed, 27 Jan 2010 02:50:10 -0500
 From: Frank Kitumba fkitu...@engineer.com
 Subject: [ns] ping protocol ns2 implementation error
 To: ns-users@ISI.EDU
 Message-ID: 8cc6d3c7ca3facf-1600-...@web-mmc-d05.sysops.aol.com
 Content-Type: text/plain; charset=us-ascii


  make: *** [common/scheduler] Error 1

 if any one has encountered this error before please let me know how to go
 about it.




  LIFE IS A GAME OF PREDETERMINED CHANCES; HARD WORK FOR GREAT WORK.
 ===
 (Currently Student) Masters in Communication and Information system
 Department of Electronics and Information Engineering,
 Huazhong University of science and Technology,
 No. 1037 Luoyu Road, Wuhan, Hubei, 430074, China



 --

 Message: 2
 Date: Wed, 27 Jan 2010 00:01:50 -0800 (PST)
 From: S.M.Mehdi Feiz smmf...@yahoo.com
 Subject: [ns] how to run simulation 100 times in ns2
 To: ns-users@ISI.EDU
 Message-ID: 423764.28917...@web62107.mail.re1.yahoo.com
 Content-Type: text/plain; charset=us-ascii

 hi all

 I want to run my simulation 100 times in ns2 and use the average
 performance parameters. However, I don't know how to do???
 please, help me.

 Mehdi Feiz





 --

 Message: 3
 Date: Wed, 27 Jan 2010 14:08:05 +0530
 From: 08DI005 resmybaby resmyb...@karunya.edu.in
 Subject: [ns] How to detect the Misbehaving Nodes in MANET
 To: ns-users@ISI.EDU
 Message-ID:
cdeaa50c1001270038n64c96d90we588becbfb6fe...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1

 Hi

 Anyone know any method to detect the misbehaviour of the Nodes in
 MANET..any idea of implementing it in NS2..Plz reply

 --
 Resmy Baby
 08DI005
 NIE


 --

 Message: 4
 Date: Wed, 27 Jan 2010 08:07:43 -0800 (PST)
 From: Mustafa Kamal contact.joar...@yahoo.com
 Subject: [ns] IEEE WAVE and 802.11p Standard's Ability
 To: NS2 Users ns-users@ISI.EDU
 Message-ID: 711592.87867...@web45614.mail.sp1.yahoo.com
 Content-Type: text/plain; charset=us-ascii

 Hi,


 Can anyone tell me is IEEE WAVE and 802.11p standards offer V2V and I2V
 communications with either single-hop or multi-hop forwarding ability?
 Any particular reference will be very much helpful in this regard.

 Thanks in advance.

 Regards,
 Mustafa Kamal




 --

 ___
 Ns-users mailing list
 Ns-users@isi.edu
 http://mailman.isi.edu/mailman/listinfo/ns-users


 End of Ns-users Digest, Vol 73, Issue 27
 




-- 
Thanks  Regards:


Sunil Kumar Soni
Asstt.Prof. - Deptt. of Computer Science
Email: sunilson...@gmail.com
Phone: +91-98725-00787
Fax: +91-172-5094173
www.sasiitmohali.com



[ns] Nakagami propagation model

2010-01-27 Thread Sergio Luis O. B. Correia

Hello,

I'm trying to use the Nakagami propagation model in NS2 but I am
unable to correctly set up its parameters to meet my requirements (I'd
like to be able to test it with different transmission ranges, such as
500m and 1km).
Can somebody help me with this?

Thanks in advance,
Sergio.
-- 
Computer Networks and Security Laboratory (LARCES)
State University of Ceara (UECE/Brazil)



Re: [ns] Ns-users Digest, Vol 73, Issue 27

2010-01-27 Thread Cesar Cardenas

2. how to run simulation 100 times in ns2 (S.M.Mehdi Feiz)

 --

 Message: 2
 Date: Wed, 27 Jan 2010 00:01:50 -0800 (PST)
 From: S.M.Mehdi Feiz smmf...@yahoo.com
 Subject: [ns] how to run simulation 100 times in ns2
 To: ns-users@ISI.EDU
 Message-ID: 423764.28917...@web62107.mail.re1.yahoo.com
 Content-Type: text/plain; charset=3Dus-ascii

 hi all

 I want to run my simulation 100 times in ns2 and use the average
 performance parameters. However, I don't know how to do???
 please, help me.

 Mehdi Feiz


Hi,
Take into account:

http://publik.tuwien.ac.at/files/pub-inf_4620.pdf

all the best!!!
César


[ns] Creating Wireless Network Topology

2010-01-27 Thread Manan Shah



Hi

I am preparing wireless network topology.
I want to add Antnet agent to mobile nodes so that output gives routing
table for each node as per Antnet Algorithm.
Here is the code given bellow.
can anybody help me??

  set val(chan) Channel/WirelessChannel ;#channel type

  set val(prop) Propagation/TwoRayGround;#radio-propagation model

  set val(netif) Phy/WirelessPhy ;# network interface type

  set val(mac) Mac/802_11  ;#MAC type

  set val(ifq) Queue/DropTail/PriQueue  ;#interface queue type

  set val(ll) LL   ;#link layer type

  set val(ant) Antenna/OmniAntenna;#antenna model

  set val(ifqlen) 50   ;#max packet in ifq

  set val(nn) 2  ;#number of mobilenodes

  set val(rp) AODV   ;#routing protocol

  set val(x) 500  ;#X dimension of the topography

  set val(y) 500  ;#Y dimension of the topography

#Define options:adhoc-routing protocol,network stack,channel,etc.

#create simulator

  set ns [new Simulator]

  set tracefd [open example2.tr w]

  $ns trace-all $tracefd

  set namtracefd [open example2.nam w]

  $ns namtrace-all-wireless $namtracefd $val(x) $val(y)

 #ns trace and nam trace are opened,all tracing is

  #enabled, annotates the nam trace with information
  #about the size of the topography(its x and y
  #dimensions)

  proc finish {} {

  global ns tracefd namtracefd

  $ns flush-trace

  close $tracefd

  close $namtracefd

  exec nam example2.nam 

  exit 0

  }

  #create a finish function. the traces are flushed

  #to disk before the simulator is halted,ns trace
  #and nam trace are closed

  set topo [new Topography]

  $topo load_flatgrid $val(x) $val(y)

  #set up topography object. Create a flat topology  in a x m * y m area

  create-god $val(nn)

  # Create a God(General Operations Director) Object
  #A God object must be created.It annotates trace logs with
  #information about the optimal number of hops from a source to a
destination,used for statistics and routing
  #protocol evaluations.

  $ns node-config -adhocRouting $val(rp)\
  -llType $val(ll)\
  -macType $val(mac)\
  -ifqType $val(ifq)\
  -ifqLen $val(ifqlen)\
  -antType $val(ant)\
  -propType $val(prop)\
  -phyType $val(netif)\
  -channelType $val(chan)\
  -topoInstance $topo\
  -agentTrace ON\
  -routerTrace ON\
  -macTrace OFF\
  -movementTrace OFF

  #Define how a mobile node is configured
  for {set i 0} {$i  $val(nn) } {incr i} {

  set node_($i) [$ns node]

  $node_($i) random-motion 0

  }

 for {set i 0} {$i  $val(nn)} {incr i} {

set   node_($i)  [new Agent/Antnet $i]
}
  #Use “for” loop to create two nodes attach it to the channel disable
random motion

  $node_(0)  set X_ 5.0

  $node_(0)  set Y_ 2.0

  $node_(0)  set Z_ 0.0

  $node_(1)  set X_ 390.0

  $node_(1)  set Y_ 385.0

  $node_(1)  set Z_ 0.0

  $ns at 50.0 $node_(1) setdest 25.0 20.0 15.0

  $ns at 10.0 $node_(0) setdest 20.0 18.0 15.0

  $ns at 100.0 $node_(1) setdest 490.0 480.0 15.0

  #Node position defined in a 3-D model

  #However z axis not used to create Node movement

  set tcp [new Agent/TCP]

  $tcp set class_ 2

  set sink [new Agent/TCPSink]

  $ns attach-agent $node_(0) $tcp

  $ns attach-agent $node_(1) $sink

  $ns connect $tcp $sink

  set ftp [new Application/FTP]

  $ftp attach-agent $tcp

  $ns at 10.0 $ftp start“

  #creating a TCP connection from node_(0) to node_(1),setup

  # a FTP traffic flow at time 10.0

  for {set i 0} {$i  $val(nn)} {incr i} {

   $ns at 150.0 $node_($i) reset;

  }

  #Print routing tables generated by AntNet

  for {set i 0} {$i  $nn} {incr i} {

$ns at 12.0 $node_($i) print_rtable
  }


  # Tell nodes when the simulation ends

  $ns at 150.0 finish

  #run the finish function at 150.0

 $ns run ;# Start simulation
 





-

Thanks and Regards,
Manan Shah
09924038427
-- 
View this message in context: 
http://old.nabble.com/Creating-Wireless-Network-Topology-tp27334847p27334847.html
Sent from the ns-users mailing list archive at Nabble.com.




Re: [ns] Nakagami propagation model

2010-01-27 Thread Jonathan Petit


Hi,

This paper may help you: A comparative analysis of DSRC and 802.11 over
Vehicular Ad hoc Networks from Arijit Khan, Shatrugna Sadhu, and
Muralikrishna Yeleswarapu

They give some Nakagami parameters for NS2. Moreover they proposed another
paper Overhaul of IEEE 802.11 Modeling and Simulation in NS-2 (802.11Ext)
which give details on Nakagami parameters: gamma0, gamma1, gamma2,
d0_gamma_, d1_gamma_, m0, m1, m2, d0_m, d1_m, use_nakagami_dist_

You should test with different values of d0, d1 and analyze the impact.

Please, don't forget to give us your NS2 Nakagami parameters once done. It
could be very useful for everybody who wants to use Nakagami propagation
model.

Jonathan Petit.


Sergio Luis O. B. Correia wrote:
 
 
 Hello,
 
 I'm trying to use the Nakagami propagation model in NS2 but I am
 unable to correctly set up its parameters to meet my requirements (I'd
 like to be able to test it with different transmission ranges, such as
 500m and 1km).
 Can somebody help me with this?
 
 Thanks in advance,
 Sergio.
 -- 
 Computer Networks and Security Laboratory (LARCES)
 State University of Ceara (UECE/Brazil)
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Nakagami-propagation-model-tp27350767p27351902.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] How to debug modified protocol!

2010-01-27 Thread Thien Long

Hi ns-users,

I try to modify a MAC protocol (.cc and .h), when I want to see how it operate 
by debug. Currently, I just know the way which use to debug is to reinstall 
ns2. please tell me if you have a better way to debug modified file.

Thanks!

 ==
Võ Quốc Trình



  quot;Yahoo! Mail nay nhanh và nhiều không gian thoáng hơn. Hãy trải 
nghiệm ngay hôm nay! 
http://vn.mail.yahoo.comquot;

Re: [ns] IEEE WAVE and 802.11p Standard's Ability

2010-01-27 Thread Jonathan Petit


Hi,

Is your question: Is WAVE standards (1609.x) talking about forwarding model
for V2V (or I2V)?
If yes, then I didn't found into WAVE standards any details on the
forwarding model. We just know that WSM are broadcasted (one-hop
broadcast?). There is a lot of works on multi-hop and single-hop forwarding.
So, I guess that WAVE standards have one-hop and multi-hop forwarding
ability.

Hope it helps.

Jonathan Petit.
 

joarder wrote:
 
 
 Hi,
 
 
 Can anyone tell me is IEEE WAVE and 802.11p standards offer V2V and I2V
 communications with either single-hop or multi-hop forwarding ability?
 Any particular reference will be very much helpful in this regard.
 
 Thanks in advance.
  
 Regards,
 Mustafa Kamal
 
 
   
 
 

-- 
View this message in context: 
http://old.nabble.com/IEEE-WAVE-and-802.11p-Standard%27s-Ability-tp27342154p27351904.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] Antnet Protocol

2010-01-27 Thread Manan Shah


Hi
i am working on Ad Hoc Network using Antnet Algorithm.

Can anybody have a tcl file for routing in Ad hoc Network using Antnet
Algorithm or any idea regarding that???

-

Thanks and Regards,
Manan Shah
09924038427
-- 
View this message in context: 
http://old.nabble.com/Antnet-Protocol-tp27351906p27351906.html
Sent from the ns-users mailing list archive at Nabble.com.