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] Interface incrementation problem

To: Andy Smith <andy@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Interface incrementation problem
From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Date: Tue, 10 Apr 2007 18:35:26 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 10 Apr 2007 10:32:42 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=BQLxrblIvg4o9A8r1WH18+7xmIgwJhYhbAoqDk/tMWfw+7O9iiF4a5zDe1n6ouev05+gyptLU9+QZSDcJiSU0Xc+fP7Rfzabndz6/biKg3qUZpBeP/Wl+SGThvHlZUadi7c09kDfLW4mCw2H8NweLGo02tvobbTuWVW0VGOs1Bc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=NvAz5YaoQgkHew7Egn5cy6VP6+PBiP464/66OdCpb0xLev8ucoQytJJhnMiMMOs2+gyyrTj0ZDgIvc60JAJDk2wfzV27xiza9gu3jBWqTsNenR3OesrdIUrv4NNu7e3BkDmKv/YAcOAH7Rc+Fq+4QvV/nhTkU4GNsAdimbShNW0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070405141210.GK2737@xxxxxxxxxxx>
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: <ac2e695c0704050211t3a50dbbcw1996ef2536b623c7@xxxxxxxxxxxxxx> <20070405141210.GK2737@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)
Andy Smith wrote:
On Thu, Apr 05, 2007 at 11:11:48AM +0200, Radek Antoniuk wrote:
When I'm putting:
vif = [ ' bridge=xenbr0' ]
in the config file, every restart of the virtual machine, the mac
address is changed. Because of that, I get, eth0 after first run, then
eth1 (with no eth0), then eth2... and so on.
That is not good.

It's because of udev, creating persistent device names based on
MAC address.

And the solution is:
The problem is solvable via setting the MAC explicitly in the vif
syntax, but that is not comfortable while doing a lot of new machines
often.

Why are you not comfortable with this?  I generally find it
essential for management purposes that each domain has a stable MAC
address that is used by it and only it.

Cheers,
Andy
Agreed. And it's easy to assing a MAC address range to each Xen Dom0 server to allocate for its DomU's, so when you see some spewiing cient in the logs or on a switch you have some idea what the heck it is.

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

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