The Random Thoughts of a Geek heading for Banbury
The Random Thoughts of a Geek heading for Banbury

Playing with Libvirt

As part of my Ansible set up; I installed Libvirt on Sandraudiga as part of the process; as Sandraudiga is going to be the metal that I run all my other machines on,

libvirt is an open-source API, daemon and management tool for managing platform virtualization. It can be used to manage KVM, Xen, VMware ESX, QEMU and other virtualization technologies. These APIs are widely used in the orchestration layer of hypervisors in the development of a cloud-based solution.

Reading through a Libvirt Networking Handbook I am trying to work out how to set up the networking.

The set up I want looks something like this for machines:

Thinking about the network settings a bit more; I think this as my initial setup would be sensible:

Hetzner were kind enough to sell me two extra ipV4 addresses, so with three in total; my plan can get off to a start

python hooks file –

json file –

“hackspace-ldap”: {
“public_ip”: “”,
“private_ip”: “”,
“port_map”: {
“tcp”: [
[8028, 22],

Related Articles