Re: virtual interface mac adress

From: H. Peter Anvin
Date: Sun Dec 04 2005 - 15:43:23 EST


Followup to: <Pine.LNX.4.63.0512041520320.29211@xxxxxxxxxxxxxxxxxxxxxx>
By author: Rik van Riel <riel@xxxxxxxxxx>
In newsgroup: linux.dev.kernel
>
> On Sun, 4 Dec 2005, anil dahiya wrote:
>
> > I want to assign mac addres to virtual adpater and mac
> > address should be like that if it should not create
> > problem in arp resoultion(i.e. mac address should be
> > as real card which able to comunicate on lan )
>
> You may be able to get away with using a MAC address
> inside the OUI range that XenSource registered.
>

Any MAC with bit 0 clear and bit 1 set in the first octet is "local
use"; the best thing to do (unless you have your own OUI) is just to
pick a random address inside this range. You should only run into
collision problems when you get close to 2^23 hosts on a network.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/