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

Re: [Xen-users] multiple bridges, but only peth0


  • To: "Rainer Sokoll" <rainer@xxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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