Where to Put Ethernet MAC Addresses?

Kent Borg kentborg at borg.org
Thu Oct 2 07:12:47 EST 2003


On Wed, Oct 01, 2003 at 01:43:43PM -0700, Howard, Marc wrote:
> I also select as the first 3 bytes of the MAC address the address
> assigned to a defunct company and the lower 3 bytes derived from the
> serial number.

I kinda like that outlaw approach, it fits in with one of my pet
notions: why must ethernet hardware be issued strictly unique MAC
addresses?  It is important that a given MAC address be unique on a
single network, but once a packet hits a router, it is OK to have a
duplicate on the next network, right?  (OK, maybe the router keeps a
single ARP table for all its directly connected networks and the
collision risk is one ply larger.)  If decent random numbers are
available (as they can be with Linux), why not adopt a random MAC
address?  Notwithstanding the "birthday paradox", 48 bits (or is it
effectively 47?) is still a whopping *big* space.  Given a decently
chosen random MAC address, how big does a network of random MAC
addresses have to be for the chance of a collision to be at all
dangerous?


Thanks,

-kb

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list