win98 user mode network not working ...
Hi,
I'm a newbie with qemu and I know there have been a lot of topics on the qemu networking topic, but none of them solved my problem ... I hope I'll get an answer from you.
So, I have a CentOS 4.2 as host with qemu-0.8.0 installed from sources. As guest I have a win98se. In w98 I configured the network to get the IP through dhcp. I start qemu with:
qemu -localtime -hda win98.img
From what I read, when there is no -net option, the default network mode is usermode.
The problem is that when I ping yahoo.com for example I get the IP of yahoo but no response from ping ..., something like:
ping yahoo.com
Pinging yahoo.com [216.109.112.135] with 32 bytes of data:
request time out
I attached a screenshot with the output of ipconfig /all from w98.
Where did I do wrong?
Thanks,
Adrian
Quoted 18 lines · Adrian Coman
Hi,
I'm a newbie with qemu and I know there have been a lot of topics on the qemu networking topic, but none of them solved my problem ... I hope I'll get an answer from you.
So, I have a CentOS 4.2 as host with qemu-0.8.0 installed from sources. As guest I have a win98se. In w98 I configured the network to get the IP through dhcp. I start qemu with:
qemu -localtime -hda win98.img
From what I read, when there is no -net option, the default network mode is usermode.
The problem is that when I ping yahoo.com for example I get the IP of yahoo but no response from ping ..., something like:
Quoted 7 lines
ping yahoo.com
Pinging yahoo.com [216.109.112.135] with 32 bytes of data:
request time outI attached a screenshot with the output of ipconfig /all from w98.
Where did I do wrong?
nothing :)
consider qemu as a firewall that is rather restrictive:
The ping command is only working to ping your gateway (10.0.2.2). ...Yahoo was resolved, so your network is up and running...
Mike
Quoted 8 lines
Thanks,
Adrian
<ipconfig_qemu.jpeg>
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Quoted 7 lines · Adrian Coman
The problem is that when I ping yahoo.com for example I get the IP of yahoo but no response from ping ..., something like:
ping yahoo.com
Pinging yahoo.com [216.109.112.135] with 32 bytes of data:
request time out
I attached a screenshot with the output of ipconfig /all from w98. Where did I do wrong?
Nothing; and actually this has been answered in a handful of FAQs
before: ICMP doesn't fully work over SLIRP. Sending ICMP packets work, but not receiving. This is because of how SLIRP works.
If you need this functionality, please consider using tun/tap on the host or OpenVPN from inside the guest.
--
"I decry the current tendency to seek patents on algorithms. There are better ways to earn a living than to prevent other people from making use of one's contributions to computer science."
Donald Knuth
From http://fabrice.bellard.free.fr/qemu/qemu-doc.html#SEC23
"Note that ping is not supported reliably to the internet as it would require root priviledges. It means you can only ping the local router (10.0.2.2)."
So I guess this is not the right way to test your connectivity.
Regards
JC
Quoted 28 lines · Adrian Coman
Hi,
I'm a newbie with qemu and I know there have been a lot of topics on the qemu networking topic, but none of them solved my problem ... I hope I'll get an answer from you.
So, I have a CentOS 4.2 as host with qemu-0.8.0 installed from sources. As guest I have a win98se. In w98 I configured the network to get the IP through dhcp. I start qemu with:
qemu -localtime -hda win98.img
From what I read, when there is no -net option, the default network mode is usermode.
The problem is that when I ping yahoo.com for example I get the IP of yahoo but no response from ping ..., something like:
ping yahoo.com
Pinging yahoo.com [216.109.112.135] with 32 bytes of data:
request time outI attached a screenshot with the output of ipconfig /all from w98.
Where did I do wrong?
Thanks,
Adrian
Quoted 6 lines · Adrian Coman
The problem is that when I ping yahoo.com for example I get the IP of yahoo but no response from ping ..., something like:
ping yahoo.com
Pinging yahoo.com [216.109.112.135] with 32 bytes of data:
request time out
IIrc ping (as icmp message) does not work with user-net. Try to telnet the webserver at port 80 to check for connectivity. DNS is working as the adress got resolved into its IP. Apart from the issue with ping all tcp/ip-based services (like browsing the net) should work from the guest like being behind a NAT-firewall, which allows outbound connections.