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] NIC and domU - direct attach

To: Javier Guerra <javier@xxxxxxxxxxx>
Subject: Re: [Xen-users] NIC and domU - direct attach
From: William <xen-mailinglist@xxxxxxxxxx>
Date: Mon, 05 Oct 2009 10:34:12 -0400
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 05 Oct 2009 07:34:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <90eb1dc70910021155i326a5088k48889965b81d54a8@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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4AC63FF3.40009@xxxxxxxxxx> <90eb1dc70910021155i326a5088k48889965b81d54a8@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (X11/20090817)
Hi,

> you can simply not give a public IP to the Dom0.  it doesn't need IP
> to do the bridging.

Can you explain me this ?
I have two network cards in my domO and I used this command to create a new bridge for for dom1 :
/etc/xen/scripts/network-bridge start vifnum=10 netdev=eth2 bridge=eth2

But it doesn't work, if the host interface isn't configured.

Thanks.

Javier Guerra wrote:
On Fri, Oct 2, 2009 at 1:01 PM, William <xen-mailinglist@xxxxxxxxxx> wrote:
Is it possible to attach directly one network card to DomU ?

yes, it's called PCI passthrough

I want my dom1 directly connected to Internet whereas Dom0 not because with
the bridge method, I have to use two public IP.

you can simply not give a public IP to the Dom0.  it doesn't need IP
to do the bridging.

or, you can give the public IP to Dom0, and use NAT+portforward to
DomU instead of bridging



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