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] physical nic to xen

To: xen-users@xxxxxxxxxxxxxxxxxxx, "Maximilian Wilhelm" <max@xxxxxxxxxxx>
Subject: Re: [Xen-users] physical nic to xen
From: "Jeff Lane" <sundowner225@xxxxxxxxx>
Date: Tue, 20 Nov 2007 14:00:38 -0500
Delivery-date: Tue, 20 Nov 2007 11:01:35 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Zw/R0YLs9WSF2cy1wc/6/NOE6ZHzCLDz6Qt54HKyBDA=; b=EePtkK0x2/sB3BvUC5P8D87dmdJJ6yjjX75o6cORe+CQmUKimheMDDW0+hk26BDMau6EBR8vwKRz9AkI+e6uZdZWA3k/jxSqGaRvqCnYABx+8JyOhDZgnx0U7c5G0xfrSUFLxamAVWbA7XRiwQ3PgO9hB07JkaqOPaYHr2kSxLA=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <6025df6b0711201059u402b0854w2f121f31d5b5d68e@xxxxxxxxxxxxxx>
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: <e3977d9c0711200905o51b6e17ei2601bc6c06513cd@xxxxxxxxxxxxxx> <20071120171130.GA6884@xxxxxxxxxxxxxxxxxxx> <6025df6b0711201059u402b0854w2f121f31d5b5d68e@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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 <-------------------
                      www.jefflane.org
                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
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>