Research Breakthrough Possible @S-Logix pro@slogix.in

Office Address

Social List

How to Install Mininet to Support SDN

install-mininet-to-support-sdn

Step by Step Installation of Mininet to Support SDN

  • Description:
    Mininet is an emulator of a network used to visualize the switches and application of Software-Defined Networks (SDN) in virtualized circumstances. Mininet hosts run on standard Linux network software, and its switches support OpenFlow for highly and tremendously flexible custom routing.
    To install Mininet on a PC, the user can follow this manual, which provides instructions for installing Mininet using Linux distributions.
  • Install Ubuntu Server on a VM.
  • Update the Ubuntu Server on VM.
  • Install the required software.
  • Install the Mininet from the given source code.
Warning
  • Don’t install mininet on your host PC. Install in a very virtual machine.
Installation Procedure
1.Update Ubuntu VM
  • Open a New Terminal
  • $ sudo apt-get update
  • $ sudo apt-get upgrade
  • $ sudo apt-get dist-upgrade
2.Install Required Software
  • Install git. Git is the computer code version system employed by the mininet project.
  • $ sudo apt-get install git
3.Install Mininet from the source code
  • Use git to download the mininet source code.
  • $ git clone https://github.com/mininet/mininet
  • It creates a folder within the home directory named mininet that contains the project file structure.
  • To find the newest beta version of mininet, list all labeled releases within the mininet project.
  • install-mininet-to-support-sdn-1
    Above, we tend to see the most recently offered beta unharness is a pair of 2.3.1b1. So we tend to switch to its branch on our virtual machine.
  • $ git checkout -b 2.3.1b1
  • Switched to a new branch ‘2.3.1b1’.
  • The mininet project provides an install script. Run the script.
  • This may install mininet 2.3.1b1 because the script victimizes the files within the mininet 2.3.1b1 branch.
  • $ ~/mininet/util/install.sh -a
  • After the script stops running, check that the installation is productive. Execute the subsequent command to check the installation. It ought to run a brief mininet state of affairs with success.
    install-mininet-to-support-sdn-2
  • $ sudo mn --test pingall
  • After productive installation, check the configuration of the controller, switches, and hosts with the default examples within the mininet package.