Many VMs

  1. apprentice@xenserver:~$ sudo xen-create-image --pygrub --fs=ext4 --install=1 --memory=512M --arch=amd64 --passwd --vcpus=1 --bridge=xenbr0 --mac=02:04:66:55:44:02 --nameserver=129.125.4.6 --vifname=vif2 --gateway=10.0.17.253 --netmask=255.255.255.0 --lvm=vgvhosts --size=5G --swap=256M --install-method=debootstrap --mirror=http://osmirror.rug.nl/debian --dist=wheezy --hostname=vhost2 --ip=10.0.17.2 --boot

    Now we can test whether we can ping 10.0.17.1 from 10.0.17.2... we can.

  2. apprentice@xenserver:~$ sudo xen-create-image --pygrub --fs=ext4 --install=1 --memory=512M --arch=amd64 --passwd --vcpus=1 --bridge=xenbr0 --mac=02:04:66:55:44:03 --nameserver=129.125.4.6 --vifname=vif3 --gateway=10.0.17.253 --netmask=255.255.255.0 --lvm=vgvhosts --size=5G --swap=256M --install-method=debootstrap --mirror=http://osmirror.rug.nl/ubuntu --dist=precise --hostname=vhost3 --ip=10.0.17.3 --boot

  3. apprentice@xenserver:~$ sudo xen-create-image --pygrub --fs=ext4 --install=1 --memory=512M --arch=amd64 --passwd --vcpus=1 --bridge=xenbr0 --mac=02:04:66:55:44:04 --nameserver=129.125.4.6 --vifname=vif4 --gateway=10.0.17.253 --netmask=255.255.255.0 --lvm=vgvhosts --size=5G --swap=256M --install-method=rinse --mirror=http://mirror.1000mbps.com/centos --dist=centos-6 --hostname=vhost4 --ip=10.0.17.4 --boot