January 2019
Beginner to intermediate
776 pages
19h 58m
English
In this recipe, we use Containernet as an example to show how to extend Mininet for more use cases, while using Containernet to show a simple emulation with Docker containers as hosts in Mininet. More complex Mininet algorithms can be run on Containernet, along with its capabilities to run containers as hosts.
First, install Containernet in your computer. Since Containernet uses Ansible for this, you need to install it before:
$ sudo apt-get install ansible git aptitude $ sudo vim /etc/ansible/hosts
Add: localhost ansible_connection=local
Now, to actually install Containernet:
$ git clone https://github.com/containernet/containernet.git $ cd containernet/ansible $ sudo ansible-playbook install.yml
Alternatively, you may ...
Read now
Unlock full access