Some problems of mininet and floodlight in the first-time SND machine operation
First 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 ~
I wrote it down in the order of the tutorial.
We're having problems installing mininet with UBUNTU16
I sudo apt-get update
have the following error when I execute
Workaround
sudo pkill -KILL appstreamcli
wget -P /tmp https://launchpad.net/ubuntu/+archive/primary/+files/appstream_0.9.4-1ubuntu1_amd64.deb https://launchpad.net/ubuntu/+archive/primary/+files/libappstream3_0.9.4-1ubuntu1_amd64.deb //这一整段都是指令
sudo dpkg -i /tmp/appstream_0.9.4-1ubuntu1_amd64.deb /tmp/libappstream3_0.9.4-1ubuntu1_amd64.deb
sudo apt-get update
Resources
You can then run successfully.
sudo apt-get upgrade
In this case there may still be some minor flaws that we do not care about for the time being.
The problems in the second part of experimental content
Then we will go all the way down, in the second experiment, we are promptedmininet must run as root
Obviously we're going to run Mininet's graphical interface under root.
To do this, we enter su -
and password, but do not go to root. The reason is that the root user has not yet set the password, so we enter the following instruction to sudo passwd
set the password. Since then we have successfully completed the second part of the experimental content.
Problems in the combination of floodlight and mininet
We follow the tutorial all the way down, if we are prompted to what instructions are not installed, according to the prompt to install the corresponding instructions, such as the ant
vim
instructions are not installed, for the ant
instructions are not installed instances
If you are using version 14, here is a spelling error in setting variables in the tutorial
Next is the part of the experiment, if you are miserable, did not find the Fat tree (fattree.py) This file, you have to copy and paste the script yourself ~ before you better know more about the vim text operation instructions.
When you write a script, don't forget to generate the executable file.chmod +x fattree.py
Note: If your script contains Chinese, it may be an error.
For some reason, I didn't use screen mn ... Of the operation, but directly sudo it
And in the execution of the script can not be connected to the controller, or connected to the controller after the Pingall is still not connected to the phenomenon of control (sounds a bit around, if you have this problem, you may have a general understanding of the meaning I want to express)
So I made the following changes to the parameters in the script according to the Wasdns method.
In the end, you can finish your lab work happily.
After a few days of intermittent installation learning, patience is very important, the installation process of some defects can not be ignored, reading tips are important, and according to the prompt to solve the problem.
Finally, after the ordeal of 6 virtual machines, the last one in the blog was a good completion of the task. mua!
Thanks to our lab partners for their invaluable experience.
Thanks to our lab partners for their invaluable experience.
Thanks to our lab partners for their invaluable experience.
Some problems of mininet and floodlight in the first-time SND machine operation