carta
mcsender(8)

mcsender8

Multicast test tool to send multicast test packets

Usage

mcsender [-t<ttl>] [-i<interface>] ip:port

Overview

mcsender sends multicast packets to the specified IPv4 or IPv6 multicast address and port. The packets sent contain the string "this is the test message from mclab/mcsender\n".

Options

-t<ttl>

Set the TTL (or hop limit for IPv6) to the specified value.

-i<interface>

Specify the interface to use for outgoing multicast datagrams.

Examples

To send datagrams to IPv4 multicast address 239.1.1.1 and port 12345 with a TTL of 3:

$ mcsender -t3 239.1.1.1:12345

To send datagrams to IPv4 multicast address 239.1.1.1 and port 12345 with a TTL of 3 out of interface eth1:

$ mcsender -ieth1 -t3 239.1.1.1:12345

To send datagrams to IPv6 multicast address ff15::1 and port 12345 with a hop limit of 3:

$ mcsender -t3 ff15::1:12345

To send datagrams to IPv6 multicast address ff15::1 and port 12345 with a hop limit of 3 out of interface eth1:

$ mcsender -ieth1 -t3 ff15::1:12345

History

  • Debian 9 (Stretch) to Debian 7 (Wheezy): the text shown here
  • Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny) to Debian 4.0 (Etch)

Author

mcsender was written by Carsten Schill <[email protected]>.

Support for IPv6 was added by Todd Hayton <[email protected]>.

This manual page was written by Julien BLACHE <[email protected]>, for the Debian project (but may be used by others).

From smcroute 2.0.0-5+b1 in Debian 9 (Stretch). Parsed by carta from the page's man source.