You are not logged in.

#1 2008-06-30 03:43:35

emphire
Member
From: Canada
Registered: 2007-03-21
Posts: 203

libvirt networking [solved]

I installed libvirt from AUR and I don't seem to be having any luck getting networking going with it.  I thought I would see if any one has any ideas.

Whenever I start libvirtd, I get the following error:

# libvirtd 
libvir: QEMU error : internal error failed to add iptables rule to allow DHCP requests from 'virbr0' : Invalid argument
Failed to autostart network 'default': internal error failed to add iptables rule to allow DHCP requests from 'virbr0' : Invalid argument

$ brctl show
bridge name    bridge id        STP enabled    interfaces

I tried adding the virbr0 bridge and I get the following:

# brctl addbr virbr0
# brctl stp virbr0 on
# brctl show
bridge name    bridge id        STP enabled    interfaces
virbr0        8000.000000000000    yes        

# libvirtd 
libvir: QEMU error : internal error cannot create bridge 'virbr0' : File exists
Failed to autostart network 'default': internal error cannot create bridge 'virbr0' : File exists

So I'm guessing that virbr0 should be automatically set-up by libvirt.  Does anyone have any idea what I need to do to get libvirt setting-up networks for me?

Last edited by emphire (2008-06-30 04:59:04)

Offline

#2 2008-06-30 04:58:44

emphire
Member
From: Canada
Registered: 2007-03-21
Posts: 203

Re: libvirt networking [solved]

I figured it out.  I was missing the iptables package and the network is coming up now.

Offline

Board footer

Powered by FluxBB