All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Lunz <lunz@falooley.org>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Re: Randomize on MAC address when bringing up ethernet iface
Date: Wed, 31 May 2006 17:09:29 +0000 (UTC)	[thread overview]
Message-ID: <e5kik9$k5d$1@sea.gmane.org> (raw)
In-Reply-To: 200605302013.00091.blaisorblade@yahoo.it

blaisorblade@yahoo.it said:
> I've being thinking to this and I'm wondering why we shouldn't do it. When we 
> have set no IP or 0.0.0.0, which is not a unique IP, and we bring it up, we 
> should choose a random MAC to use.

I agree this makes sense. Currently I'm forced to do it in a script.

It's especially silly that uml virtual ethernet devices *don't* get
random mac addresses automatically, while tuntap virtual ethernet
devices *do* (in the same kernel tree!).

> Conditions: the broadcast bit must be 0 and the "locally-assigned address 
> flag" must be 1 (as likely we already do).

random_ether_addr() in include/linux/etherdevice.h already takes care of
this.

Jason



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2006-05-31 17:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-30 18:12 [uml-devel] Randomize on MAC address when bringing up ethernet iface Blaisorblade
2006-05-31 17:09 ` Jason Lunz [this message]
2006-05-31 17:24   ` [uml-devel] " Blaisorblade
2006-05-31 19:05 ` [uml-devel] " Jeff Dike
2006-05-31 19:56   ` [uml-devel] " Jason Lunz
2006-06-01  8:40   ` [uml-devel] " Blaisorblade

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='e5kik9$k5d$1@sea.gmane.org' \
    --to=lunz@falooley.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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.