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

Re: [Xen-users] How to setup multiple vif's using different ethernet nic's for DomU


  • To: "Peter Privat" <peter.privat@xxxxxxxxxxxx>
  • From: "xen rkar" <xen.rkar@xxxxxxxxx>
  • Date: Fri, 14 Nov 2008 14:24:27 +0530
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 14 Nov 2008 00:55:12 -0800
  • 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=A2nCBaQSgyPw7S6aeBR/Q8DP+tZZt9vn1rrSN/+y+NaMHsZyoZTl62tNg7ukG4ev3Y td9LVgpL7cn/QRdyP0QFIcmJH8N8He+7vDjYIKY2U9q1ZzpQqNULUHaLT4N4DqMtboie P/qwV9yjZzBSplg7sUkZ5yrbAwVOYrkuhNQuA=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Thanks Peter for the steps.

The xenbr1 bridge however is not connecting to the physical device.

brctl show
bridge name     bridge id               STP enabled     interfaces
eth0            8000.0018fe7846b6       no              vif5.0
                                                        peth0
xenbr1          8000.feffffffffff       no              vif5.1


Any more configurations we missed out?

Thanks,
karthik


On Fri, Nov 14, 2008 at 1:35 PM, Peter Privat <peter.privat@xxxxxxxxxxxx> wrote:
On Fri, 2008-11-14 at 14:54 +0700, Peter Privat wrote:
I have been reading the xen-netorking wiki page. But I could not get a specific sequence of steps to get this setup running.
Appreciate if you can point me to any doc on the steps.

Maybe this will work:
http://idolinux.blogspot.com/2008/08/xen-add-network-bridge-for-eth1.html


try this:

you need 2 bridge interfaces:
xenbr0 = eth0
xenbr1 = eth1

create a new script with the following lines: (ex: multiplebridge.sh) in /etc/xen/scripts/

#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0
"$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=xenbr1

make the script executable (chmod +x /etc/xen/scripts/multiplebridge.sh)

modify /etc/xen/xend-config.sxp
change the line:
(network-script network-bridge)
to
(network-script multiplebridge.sh)

modify your virtual machine to use the new bridge interface:
ex:
vif = [ 'bridge=xenbr1', ]

Hope this helps.

/Peter

_______________________________________________
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®.