All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@osdl.org>
To: linux-kernel@vger.kernel.org
Subject: Re: virtual interface mac adress
Date: Mon, 5 Dec 2005 10:01:04 -0800	[thread overview]
Message-ID: <20051205100104.08537752@localhost.localdomain> (raw)
In-Reply-To: 20051204192958.64093.qmail@web60214.mail.yahoo.com

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

      parent reply	other threads:[~2005-12-05 18:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-04 19:29 virtual interface mac adress anil dahiya
2005-12-04 20:20 ` Rik van Riel
2005-12-04 20:41   ` H. Peter Anvin
2005-12-05  4:05     ` Mark Rustad
2005-12-05  4:57       ` H. Peter Anvin
2005-12-05 18:01 ` Stephen Hemminger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051205100104.08537752@localhost.localdomain \
    --to=shemminger@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.