Installing KVM, Libvirt and Open vSwitch on Fedora
In my NetOps to DevOps Training Plan I mentioned installing KVM, Libvirt and Open vSwitch. I did this a few weeks ago and documented it to produce this tutorial. My motivation was to replace my VMware environment at home with something Open Source. I am also a strong believer in "eat your own dog food" and as a lot of the work I am doing in the Open Source community centers around these 3 technologies, I should get used to using them every day...
Prerequsites
Before we get started, I'll assume that you already have a Fedora Minimal Installation that you are ready to work on...
Installing the packages
sudo yum install -y @standard @virtualization openvswitch
That was easy wasn't it!
@standard installs some useful utilities and @virtualization installs libvirt + KVM
I'm sure you can guess what openvswitch does.
Configuration
Now here comes the fun part!
Configure the services
# Disable NetworkManager
sudo systemctl stop NetworkManager.service
sudo systemctl disable NetworkManager.service
# Enable "Proper" Networking
sudo systemctl enable network.service
sudo systemctl start network.service
# Enable the Open vSwitch service
sudo systemctl enable openvswitch.service
sudo systemctl start openvswitch.service
Setting up Networking with Open vSwitch
Our Continue reading





