Skip to content
Johannes Kampmeyer edited this page Jul 28, 2017 · 2 revisions

Pitfalls when using Containernet

Containernet on non-Ubuntu distributions:

  • Containernet uses the default open-vswitch controller, but assumes that it is run by "ovs-controller"

    • Newer ovs versions only supply the ovs-testcontroller, a possible dirty fix for this:

      ln -s /usr/bin/ovs-testcontroller /usr/bin/controller

  • Systems with python3 being used as main python interpreter tend to have problems

    • always run the scripts manually with python2 as most scripts assume that python2 is available under the python command (see shebang)
    • You cannot rely on the correctness of the Makefile as it also assumes python2 as the main interpreter. A possible workaround is just building mnexec (make mnexec) by hand as well as installing all dependencies via pip / distribution packages
Clone this wiki locally