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/interfa

To: George Dunlap <dunlapg@xxxxxxxxx>
Subject: Re: [Xen-devel] [INFO] Setting up bridges in Debian /etc/network/interfaces
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Fri, 25 Jun 2010 16:07:00 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 25 Jun 2010 08:07:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTil34ORBrThyPFTK28PyTKFLSVW0SFnB-7bH8ocu@xxxxxxxxxxxxxx>
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>
Organization: Citrix Systems, Inc.
References: <AANLkTil34ORBrThyPFTK28PyTKFLSVW0SFnB-7bH8ocu@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

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