Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932486AbVLESBL (ORCPT ); Mon, 5 Dec 2005 13:01:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932491AbVLESBL (ORCPT ); Mon, 5 Dec 2005 13:01:11 -0500 Received: from hera.kernel.org ([140.211.167.34]:40647 "EHLO hera.kernel.org") by vger.kernel.org with ESMTP id S932486AbVLESBJ (ORCPT ); Mon, 5 Dec 2005 13:01:09 -0500 To: linux-kernel@vger.kernel.org From: Stephen Hemminger Subject: Re: virtual interface mac adress Date: Mon, 5 Dec 2005 10:01:04 -0800 Organization: OSDL Message-ID: <20051205100104.08537752@localhost.localdomain> References: <20051204192958.64093.qmail@web60214.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: build.pdx.osdl.net 1133805665 21696 10.8.0.222 (5 Dec 2005 18:01:05 GMT) X-Complaints-To: abuse@osdl.org NNTP-Posting-Date: Mon, 5 Dec 2005 18:01:05 +0000 (UTC) X-Newsreader: Sylpheed-Claws 1.9.100 (GTK+ 2.6.10; x86_64-redhat-linux-gnu) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 728 Lines: 23 On Sun, 4 Dec 2005 11:29:58 -0800 (PST) anil dahiya 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 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/