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

Re: [Xen-users] xend-config.sxp setting question & vlans

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] xend-config.sxp setting question & vlans
From: Guy Roussin <guy.roussin@xxxxxxxxxxxxxxxx>
Date: Tue, 09 Mar 2010 16:20:08 +0100
Delivery-date: Tue, 09 Mar 2010 07:21:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BAY107-W50BEC622FA4F37F6D9982DEF340@xxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <BAY107-W284DBA26F2E7216BAA20FDEF350@xxxxxxx>, <7207d96f1003082113j7d9eaa2cnaafb433ba4f67ee4@xxxxxxxxxxxxxx> <BAY107-W50BEC622FA4F37F6D9982DEF340@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706)
Hi,

I am comfortable with creating the bridges manually and commenting-out xen's networking script on xend-config.sxp as Pasi pointed out in another thread.

Could someone provide a working example of debian /etc/network/interface file where a vlan is bridged for use with xen DomUs?
(debian lenny)
eth0 => admin
eth1 => 3 vlans/bridges

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface

auto eth0
iface eth0 inet static
address 192.168.6.108
network 192.168.6.0
netmask 255.255.255.0
broadcast 192.168.6.255
gateway 192.168.6.101

auto eth1.1
iface  eth1.1 inet manual
auto br01
iface br01 inet manual
network 172.16.0.0
netmask 255.255.0.0
broadcast 172.16.255.255
bridge-ports eth1.1

auto eth1.7
iface eth1.7 inet manual
auto br07
iface br07 inet manual
network 192.168.7.0
netmask 255.255.255.0
broadcast 192.168.7.255
bridge-ports eth1.7

# The primary network interface
auto eth1.10
iface eth1.10 inet manual
auto br10
iface br10 inet manual
network x.x.x.128
netmask 255.255.255.128
broadcast x.x.x.127
bridge-ports eth1.10

--
Guy

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