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] multiple bridges, but only peth0

To: "Rainer Sokoll" <rainer@xxxxxxxxxx>
Subject: Re: [Xen-users] multiple bridges, but only peth0
From: "Fong Vang" <sudoyang@xxxxxxxxx>
Date: Tue, 8 Apr 2008 16:02:52 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 08 Apr 2008 16:03:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=dyN9fgAoIbZvK1HGk9jY9z7kyk+dEw1vVuK68x+BRcw=; b=TAqc8xNs/ex3f5AM9GU7bHYXNIMSoUoAB+hjFdTWk0J0kEb2NaHrLmQdmieSmYxdi57bHhpvNj6J0GgWk06DA3/gs/jFv4BgbLAVopKHKuyuYV4xAUjtiJMVriyRsCae4p/96CIwUx56MpiSXY3lkw+D61+sBkuytdWygvsZYBI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=e6wjZu/hl/82B9ifz19MkpJATXWBeI7b7tX+i7Spy+mC5ukuZJOm8pVMRiP7SOl4OGpDLrJ59wJltU7lYqwWNyR5HruTxY8s1J3hLLgxyvhVSpaNBBFnU/jbJ/pV67FXn+OfF9qh1Q8thWkyzESmT1mt2xcKQUplZgyrcazZLD0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47EE3CC5.2090108@xxxxxxxxxx>
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: <47EE3CC5.2090108@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
To attach to multiple interfaces, you need to specify them, e.g.

vif=[ 'bridge=xenbr4','bridge=xenbr3','bridge=xenbr2' ]

and so on.

Hope this helps.

On Sat, Mar 29, 2008 at 5:57 AM, Rainer Sokoll <rainer@xxxxxxxxxx> wrote:
Hi,

I have a machine with a quad NIC and want to use this NIC for different domUs in different networks.
So I created my own script in /etc/xen/scripts:


------8<--------
#!/bin/sh

script=/etc/xen/scripts/network-bridge

$script "$@" netdev=eth0 vifnum=0 bridge=xenbr0
$script "$@" netdev=eth2 vifnum=2 bridge=xenbr2
$script "$@" netdev=eth3 vifnum=3 bridge=xenbr3
$script "$@" netdev=eth4 vifnum=4 bridge=xenbr4
$script "$@" netdev=eth5 vifnum=5 bridge=xenbr5
------8<--------

(eth1 is reserved for another purpose)
and changed /etc/xen/xend-config.sxp to call my script. OK, now I have xenbr0,2,3,4,5.
Now I want to start a domU with vif=[ 'bridge=xenbr4', ], but xenbr4 has one interface only: vifx.0. I would expect vif0.4 and peth4 too.
I must be missing something fundamental - but I really do not know what.

Any help is appreciated,

Rainer

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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] multiple bridges, but only peth0, Fong Vang <=