Mininet commands
Mininet is a great tool for virtualizing the OpenFlow lab. As discussed before, Mininet is a wrapper over multiple tools, such as OVS, and Linux containers. It allows you to create different configurations and labs using virtual switches.
Mininet has lots of commands and CLI arguments; we will cover only the relevant ones here:
- Arguments
--Topo
Topo is used to tell Mininet what kind of topology to build. There are predefined topologies in Mininet, such as linear, tree, and minimal; also, you can create and define your own topology using a script.
Linear and tree topologies are good topologies to use when running Mininet labs.
--mac
This argument generates the host's MAC addresses based on the host ID; it is very useful for debugging and testing.
-v debug
This argument is used for debugging the output of Mininet. If you start Mininet with this option, it starts generating lots of debug output to help you understand what's going on behind the Mininet wrapper.
--arp
This argument tells...