Description:
Mininet-WiFi is an open-source platform to emulate wireless OpenFlow/SDN scenarios allowing high-fidelity experiments that replicate real networking environments. SDN design that runs on Mininet can easily be transferred to hardware Open-Flow Switches for line rate packet forwarding. Here, the topology contains n switches and n hosts, creating a link between each switch and each host among the switches. The below sample provides a crisp explanation of how to run the Linear Topology and Tree Topology in Mininet-Wifi.
Linear topology contains n-number of switches having n-number of hosts linked to switches in linear order. We can run this topology by writing the following command in a terminal window,
sudo mn --controller=remote,ip=127.0.0.1 --mac -i 10.1.1.0/24
--switch=ovsk,protocols=OpenFlow13 --topo=linear,4
Tree topology contains n-level switches and hosts attached to lower-level switches. To run this topology, use the following command in a terminal window,
sudo mn --controller=remote,ip=127.0.0.1 --mac -i 10.1.1.0/24
--topo=tree,depth=2,fanout=3