The Contrail testbed currently consists of a two DAS-3 machines running Debian (Lenny) Linux and configured for Xen.
IP addresses for VMs
Currently we can start up to 4 VMs with public IP addresses. We also have DNS domain names associated with these addresses. Here are the allocated IP addresses, MAC addresses and DNS names:
|Host||MAC address||IP address|
You can use these settings to configure your VM images.
Rebooting the machines
Grub is configured on these machines to start by default the regular Linux kernel. If you want to reboot them with the Xen-enabled kernel, run this command:
Creating your own VM images
If you want to experiment with your own VM, you first have to create an image. A sample command for doing this is the following:
xen-create-image --output /home/cstratan --hostname xen01.das3.cs.vu.nl --mac 00:16:3e:00:00:01 --ip 188.8.131.52 --netmask 255.255.255.0 --broadcast184.108.40.206 --gateway 220.127.116.11 --dist lenny --dir /home/cstratan
Note: Be careful to change the --output and --dir arguments, because otherwise you might overwrite the images created by other users.
After this command, there will be a configuration file named
xen01.das3.cs.vu.nl.cfg created in the directory you specified with the
--output argument. Also, the image files for this domain will be created under the directory specified with the
--dir argument (in a subdirectory named
In order to be able to connect with the console to your VM, edit the configuration file and add the following line:
extra = 'console=hvc0 xencons=tty'
Now you can start your VM (and use its console) with the following command:
xm create xen01.das3.cs.vu.nl.cfg -c
After the VM boots, you will get a console where you will be able to login as root, without a password (of course you might want to change that).
To shutdown the domain, use this command from another terminal:
xm shutdown xen01.das3.cs.vu.nl
If you want to be able to connect with ssh to your VM, install udev (from the console) and then restart the VM:
apt-get install udev
Using the existing VM images
If you just want to try starting a VM with
xm create, you can use some images that were already generated. You will find some
xen0x.das3.cs.vu.nl.cfg config files under the
/etc/xen directory, and the image files under the