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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] correct steps to add XEN bridge to Debian squeeze?
From: "Oper.ML" <oper.ml@xxxxxxxxx>
Date: Thu, 08 Sep 2011 15:30:22 -0300
Cc: rudi@xxxxxxxxxxx
Delivery-date: Thu, 08 Sep 2011 11:35:27 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=fKTd8N3rBAq/RWgacHQX+fxKdG3OFgyrMIKe27t4m24=; b=p7dT9qLelmGwQ1mh5m/uV8tqREfB+YUBe+Uuki/UIq4BtfT6CKzUS6RQAcCLG2algx pWjeZzPr4KOoDcojKuqkqdk0K/nYx7F062LYZfTf+lMIRXBa/f5LpLk+6YgvyBllEdgU tk8eJnBxJR4yb3mmvsNR02pHjPAHE87jqY8xU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <sig.02321d64eb.CAAj3Djn97Zy8QqyZAu_sjOKqa6t+QJyUz+=4-3Ap59tMkJp0PQ@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: <sig.02321d64eb.CAAj3Djn97Zy8QqyZAu_sjOKqa6t+QJyUz+=4-3Ap59tMkJp0PQ@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11
Hi Rudi,

    i usually do this in my /etc/network/interfaces:

auto eth0
iface eth0 inet manual
        pre-up ifconfig eth0 up
        post-down ifconfig eth0 down

auto br0
iface br0 inet static
        address 192.168.x.x
        netmask 255.x.x.0
        bridge_ports eth0
        bridge_maxwait 0

    Hope that i could help.

Regards,
Tony M.





On 09/08/2011 08:54 AM, Rudi Ahlers wrote:
Hi all,

Does anyone know what the correct steps are to add a XEN bridge, let's
say xenbr0 to Debian Squeeze?



I have added the following to /etc/network/interfaces


# XEN Bridge
auto xenbr0
        iface xenbr0 inet manual
        bridge ports eth0
        bridge_stp off
        bridge_fd 0

And then rebooted the server but brctl show still shows eth0 as bridge:


newusaxen:~# brctl show
bridge name     bridge id               STP enabled     interfaces
eth0            8000.003048c461be       no              peth0
                                                        vif2.0



newusaxen:~# ifup xenbr0
ifup: interface xenbr0 already configured



newusaxen:~# ifconfig |grep xenbr0
newusaxen:~#





What else should I be doing to get it up and running?
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users