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

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: George Dunlap <dunlapg@xxxxxxxxx>
  • Date: Fri, 25 Jun 2010 16:00:07 +0100
  • Delivery-date: Fri, 25 Jun 2010 08:01:44 -0700
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

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