OpenFlow is an open interface for remotely controlling the forwarding table in network switches, routers, and access points. Upon this, researchers can build networks with new high-level properties. An example, OpenFlow enables more secure default-off networks, wireless networks with smooth handoffs, scalable data center networks, host mobility, more energy efficient networks and new wide-area networks. This is the OpenFlow tutorial flow:
Pre-requisites
Need a computer with at least 1 GB(prefer 2 GB) of RAM and at least 5 GB of free hard disk space (more is better). A faster processor may speed up the virtual machine boot time, and a larger screen may help to manage multiple terminal windows. you can install it for Linux, OS X and windows. But in here, i want to try explain instalation in Linux.
Install Required Software
You need to download these file on your Linux; virtual Machine (VirtualBox or else), an X server, and gnome terminal+SSH built in. You can download in here:
After finished your download, make sure that's working for you.
Import Virtual Machine Image
If you download the .ovf image, you can start the VirtualBox, then click file, then import appliance and select the .ovf image that you downloaded. This step will take a while.
Or if you download the .zip file, from your terminal you can unzip the virtual machine, for example:
# unzip OpenFlowTutorial.zip
After that, you will need to complete one more step before you are done. Select your VM and go to the setting tab. Go to network, then adapter 1. Select the "enable adapter" box, and attach it to "host-only network". Note: for the first time, you may not have any "host-only network" yet. To have it, select File menu, then preference, then network and "add host-only network" button with default settings. And now you have already to start the VM. You can click start button to start it. In that VM window, log in with the user name and password for your VM. Note: username and password are mininet.
If you want to access the VM via SSH, you can start in the VM window with ifconfig to get the IP address your VM. The IP address could be eht0 with 192.168.x.x IP address. After that, open a new terminal, and access the SSH with; ssh -X mininet@VMIPaddress and after that enter the username and password same as before.