hi,
For MANET simulations refer the following link
http://www.isi.edu/nsnam/ns/tutorial/
and look at IX and XI sections.......................
>
> Message: 2
> Date: Wed, 26 Sep 2007 19:52:01 -0700 (PDT)
> From: Gabrial Monty <[EMAIL PROTECTED]>
> Subject: [ns] About random mobility of wireless nodes
> To: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=iso-8859-1
>
> Hi all,
>
> I am trying to simulate the an ad hoc network using the random mobility
> model for the wireless nodes. I have enabled the random motion as follows:
>
> $node_($i) random-motion 1
> $node_($i) start
>
> It works and give me results (eagrding the aggregate throughput) but the
> mobility of nodes and the generated traffic are not captured or recorded in
> the nam trace, where the nodes are appear static and no traffic is shown. I
> have added the following line:
>
> $node_($i) namattach $namtrace
>
>
> but nothing change, How can I make nam display the exact scenario with
> the mobility of nodes?
>
> thanx in advance for your help.
>
>
>
>
> Message: 4
> Date: Thu, 27 Sep 2007 11:26:43 +0800
> From: "Wen Yuanfeng" <[EMAIL PROTECTED]>
> Subject: [ns] Can someone share me with a tutorial about MANET
> simulation with NS2
> To: <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="ISO-8859-1"
>
> Hi, All
>
> I am a new guy to NS2. And my current job is related to the simulation
> of MANET
> Could someone share me a demo of MANET simulation, and a tutorial is
> appreciated.
>
> Thanks in advance
>
>
>
> -
> ------------------------------
>
> Message: 9
> Date: Thu, 27 Sep 2007 09:13:31 -0400
> From: Claus Christmann <[EMAIL PROTECTED]>
> Subject: Re: [ns] About random mobility of wireless nodes
> To: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> HI Gabrial,
>
> I am not sure if nam is the perfect way to look at your wireless
> scenario. As far as I know, nam is not really supporting motion...
>
> Also, do you have the following line in you node-config?
>
> $ns_ node-config -movementTrace ON
>
> Hope that helps.
>
> Claus
>
> Gabrial Monty wrote:
> > Hi all,
> >
> > I am trying to simulate the an ad hoc network using the random
> mobility model for the wireless nodes. I have enabled the random motion as
> follows:
> >
> > $node_($i) random-motion 1
> > $node_($i) start
> >
> > It works and give me results (eagrding the aggregate throughput) but
> the mobility of nodes and the generated traffic are not captured or recorded
> in the nam trace, where the nodes are appear static and no traffic is shown.
> I have added the following line:
> >
> > $node_($i) namattach $namtrace
> >
> >
> > but nothing change, How can I make nam display the exact scenario with
> the mobility of nodes?
> >
> > thanx in advance for your help.
> >
> >
> > ---------------------------------
> > Take the Internet to Go: Yahoo!Go puts the Internet in your pocket:
> mail, news, photos & more.
>
>
>