Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JMWDo-0006Ge-K1 for qemu-devel@nongnu.org; Tue, 05 Feb 2008 17:24:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JMWDn-0006EB-15 for qemu-devel@nongnu.org; Tue, 05 Feb 2008 17:24:56 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMWDm-0006E1-UN for qemu-devel@nongnu.org; Tue, 05 Feb 2008 17:24:54 -0500 Received: from flpi101.sbcis.sbc.com ([207.115.20.70] helo=flpi101.prodigy.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JMWDm-00030n-AN for qemu-devel@nongnu.org; Tue, 05 Feb 2008 17:24:54 -0500 Received: from sf.creativecommons.org (adsl-69-232-226-160.dsl.pltn13.pacbell.net [69.232.226.160]) by flpi101.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id m15MOit5003899 for ; Tue, 5 Feb 2008 14:24:49 -0800 Received: from localhost (localhost [127.0.0.1]) by sf.creativecommons.org (Postfix) with ESMTP id 403C7134CC35 for ; Tue, 5 Feb 2008 14:24:44 -0800 (PST) Date: Tue, 5 Feb 2008 14:24:42 -0800 (PST) From: Asheesh Laroia Subject: Re: [Qemu-devel] Making qemu use 10.0.3.x not 10.0.2.x In-Reply-To: <883965357.20080205231226@ena.si> Message-ID: References: <20080205162206.38J1B.215136.root@eastrmwml22.mgt.cox.net> <200802052129.26282.paul@codesourcery.com> <883965357.20080205231226@ena.si> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-1172107625-1202250129=:4715" Content-ID: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Asheesh Laroia on [qemu-devel]" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1172107625-1202250129=:4715 Content-Type: TEXT/PLAIN; charset=ISO-8859-2; format=flowed Content-ID: Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by flpi101.prodigy.net id m15MOit5003899 On Tue, 5 Feb 2008, Jernej Simon=E8i=E8 wrote: > On Tuesday, February 5, 2008, 22:34:04, Asheesh Laroia wrote: > >> I agree with this - guesswork and invisible options can be confusing.=20 >> That's why I suggest what I think is the simplest solution: Just let=20 >> this be overridable on the command line. > > Isn't the user-net IP irrelevant to the outside? AFAIK, it just causes=20 > Qemu to act as a normal TCP/IP client to the OS it's running on, and th= e=20 > guest OS simply can't accept incoming connections (nobody actually know= s=20 > that the program issuing the connections is actually hosting an OS=20 > inside). The problem I stated in the original message in the thread=20 is=20 that I want to connect from the *guest* to the *host*. Since the host an= d=20 the guest are on the same subnet, only inside the guest the subnet is=20 fake, the guest cannot e.g. ssh to the host. So I patched qemu so that the guest would have a different internal IP=20 range, and then the guest can e.g. ssh to the host. I hope that clears things up. Let me know if further clarification is=20 necessary. -- Asheesh. --=20 When a camel flies, no one laughs if it doesn't get very far! --8323329-1172107625-1202250129=:4715--