qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] Unable to do UDP communication


From: Anshul
Subject: Re: [Qemu-discuss] Unable to do UDP communication
Date: Mon, 21 Dec 2015 12:37:07 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Ok, Atleast I have located udp code in slirp module
its in slirp/udp.c file.

Now the thing I have to do is find a way to debug code, to check what function are called and what goes wrong
inside.

Thanks
Anshul Maheshwari

On 12/21/2015 12:25 PM, Anshul wrote:
May be problem is with SLIRP module of qemu
like what vbox had before https://www.virtualbox.org/pipermail/vbox-dev/2007-May/005795.html

I am not that smart in networking, as user in the above link.
Not very good in networking was the only reason to choose slirp instead of other network module.

If anyone here dont know the solution that is ok to me.
but atleast give me some pointer to pin point and correct my problem


-Anshul

On 12/21/2015 11:56 AM, Anshul wrote:
Also tested with latest version 2.5.0
the problem is same.

-Anshul

On 12/21/2015 12:25 AM, Anshul wrote:
Hello,

I am using Qemu-version 2.1.3

For running Kubuntu I am using following command.
  1 #!/bin/sh
  2 exec qemu-system-x86_64 \
  3         -enable-kvm \
  4         -cpu host \
  5         -hda kubuntu.img \
  6         -m 2GB \
7 -net nic -net user,hostname=kubuntu,hostfwd=tcp::5022-:22,hostfwd=tcp::5080-:80,hostfwd=tcp::5090-:9090,hostfwd=udp::5091-:9091 \
  8         $@


for listening on udp port I am using
nc -u -l 9091

For sending I am using
nc -u localhost 5091

Though TCP is working but UDP is not working.


Thanks
Anshul Maheshwari








reply via email to

[Prev in Thread] Current Thread [Next in Thread]