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] Assign Physical NIC to domU

To: Igor Chubin <igor@xxxxxxx>
Subject: Re: [Xen-users] Assign Physical NIC to domU
From: Ivan Gonzalez <smaug_valley@xxxxxxxxx>
Date: Thu, 27 Mar 2008 08:51:24 -0700 (PDT)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 27 Mar 2008 08:52:05 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=vhaJTXxfzk00xmZEOyuS0StN998/5Mf/TU1E390zXWiajnsEyCyiA74iHoUg0OLu6SICcIPhyswrWPYHW16DMQ3pJdV+4GPo///fDPl60OityaJ94SCfDW6eSAW39+/7ZBz2Nndp6KnC35zNVWv6+34j7TU57gQP9nZWr2HarMs=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080326201617.GC32245@xxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Igor.

Great, that works perfectly!!

Thank you.
I really appreciate your help.
Regards.
Ivan

--- Igor Chubin <igor@xxxxxxx> wrote:

> On Mi, M�r 26, 2008 at 12:25:02 -0700, Ivan
Gonzalez
> wrote:
> > Hello Igor.
> > 
> > I'm using HVM for my domU, and i don't mind to use
> > linux bridge to connect my domU to eth1, so if you
> > could tell me how to do it would be really
> helpful.
> 
> 
> If you use (and want use further) HVM domain,
> you can make passthrough only if 
> 
>     (1) your hadrware support VT-d (I/O
> virtualization technology from Intel) 
>         which is very rare for the present (don't
> confuse it with VT-x)
>     and
>     (2) you also use Xen 3.2 (or 3.3-unstable).
> 
> So, I think that it's better not to passthrouth
> PCI-device, 
> but to use linux bridge instead of it.
> 
> To do this, you should:
> 
> 
> 1) In dom0:
> 
>  /etc/xen/scripts/network-bridge start
> bridge=eth1bridged netdev=eth1
> 
> 2) In config of your HVM domain:
> 
>  vif = [ 'type=ioemu, bridge=eth1bridged' ]
> 
> That's all.
> 
> 
> > 
> > Thanks for your help.
> > Regards
> > Ivan
> > 
> > --- Igor Chubin <igor@xxxxxxx> wrote:
> > 
> > > On Mi, M�r 26, 2008 at 11:56:12 -0700, Ivan
> Gonzalez
> > > wrote:
> > > > Hello Brian!
> > > > 
> > > > Thanks for the quick answer.
> > > > 
> > > > Yes i have two separate cards, do you mind
> telling
> > > me
> > > > how can i assign the PCI device to the domU?
> > > 
> > > 
> > > Do you use a PV or an HVM guest domain?
> > > Do you want to make PCI passthrough or you 
> > > don't mind to use linux bridge to connect
> > > domU to eth1 in the domain 0?
> > > 
> > > > 
> > > > Again thanks for your help.
> > > > Regards
> > > > Ivan
> > > > 
> > > > --- Brian Stempin <brian.stempin@xxxxxxxxx>
> wrote:
> > > > 
> > > > > Hi Ivan,
> > > > > 
> > > > > If the NICs are on 2 separate cards or have
> 2
> > > > > separate PCI addresses, you
> > > > > can assign the PCI device directly to the
> DomU.
> > > > > 
> > > > > On Tue, Mar 25, 2008 at 6:55 PM, Ivan
> Gonzalez
> > > > > <smaug_valley@xxxxxxxxx>
> > > > > wrote:
> > > > > 
> > > > > > Hello everyone!
> > > > > >
> > > > > > Well i want to know, if there is a way to
> > > specify
> > > > > a
> > > > > > physical nic (like eth0 or eth1) to a
> > > > > > domU and how can i do it.
> > > > > >
> > > > > > The server has two nics, what i want to do
> is
> > > > > assign
> > > > > > physical nic (eth0) to the dom0 and assign
> > > > > physical
> > > > > > nic (eht1) to the domU.
> > > > > >
> > > > > > I appreciate your help.
> > > > > > Regards
> > > > > > Ivan
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > 
> > > > >
> > > >
> > >
> >
>
____________________________________________________________________________________
> > > > > > Be a better friend, newshound, and
> > > > > > know-it-all with Yahoo! Mobile.  Try it
> now.
> > > > > >
> > > > >
> > > >
> > >
> >
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> > > > > >
> > > > > >
> > > _______________________________________________
> > > > > > Xen-users mailing list
> > > > > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > > > http://lists.xensource.com/xen-users
> > > > > >
> > > > > 
> > > > 
> > > > 
> > > > 
> > > >      
> > >
> >
>
____________________________________________________________________________________
> > > > Be a better friend, newshound, and 
> > > > know-it-all with Yahoo! Mobile.  Try it now. 
> > >
> >
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> > > > 
> > > >
> _______________________________________________
> > > > Xen-users mailing list
> > > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > http://lists.xensource.com/xen-users
> > > 
> > > -- 
> > > WBR, i.m.chubin
> > > 
> > > 
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-users
> > > 
> > 
> > 
> > 
> >      
>
____________________________________________________________________________________
> > Be a better friend, newshound, and 
> > know-it-all with Yahoo! Mobile.  Try it now. 
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> 
> -- 
> WBR, i.m.chubin
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 



      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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