• No UDP between VMware hosts

    From wg@110:110/2002 to All on Thu May 8 15:11:34 2014
    Greetings!

    There are 2 machines running on a vmware machine with hostnames LinuxA
    and LinuxB.

    On LinuxA a UDP server is listening on port 5090 on all interfaces (INADDR_ANY)
    On LinuxB a UDP message is sent with netcat:
    echo XXX | netcat -uvv LinuxA 5090

    However, the message sent from LinuxB to LinuxA is not received.

    Using a diffeerent posrt, e.g. 32000 does not help.

    TCP traffic works between LinuxA and LinuxB.
    Running the command on LinuxA works as required.

    Running 'iptables -L' shows that there is no paket filter on either
    machine.


    Any hints?

    Thanks for reading.
    Wolf




    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: Tele2 Telecommunications GmbH (110:110/2002@linuxnet)
  • From Tauno Voipio@110:110/2002 to All on Thu May 8 16:39:14 2014
    On 8.5.14 18:11, wg wrote:
    Greetings!

    There are 2 machines running on a vmware machine with hostnames LinuxA
    and LinuxB.

    On LinuxA a UDP server is listening on port 5090 on all interfaces (INADDR_ANY)
    On LinuxB a UDP message is sent with netcat:
    echo XXX | netcat -uvv LinuxA 5090

    However, the message sent from LinuxB to LinuxA is not received.

    Using a diffeerent posrt, e.g. 32000 does not help.

    TCP traffic works between LinuxA and LinuxB.
    Running the command on LinuxA works as required.

    Running 'iptables -L' shows that there is no paket filter on either
    machine.


    Any hints?

    Thanks for reading.
    Wolf


    Usually the first step is to catch the traffic on both
    hosts with Wireshark or tcpdump. The traffic caught
    with tcpdump can be stored on disk for later analysis
    using Wireshark:

    tcpdump -s 1500 -w grabfile

    You should see the traffic from A to B on both hosts.
    Also, the possible response by B should be visible.

    --

    Tauno Voipio



    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: A noiseless patient Spider (110:110/2002@linuxnet)
  • From Bob Hauck@110:110/2002 to All on Sat May 10 11:08:34 2014
    On Thu, 08 May 2014 17:11:34 +0200, wg <wg1@gmx.net> wrote:

    There are 2 machines running on a vmware machine with hostnames LinuxA
    and LinuxB.

    On LinuxA a UDP server is listening on port 5090 on all interfaces (INADDR_ANY)
    On LinuxB a UDP message is sent with netcat:
    echo XXX | netcat -uvv LinuxA 5090

    However, the message sent from LinuxB to LinuxA is not received.

    I am not so familiar with VMware but on VirtualBox the default network
    setup (called "NAT") does not allow guests to talk to each other. If
    that is desired a different network option must be specified ("bridged"
    or "internal").

    It think VMWare has similar options. You might want to check how the
    VMWare networking is set up for these two hosts.


    --
    Bob Hauck

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: Hauck Family (110:110/2002@linuxnet)
  • From wg@110:110/2002 to All on Tue May 13 11:15:00 2014
    On 08.05.2014 17:11, wg wrote:
    Greetings!

    There are 2 machines running on a vmware machine with hostnames LinuxA
    and LinuxB.

    On LinuxA a UDP server is listening on port 5090 on all interfaces (INADDR_ANY)
    On LinuxB a UDP message is sent with netcat:
    echo XXX | netcat -uvv LinuxA 5090

    However, the message sent from LinuxB to LinuxA is not received.

    Using a diffeerent posrt, e.g. 32000 does not help.

    TCP traffic works between LinuxA and LinuxB.
    Running the command on LinuxA works as required.

    Running 'iptables -L' shows that there is no paket filter on either
    machine.


    Any hints?

    Thanks for reading.
    Wolf



    Problem solved;

    with tcpdump I noticed that UDP packets with size < 4 are not arriving
    at the destination server.
    This is on a VMware 4.5 with SuSE SLES11/SP2.
    I changed the application and things are running ok.

    Thanks guys for your comments.
    Wolf

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: Tele2 Telecommunications GmbH (110:110/2002@linuxnet)