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] 'Wandering' eth interface - Xen 3.0.4 + linux 2.6.16.29

To: tim.post@xxxxxxxxxxx, "Xen users mailing list" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] 'Wandering' eth interface - Xen 3.0.4 + linux 2.6.16.29
From: TMC <tmciolek@xxxxxxxxx>
Date: Tue, 1 May 2007 07:12:21 +1000
Delivery-date: Mon, 30 Apr 2007 14:10:54 -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=ETn7xaUSEOo34qgMyy18UsnXooaqxh+z2p/WG8sdG3OgBdLc7O1HLO4TDMoClJc7Iat4/E9Tzsxv+4USZEHXKjUTklXOBRexcycF4ArHx1B/quzYYYt4CnO8SotoXvURgukAKwdWY+0OmV/ScSrXsbiKCg853azfHUQSPfbkRNI=
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=nQpNowwiOEdJxbSl982ZR1ebsvFzpJI77I7YLjKMVc8y8D6KaUq4AgPBs5bSX4VpjliduKWJ1F4F782d5gLNVBbAlYFO7Ot0kwCS21l6K4uSp0BKtealeJ8nyZr3TGINf0PT7rVtX2fZfehn2qC3cAKGxMSuXGQ8HI6mG0aLR5M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1177953558.27119.432.camel@xxxxxxxxxxxxxxxxxxxxx>
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: <d2a2bd30704300809l4a0d4df6q9c7eb441c8fdfe02@xxxxxxxxxxxxxx> <1177953558.27119.432.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
My bad. I did forget that udev indeed does some persistance magic.

mac assignment works well.

Thanks for all the responses.

On 01/05/07, Tim Post <tim.post@xxxxxxxxxxx> wrote:
On Tue, 2007-05-01 at 01:09 +1000, TMC wrote:


> I have a Xen 3.0.4 with Debian Etch (4.0) running quite successfully...
>
> except for an annoying problem, which i have not observed in other
> DomU instances, nor have I observed it with my test server...
>
> The problem I am observing in that one domain is that on reboot, the
> eth interface seems to "wander" - that is  monotonically increase the
> index value...
>
> so on one reboot  it will be eth0 on next eth1, on one after that eth3
> and so on.
> Of course this causes all sorts of scripts to fail, and manual
> intervention is required.
>
> has anyone else seen this misbehaviour?
>
> Is there a method of pinning or making this behaviour consistent?
>
> Tomasz
>

You may want to imply a mac to eth scenario in udev if this problem
occurs mostly in guests with multiple nics.

I *think* I understand your problem but not quite sure. Try googling for
'xen udev mac nic' to see a  plethora of examples.

Best,
--Tim





--
GPG key fingerprint: 3883 B308 8256 2246 D3ED  A1FF 3A1D 0EAD 41C4 C2F0
GPG public key availabe on pgp.mit .edu keyserver

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