Multicast test tool to send multicast test packets
mcsender [-t<ttl>] [-i<interface>] ip:port
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".
-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.
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
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).