From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liang Guo Subject: Re: network between host and guest Date: Mon, 10 May 2010 19:40:05 +0800 Message-ID: <201005101940.05805.bluestonechina@gmail.com> References: <4BE7E3FC.6090904@asyr.hopto.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE To: "kvm@vger.kernel.org" Return-path: Received: from mail-vw0-f46.google.com ([209.85.212.46]:40965 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755838Ab0EJLkU convert rfc822-to-8bit (ORCPT ); Mon, 10 May 2010 07:40:20 -0400 Received: by vws3 with SMTP id 3so1286944vws.19 for ; Mon, 10 May 2010 04:40:19 -0700 (PDT) In-Reply-To: <4BE7E3FC.6090904@asyr.hopto.org> Sender: kvm-owner@vger.kernel.org List-ID: =E5=9C=A8 =E6=98=9F=E6=9C=9F=E4=B8=80 10 5=E6=9C=88 2010 18:46:20=EF=BC= =8CThanasis =E5=86=99=E9=81=93=EF=BC=9A >=20 > Question: Where is my interface on linux with IP address of 10.0.2.2 = ? > The guest can actually access the internet (via the host), but where = can > I see that hidden routing that linux provides to it? >=20 I think you are using user networking(slirp) , with user networking, et= ch tcp=20 connection is mapped to a tcp connection in host's kvm process, and th= ere is no host route to the guest. Please visit=20 http://wiki.qemu.org/Documentation/Networking for detailed information.=20 --=20 Liang Guo http://bluestone.cublog.cn