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: TMC <tmciolek@xxxxxxxxx>
Subject: Re: [Xen-users] 'Wandering' eth interface - Xen 3.0.4 + linux 2.6.16.29
From: Christian Horn <chorn@xxxxxxxxxxxx>
Date: Mon, 30 Apr 2007 17:21:20 +0200
Cc: Xen users mailing list <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 30 Apr 2007 08:19:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <d2a2bd30704300809l4a0d4df6q9c7eb441c8fdfe02@xxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Tue, May 01, 2007 at 01:09:43AM +1000, TMC wrote:
> 
> 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...

You (your linuxdistro) told it to do so. Once those distributions detect
a net yet known mac on a network-interface they assign a net eth-interface
to it.
If you get a different mac on every systemboot your eth-interface keeps
changing.



> Is there a method of pinning or making this behaviour consistent?
You can do two things about it:
- delete that persistance-information on early systemstart or on shutdown,
on suse sles10 its in /etc/udev/rules.d/30-net_persistent_names.rules, on
debian sid in /etc/udev/rules.d/z25_persistent-net.rules
- or configure your domU-networkinterface to use always the same mac


Christian

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