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] Possible?: dom0 and dom1 in network A using eth0, dom2

To: Carlo Granisso <carlo@xxxxxxxxxxx>
Subject: Re: [Xen-users] Possible?: dom0 and dom1 in network A using eth0, dom2 in network B using eth1
From: "Luke S. Crawford" <lsc@xxxxxxxxx>
Date: Mon, 29 Jan 2007 10:14:21 -0800 (PST)
Cc: Steve Brueckner <steve@xxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 29 Jan 2007 10:14:24 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45BE2F86.7090207@xxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <60D45469A1AAD311A04C009027B6BF68060E9699@SERVER20> <45BE2F86.7090207@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, 29 Jan 2007, Carlo Granisso wrote:
How to do this?
I have a problem: two nics, two bridge but after boot, domU can see only second bridge. Why? Any site where I can find help?

I use Xen 3.0.3 and Linux as OS.

I want to have:
- dom0 in network A using eth0
- dom1 in network A using eth0
- dom2 in network B using eth1

create the file /etc/xen/two-bridges  (make sure you make it executable)

the contents should look something like this:

#!/bin/sh
/etc/xen/scripts/network-bridge $@ vifnum=0
/etc/xen/scripts/network-bridge $@ vifnum=1

(the $@ will be replaced by either start or stop)

then in the xm config files (usually /etc/xen/DomUname):

vif=['bridge=xenbr0']  #(to put it in the bridge with eth0)
vif=['bridge=xenbr1']  #(to put it in the bridge with eth1)


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