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] how to specify vif device name?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] how to specify vif device name?
From: Rafał Kupka <rkupka+Listy.Xen@xxxxxxxxxxxxx>
Date: Wed, 13 Aug 2008 15:51:53 +0200
Delivery-date: Wed, 13 Aug 2008 06:52:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <695200da0808130424s425d0c5fnede97633a46a0ee@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>
Mail-followup-to: xen-users@xxxxxxxxxxxxxxxxxxx
References: <695200da0808130424s425d0c5fnede97633a46a0ee@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Wed, Aug 13, 2008 at 01:24:12PM +0200, Rudi Ahlers wrote:
Hi,

> Is it possible to specify which vif device a domU VM should use? I see that
> it sometimes change around, depending on which order they were started in.
> So, how do I tell XEN to always use the same vif for the same domU ?

Yes, it is. You are looking for option 'vifname'.

Example from one of my domU config files:
vif  =  [ 
          'ip=192.168.10.11,vifname=monitor.0,mac=00:16:3e:05:ee:04'
        ]

Kupson

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