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] network setup for HVM guests

To: "'Luca Lesinigo'" <luca@xxxxxxxxxxxxx>
Subject: RE: [Xen-users] network setup for HVM guests
From: "Dustin Henning" <Dustin.Henning@xxxxxxxxxxx>
Date: Wed, 20 Aug 2008 08:33:01 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 20 Aug 2008 05:33:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <927454C8-9C3F-426C-97E8-B98352D3D52A@xxxxxxxxxxxxx>
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>
Organization: PRD, Inc.
References: <927454C8-9C3F-426C-97E8-B98352D3D52A@xxxxxxxxxxxxx>
Reply-to: Dustin.Henning@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckCb3Xv8i2YVkFjSz+0o7L4FsSGrQAUDBUw
        What Distro/version and Xen version are you running?  I run HVM
guests with bridging and have never had this problem.  To clarify, while it
is true that the tap interfaces don't necessarily match the domU IDs the way
the default vifX interfaces do, in my case, the bridge chosen in the HVM
config file always gets both interfaces added to it (regardless of whether
or not vifname is used).  I haven't ever had a need to have more than one
bridge, so the fact that I couldn't tell which tap interface belonged to
which hvm wasn't problematic to me, that said, perhaps someone else can shed
some light on some method of determining which tap interface belongs to
which domU and/or what commands might affect all interfaces tied to a given
domU.  However, it sounds like you have a bug that needs resolving
regardless.  Also, FYI, if you us PV drivers (James Harper's GPLPV for
Windows or the appropriate Xen kernel drivers for Linux) in your HVMs, you
will go through the interfaces identified as vifX or via vifname.  Also, if
you are able to use install such drivers and they don't work as expected, it
could (though one would certainly hope not, and I don't think it would stand
to reason) be related to the fact that the vifX and tapY interfaces aren't
on the same bridge, and this might be a bug as well.
        Dustin

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Luca Lesinigo
Sent: Tuesday, August 19, 2008 22:50
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] network setup for HVM guests

Hello there.

I'm used to xen with paravirtualized guests and am now starting to  
play with HVM guests.

When creating an HVM guest I noted that Xen will create two new  
network interfaces in Dom0: the usual vifX and a new tapY.
The vif one can be renamed as usual with vifname= in the config file,  
and gets added by xen scripts to the corresponding bridge interface  
(bridge=blah in config). Little problem is, no traffic appears on this  
interface.
The interface actually 'connected' to the HVM guest is the tap one,  
which gets a name not associated with the domain id, name or config  
and doesn't get added to the bridge.

Is this expected behavior in one way or another? How do you people  
deal with bridged networking and HVM guests (eg. how do you add  
interfaces to bridges and/or iptables) ?

Thanks,
--
Luca Lesinigo


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



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

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