Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRow2-0004X5-9D for qemu-devel@nongnu.org; Tue, 27 Jan 2009 09:29:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRow1-0004Wl-Bm for qemu-devel@nongnu.org; Tue, 27 Jan 2009 09:29:01 -0500 Received: from [199.232.76.173] (port=46221 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRow1-0004Wi-5c for qemu-devel@nongnu.org; Tue, 27 Jan 2009 09:29:01 -0500 Received: from smtp02.citrix.com ([66.165.176.63]:9375) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LRovx-0007iO-RD for qemu-devel@nongnu.org; Tue, 27 Jan 2009 09:28:58 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18815.6689.39694.53131@mariner.uk.xensource.com> Date: Tue, 27 Jan 2009 14:28:49 +0000 Subject: Re: [Qemu-devel] [PATCH] Random MAC address option In-Reply-To: <20090127102528.GF1426@redhat.com> References: <200901270313.26331.pavel@pavlinux.ru> <20090127101541.GA19191@kos.to> <20090127102528.GF1426@redhat.com> From: Ian Jackson Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" , qemu-devel@nongnu.org Cc: pavel@pavlinux.ru Daniel P. Berrange writes ("Re: [Qemu-devel] [PATCH] Random MAC address option"): > On Tue, Jan 27, 2009 at 12:15:41PM +0200, Riku Voipio wrote: > > I take this means -net macaddr=macrandom will give the random > > macaddr after this patch? please document this magic in > > qemu-doc.texi and --help. Surely `macaddr=macrandom' is tautologous ? What's wrong with `macaddr=random' ? > Generating a random MAC address everytime you boot a guest seems like > a very odd thing todo. MAC addresses should be randomly generated > once, and then fixed for the duration of existance of that guest, > across reboots.If you generate a random MAC on every boot, the OS will > think its NIC has been removed, and a new one added on every boot. Whether or not this is a problem depends on your operating system. Indeed having a new MAC address each time can have privacy advantages in certain IPv6 configurations! If you want the MAC address to be persistent, where should qemu store the MAC address ? Ian.