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: "François Lapointe" <flapointe@xxxxxxxxx>
Date: Fri, 11 May 2007 08:17:43 -0400
Delivery-date: Fri, 11 May 2007 05:16:17 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eyR273D+7+MX16duodQHRE4ED5HHF6IGuLeipdMHdNNHlxvQKd9JMu3pYwM6JDES9MkD0EMVKCes0kkdHkYqYkD+F3f4Ccr1WpSqeY0T27LLCyeNpbrCfYeA3K9Cp9ziJfjyZPrMM78h9XNz/3wID2RHqbi0La2yLETLVHPOMHw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Xbobkme4ccRuG4z/OezhpNaWIUVf5j2T8GyBGvY3fBakdPOgYHMnwIjCTvbH9/qquNH+3kQgLDqV07zFWvguoILnk2V3wVJPu2+dkN/M0EF0FuLmV1sWLl93skiEFmCc/AJOfQcSq0DEvHNDMIePT11BBRm21fRRqDc4Kjru1pg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <10407804.post@xxxxxxxxxxxxxxx>
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> <10407804.post@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
With a NetBSD DomU and Xen 3.0.4-1, the assignment is comparable to a
slot machine. The oddest part is that this DomU is meant to be my
gateway, if I ever figure this out.

François

vif = [ 'vifname=peru1, mac=00:16:3e:c3:c3:c1, bridge=xenbr1', \
               'vifname=peru2, mac=00:16:3e:c3:c3:c2, bridge=xenbr2' ]


2007/5/10, Sven Giermann <giermann@xxxxxxxx>:

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


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

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