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/
Home Products Support Community News


Re: [Xen-users] vifname?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] vifname?
From: Andy Smith <andy@xxxxxxxxxxxxxx>
Date: Tue, 6 Dec 2005 14:23:13 +0000
Delivery-date: Tue, 06 Dec 2005 14:23:44 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6a7b2d540512060500h708f8f73vbbe11e03c96b1ed1@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>
Openpgp: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc
References: <20051129125001.GF30385@xxxxxxxxxxxxxx> <20051206124815.GJ1324@xxxxxxxxxxxxxx> <6a7b2d540512060500h708f8f73vbbe11e03c96b1ed1@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, Dec 06, 2005 at 11:00:34AM -0200, Fernando Maior wrote:
> I would ask you to analyse what you want. If you are going to use everything
> from within the domU, use eth0 and ethX inside it. They will not change. In
> fact, you only need to know about the vifname if you are going to use it in
> dom0, which is not needed in Xen3 because of the vif start scripts.

I need to use it in dom0 to measure bandwidth used by each domU.  I
can't measure anything inside a domU because that can be meddled
with.  I am used to doing this with xen 2.0.x and have
infrastructure built around the ability to do this. :(

> Take a look at /etc/xen/scripts/vif-*, they will correctly start up you vif 
> and
> bind it to the bridge you want, and turn up the vif. Good job there :)

Is it possible to edit the scripts to name the vif based on the
domain's name rather than its id number (which changes)?

Attachment: signature.asc
Description: Digital signature

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>