NUC, KVM, and Open vSwitch

NUC, KVM, and Open vSwitch

Configuration of a NUC with Ubuntu + Open vSwitch + VLANs + KVM + VMs using netplan and Open vSwitch. The networking is based on OVS and Netplan for both the Host and the virtual machines. Last year I documented here how to configure Open vSwitch with KVM. In this post I’ll get straight to the point, showing the desired final state and how to configure it. …

February 11, 2023 · 12 min
Open vSwitch and KVM

Open vSwitch and KVM

It was about time I played with Open vSwitch (OVS). I’m going to take advantage of setting up a new server with Ubuntu Server, KVM, Virtual Machines, and VLANs to build everything with Open vSwitch instead of the traditional Linux Bridge. OVS is a virtual bridge from which I’ll manage all network connections for both the server itself and its virtual machines. Some VMs will receive a Trunk interface while the majority will connect in Access mode to a specific VLAN. …

February 20, 2022 · 15 min
Remote Virt-Manager

Remote Virt-Manager

The goal is to run virt-manager from my Mac to manage VMs on a couple of remote KVM/QEMU host servers without needing to install an X11 environment on them. I’ve documented two options: the first uses a local virtual machine (VirtualBox/Parallels/…) with Ubuntu and a minimal GUI environment (just Xorg/X11 and virt-manager), the second uses HomeBrew. …

February 19, 2022 · 3 min
Vagrant with Libvirt KVM

Vagrant with Libvirt KVM

Vagrant creates and runs virtual machines, relying on virtualization providers such as Virtualbox, KVM, Docker, VMWare, and 30+ others. It will always default to launching the VM with Virtualbox unless we explicitly specify a different provider. In this guide I explain how I set up Vagrant with the Libvirt KVM provider on Linux. …

May 15, 2021 · 5 min
My First Steps with Docker

My First Steps with Docker

From what I understood, it’s a tool that allows you to package “Linux applications and all their dependencies” into a self-contained virtual container (something like sandboxes). That doesn’t tell us much, but what if I tell you that you can run your Linux applications (thanks to the Docker daemon) always in the same way on any platform? (for example Windows or macOS by using a super lightweight virtual machine, VirtualBox-style). Now that’s cool. …

November 1, 2014 · 4 min
Linux on 'Fusion for Mac'

Linux on 'Fusion for Mac'

In this article I describe how to install Gentoo Linux 3.10.17 (64-bit, with systemd + Gnome 3) in a virtual machine (VM) running on VMWare Fusion 6 for Mac OSX version 10.9 (Mavericks). This should work the same way on a different host, such as Parallels or VMWare Workstation for Windows or Linux. …

December 20, 2013 · 12 min