---
name: "mcsender"
section: "8"
platform: "linux"
package: "smcroute"
version: "2.0.0-5+b1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/mcsender"
---

# mcsender(8)

Multicast test tool to send multicast test packets

## NAME

mcsender - Multicast test tool to send multicast test packets

## SYNOPSIS

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

## DESCRIPTION

**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

## AUTHOR

mcsender was written by Carsten Schill \<carsten@cschill.de\>.

Support for IPv6 was added by Todd Hayton \<todd.hayton@gmail.com\>.

This manual page was written by Julien BLACHE \<jblache@debian.org\>, for the Debian project (but may be used by others).
