Distributed network emulation with MaxiNet
Mininet requires a large amount of resources to emulate large networks. Hence, it is not always feasible to emulate a complex system using Mininet in a single computer or server within a given time. MaxiNet attempts to address this by extending Mininet, and thus enabling an efficient distributed execution on a cluster. In this recipe, we will look into configuring MaxiNet in a cluster and emulating a network in the cluster using MaxiNet.
Getting ready
First, get the MaxiNet installer to all the servers that you would like to install it:
$ wget https://github.com/MaxiNet/MaxiNet/raw/v1.0/installer.sh
Make sure you can sudo
without entering a password for the user. In Ubuntu, this can be done by adding the following line to the /etc/sudoers
file:
myusername ALL=(ALL) NOPASSWD: ALL
Here, replace myusername
with your username.
Now if you type:
$ sudo su
It should not ask for the password.
You will have to install python-setuptools
, or upgrade it with pip...