Re: [ns] Regarding capacity(Bottleneck) bandwidth estimation

2010-04-14 Thread Aurelien Lafranchise

Yes I can do that !

You need to modify the code where dijkstra is implemented. (route.cc)

Set the cost of the link to 1/BW

and in addition to $ns run you have to write your own proc run to call
the dijkstra like algorithm that calculate the bottleneck of the path
and try to  find the path where the bottleneck is max.

Aurélien


naveen gowda a écrit :
> Can u help me regarding this pls
>
> On Wed, Apr 14, 2010 at 11:00 AM, naveen gowda
> mailto:naveengowd...@gmail.com>> wrote:
>
> Its basically measuring capacity(bottleneck) bandwidth of targeted
> path segments..
>
>
>     On Tue, Apr 13, 2010 at 1:14 PM, Aurelien Lafranchise
>  <mailto:aurelien.lafranch...@ens-lyon.fr>> wrote:
>
> Hi,
>
> Is your problem related to the widest shotest path ? If yes I
> can help you.
>
> Aurélien
>
> naveen gowda a écrit :
> > Hi All,
> >
> > If any one worked or working with estimating bottleneck
> bandwidth of path
> > pls help me regarding this... I need tcl code of this..
> >
> > Thankin you
> > --
> > With regards
> > Navi
> >
>
>
>
>
> -- 
> With regards
> Navi
>
>
>
>
> -- 
> With regards
> Navi
>



Re: [ns] Regarding capacity(Bottleneck) bandwidth estimation

2010-04-13 Thread Aurelien Lafranchise

Hi,

Is your problem related to the widest shotest path ? If yes I can help you.

Aurélien

naveen gowda a écrit :
> Hi All,
>
> If any one worked or working with estimating bottleneck bandwidth of path
> pls help me regarding this... I need tcl code of this..
>
> Thankin you
> --
> With regards
> Navi
>   



[ns] Create a video from NAM

2010-04-12 Thread Aurelien Lafranchise

Hi all,

Nothing else to add !

Thanks



[ns] Visio shapes stencils

2010-03-11 Thread Aurelien Lafranchise

Hi All,

I was wondering if someone has some Visio shapes or stencils to draw a 
theoretical view of ns2 ? (like the figures in the doc)

Thanks
Aurélien



Re: [ns] Implementing a new protocol in NS2

2010-03-06 Thread Aurelien Lafranchise

Sorry I can't attach any files.

http://masimum.dif.um.es/nsrt-howto/pdf/nsrt-howto.pdf


Le 6 mars 2010 à 14:52, The Learner a écrit :

> 
> 
> Hi all.
> I am a newbie in NS2.
> I need your help in guiding me as to how should I implement my own protocol
> in Wireless sensor networks in NS2. How should I proceed ?
> What is it that I need to know priori implementation of new protocol.
> I know the scripting in tcl by reading the document -
> http://www.isi.edu/nsnam/ns/tutorial/
> but I am not clear with the C code it  uses to implement the new protocol in
> NS2.
> 
> Kindly guide me with the same asap.
> 
> Thank You.
> Regards,
> The Learner...
> -- 
> View this message in context: 
> http://old.nabble.com/Implementing-a-new-protocol-in-NS2-tp27803359p27803359.html
> Sent from the ns-users mailing list archive at Nabble.com.
> 




Re: [ns] Implementing a new protocol in NS2

2010-03-06 Thread Aurelien Lafranchise

Hi, I attached a file that I found a few weeks ago.



See you
Aurélien


Le 6 mars 2010 à 14:52, The Learner a écrit :

> 
> 
> Hi all.
> I am a newbie in NS2.
> I need your help in guiding me as to how should I implement my own protocol
> in Wireless sensor networks in NS2. How should I proceed ?
> What is it that I need to know priori implementation of new protocol.
> I know the scripting in tcl by reading the document -
> http://www.isi.edu/nsnam/ns/tutorial/
> but I am not clear with the C code it  uses to implement the new protocol in
> NS2.
> 
> Kindly guide me with the same asap.
> 
> Thank You.
> Regards,
> The Learner...
> -- 
> View this message in context: 
> http://old.nabble.com/Implementing-a-new-protocol-in-NS2-tp27803359p27803359.html
> Sent from the ns-users mailing list archive at Nabble.com.
> 



[ns] Problem when dumping classifiers

2010-03-02 Thread Aurelien Lafranchise

Hi all,

I dump my classifier at the same time than the finish procedure but I 
have only one slot for dmux_ but nothing else why ?
Do I launch the dump before the populate-flat-classifier ?
If so, how to launch it at the right time ?

I attach the dumping result and the routing tables. Tell me if you need 
more to understand.

Thanks for your appreciated help.

node 3
classifier _o21
0 offset
0 shift
2147483647 mask
1 slots
slot 3: _o146 (Classifier/Port)
-1 default

__
Dumping Routing Table: Next Hop Information
 0123   
0-121   
10-23   
201-3   
3112-   

Dumping Routing Table: Distance Information
 0123   
00112   
11011   
21101   
32110   



[ns] multiple classifiers and routing modules

2010-03-01 Thread Aurelien Lafranchise

Hi all,

I was wondering if it was possible to have more than one classifier
(like hash/fid and hash/dest) in one routing module ? If not do i have
to implement one classifier per routing module ?

What are the differences and the uses between the "hook" for the
classifiers and the "next_rtm" for the routing modules ?

How to use a routing module more than once in the same node ? and link
them ?

Thanks for your help !

Aurélien Lafranchise