sending multicast in Linux

Discussion in 'Linux Networking' started by wkevin, Jun 13, 2013.

  1. wkevin

    wkevin Guest

    Can someone suggest some tool to send multicast in Linux?

    when I try to set an iperf server with iperf -s -u -B
    I get:
    even though there **is** on eth0, as netstat -g shows.

    I don't know what the problem here.

    I will appreciate if someone can suggest another tool

    wkevin, Jun 13, 2013
    1. Advertisements

  2. wkevin

    wkevin Guest

    strangely it was I solved when I added default gw .... not sure why
    wkevin, Jun 13, 2013
    1. Advertisements

  3. wkevin

    Jorgen Grahn Guest

    I know little about multicast apart from what ip(7) says, but it seems
    rather likely that the tool works and it reports an actual error.

    Try running strace on it to see what system call fails with ENODEV.
    Also check the syslog for complaints from the kernel.

    Jorgen Grahn, Jun 13, 2013
  4. wkevin

    Andy Furniss Guest

    I can't claim to know much about multicast, but from doing the bare
    minimum in the past to get something working - yes it needs a route and
    default will do.

    You could explicitly add one

    ip route add dev XXX

    Which of course you need to do in the case of multiple ifs one with
    default where you don't want locally generated multicast to use the default.

    To do multicast routing you need to install and configure something for
    the task.
    Andy Furniss, Jun 14, 2013
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.