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] uniq mac address generator

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: Re: [Xen-users] uniq mac address generator
From: "James Youngman" <jay@xxxxxxx>
Date: Sat, 14 Apr 2007 21:42:11 +0100
Cc: trilok nuwal <tc.nuwal@xxxxxxxxx>, Xen list <Xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 14 Apr 2007 13:40:56 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=fdaedb3XiUTuHA1AGT6+cxZgSzbeYx16614phS6QWGZWUMddgnoVn4UK55e8voRWaDqBVFqTHn9P0vCtV3m29kTrebp6nFCyKRpslIZH42H3IgO64OJP0ZMctRuZKj4sQjzP5seBfnLEoMZn+FDiqCWZHP8M8My5Y9XMFpIBS5U=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=PVldyz0n7C8Ctx4YJ4Rj+qiFoq9Y1SWNcg3Fyfir0U0He4JWWK/MTZrYKYqx1V1JhGBa4cEHYom/myyPKTQ4Q9hlEKj1VIbAZhi/tHp3PcHqM3CkcS/j7PMMDrE66bhpDvWWT3ndNt6yzl8p7KZ2L5jFtb7N0ev/vCn1W8PNFGs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E1BD2@xxxxxxxxxxxxxxxxx>
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: <f58fc26d0704130612g2fec63a2ge69efc632d067a34@xxxxxxxxxxxxxx> <907625E08839C4409CE5768403633E0B018E1BD2@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
It only needs to be unique to your local network

Not always true, really.   For example if you run software thar
generates version-1 UUIDs you could create yourself a lot of difficult
to solve problems (and possibly cause data corruption) by assuming
that.  See for example
http://jakarta.apache.org/commons/sandbox/id/uuid.html

- anything outside that
will not be using MAC addresses to determine the routing of the packet
anyways [AFAIK]

MAC addresses don't determine routing anyway, they're at the wrong link layer.

so it's meaningless to aim for uniqueness outside your
own network (although it is of course practical to know that ALL MAC
addresses used in the entire known world are unique).

Quite a bit of software assumes this, and will do the wrong thing in
very subtle ways if this assumption is not true.  But the chances of
getting bitten by this bug are quite small.


Of course, if you're on a large corporate network, you may still have
the problem that someone else uses the same easymac script to generate
MAC addresses...

True.   And Ethernet card manufacturers have been known to ship
Ethernet cards with conflicting MAC addresses anyway.

James.

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