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

[Xen-users] Vif order

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Vif order
From: "Pepe Charli" <ppcharli@xxxxxxxxx>
Date: Thu, 25 Jan 2007 16:20:53 +0100
Delivery-date: Thu, 25 Jan 2007 07:31:23 -0800
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=er0ilOYEImgLQQEh3UGcZKnQuF2Xa2wxBiaagjA3pgThWcgHvf1x7MrnWA1L4yOqc9gPr+ye1rZQmsc9vP02gsx7adhgdWOaHSNtWCuOwK3Rf38H1/O8eViXQuTybsknZ/pEo1dYTnN6lVerCPcMJkCtS4iax4/ZP4SpKyDuSUw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
>I have more than one vif configured for each of my domUs using something
>like this in their config files:

>vif = [ 'mac=00:16:3E:00:21:0C','mac=00:16:3E:00:01:0C' ]
>
>It used to be the case (pre 3.0.3, although it's hard to say exactly
>when the change occured), I think, that the first one would always be

>vif1.0 and the second one would be vif1.1 (for the first domU).
>However, using a recent xen-unstable (post 3.0.3) the ordering of them
>seems to be effectively random, and there is a reasonable chance that

>the second will be vif1.0 and the first vif1.1.

I have the same problem with xen 3.0.4 over Centos 4.4 (with xen 3.0.3 work ok)

I have 3 domU with this config file:
...
vif = [ 'bridge=xenbr0', 'bridge=xenbr1', 'bridge=xenbr2' ]

...
When I start the domUs I get this:
#brctl show
bridge name bridge id STP enabled interfaces
xenbr0 8000.feffffffffff no peth0

vif0.0
vif17.1
vif18.2
vif4.1
xenbr1
8000.feffffffffff no peth1
vif0.1
vif17.2

vif18.0
vif4.2
xenbr2 8000.feffffffffff no peth2
vif0.2

vif17.0
vif18.1
vif4.0

Does anyone know a way to force the vif ordering ?


Thanks
Pepe
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>