public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: "H. Peter Anvin" <hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	Axel Kittenberger
	<axel.kittenberger-4JhlDu4IDl0juwv8T7myQQ@public.gmane.org>
Subject: Re: Mac-Address uniqueness
Date: Fri, 01 Jun 2007 09:26:16 +0300	[thread overview]
Message-ID: <465FBC08.7000102@qumranet.com> (raw)
In-Reply-To: <465F72EA.9080608-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>

H. Peter Anvin wrote:
> Axel Kittenberger wrote:
>   
>> Unfortunally all machines detect the same ethernet address 
>> '52:54:00:12:34:56'. Which you can guess what i means, networking comes 
>> and goes whatever machine last the ethernet address got hold of from the 
>> gateway. I tried specifing an ethernet-adress with "-net 
>> nic,macaddr=$MAC" but this also didn't work through.
>>
>> For now I just hardseted the mac in all machines to 52:54:00:12:34:57, 
>> 52:54:00:12:34:58 and so on.
>>
>>     
>
> This is a Qemuism.  I always thought it was dumb, but I guess Qemu
> wanted reproducibility over everything.
>
> IMNSHO it would have been much better to default to a random value
> (meaning that all except the bottom 2 bits of the first octet are
> random, those bits should be set to 10 binary.)
>
>   

That tends to consume dhcp leases quickly, if you start guests often (as
I do).  Also, some distributions use the mac address as a key for naming
interfaces; if it changes, the guest gets confused


-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

  parent reply	other threads:[~2007-06-01  6:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-31  9:43 Mac-Address uniqueness Axel Kittenberger
     [not found] ` <465E98B7.5050402-4JhlDu4IDl0juwv8T7myQQ@public.gmane.org>
2007-05-31 10:42   ` Dor Laor
     [not found]     ` <64F9B87B6B770947A9F8391472E032160C0EFE07-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-05-31 12:18       ` Axel Kittenberger
2007-06-01  1:14   ` H. Peter Anvin
     [not found]     ` <465F72EA.9080608-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2007-06-01  6:26       ` Avi Kivity [this message]
     [not found]         ` <465FBC08.7000102-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-01  6:43           ` H. Peter Anvin
     [not found]             ` <465FC01F.4050105-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2007-06-01 13:09               ` Daniel P. Berrange
2007-06-01 10:19           ` Axel Kittenberger

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=465FBC08.7000102@qumranet.com \
    --to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=axel.kittenberger-4JhlDu4IDl0juwv8T7myQQ@public.gmane.org \
    --cc=hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox