WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] correct steps to add XEN bridge to Debian squeeze?

Am 08.09.2011 um 15:15 schrieb Rudi Ahlers:

> On Thu, Sep 8, 2011 at 2:06 PM, Christian Motschke
> <christian@xxxxxxxxxxx> wrote:
>> Do you have libvirt-bin installed?
>> Is there the xenbr0 configured (maybe in 
>> /etc/libvirt/qemu/networks/default.xml)?
>> If yes, the bridge will be created on system startup from libvirt???
>> 
>> Regards.
>> Christian
>> 
> 
> Hi Christian,
> 
> libvirt-bin wasn't installed, and I didn't know I should have installed it.
> 
> so I just installed it but how do I get xenbr0 up?
If you have defined bridges in /etc/libvirt/qemu and a link from 
/etc/libvirt/qemu/autostart to the definition exists, than the bridges will be 
set up with /etc/init.d/libvirt-bin.
But I would not suggest to create your bridges with libvirt.

You do not need to install libvirt at all. XEN runs fine without it. Only if 
you would like to manage your VMs with virt-manager, than you need to install 
it. 
If libvirt-bin was not installed, than I don't know, what has configured the 
xenbr0 bridge.
Can you grep recursively through /etc to find the definition of xenbr0?
The problem is, that your system seems to define xenbr0 with peth0 as network 
device. peth0 is the renamed eth0 that you also try to use in the bridge 
definition in /etc/network/interfaces. That's why after a restart of the 
networking your server looses the connection.

> 
> 
> Running /etc/init.d/xend restart or "/etc/xen/scripts/network-bridge
> start" didn't help at all.
> 
> -- 
> Kind Regards
> Rudi Ahlers
> SoftDux
> 
> Website: http://www.SoftDux.com
> Technical Blog: http://Blog.SoftDux.com
> Office: 087 805 9573
> Cell: 082 554 7532
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users