labs.beatcraft.com
OpenFlow

OpenFlow/mininet

To download mininet, please visit the URL below.
http://mininet.org/

mininet is a virtual network, which is established on a Linux environment. mininet consists of OpenFlow switches, OpenFlow controller, and a host, which is connected to switches. This virtual network environment allows to develop and test OpenFlow. Since mininet can be established on a Linux, which is running on a VM, the use of mininet is the simplest way to experiment how OpenFlow works on a network that highly resembles a working condition.

mininet setup

mininet's site distributes a VM, which is pre-configured for using mininet. The site recommend this VM for use. However, to understand all installed applications and to individually set up a network, the manual installation of mininet is recommended.

Go to http://mininet.org/download/, and perform Opetion 2: Native Installation on Ubuntu 12.04 LTS, which is established on a VMware, a VM.

This assumes that users install Ubuntu 12.04 Desktop amd64 on a VM, which VMware Player has created. Since it is used for a network environment, a server version is usually selected in such a case. However, since the analysis of network performance is measured by Wiredshark, the operation and analysis of a network is done by the same and single machine. Therefore, in this case, the desktop version is used.

Obtain a whole set of the source of mininet.

Code and Commands> The installation process is followed by the script of mininet/util/install.sh -a
Please refer the details of the installation process to the script of mininet/util/install.sh.

To select install.sh -a, the parts are listed below are executed.

kernel install

kernel can be installed without any modification. The default kernel of Ubuntu 12.04 is version 3.2. This kernel supports the process-based network virtualization capabilities, which is required for running mininet.

Configuration of mininet

To install the packages, which are required for building and executing mininet.

Code and Commands>

Configuration of susctl

Add environment configurations for the network. (Increase network buffer.)

Code and Commands> Build and install mininet

Code and Commands>

Install the reference implementation of OpenFlow

Install the packages, which are required for building and executing the reference implementation of OpenFlow.

Code and Commands> Install build the reference implementation of OpenFlow.

Code and Commands>

Delete avahi-daemon

To prevent unnecessary communications happening, avahi-daemon is deleted.

Code and Commands>

Make IPv6 ineffective

Since only OpenFlow 1.2 or later Supports IPv6, make IPv6 ineffective.

Code and Commands>

Install Wireshark

Install Wireshark and the plugins for Wireshark. The plugins are used for analyzing OpenFlow.

Code and Commands>

Install Open vSwitch

Since Ubuntu 12.04 includes Open vSwitch packages, it is installed from the package rather than form its source.

Code and Commands> After the installation is completed, to change the setting Open vSwitch to boot from mininet, the configuration of the daemon, which is specifically used during the booting time, should be suspended and disabled temporarily.

Code and Commands>

Install POX

POX is installed for using as the controller of OpenFlow. PDX is just a python script, it should be placed at the certain directory. The specific installation is not required.

Code and Commands>

Install OFTest

OFTest is a test tool for OpenFlow switch. OFTest can be downloaded form the uRL shown below.
http://www.projectfloodlight.org/oftest/
To install OFTest, please apply command lines shown below.

Code and Commands>

Install Cbench

Cbench is a benchmark software for OpenFlow controller. Cbench is available at the URL shown below.
http://docs.projectfloodlight.org/display/floodlightcontroller/Cbench
To install Cbench, please follow the direction shown below.

Code and Commands>
This is the end of creating a mininet environment. As all installations are completed, there are several directories are created under the home directory.

Code and Commands>

To reflect the configuration changes for the network, restart the system. This is ready to use.

To check its actual operation, please try OpenFlow Tutorial, which is located at openflow.org.
http://www.openflow.org/wk/index.php/OpenFlow_Tutorial
Opern/OpenFlow Tutorial 1

Revision History


Front page   New List of pages Search Recent changes   RSS of recent changes