From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EyYrn-0006OA-7F for qemu-devel@nongnu.org; Mon, 16 Jan 2006 13:14:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EyYrk-0006LU-GP for qemu-devel@nongnu.org; Mon, 16 Jan 2006 13:14:05 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EyYrk-0006LD-3Y for qemu-devel@nongnu.org; Mon, 16 Jan 2006 13:14:04 -0500 Received: from [65.74.133.5] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EyYvH-0006gP-Qs for qemu-devel@nongnu.org; Mon, 16 Jan 2006 13:17:44 -0500 From: Paul Brook Subject: Re: [Qemu-devel] IP mismatch in redirection using user-net dhcp Date: Mon, 16 Jan 2006 18:11:37 +0000 References: <38931.62.160.59.37.1137424621.squirrel@mail.altern.org> In-Reply-To: <38931.62.160.59.37.1137424621.squirrel@mail.altern.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601161811.37480.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > Would it make sense to be able to tell qemu "do not ever issue a lease on > an IP different from 10.0.2.15", and possibly make that the default for > single-NIC VMs ? You could tie the IP to the MAC address. Ie. make the dhcp code discard the previous lease if it gets another request from the same MAC address. This should work for all setups. Paul