LinuxCzar

Engineering Software, Linux, and Operations. The website of Jack Neely.

Using bridged networking with Virt-manager

May 13, 2009

Today I spent time with the Fedora 11 Preview release.  I wanted to setup some KVM VMs which I somehow have never done before and start testing configurations for the workplace.

I ran into trouble trying to get virt-manager to used bridged networking to PXE boot and install the VMs.  I also had trouble finding the right information from Google.  Finally, I stumbled across the below:

http://wiki.libvirt.org/page/Networking

Mainly, turn off NetworkManager and turn on the network services.  Configure your firewall with the following:

-A FORWARD -m physdev --physdev-is-bridged -j ACCEPT


Setup your bridged devices properly as described by altering the /etc/sysconfig/network-scripts/ifcfg-* files.

Suddenly, virt-manager was quite happy and gladly PXE booted / network installed our standard setup.  Quite nice.