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] order of network interfaces in domU messed up?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] order of network interfaces in domU messed up?
From: Sven Giermann <giermann@xxxxxxxx>
Date: Wed, 9 May 2007 23:23:21 -0700 (PDT)
Delivery-date: Thu, 10 May 2007 08:11:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <f1aqcj$v8c$1@xxxxxxxxxxxxx>
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>
References: <f1aqcj$v8c$1@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Sven,

I can confirm the re-ordering after upgrade to Xen 3.0.4!
Unfortunately it is not really this easy and I agree, that it looks very
random...

I have 3 interfaces in my Xen-Config:

vif = [ 'mac=00:16:3e:01:00:12, bridge=xenbr0',
        'mac=00:17:3e:01:00:12, bridge=xenbr1',
        'mac=00:18:3e:01:00:12, bridge=xenbr1' ]

And since Xen 3.0.4 I get the following order in DomU:

# ip addr
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:16:3e:01:00:12 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:18:3e:01:00:12 brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:17:3e:01:00:12 brd ff:ff:ff:ff:ff:ff


Anyone with better experience in vif ordering to help us?

Sven.


Sven Köhler wrote:
> 
> Hi,
> 
> until now, i have been using Xen 3.0.2. Now i upgraded to Xen 3.0.4.
> 
> Can anybody confirm, that the ordner in the config files for the network
> interfaces has not changed?
> 
> My config file used to read:
> vif = [ 'bridge=xenbr0', 'bridge=xenbr1' ]
> 
> So inside the DomU, eth0 was attached to xenbr0 on the host and eth1 was
> attached to xenbr1.
> 
> Now i upgraded to Xen 3.0.4.
> Not it must read:
> vif = [ 'bridge=xenbr1', 'bridge=xenbr0' ]
> 
> 
> And i'm not even quite sure, that the order of the network-interfaces is
> really deterministic. Actually, the old config worked on first try. And
> suddently didn't. Then i debugged and now it only works with inverted
> order.
> 
> 
> Any idea, what's going on?
> 
> 
> Thanks,
>   Sven Köhler
> 
> 
>  
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 


-- 
View this message in context: 
http://www.nabble.com/order-of-network-interfaces-in-domU-messed-up--tf3682871.html#a10407804
Sent from the Xen - User mailing list archive at Nabble.com.


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

<Prev in Thread] Current Thread [Next in Thread>