O'Reilly logo

KVM Virtualization Cookbook by Konstantin Ivanov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction

With libvirt, we can define different network types for our KVM guests, using the already familiar XML definition syntax and the virsh and virt-install userspace tools. In this chapter, we are going to deploy three different network types, explore the network XML format, and see examples on how to define and manipulate virtual interfaces for the KVM instances.

To be able to connect the virtual machines to the host OS or to each other, we are going to use the Linux bridge and the Open vSwitch (OVS) daemons, userspace tools, and kernel modules. Both software bridging technologies are great at creating Software-defined Networking (SDN) of various complexity, in a consistent and easy-to-manipulate manner. The Linux bridge and OVS ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required