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] HMV domU creating Tap device?!

To: Robbie Garertt <rgarrett@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] HMV domU creating Tap device?!
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Mon, 10 May 2010 11:49:48 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 09 May 2010 21:51:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <67C84CCFBA7570459B81345BA19100052D54@xxxxxxxxxxxxxxxxxxxxx>
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: <67C84CCFBA7570459B81345BA19100052D54@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, May 7, 2010 at 8:55 PM, Robbie Garertt <rgarrett@xxxxxxxxxxxxxx> wrote:
> Hey all,
>
> I have a script that sets up MRTG to collect bandwidth for the VM's based on
> there vm name.  This is done via the domain config vif =
> ['vifname='Testing',] line and mrtg collects all data on a network card
> named Testing.
>
> My issue here is that for a HVM domain...  there are two interfaces that are
> being created. One Testing and another tab$number.0 where $number is the
> domain id upon creation. It would appear that the domU uses the tap$number.0
> device and not Testing.
>
> Any idea how I can get rid of the tap$number.0 device and have it use the
> Testing device for network usage?

Use PV drivers (like http://www.meadowcourt.org/downloads/) for
Windows, it should automatically use the vif interface (the one you
set a name on domU config file).

For Linux (and possibly others), you might end up with two devices:
One identifies itself as realtek card, the other uses xen-vnif driver.
You need to make sure the one with xen-vnif is used. See
http://pastebin.com/fb6fe631 for example (I blacklisted realtek
modules to do that).

-- 
Fajar

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

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