Creating a Mininet VM from Scratch
These instructions cover the process of building a Mininet-capable VM from scratch, using Ubuntu 11.10. For setup instructions, see
MininetVMSetupNotes.
Note: If you need to build on a non-Ubuntu distro, you are currently on your own. The included shell scripts may work on your platform, but significant changes are likely (e.g. yum vs. apt-get and different package names for Fedora.)
First, create a new Ubuntu 11.10 VM (using VMware, VirtualBox, etc..) We use user: openflow and password: openflow in our default VM, but any user/password combo should work as long as it has admin/sudo privileges.
Next, log in to the new VM and do the following:
wget https://raw.github.com/mininet/mininet/util/vm/install-mininet-vm.sh
time install-mininet-vm.sh
After this completes (about 15-20 minutes), Mininet should work:
$ sudo mn --pingall
That's it!
For historical reference, we have also preserved the
OldMininetVMCreationNotes.
--
BrandonHeller - 09 Feb 2010
Topic revision: r37 - 24 May 2012 - 06:18:52 -
BobLantz?