From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BS0dJ-0000ws-Lw for qemu-devel@nongnu.org; Sun, 23 May 2004 17:35:49 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BS0Ud-00080b-Ja for qemu-devel@nongnu.org; Sun, 23 May 2004 17:27:29 -0400 Received: from [193.252.22.30] (helo=mwinf0105.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BS0Tm-0007mD-9I for qemu-devel@nongnu.org; Sun, 23 May 2004 17:25:58 -0400 Received: from mwinf0101.wanadoo.fr (mwinf0101 [172.22.132.23]) by mwinf0105.wanadoo.fr (SMTP Server) with ESMTP id 7707F18B6E4F for ; Sun, 23 May 2004 23:03:46 +0200 (CEST) Received: from bellard.org (ATuileries-112-1-3-241.w81-48.abo.wanadoo.fr [81.48.134.241]) by mwinf0101.wanadoo.fr (SMTP Server) with ESMTP id 8B697C000ACE for ; Sun, 23 May 2004 23:03:35 +0200 (CEST) Message-ID: <40B11234.4060909@bellard.org> Date: Sun, 23 May 2004 23:05:56 +0200 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] usermode-networking problem References: <40B0F46C.2000308@kadu.net> In-Reply-To: <40B0F46C.2000308@kadu.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Hi, ping is _not_ supported reliably in user mode network except to ping the local router. Fabrice. Adrian Smarzewski wrote: > Hi, > > QEmu 2.5.5 with usermode-networking compiled and turned on. > Internet connection on host system (linux 2.6) works. > on guest system (linux-test): > > > sh-2.05b# ping -c 3 10.0.2.2 > PING 10.0.2.2 (10.0.2.2) 56(84) bytes of data. > 64 bytes from 10.0.2.2: icmp_seq=1 ttl=255 time=3.16 ms > 64 bytes from 10.0.2.2: icmp_seq=2 ttl=255 time=0.390 ms > 64 bytes from 10.0.2.2: icmp_seq=3 ttl=255 time=0.333 ms > > sh-2.05b# route > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 10.0.0.0 * 255.0.0.0 U 0 0 0 > eth0 > default 10.0.2.2 0.0.0.0 UG 0 0 0 > eth0 > > sh-2.05b# ping -c 3 212.77.100.101 > PING 212.77.100.101 (212.77.100.101) 56(84) bytes of data. > > --- 212.77.100.101 ping statistics --- > 3 packets transmitted, 0 received, 100% packet loss, time 2018ms > > > I don't know why. Should I configure something on host os? > >