My home-server is running rawhide. To get some virtual machines working on it I did:
* disable Networkmanager * setup a br0-Device that includes eth0 * disable the libvirt default network virbr0 using virsh net-autostart default --disable
When I now try to install a new vm using virt-manager this fails:
I'm asked (under advanced options) to choose a network - the only network available ist the (deactivated) virbr0 network. When I then try to proceed anyway I am told that the virbr0 is inactive and would I like to start it. Choosing no doesn't allow me to finish the installation wizard.
When I edit an xml definition manually to add the br0-Bridge as network device things work fine.
Shouldn't this be possible from within virt-manager?
On Sat, 3 Oct 2009 15:44:18 +0200 Sven Lankes wrote:
- disable Networkmanager
Do you also enable "network"?
- setup a br0-Device that includes eth0
- disable the libvirt default network virbr0 using virsh net-autostart default --disable
I do almost the same thing, but I use virsh to undefine the default network completely, when I install a vm, it just automatically offers br0 as the only choice for network. Here's my ifcfg-br0 and ifcfg-eth0 files (I use a static IP):
DEVICE=br0 TYPE=Bridge BOOTPROTO=static GATEWAY=192.168.1.1 IPADDR=192.168.1.106 IPV6INIT=no NETMASK=255.255.255.0 ONBOOT=yes PEERDNS=no USERCTL=no NM_CONTROLLED=no
DEVICE=eth0 HWADDR=00:1b:21:3a:00:f3 ONBOOT=yes TYPE=Ethernet IPV6INIT=no USERCTL=no BRIDGE=br0 NM_CONTROLLED=no PEERDNS=no