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

How it works...

In order to simplify our setup and avoid conflicts, it's prudent to first remove the Linux bridge before creating a new OVS switch. We delete the bridge in step 1 and optionally unloaded the kernel module.

In step 2, we install the OVS package that also starts the main OVS daemon ovs-vswitchd responsible for creating and modifying the bridges/switches on the host OS.

In step 4, we make sure that the OVS kernel module has been loaded, and we list all available OVS switches on the host in step 5.

In steps 6 and 7, we create a new OVS switch and add the KVM virtual interface to the switch.

The ovsdb-server process that was also started after installing the package, as seen from the output in step 3, is a database engine that ...

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