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?

To: rudi@xxxxxxxxxxx
Subject: Re: [Xen-users] correct steps to add XEN bridge to Debian squeeze?
From: Diego Dave <diego.dave.s@xxxxxxxxx>
Date: Thu, 8 Sep 2011 11:04:00 -0300
Cc: xen-users User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 08 Sep 2011 07:19:48 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=HpYnAjwp8ZxPJZr0gpK5EU3Dob7YZwwqu6pVhQ6a1hc=; b=LaUpPD360PEDNMgKq2q82BuAqxX5kicU/QaQ1H6uYBqSZ6Yhxc5UM6spYHSoHv3krl kRbhB6mspGp+GaYGfd6NWzx5TrKNge5xN/vlGyufTZFt1SEn0IJmiLIc3JrnxTKiTkAF aT1rZLZFFZVa85n0EKuU4MTqTEmFqEHVWIqyY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <sig.8232447fb3.CAAj3DjmXfh=c2CaqRpTfAJHK+eZsQsWCi9fHJLZDeK_Dxs-4CQ@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <CAAj3Djn97Zy8QqyZAu_sjOKqa6t+QJyUz+=4-3Ap59tMkJp0PQ@xxxxxxxxxxxxxx> <CC5F0089-4024-4147-B1A7-A7D93AF7439F@xxxxxxxxxxx> <sig.6232e4558c.CAAj3Djn=9RREPGBCDPQcn+XgPf+knykaGpFSGvqcoYsOEJ+B_w@xxxxxxxxxxxxxx> <55A51D21-883C-4314-935D-E40DB0A3043D@xxxxxxxxxxx> <sig.8232447fb3.CAAj3DjmXfh=c2CaqRpTfAJHK+eZsQsWCi9fHJLZDeK_Dxs-4CQ@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Rudi,

I think the easiest way to set up a bridge configuration on only one
interface (eth0), is enabling the "(network-script network-bridge)" in
"xend-config.sxp"... this makes a bridge on eth0 directly...

After that, in your cfg file you should add a vif line like this: "vif
= [ 'bridge=eth0, type=ioemu, mac=00:16:3e:00:00:77' ]".

Regards,

Diego

2011/9/8 Rudi Ahlers <Rudi@xxxxxxxxxxx>:
> On Thu, Sep 8, 2011 at 3:37 PM, Christian Motschke
> <christian@xxxxxxxxxxx> wrote:
>>
>> 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.
>>
>
>
>
>
>
> Christian I appreciate your attempt to help me, but your making me run
> in circles and confusing me a LOT.
>
>
> So if anyone else can please point me in the right direction to get a
> "xenbr0" bridge setup in Debian Squeeze I would appreciate it.
>
> Surely I can't be the only one using this combination?
>
>
> --
> 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