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

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [INFO] Setting up bridges in Debian /etc/network/interfaces
From: George Dunlap <dunlapg@xxxxxxxxx>
Date: Fri, 25 Jun 2010 16:00:07 +0100
Delivery-date: Fri, 25 Jun 2010 08:01:44 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=SWp4yGbprZzX17pjgCsFW0o01EpSOKXQLFj8CwyCeYE=; b=hiIAGPQRrNkK5nam3G5Yi6F2mndAW0StifSLkwbLrb7Lb+9xphB32mKJnpeU+7GQtE mA06G5GxPl08Esl1zCikokEneZ9s5oFWbg9ZmVkqiT8wVLda0whWvD3saxf41IumsYG8 LUQ4Sc6Nda6DeE0nEWEyTWqeAnU9yq56oSj5o=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=X5f48LLRMF7EMol10HxWfeOH+1F0wVPMDWr17SHyFWPjjDNUvqEGX5ETGjer2gB57m mKtwVz0m2eAASFpaM5bUrCQ6RoAD6ZV7BKjsOCdcy8lbcpNazg+d/HP1yAcMHzaR7aSB F0tazaU1VGvUn3FFo4zcYC9P/MCWryX3ZIR6A=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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. :-)

 -George

----
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

auto lo xenbr0 xenbr1
iface lo inet loopback

allow-hotplug eth0
allow-hotplug eth1

iface eth0 inet manual
iface eth1 inet manual

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

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

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