[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] uniq mac address generator


  • To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.