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

Re: [Xen-users] only one NIC supported?


  • To: Rowan Woodhouse <rowan@xxxxxxxxxxxxx>, Xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Fernando Maior <fernando.souto.maior@xxxxxxxxx>
  • Date: Fri, 3 Feb 2006 17:39:47 -0200
  • Delivery-date: Fri, 03 Feb 2006 19:50:14 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sKdZOGY9+WYKdpQHjF6B0hnUEk91JoE+Hlc9u7a/mPOeCkHgmtw+ArJpvWT6G0dfQL4r5JoABbu2LguTSU1+eQ2S+s5QVXOyQZTSQcZ8OAynZbJPXv3EiHiHfGQseYs7pI2/W/gBzDLIEZp2etbywmDdIBDe7VjWCwTvYk7qfng=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On 2/3/06, Rowan Woodhouse <rowan@xxxxxxxxxxxxx> wrote:
> David Koski wrote:
> > But it used to work without a custom script. Is there a way to
> > configure xend-config.sxp so a custom script is not needed?
>
> I don't think this is possible as xend-config.sxp says:
>
> "To do things like [having two outgoing interfaces] write yourself a
> wrapper script, and call network-bridge from it, as appropriate."
>
> Regards,
> Rowan

Hi,

This may be a wrapper script example for 4 nics on dom0, each one bridged:

----------------->8
#!/bin/bash

/etc/xen/scripts/network-bridge start bridge=xenbr0 netdev=eth0 vifnum=0
/etc/xen/scripts/network-bridge start bridge=xenbr1 netdev=eth1 vifnum=1
/etc/xen/scripts/network-bridge start bridge=xenbr2 netdev=eth2 vifnum=2
/etc/xen/scripts/network-bridge start bridge=xenbr3 netdev=eth3 vifnum=3
----------------->8

Make the script be executed before starting xend, AND disable processing
of network-bridge in xend-config.sxp.

--
Bye,
Fernando Maior
LPIC/1(31908)
LinuxCounter(391325)

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