Posts with the tag libvirt
LXC application containers are good tools to isolate single applications. Instead of directly creating them using
lxc-create you can also create them with libvirt /
If you have dnsmasq installed and running globally you will get into trouble running
net-start default. So follow the advice on http://mytipsandtricson.blogspot.com/2010/12/kvm-failed-to-start-network-default-in.html.
Now let's create...
The blog post describes how to install the firewall distribution pfSense based on FreeBSD in a kernel based virtual machine (KVM) on Ubuntu 10.10.
Specialities: you either need two NICs or a single one with VLANs as pfSense requires you to define at least one WAN and one LAN interface.
Install KVM and libvirt:
sudo apt-get install kvm virtinst libvirt-bin
If you also want the graphical helpers (viewer via vnc and a manager of the installed virtual machines) install:
sudo apt-get install virt-viewer virt-manager
Now set up the connection to the local KVM hypervisor:
sudo virsh connect qemu:///system