Virtualbricks (VB) setup
You need a PC with:
- Ubuntu 22.04 (or 20.04 or 18.04 or 16.04) or Debian 11 (or 10, 9),
- Intel VT support or equivalent for AMD enabled (check the BIOS).
Add our repository to your repository list and install Virtualbricks; see: http://cnrl.deis.unibo.it/repo.php
Add the kvm group to the host machine (it could already be present):
sudo addgroup kvm
Add virtualbricks's user(s) to the kvm group (replace USERNAME with your user name).
This is necessary to take advantage of VT :
sudo adduser USERNAME kvm
Download the VB base image required by your VB project(s), common to all VMs (e.g. Debian 11b):
- download the base image from http://cnrl.deis.unibo.it/VB_images.php
and save it in a local directory, e.g. VB_images, (note that the compressed file is large, about 2GB!)
- decompress it (e.g. tar -xzvf filename.tar.gz; tip:keep the compressed version as a backup).
Import the VB project (few MB), a file including the tetstbed layout and VM differential images:
- download the preferred VB project file (e.g the latest DTN2hops) from http://cnrl.deis.unibo.it/vb_projects.php
(few MBs) and save them in
a local directory, e.g. VB_projects
- from the VB menu "file" select "import project" and choose the VB project file; press enter at the first request; at the second,
associate the base image name to the corresponding decompressed file on your hard disk (e.g. debian11b.cow).
Create a control network to log into the VMs via ssh from the host; see: http://cnrl.deis.unibo.it/control_network_en.php