[ns] 802.11 Infrastructure mode and Beacons Implementation

2007-02-14 Thread Ilango Purushothaman

Hi people,
   I am Ilango Purushothaman, a Masters student from University of Washington, 
Seattle. I am currently looking to fix some of ns2's 802.11 bugs/issues. Most 
importantly, I am trying to implement a more complete 802.11 infrastructure 
mode, (the current support being primitive). 

I am follwing a step-by-step plan for implementing functionalities of 
Authentication,Association, Beacon frames etc. (In the sense, automatic 
association is the 1st stage,with rejection of packets from non-associated 
nodes and then adding complexities, one by one).

If there is anyone, who has worked on implementing 802.11 infrastructure mode 
and beacon frames, I would be glad to hear their experience- the roadmap of 
implementation, problems faced etc.

Please do respond, fellow ns users and developers.

Thanks,
Ilango Purushothaman


Research Assistant, 
Fundamentals of Networking Laboratory, Dept of EE,
University of Washington,
Seattle.


[ns] Implementing a New Manet Unicast Routing Protocol

2007-02-14 Thread Wissam El-Mallah



Hi Francisco and all ns users,

The value of the variables within a Broadcast message emitted by a node don’t
change when a node receive such message. The problem is only in the value of
the local variables of each node when they receive the message. They are
affected by the reception of such a message. They are not the same ones that
before the reception.

After testing my code I found that the value of (this) of each node changes when
they receive a message.  I tried to access, in stupid way :), the value of the
local variables using the original value of (this). It gives me the right value
of the local variables. Does u think that the problem is because of (this)? If
yes, how I can solve the problem ?

Regards,
Wissam

Selon "Francisco J. Ros" <[EMAIL PROTECTED]>:

>
> Hi,
>
> If I understood well, you mean that the value of the variables within a
> message change when a node receive such message, right? That could happen if
> you modifiy a header (.h) file and don't recompile all the source files which
> are including it. Try a 'make clean && make'.
>
> Hope this helps.
>
> Regards,
> fran
>
> On Friday 09 February 2007 22:19, Wissam El-Mallah wrote:
> > Hello,
> >
> > I used the following guide to implement my routing protocol:
> >
> > -- Implementing a New Manet Unicast Routing Protocol in NS2 --
> >
> > It work ok, but I have a problem when I receive a Broadcast message emitted
> > by the other nodes. All my protected variables are affected by the
> > reception of such a message. They are not the same ones that before the
> > reception.
> >
> > Is it because of wrong pointing or there is more changes to made in NS-2
> > files that are not motioned in the above guide.
> >
> > Please inform me if you have an idea on this problem
> > Thank you,
> > Wissam
>
>




[ns] MATLAB and ns-2

2007-02-14 Thread Dan Dechene

Hi all,

 

I am starting to work on integrating MATLAB with ns-2 in order to utilize
some of the computational features in MATLAB that are just not simple to
implement in C. Before I started I just wanted to find out if anyone out
there in the community has had any experience with accessing the MATLAB API
from ns-2 and what types of problems that you have encountered.

 

Thanks.

 

Dan

 



[ns] Load Balancing in ns2

2007-02-14 Thread Bruno Plattek

I'm modelling a core network wired scenario.  At this time I want to
implement/use any load-balancing algorithm/function.
But I could not find any reference at the internet for the ns2...

Does anybody has any hint for solving this issue?

I would be very grateful for any info ;-)


Re: [ns] Implementing a New Manet Unicast Routing Protocol

2007-02-14 Thread Wissam El-Mallah

Hi Francisco and all ns users,

The value of the variables within a Broadcast message emitted by a node don’t
change when a node receive such message. The problem is only in the value of
the local variables of each node when they receive the message. They are
affected by the reception of such a message. They are not the same ones that
before the reception.

After testing my code I found that the value of (this) of each node changes when
they receive a message.  I tried to access, in stupid way :), the value of the
local variables using the original value of (this). It gives me the right value
of the local variables. Does u think that the problem is because of (this)? If
yes, how I can solve the problem ?

Regards,
Wissam

Selon "Francisco J. Ros" <[EMAIL PROTECTED]>:

>
> Hi,
>
> If I understood well, you mean that the value of the variables within a
> message change when a node receive such message, right? That could happen if
> you modifiy a header (.h) file and don't recompile all the source files which
> are including it. Try a 'make clean && make'.
>
> Hope this helps.
>
> Regards,
> fran
>
> On Friday 09 February 2007 22:19, Wissam El-Mallah wrote:
> > Hello,
> >
> > I used the following guide to implement my routing protocol:
> >
> > -- Implementing a New Manet Unicast Routing Protocol in NS2 --
> >
> > It work ok, but I have a problem when I receive a Broadcast message emitted
> > by the other nodes. All my protected variables are affected by the
> > reception of such a message. They are not the same ones that before the
> > reception.
> >
> > Is it because of wrong pointing or there is more changes to made in NS-2
> > files that are not motioned in the above guide.
> >
> > Please inform me if you have an idea on this problem
> > Thank you,
> > Wissam
>
>





[ns] Access from wireless MAC layer to a node variable

2007-02-14 Thread Trost Stefan

Hi all,
 
I have the following problem:
 
I wand to bind a variable through TCL to the a node (This variable should be
different for every node). 
Afterwards I want to access that variable (for a simple if/else check) from
the wireless MAC layer.
 
