Yes, /etc/libvirt/qemu/networks/default.xml exists and has the contents: $ cat /etc/libvirt/qemu/networks/default.xml <network> <name>default</name> <bridge name="virbr0" /> <forward/> <ip address="192.168.122.1" netmask="255.255.255.0"> <dhcp> <range start="192.168.122.2" end="192.168.122.254" /> </dhcp> </ip> </network> On Thu, Oct 23, 2014 at 10:16 AM, Michal Privoznik <mprivozn@redhat.com> wrote:> On 22.10.2014 00:03, David Roundy wrote: > >> Hi Michal, >> >> I am attaching debug logs. >> >> David >> > > Well, I can see the error message there, but not the reason. Does the > /etc/libvirt/qemu/networks/default.xml file exist? > > Michal >-- David Roundy
Same error i faced i edited default.xml using the below command virsh net-edit default <network> <name>default</name> <uuid>Your Uuid number</uuid> <forward mode='nat'> <nat> <port start='1024' end='65535'/> </nat> </forward> <bridge name='virbr0' stp='on' delay='0'/> <mac address='Your MAc'/> <ip address='192.168.122.1' netmask='255.255.255.0'> <dhcp> <range start='192.168.122.2' end='192.168.122.254'/> </dhcp> </ip> </network> Then added virtual bridge brctl addbr virbr0 Then restart the libvirt.. On Thu, Nov 20, 2014 at 12:02 AM, David Roundy < roundyd@physics.oregonstate.edu> wrote:> Yes, /etc/libvirt/qemu/networks/default.xml exists and has the contents: > > $ cat /etc/libvirt/qemu/networks/default.xml > <network> > <name>default</name> > <bridge name="virbr0" /> > <forward/> > <ip address="192.168.122.1" netmask="255.255.255.0"> > <dhcp> > <range start="192.168.122.2" end="192.168.122.254" /> > </dhcp> > </ip> > </network> > > > On Thu, Oct 23, 2014 at 10:16 AM, Michal Privoznik <mprivozn@redhat.com> > wrote: > >> On 22.10.2014 00:03, David Roundy wrote: >> >>> Hi Michal, >>> >>> I am attaching debug logs. >>> >>> David >>> >> >> Well, I can see the error message there, but not the reason. Does the >> /etc/libvirt/qemu/networks/default.xml file exist? >> >> Michal >> > > > > -- > David Roundy > > _______________________________________________ > libvirt-users mailing list > libvirt-users@redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users >-- *Regards,Ajitha R*
On 20.11.2014 04:52, Ajitha Robert wrote:> Same error i faced i edited default.xml using the below command > > virsh net-edit default > > <network> > > <name>default</name> > > <uuid>Your Uuid number</uuid> > > <forward mode='nat'> > > <nat> > > <port start='1024' end='65535'/> > > </nat> > > </forward> > > <bridge name='virbr0' stp='on' delay='0'/> > > <mac address='Your MAc'/> > > <ip address='192.168.122.1' netmask='255.255.255.0'> > > <dhcp> > > <range start='192.168.122.2' end='192.168.122.254'/> > > </dhcp> > > </ip> > > </network> > > > Then added virtual bridge > > brctl addbr virbr0 > > Then restart the libvirt..Interesting. I see proper error in this case: virsh # net-start default error: Failed to start network default error: Unable to create bridge virbr0: File exists Having said that, you shouldn't create virbr0 yourself, libvirt handles that. On the other hand, we should produce more meaningful error message. What's the libvirt version? Michal