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>, "Xen users mailing list" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] 'Wandering' eth interface - Xen 3.0.4 + linux 2.6.16.29
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Mon, 30 Apr 2007 17:18:30 +0200
Delivery-date: Mon, 30 Apr 2007 08:18:47 -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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceLObyk/sl4wp0qTZyx2NqEisdlkQAAH+gA
Thread-topic: [Xen-users] 'Wandering' eth interface - Xen 3.0.4 + linux 2.6.16.29
 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of TMC
> Sent: 30 April 2007 16:10
> To: Xen users mailing list
> Subject: [Xen-users] 'Wandering' eth interface - Xen 3.0.4 + 
> linux 2.6.16.29
> 
> 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...

You can probably fix this by setting a fixed MAC address. This isn't
Xen's fault, it's because your distro believes that a particular device
should always be given the same ethN number, and it records the MAC
address to remember which interface has which MAC. Since Xen's
auto-numbering is pseudo-random, each time you start a domain again, it
will have a different MAC-address (unless you do it many enough times to
find a collision, but that's not going to happen very often with 2^24
possible combinations). [Note, only some distros do this]. 

I think there are other possible "fixes" (e.g. modifying the script that
figures out which MAC address corresponds to which ethN device name),
but giving a fixed MAC address is a good practice anyways if you are
planning to use your domains for anything serious. 

--
Mats



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