qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] DNS reply
@ 2008-05-14 14:48 Rodolfo kix García 
  2008-05-15  2:19 ` Mulyadi Santosa
  0 siblings, 1 reply; 2+ messages in thread
From: Rodolfo kix García  @ 2008-05-14 14:48 UTC (permalink / raw)
  To: qemu-devel

Hi,

I am using qemu in Windows with Linux as guest, and I have a problem with
the DNS. I am  using the qemu's default network (without -net parameters
in qemu.exe)

If I create a new network connection (or a ping in the Linux), the linux
command reads the /etc/resolv.conf file. It has the 10.0.2.3 address.

Send a DNS packet (UDP, source port X, destination port 53) to 10.0.2.3.
10.0.2.3 responds (UDP, source port Y, destinatio port X) to the Linux.

But the Y port is different than 53, then Linux drops the packet and reply
to 10.0.2.15 with an ICMP port unreacheable (tcpdump).

Using "nslookup" tool in linux, I get:

reply from unexpected source: 10.0.2.3#Y, expected 10.0.2.3#53 (three times).

I cannot find the problem in the sources. Any help?

Thanks.

-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] DNS reply
  2008-05-14 14:48 [Qemu-devel] DNS reply Rodolfo kix García 
@ 2008-05-15  2:19 ` Mulyadi Santosa
  0 siblings, 0 replies; 2+ messages in thread
From: Mulyadi Santosa @ 2008-05-15  2:19 UTC (permalink / raw)
  To: qemu-devel

Hi....

On Wed, May 14, 2008 at 9:48 PM, Rodolfo kix García <kix@kix.es> wrote:
> Hi,
>
> I am using qemu in Windows with Linux as guest, and I have a problem with
> the DNS. I am  using the qemu's default network (without -net parameters
> in qemu.exe)
>
> If I create a new network connection (or a ping in the Linux), the linux
> command reads the /etc/resolv.conf file. It has the 10.0.2.3 address.
>
> Send a DNS packet (UDP, source port X, destination port 53) to 10.0.2.3.
> 10.0.2.3 responds (UDP, source port Y, destinatio port X) to the Linux.
>
> But the Y port is different than 53, then Linux drops the packet and reply
> to 10.0.2.15 with an ICMP port unreacheable (tcpdump).

Hm, no Qemu users on Linux host reported such thing before. Since Qemu
windows port might have some differences than main Qemu tree...I
suggest to contact Qemu windows maintainer too. To be specific, I
guess it's somewhere inside slirp code.....

regards,

Mulyadi.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-15  2:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-14 14:48 [Qemu-devel] DNS reply Rodolfo kix García 
2008-05-15  2:19 ` Mulyadi Santosa

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).