Messages in this thread | | | From | Stephen Hemminger <> | Subject | Re: virtual interface mac adress | Date | Mon, 5 Dec 2005 10:01:04 -0800 |
| |
On Sun, 4 Dec 2005 11:29:58 -0800 (PST) anil dahiya <ak_ait@yahoo.com> wrote:
> Hi > 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 ) > > waiting for ur reply, > Anil >
use random_ether_addr (see include/linux/etherdevice.h)
-- Stephen Hemminger <shemminger@osdl.org> OSDL http://developer.osdl.org/~shemminger - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |