From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsrKU-0003Yd-58 for qemu-devel@nongnu.org; Wed, 09 Jan 2013 03:48:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsrKT-0004Ke-8p for qemu-devel@nongnu.org; Wed, 09 Jan 2013 03:48:10 -0500 Received: from mail-bk0-f46.google.com ([209.85.214.46]:57915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsrKT-0004KV-27 for qemu-devel@nongnu.org; Wed, 09 Jan 2013 03:48:09 -0500 Received: by mail-bk0-f46.google.com with SMTP id q16so734518bkw.33 for ; Wed, 09 Jan 2013 00:48:08 -0800 (PST) Date: Wed, 9 Jan 2013 09:48:05 +0100 From: Stefan Hajnoczi Message-ID: <20130109084805.GC30476@stefanha-thinkpad.redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] Request - How to compile change User Mode Networking address space? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tony Su Cc: qemu-devel@nongnu.org On Mon, Jan 07, 2013 at 11:17:39AM -0800, Tony Su wrote: > I haven't been able to find anyone who can confirm that the following > command modify the User Mode Networking default address > space, but in any case does not work for my distro. I have yet to > determine if this problem is specific to my distro or not. See my > comment below relating to the second code block which is my most > recent gues as to why this command does not work. > > qemu-kvm -net user,net=176.27.0.0/12,host=176.27.2.2,dhcpstart=176.27.0.20 176.27.0.0/12 looks like a mistake because 12 bits isn't enough to mask 27. Try 176.27.0.0/16 instead and it should work. Stefan