This guide dives into advanced KVM networking techniques, covering VLANs, bridging, and Open vSwitch, empowering you to optimize your KVM setup for performance and security. KVM (Kernel-based Virtual Machine) is an open-source hypervisor for Linux that allows multiple virtual machines to run on a single physical machine. One of the key features of KVM is its ability to provide network connectivity to virtual machines using different networking models, including bridge. There are various ways of configuring Bridge Networking in Linux for use in KVM. The default network used by a Virtual Machine launched in KVM is NAT network. With NAT networking, a virtual network is created for the guest machines which is then mapped to host network to provide internet. This document describes how to use Open vSwitch with the Kernel-based Virtual Machine (KVM). This document assumes that you have Open vSwitch set up on a Linux system. So let's get started! Before jumping into public bridges, we need some background on KVM networking.
[PDF Version]