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-devel

Re: [Xen-devel] [INFO] Setting up bridges in Debian /etc/network/interf

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] [INFO] Setting up bridges in Debian /etc/network/interfaces
From: George Dunlap <dunlapg@xxxxxxxxx>
Date: Fri, 25 Jun 2010 16:22:56 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 25 Jun 2010 08:24:03 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=KXEI1fiP1AfUT4GLHNJIpHgSL0fpb4a12n3xz96PDlU=; b=KngF6/g0n0Yv1cfurdFQFMPxIxssVLR8UuK7mYxmnL/QbUWPTy3zz1gwI2MhTl8Njd nsng6qAuGNMcvaHx/2sIHk/6IzPbFDHANY4HHlH4UeidEYJmhQZfVNUv+joeVIYt/uKH qp5Y5b9wmml3LdlteGtrbDxgZvet0Gc5n4neM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=mW8ZwHzMBSme9zqAAsvgcOFhsxuJmggZNqVSyyTmTsam3R8/6J+WGCTm3nnizQ/UIj wVBcoEHoSbtTsJlWfQHMO00lS74mgmJML7h77GemwEG877utmeEFKkjaBEsKCfZWdns6 uQZdZApzcpMyu2HZe4SejuYoUSVJa4+bVSm2I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1277478420.25867.170.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTil34ORBrThyPFTK28PyTKFLSVW0SFnB-7bH8ocu@xxxxxxxxxxxxxx> <1277478420.25867.170.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Well, there at least is one configuration that does work.  If someone
else wants to do some more testing to find out the minimum text
required, feel free. :-)

 -George

On Fri, Jun 25, 2010 at 4:07 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> On Fri, 2010-06-25 at 16:00 +0100, George Dunlap wrote:
>> OK, after a bit of playing around, I managed to figure out how to set
>> up /etc/network/interfaces without the network-bridge script.  Below
>> is an example system that has 2 nics, one with a dynamic IP address
>> and one with a static IP, and two bridges, one for each nic.
>> Hopefully it will be of help to those affected by the xencommons /
>> xend config change. :-)
>
> There was an example added to the xend-config.sxp file in the commit
> which made these changes (I missed it at first too).
>
> I don't think the references to "allow-hotplug ethX"  and "iface ethX
> inet manual" are necessary. All that should be necessary is the "auto
> xenbrX" and the "iface xenbrX ..." bits which you have. e.g.
>
>> auto lo xenbr0 xenbr1
>> iface lo inet loopback
> [...snip unneeded stuff...]
>> iface xenbr0 inet dhcp
>>  bridge_ports eth0
>>
>> iface xenbr1 inet static
>>  address 192.168.1.1
>>  netmask 255.255.255.0
>>  network 192.168.1.0
>>  broadcast 192.168.1.255
>>  bridge_ports eth1
>
> It's also probably worth drawing attention to the interfaces(5) and
> bridge-utils-interfaces(5) man pages.
>
> Ian.
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>

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

<Prev in Thread] Current Thread [Next in Thread>