List of Topics:
Research Breakthrough Possible @S-Logix pro@slogix.in

Office Address

Social List

How to Run Linear and Tree Topology in Mininet-Wifi?

run-linear-and-tree-topology-in-mininet-wifi

Step by Step Run Linear and Tree Topology in Mininet-Wifi

  • 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
  • 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,
    run-linear-and-tree-topology-in-mininet-wifi-1
  • sudo mn --controller=remote,ip=127.0.0.1 --mac -i 10.1.1.0/24
    --switch=ovsk,protocols=OpenFlow13 --topo=linear,4

    run-linear-and-tree-topology-in-mininet-wifi-2

Tree Topology
  • 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,
    run-linear-and-tree-topology-in-mininet-wifi-3
  • sudo mn --controller=remote,ip=127.0.0.1 --mac -i 10.1.1.0/24 --topo=tree,depth=2,fanout=3
    run-linear-and-tree-topology-in-mininet-wifi-4