[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.