Introduction & Installation of Mininet

Source: Internet
Author: User
Tags git clone

Introduction of Mininet

Mininet is a powerful network simulation platform, through this platform, we can easily simulate the real environment of the network operation and architecture. Current Sdn/openflow development in full swing, but in the real network can not carry out related network experiments, natural need a simulation platform can to this new network architecture, and Mininet came into being, undertook this glorious and arduous mission.

The mininet comes with this switch, host, controller, and can be installed on Mininet Openvswitch, multiple controllers (nox\pox\ryu\floodlight\ Opendaylight, Mininet can run on a variety of operating systems (Windows\linux\mac OS), with strong system compatibility. The most exciting thing is: the experiments carried out on the mininet can be seamlessly moved to the real environment (this has not been tried, just see Mininet official website is so said, hope that the successful transplant operation of the great God can be generous enlighten).

The installation of the Mininet Mininet is divided into two types: one is to download and install the virtual machine image of the mininet directly from the Internet, and then the installation on VMware or virturebox can be used, it is also very convenient. Download link: https://bitbucket.org/mininet/mininet-vm-images/downloads; the other is to manually command the installation (the author prefers this one, because this not only can experience the installation process, You can also experience problems and solve problems during the installation process. The steps are as follows: Step one: Get mininet source code:
git clone git://github.com/mininet/mininet
With this command you can get the latest version of Mininet, if you want to get the previous version of Mininet, you can use the following command:
git clone git://github.com/mininet/mininetgit checkout -b 2.1.0p1 2.1.0p1
Step Two: Install Mininet (The following command is optional):
mininet/util/Install.sh-a  Everything you need to install mininet in the home directory, including Open VSwitch, Wireshark, and pox
mininet/util/Install.sh-s Mydir-a All the things that are required to install mininet in the specified directory
mininet/util/INSTALL.SH-NFV install mininet, OpenFlow recommended switches and open VSwitch in the home directory
mininet/util/Install.sh-s MYDIR-NFV Install mininet, OpenFlow recommended switches and open VSwitch in the specified directory
Step three: Post-installation tests:
sudo mn --test pingall
By this command, if the installation succeeds, it will be successful by pinging all the hosts. If this step is passed, the Mininet installation will succeed, and the relevant test experiment can be carried out in mininet.

Introduction & Installation of Mininet

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.