Mininet-WiFi in a cluster

67 views
Skip to first unread message

Alessandro Iodice

unread,
Jun 6, 2022, 5:59:53 AM6/6/22
to mininet-wifi-discuss
Good morning, 

I would like to create a mesh network among nodes in a cluster. As these nodes have not a wireless interface I was wondering if it was possible to use the cluster.py example (that I noticed today was deleted from the Mininet-WiFi fork) in order to emulate a station in each node. Let's suppose that I have 2 machines, I successfully created an host for each one and the 2 hosts were connected through a ssh tunnel. All worked fine. Now, I would like to do the same with 2 stations. Till now I was able to move one station to the second machine, but I was having troubles assigning the wireless interface to that station (net.configureWifiNodes() is where the code creating the net gives problems). So, before going on trying to modify the code inside the folder mn_wifi, I would like to know if it can work or not.

Thank you for your time,
Alessandro

Ramon Fontes

unread,
Jun 6, 2022, 6:03:12 AM6/6/22
to Alessandro Iodice, mininet-wifi-discuss
Hi Alessandro,

Honestly, I've never tried such a scenario. Not sure if this work because they will be connected via cables after all.

Sent from my android

--
You received this message because you are subscribed to the Google Groups "mininet-wifi-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mininet-wifi-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mininet-wifi-discuss/aeb06032-cd7f-4167-a844-e749f3ae4f9dn%40googlegroups.com.

Alessandro Iodice

unread,
Jun 6, 2022, 6:15:11 AM6/6/22
to mininet-wifi-discuss
Hi, 

Thank you for your feedback. My main doubt was about how these stations could talk and I was not sure that the wmediumd could been have propagated to the second machine too. 

Ramon Fontes

unread,
Jun 6, 2022, 6:20:04 AM6/6/22
to Alessandro Iodice, mininet-wifi-discuss
Yes! I think that this should work when 2+ machines are wirelesly connected but each machine with its own wmediumd instance.

Sent from my android

Alessandro Iodice

unread,
Jun 6, 2022, 6:41:12 AM6/6/22
to mininet-wifi-discuss
Ok, so this can work only if both the machines already have a wireless module right?

Ramon Fontes

unread,
Jun 6, 2022, 6:42:16 AM6/6/22
to Alessandro Iodice, mininet-wifi-discuss
Yes. In my opinion this is a requirement.

Sent from my android

Alessandro Iodice

unread,
Jun 6, 2022, 6:44:23 AM6/6/22
to mininet-wifi-discuss
Ok! Thank you so much for your time and have a good day!

Alessandro Iodice

unread,
Jun 9, 2022, 12:57:54 PM6/9/22
to mininet-wifi-discuss
Dear Ramon,

I would like to go into more detail about our configuration so that you can better understand what the goal of our analysis is and how we intend to exploit Mininet-WiFi Cluster Edition. Our cluster consists of 6 nodes connected via Ethernet. Each node in the cluster will have an emulated station operating in an emulated wireless mesh network. I am studying the profiling of the kernel modules involved in running the above wireless mesh network and their performance by exploiting perf. To measure the profiling and performance of each emulated station, I should set each emulated station to use the wireless kernel modules of each node in the cluster. As I understand it, there is only one instance of Mininet-WiFi Cluster Edition running on top of one cluster node (i.e., the master node) and each emulated station is then moved on top of the other cluster nodes (i.e., the slave nodes).

Do an emulated station use kernel modules and resources of a slave node to manage the wireless mesh network?

Or each slave node can emulate only the application layer, and the master node is the only one that should manage the kernel modules to provide the wireless mesh connectivity among the different emulated stations?

The cluster nodes do not have a WiFi chip, and that is why I would like to use Mininet-WiFi.

Is it still possible to create the emulated stations on machines without a wireless interface, using an emulated interface by taking advantage of the mac80211_hwsim kernel module?

Thank you in advance for your kind help and support.

Best regards,

Alessandro

Ramon Fontes

unread,
Jun 11, 2022, 9:35:02 AM6/11/22
to Alessandro Iodice, mininet-wifi-discuss
Do an emulated station use kernel modules and resources of a slave node to manage the wireless mesh network? Or each slave node can emulate only the application layer, and the master node is the only one that should manage the kernel modules to provide the wireless mesh connectivity among the different emulated stations?

I think we can have both scenarios but I like the idea of having a master node managing the kernel modules. Honestly, I've never tried such a scenario and I have to think more about it.


> Is it still possible to create the emulated stations on machines without a wireless interface, using an emulated interface by taking advantage of the mac80211_hwsim kernel module?

Do you mean without a physical wireless interface? Yes, for sure.
Reply all
Reply to author
Forward
0 new messages