From: Thomas Huth <thuth@redhat.com>
To: Programmingkid <programmingkidx@gmail.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: qemu-devel qemu-devel <qemu-devel@nongnu.org>,
Samuel Thibault <samuel.thibault@ens-lyon.org>
Subject: Re: [Qemu-devel] Is anyone able to load a web page from a guest operating system?
Date: Tue, 26 Apr 2016 22:12:47 +0200 [thread overview]
Message-ID: <571FCBBF.8020405@redhat.com> (raw)
In-Reply-To: <9DF8AED7-D573-4CE4-BA8C-897B2A89A183@gmail.com>
On 26.04.2016 21:25, Programmingkid wrote:
>
> On Apr 26, 2016, at 3:00 PM, Dr. David Alan Gilbert wrote:
>
>> * Programmingkid (programmingkidx@gmail.com) wrote:
>>> My three guest operating systems can't load a web page. I think this is a bug with QEMU. Is there anyone who has the latest revision of QEMU that can access the web from a guest? Or are you experiencing the same problem?
>>
>> Works here.
> So you are using a very recent version of QEMU? Maybe something that was pulled in the last day or so?
>
>> Now - how about some basic debug!
>> Does your guest see a network card?
> yes
>
>> Does DNS work?
> Doesn't look like it. If I use just an ip address it still doesn't work.
>
>> Does ping work?
> I can ping the virtual router at 10.0.2.2. Any other ip address fails.
That's normal for user-mode / slirp networking. You can't ping external
hosts with this mode.
>> Does a telnet/ssh from the guest work?
> telnet www.google.com 80 failed
> Didn't have an address to use ssh on.
>
>> What's the qemu command line you use?
> qemu-system-ppc -hda <hd1> -hdb <hd2> -m 512 -boot c -M mac99 -netdev user,id=mynet0 -device usb-net,netdev=mynet0 -cpu 750 -prom-env boot-args=-v -device ich9-usb-uhci1,id=newusb -device usb-audio,bus=newusb.0
>
> and
>
> qemu-system-ppc -hda <hd1> -hdb <hd2> -m 512 -boot c -M mac99 -netdev user,id=mynet0 -device rtl8139,netdev=mynet0 -cpu 750 -prom-env boot-args=-v -device ich9-usb-uhci1,id=newusb -device usb-audio,bus=newusb.0
Ok, that means you're using user-mode / slirp networking.
I just tried it with a pseries guest, and it seems to be working fine
for me with the current git version of QEMU (f419a626c76bcb266).
Now, what kind of host do you use? Mac OS X?
Also can you determine a revision when it was still working fine for
you? (and then maybe even bisect the problem?)
Thomas
next prev parent reply other threads:[~2016-04-26 20:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-26 16:14 [Qemu-devel] Is anyone able to load a web page from a guest operating system? Programmingkid
2016-04-26 19:00 ` Dr. David Alan Gilbert
2016-04-26 19:25 ` Programmingkid
2016-04-26 20:12 ` Thomas Huth [this message]
2016-04-26 20:19 ` Programmingkid
2016-04-27 6:34 ` Thomas Huth
2016-04-28 0:25 ` Programmingkid
2016-04-28 12:04 ` Samuel Thibault
2016-04-28 12:18 ` Samuel Thibault
2016-04-28 16:45 ` Programmingkid
2016-04-27 10:05 ` Laszlo Ersek
2016-04-27 10:26 ` Thomas Huth
2016-04-27 11:01 ` Laszlo Ersek
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=571FCBBF.8020405@redhat.com \
--to=thuth@redhat.com \
--cc=dgilbert@redhat.com \
--cc=programmingkidx@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=samuel.thibault@ens-lyon.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).