Wireless Switch. Is it present in NS3 ?

222 views
Skip to first unread message

karthik karra

unread,
Jun 3, 2016, 8:21:39 AM6/3/16
to ns-3-users
In NS3 is there a module or functionality which can be used as "Wireless Switch" or any combination of present modules. Is this possible ? or Is it present ?(of course I have searched I didn't find any. Just for confirmation. Didn't want to regret later.)

Tommaso Pecorella

unread,
Jun 3, 2016, 5:00:47 PM6/3/16
to ns-3-users
What do you mean by "wireless switch" ?

T.

karthik karra

unread,
Jun 4, 2016, 6:21:47 AM6/4/16
to ns-3-...@googlegroups.com
Hi,
Actually, the topology I am trying to build contains a open flow controller interacting with 2 APs. In NS3, we have a switch in between APs and controller.

But the author whose paper I am trying to build has told me that in the simulator he has done(I think Omnet++) has connected the open flow controller directly to wireless switches(acting as APs) and in turn these switches connecting to mobile nodes.

In this scenario as the controller has to take the decision for nodes it directly sends to switch and switch to mobile node(In case of Omnet++)

But in NS3 if I need to do(I think there is no other way though not sure!!!) the controller to switch, switch to AP and then AP to mobile node.

Thanks,
Karra.

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/eiOk1VI-u54/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

Tommaso Pecorella

unread,
Jun 4, 2016, 8:08:24 PM6/4/16
to ns-3-users
Hi,

I don't know what the goals of the paper are, but the different implementation may lead to completely different results.
As an example, AP in ns-3 can link the wireless and wired ports through L3 (the normal behavior) or L2 (by using the Bridge NetDevice).
However, the result will be always slightly different than what you can have by using two switches and one OpenFlow controller.
There's a new OpenFlow implementation for ns-3 (it has been announced in this list, search for it). Maybe it supports your configuration. Try asking its dev.

Cheers,

T.

karthik karra

unread,
Jun 5, 2016, 4:03:37 AM6/5/16
to ns-3-...@googlegroups.com
Thanks for the reply.

I think you are talking about this one "
OFSwitch13: Enhancing ns-3 with OpenFlow 1.3 Support".

I found this in ACM DL as well as in ns3 google group(Are you referring ns3 google group as list?)

Tommaso Pecorella

unread,
Jun 5, 2016, 5:07:44 PM6/5/16
to ns-3-users
Yes. The author did release the code, but I don't know if it supports your scenario.

T.

Luciano Jerez Chaves

unread,
Aug 15, 2016, 3:51:55 PM8/15/16
to ns-3-users
Hi,

The OFSwitch13 module has never been tested with wireless APs or something like that. It was designed to use CsmaNetDevices as switch ports. However, I think it can be possible to replace the CsmaNetDebives by any other NetDevice that uses ethernet frames. The changes performed in the CsmaNetDevice to integrate it to the module are available in the patch under 'utils' source code directory (mainly a new trace source on the CsmaNetDevice). You can check the code and modify the AP device to see what happens. 

Cheers,
Luciano.

Moritz S

unread,
Mar 25, 2017, 5:16:40 AM3/25/17
to ns-3-users
Hi,
sorry for warming this thread up but did anybody try exchanging the csma device with wifi? I am currently thinking about moving my simulations from a mininet+ns-3 environment to pure ns-3 environment to avoid certain limitations. The OFSwitch13 module would be awesome to simulate OF-managed wireless backbone meshs.

Also: Did someone try implementing In-Band ?
Reply all
Reply to author
Forward
0 new messages