
Wireshark is installed by default in the Mininet VM images. If Wireshark is not installed (command not found error) It is likely that this will not work immediately, so please read the following sections. To view control traffic using the OpenFlow Wireshark dissector, first open wireshark in the background: $ sudo wireshark & This walkthrough will cover typical usage of the majority of options listed. Type the following command to display a help message describing Mininet’s startup options: $ sudo mn -h Let’s get started with Mininet’s startup options. (and then press return, of course!) Display Startup Options In each case, you should only type the command to the right of the prompt # preceeds Linux commands that are typed at a root shell prompt.mininet> preceeds Mininet commands that should be typed at Mininet’s CLI,.$ preceeds Linux commands that should be typed at the shell prompt.Part 1: Everyday Mininet Usageįirst, a (perhaps obvious) note on command syntax for this walkthrough: Tag to see code (including code in examples) which is consistent You check out Mininet from source, you may wish to check out the 2.0.0d4 Note: If you are using the Ubuntu Mininet 2.0.0d4 package, it uses a slightlyĭifferent syntax for Topo() - e.g. Part 3: Mininet Command-Line Interface (CLI) Commands.Everything in its own Namespace (user switch only).Fixing error: “ Could not load the Qt platform plugin "xcb"”.




The walkthrough assumes that your base system is the Mininet VM, or a native Ubuntu installation with all OpenFlow tools and Mininet installed (this is usually done using Mininet’s install.sh). This walkthrough demonstrates most Mininet commands, as well as its typical usage in concert with the Wireshark dissector.
