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

Re: [Xen-users] physical nic to xen

  • To: xen-users@xxxxxxxxxxxxxxxxxxx, "Maximilian Wilhelm" <max@xxxxxxxxxxx>
  • From: "Jeff Lane" <sundowner225@xxxxxxxxx>
  • Date: Tue, 20 Nov 2007 14:00:38 -0500
  • Delivery-date: Tue, 20 Nov 2007 11:01:35 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Zfxvh+EFfZBN1ZvWBy2azEj48z/1oc+/ki13p9PF0JZwCI/Ir6VwRHssDXNYGK+FmLuDm3ek7NzCAAs+VUZTDeS6nR9SbxUv8uGDwtSTNuOkTOz/ksEH2BUB+PJ4oB3nOs0xjVpElY2u8OdsgbD7FIKBIGhztyg/bzq09hKGPjs=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

APOLOGIES: I meant to send this to the list, not to Max.

On Nov 20, 2007 1:59 PM, Jeff Lane <sundowner225@xxxxxxxxx> wrote:
> On Nov 20, 2007 12:11 PM, Maximilian Wilhelm <max@xxxxxxxxxxx> wrote:
> > Am Tuesday, den 20 November hub Artur Baruchi folgendes in die Tasten:
> > > Is there a way to specify a physical nic (like eth0 or eth1) to a
> > > guest?! I mean... My server has 2 nics, and I wanna that my guest to
> > > use eth1. Is it possible?
> >
> > Maybe you can hide the pci-id for eth1 from Dom0 and pass the
> > pci-device to the dom-u.
> I have no idea what that means...  but that's ok.. I'm dense.
> Seems to me that this is simpler:
> 1:  Create a xen bridge device and attach each physical NIC to it,
> e.g. eth0 is attached to bridge0 and eth1 is attached to bridge1.
> 2:  In your guest config, create a config line for each of the virtual
> NICs, and assign each one to a bridge... so virt-eth0 is attached to
> bridge0, and virt-eth1 is attached to bridge1.
> 3:  Profit!
> Seriously, it's that simple, and it works.  I've done it a few times.
> The only thing I never got to really work correctly was NIC teaming
> for failover or load balancing... but that's a different story.

------------------> Jeffrey Lane - W4KDH <-------------------
                Another cog in the great
                     Corporate Wheel

The internet has no government, no constitution, no laws, no
rights, no police, no courts.  Don't talk about fairness or
innocence, and don't talk about what should be done.  Instead,
talk about what is being done and what will be done by the
amorphous unreachable undefinable blob called "the internet
user base." -Paul Vixie

Xen-users mailing list



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