From:
xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Pepe Charli
Sent: 25 January 2007 15:21
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Vif order
>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