As I'm using the Multi channel extension, I cannot simply add that parameter
to the MAC Layer directly. (Which would make the integration a much easier.)
 
Does anyone have an idea, through what class/superclass, the MAC layer is
connected to the node? Or where/how I have to add a parameter to the node
that can be accessed from the MAC?
 
I would be happy about every suggestions!
 
Thanks Stefan
 
 


Re: [ns] help to install ns-allinone-2.1b8a.tar.gz

2007-02-14 Thread White Kitty

Hello
Can you tell me on which platform are u trying to install NS2.1b8a bcoz the
error in tcl-mappings is in case of non-compatibility of the platform.
If u r using linux then it is completely compatible with Red Hat 7.2
I hope it works



On 2/13/07, roger juan huanca sevilla <[EMAIL PROTECTED]> wrote:
>
>
> Hi everyone
> I need to install ns-allinone-2.1b8a but when I executed the install
> script I obtain this errors:
>
> ./install
> ...
> ...
> ...
> tclcl-mappings.h: In static member function 'static int
> TclObjectHelper::dispatch_(void*, Tcl_Interp*, int, char**)':
> tclcl-mappings.h:51: error: se utilizó el tipo incompleto 'Tcl' en un
> especificador de nombre anidado
> 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: *** [Tcl.o] Error 1
>
> when the application is trying to build the tclcl something is wrong.
>
> Regards
>
>


[ns] Wireless Scenario

2007-02-14 Thread [EMAIL PROTECTED]

How can i put my base station in the centre of scenario and the other 
stations around the base in order to obtain a ring scenario?
Thanks


Naviga e telefona senza limiti con Tiscali 
Scopri le promozioni Tiscali adsl: navighi e telefoni senza canone Telecom

http://abbonati.tiscali.it/adsl/



[ns] 802.11 mac 54mb parameters

2007-02-14 Thread [EMAIL PROTECTED]

Hello ns-users.
Where can I find parameters for 802.11 and 802.11e mac at 54mb?
Thanks


Naviga e telefona senza limiti con Tiscali 
Scopri le promozioni Tiscali adsl: navighi e telefoni senza canone Telecom

http://abbonati.tiscali.it/adsl/



[ns] Bug in NS2's 802.15.4 implementation?

2007-02-14 Thread mukul



- Forwarded message from [EMAIL PROTECTED] -
Date: Wed, 14 Feb 2007 11:34:15 -0600
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
 Subject: Bug in NS2's 802.15.4 implementation?
  To: ns-users@isi.edu

Hi,

It looks like there may be a bug in Mac802_15_4::mlme_associate_response
function. The transaction corresponding to an association response is being
scheduled to expire after 2*aResponseWaitTime (or macResponseWaitTime)
duration. As per the standard, any transaction should expire only after
macTransactionPersistenceTime duration as is being done in
Mac802_15_4::mcps_data_request function.

I was wondering why the association response transaction is made to expire so
soon (2*aResponseWaitTime is way smaller than macTransactionPersistenceTime).
Is it a bug or there is some other explanation?

Thanks,
Mukul


- End forwarded message -





Re: [ns] Is FTP traffic over TCP connection uses always the same route?

2007-02-14 Thread Filippos Kolovos

-
You could define the routing protocol to use
during the simulation, at the start of the tcl script
with the $ns rtproto command.
Then you could see what happens when changing the queue limits and
sizes.

NS, by default uses static routing with all routes pre-calculated
before the start of the simulation and hence the traffic follows
always the same route.

In addition you could simulate a drop of one or more lines by using the
dynamic models
of NS and in that case if you use a dynamic routing protocol you will see
the traffic changing
route, while if not the traffic will experience a major "packet drop" at the
precalculated intermediate node.

-Fk

On 2/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:
>
> -- Forwarded message --
> From: "Dr. Mohamed Ben Othman" < [EMAIL PROTECTED]>
> To: 
> Date: Tue, 13 Feb 2007 11:10:47 -0500
> Subject: [ns] Is FTP traffic over TCP connection uses always the same
> route?
> Dear all,
>
>
>
> I have a topology of 6 nodes: a src, dst and 4 connected routers:
>
> Src connected to r1
>
> Dst connected to r4
>
>
>
> r1 connected to r2 and r3
>
> r2 connected to r4
>
> r3 connected to r4
>
>
>
> Src  r1 r2
>
>|   |
>
>R3---r4---dst
>
>
>
> I sent traffic from src to dst and monitored the different queues. The
> problem is that the traffic always passes through r1, r2 and then r4.
>
> The queue of r3 is always empty.
>
> I tried to modify the queues sizes, the delay etc but I didn't succeed.
>
> I thought that TCP connection may take more than one route and the traffic
>
> passes via all possible routes.
>
> Can anyone help me.
>
> Thank you.
>
> Mohamed ben Othman
>
>
>
>
>
> --===0022760753==--
> ___
> Ns-users mailing list
> Ns-users@isi.edu
> http://mailman.isi.edu/mailman/listinfo/ns-users
>
>


-- 
Filippos N Kolovos

Software Systems Analyst & Engineer
M.Sc. (Eng.) in Data Communications

Automation & Networking Department
University of Macedonia Library
Egnatia 156, P.O.Box 1591
540 06 Thessaloniki, Greece

E-Mail: [EMAIL PROTECTED],
   [EMAIL PROTECTED]
---