Re: virsh net-start default fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux