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] Virtual Inteface Assigment

To: Ronnie Tartar <rtartar@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Virtual Inteface Assigment
From: Tim Post <echo@xxxxxxxxxxxx>
Date: Mon, 02 Jun 2008 01:21:45 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 01 Jun 2008 10:22:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <001f01c8c408$d995e140$8cc1a3c0$@com>
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>
Organization: echoreply.us
References: <001f01c8c408$d995e140$8cc1a3c0$@com>
Reply-to: echo@xxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Sun, 2008-06-01 at 12:59 -0400, Ronnie Tartar wrote:
> I am looking to use mrtg to map bandwidth usage on my DomU's.
> 
> But by default the vif26.0, vif28.0 is created, can I assign the same vif
> everytime a domu is started?

I use cacti for this but its pretty much the same. In your config (vif=)
just add vifname=blah

>From a live config file:

vif = ['bridge=br0, mac=00:00:6d:8c:2b:41, vifname=6-a-1.0']

The domname is 6-a-1, so I know easily (in cacti) that 6-a-1.0 is eth0
in guest 6-a-1.

HTH

Cheers,
--Tim

-- 
Monkey + Typewriter = Echoreply ( http://echoreply.us )


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