[ns] simulate an access point
mahrenho at ivs.cs.uni-magdeburg.de
Fri Apr 21 10:21:00 PDT 2006
Hai Nam schrieb:
> I've installed and used NS-2 to test a protocol in ad hoc network.
> However, there're also AP (Access Points) in this network to provide
> connection to exterior. The problem is that I don't know how to
> simulate an AP. I tried to search on the web and the only example is
> at http://mailman.isi.edu/pipermail/ns-users/2005-June/050548.html but
> I don't understand the reply in that thread. Taking a look at
> ~ns/tcl/lib/ns-mobilenode.tcl I found nothing to make a MN become an
> AP (from line 55: Node/MobileNode instproc init args).
> Might anyone tell me, or give me a link, how to make a MN become an AP ?
It is a little unclear to me what you are trying to accoumplish. Do you
need a single node that runs as AP and in ad hoc mode at the same time?
This is not very realistic if we assume a node with a single
transmitter. Or do you need to switch between these two modes dynamically?
For an example how to create an AP you should take a look on the
More information about the Ns-users