[Original]mininet installation

Source: Internet
Author: User
Tags openvswitch

Mininet Installation:

On Ubuntu 13.04:sudo apt-get install mininet
On Ubuntu 12.10:sudo apt-get install Mininet/quantal-backports
On Ubuntu 12.04:sudo apt-get install Mininet/precise-backports
First, installation environment:
Ubuntu-12.04-32bit
Second, installation mininet:
#rm/usr/local/bin/ovs*/usr/local/sbin/ovs*//Remove remnants of OvS
#apt-get Install Mininet/precise-backports
Third, start mininet:
#mn (Error, Port 6633 is enabled by default.) To close: #netstat-nap|grep 6633 to find the process number with: (#kill process number) or (#kill-9 process number) to kill the process)
#service Openvswitch-switch Start
#mn
Four, the successful start.

V. If you need openflow reference switch, reference controller and Wireshark Dissector components, run:
#git Clone git://github.com/mininet/mininet
#mininet/UTIL/INSTALL.SH-FW
Vi. installation of source code:
#git Clone git://github.com/mininet/mininet
To install everything (using your home directory): #install. sh-a
#mininet/util/install.sh-h can view help options.
* Use the command mn--topo single,3--mac--switch Ovsk--controller remote to create a virtual network of 3 hosts, one (openvswitch-based) switch.

After installation is started by default, close Mininet first
sudo service Openvswitch-controller stop
Do not turn on startup
sudo update-rc.d openvswitch-controller disable
Test whether the installation was successful
sudo mn--test Pingall
Default Boot Mininet
sudo mn--controller=remote,ip=127.0.0.1,port=6633

[Original]mininet installation

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.