All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] usermode-networking problem
Date: Sun, 23 May 2004 23:05:56 +0200	[thread overview]
Message-ID: <40B11234.4060909@bellard.org> (raw)
In-Reply-To: <40B0F46C.2000308@kadu.net>

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?
> 
> 

  parent reply	other threads:[~2004-05-23 21:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-23 18:58 [Qemu-devel] usermode-networking problem Adrian Smarzewski
2004-05-23 20:28 ` Carlos Valiente
2004-05-24 20:10   ` Adrian Smarzewski
2004-06-03 10:24     ` Adrian Smarzewski
2004-05-25  1:55   ` James Ascroft-Leigh
2004-05-23 20:56 ` vaise
2004-05-23 21:05 ` Fabrice Bellard [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-05-23 18:58 Adrian Smarzewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40B11234.4060909@bellard.org \
    --to=fabrice@bellard.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.