Introduction of MininetMininet 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
[Realization of stochastic flow model in environment building]mininetThis paper records how to Implement "Mininet topology of any host to the other host to randomly send a UDP data stream, and Iperf test results automatically saved to the file" method, in general, "for Mininet set a custom command to achieve the above function" Iperfmulti ' ".
1. Adding custom functions and custom commands
#Mininet-1Basic Environment:[emailprotected]:~$ uname -r4.13.0-43-generic[emailprotected]:~$ uname -aLinux parallels-vm 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux# #Mininet基本操作:# # #在操作前 We can use mn -h to view the user manual[emailprotected]:~$ sudo mn-husage:mn [options] (type mn-h for details), the MN utility creates
A long time not to blog, mainly because of laziness. Not much nonsense to say, now let this can only record their own learning process. What's the OpenFlow architecture, and what's good for me. If you don't understand, go ahead and see. Go directly to the topicMy platform: PC (Linux ubuntu 13.10), as well as the floodlight and Mininet mentioned in the title, also use the virtual machine software, I use VirtualBox. This architecture is as follows:The f
The mininet environment is divided into two steps, as follows:1. Get mininet source from GitHub to the local opt directoryOpen Linux terminal, switch directory to root directory CD/Switch to the Linux opt directory under CD optGet source from GitHub: Git clone git://github.com/mininet/mininet (if Git is not installed,
Platform Environment Description:Cpu:Intel Core 2 Duo T6570Mem:4.00GBOs :Ubuntu 14.041.FloodlightFloodlight is a relatively mature SDN controller implementation, in which the opendaylight Project also uses many of its implementation methods, the official website: http://www.projectfloodlight.org/floodlight/. in this paper, we use it as a controller, using virtual machine with mininet as network topology, which combines analog display network. Floodlig
Mininet VMs are designed to speed up mininet installations and can be easily run on Linux platforms. VMs run on Windows,mac,linux, through VMware, Virtualbox,qemu, and KVM.After you download the virtual machine, you will run several steps to customize your settings. It won't take a long time. Virtual machine settings Download Mininet VMDownload
Graphical interface for MininetPS: found that the platform can not be written in Word directly with the picture in the copy, so that some of the parts of the text, representing only personal views, welcome to discuss.The MININET-VM downloaded from the Mininet website is actually not with the graphical interface, so the xterm cannot be used after the installation is complete. So this article summarizes some
We build mininet simulation platform through source code mode, use git to download mininet source codegit clone git://github.com/mininet/mininetAfter the download is complete, use the following command to select the installation version:CD mininetgit tag # list available versionsgit checkout-b 2.2.1 2.2.1 # or whatever version you wish to INSTALLCD ..After the
Reference: Loss rate based on mininet measurement path
Remember when we used a Python script to write a topology, we could set the loss rate of the link, and now we're going to test the loss rate by experimenting.
Experiment Introduction
In this environment, H0 sends packets to H1, because the connection loss rate is set in the Mininet script, some packets are lost during transm
Write in front
The experimental reference
The pox script sets the controller's forwarding policy, so just understand the script.
The Mininet script sets up the topology and related information, so just understand the script as well.
Pox scripts are not understood at the moment.
This experiment I learned: Pox controller Web interface, the first time really see the flow table entries.
Experimental topology
MininetFirst, you have to have a mininet system environment, to Mininet's official GitHub home page that says http://mininet.org/download/"the easiest-to-get started are to download a pre- Packaged Mininet/ubuntu VM. This VM includes mininet itself, all OpenFlow binaries and tools pre-installed, and tweaks to the kernel configuration to Support larger
===================================================================================================Install Mininet Method 1:1) Install Git firstsudo apt-get updatesudo apt-get install git2) access to Mininet source codegit clone git://github.com/mininet/mininet3) Open the Mininet folder and select one of the versions t
Step1: Installing the SSH client on the Win7 side puttyPutty:http://www.chiark.greenend.org.uk/~sgtatham/putty/download.htmlStep2: Installing xming (x Server) on Win7 sideXming:http://sourceforge.net/projects/xming/files/latest/downloadAfter the installation is complete, find the installation directory of xn.hosts (such as x0.hosts) files, each line of this file represents an IP address, if we want to display the remote host's graphical interface, the remote host's IP must be added to the file,
/externalapps/... Inflating:distribution-karaf-0.6.x-carbon/bin/start.bat Inflating:distribution-karaf-0.6.x-carbon/bin/status.bat Inflating:distribution-karaf-0.6.x-carbon/bin/stop.bat $ cd distribution-karaf-0.6.x-carbon$./bin/karaf Installing components that support the rest API: feature:install odl-restconf Installing the L2 Switch plugin: Feature:install odl-l2switch-switchAgain by command Feature:list | grep OpenFlow, choose to installFeature:install Odl-mdsal-apidocsAgain by command
Recently re-installed the system and Mininet , the use of mininet encountered a small problem, a start to ignore the details, so that they have been troubled by this problem for a while, fortunately, later still found the problem, so record down. $ sudo mn--topo single,3--mac--switch Ovsk--controller RemoteThe above command is a common command that tells Mininet
Some problems of mininet and floodlight in the first-time SND machine operationFirst give the link
VMware installation
Mininet Installation
Floodlight installation and problems, various versions of Ubuntu
SDN first time on-machine job
If on the basis of these links you have been able to complete the first time SDN machine work, then the content below your needs may not be very good
First, the questionFollow the Mininet official website to install from the source code installation procedure, run the commandsudo mn --link tc,bw=10,提示说*** Error: RTNETLINK answers: No such file or directory。Second, reason analysis and solutionand mininet the use of TC to establish and modify interface properties. According to [1], the main is link.py code in the TC Qdisc del has a problem. The associated
Mininet experiment three-connect the Floodlight Controller reference blog A reference blog two in advance to prepare for the-floodlight installationExecute the ifconfig command to get the IP address of the server where floodlight resides.1. Start Floodlightjava -jar target/floodlight.jarIn the browser, enter the Floodlight UI interface address: http://localhost:8080/ui/index.html2. Create a topology from Mininet
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.