

Mininet/util/install.sh -a # default installation, includes all components, recommended Git checkout -b 2.2.1 2.2.1 # replace 2.2.1 with the version you wish to install Git tag # this will list available versions Install it using Git: cd ~ # if you are in some other directory Mininet allows you to virtually emulate various network interfaces on your laptop/PC. Copy the files to your home directory, change the permissions, and then run it: mkdir ~/VBOXGUEST Then cd to the directory containing the files cd /media/cdromĭebian won't let you run the script due to permission issues. In the Virtual Machine's window, click Devices > Insert Guest Additions CD Image. You'll need a bigger screen later in section 3. If you are running Debian in Virtual Box, the default installation does not enable full screen resolution support for Virtual Box. Now you can logout as root to return to your own shell exitĮnable Optimal Screen Resolution (VM Only) Press CTRL+ X and then press Y to save the changes to the sudoers file. You can install sudo and add yourself to the sudo'ers list as follows: suĪpt-get install sudo # you might need to do apt-get update first!įind the line that says %sudo ALL=(ALL:ALL) ALL and add an entry immediately below it: yourusername ALL=(ALL:ALL) ALL Some Ryu applications you'll use later on require sudo. If you are running Debian inside a Virtual Machine, issue the following command to automatically configure your Ethernet interface via NAT: suĭebian does not come with sudo by default. Setting up the Ryu OpenFlow controller on Debian 8 It is an open source protocol that is used by vendors who develop OpenFlow capable switches and by developers who write the controllers, like Ryu. OpenFlow does not provide an API of itself. OpenFlow is a protocol using which the Infrastructure and the Control layer interact. In Ryu, these applications are written in Python. The Application layer includes the applications that run on top of that controller. The Control layer includes the PC that runs an OpenFlow controller along with the controller itself. The Infrastructure layer includes the routers and switches inside the network core. Please read SDN / OpenFlow | Flowgrammable.įurther reading: The Future of Networking, and the Past of Protocols by Scott Shenker and Software-defined Networking, IEEE INFOCOM 2009. This guide will help you get started with OpenFlow from system setup. This short guide assumes you already have knowledge of computer networks and major networking protocols. I have been learning about OpenFlow, SDN and Ryu and would like to document my knowledge for a beginner here. This is probably one of the longest posts I have written on Stack Overflow.
